i386, x86: Use libc_ifunc macro for time, gettimeofday.
[glibc.git] / ChangeLog
blob1378071b1f25aa316f500190507d738e8028067d
1 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5         libc_ifunc_hidden_def.
6         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
7         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8         Redirect ifunced function in header for using it as type of ifunc'ed
9         function. Redefine libc_hidden_def to use fallback non ifunc'ed
10         function for __GI_* symbol.
11         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
12         * include/libc-symbols.h
13         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17         [BZ #20478]
18         * sysdeps/s390/multiarch/ifunc-resolve.h
19         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
20         to create ifunc symbols.
21         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
22         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
23         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
24         for using it as type for ifunc function.
25         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
26         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
27         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
28         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
29         * sysdeps/s390/multiarch/strcat.c: Likewise.
30         * sysdeps/s390/multiarch/strchr.c: Likewise.
31         * sysdeps/s390/multiarch/strcmp.c: Likewise.
32         * sysdeps/s390/multiarch/strcpy.c: Likewise.
33         * sysdeps/s390/multiarch/strcspn.c: Likewise.
34         * sysdeps/s390/multiarch/strlen.c: Likewise.
35         * sysdeps/s390/multiarch/strncmp.c: Likewise.
36         * sysdeps/s390/multiarch/strncpy.c: Likewise.
37         * sysdeps/s390/multiarch/strnlen.c: Likewise.
38         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
39         * sysdeps/s390/multiarch/strrchr.c: Likewise.
40         * sysdeps/s390/multiarch/strspn.c: Likewise.
41         * sysdeps/s390/multiarch/wcschr.c: Likewise.
42         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
43         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
44         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
45         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
46         * sysdeps/s390/multiarch/wmemset.c: Likewise.
47         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
48         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
49         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
50         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
51         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
52         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
54 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
56         * include/libc-symbols.h (__ifunc_resolver):
57         New macro is used by __ifunc* macros.
58         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
59         depending on HAVE_GCC_IFUNC.
60         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
61         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
62         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
63         Redirect ifunced function in header for using as type for ifunc function.
64         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
65         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
66         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
67         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
68         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
69         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
70         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
71         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
72         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
73         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
74         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
75         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
76         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
77         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
78         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
79         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
80         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
81         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
82         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
83         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
84         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
85         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
86         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
87         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
88         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
89         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
90         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
91         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
92         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
93         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
94         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
95         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
96         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
97         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
98         Add libc_hidden_def() and use libc_ifunc_hidden() macro
99         instead of libc_ifunc() macro.
100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
101         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
103 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
105         * config.h.in (HAVE_GCC_IFUNC): New undef.
106         * configure.ac: Add check if gcc supports attribute ifunc feature.
107         * configure: Regenerated.
108         * manual/install.texi: Add recommendation for gcc with
109         indirect-function support.
110         * INSTALL: Regenerated.
112 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
114         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
115         macro.
116         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
117         (__iseqsig): New declaration.
118         * math/s_iseqsig_template.c: New file.
119         * math/Versions (__iseqsigf): New libm symbol at version
120         GLIBC_2.25.
121         (__iseqsig): Likewise.
122         (__iseqsigl): Likewise.
123         * math/libm-test.inc (iseqsig_test_data): New array.
124         (iseqsig_test): New function.
125         (main): Call iseqsig_test.
126         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
127         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
128         * manual/libm-err-tab.pl: Update comment on interfaces without
129         ulps tabulated.
130         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
131         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
132         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
133         * sysdeps/nacl/libm.abilist: Update.
134         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
135         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
136         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
137         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
138         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
139         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
140         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
141         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
142         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
143         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
144         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
145         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
147         Likewise.
148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
149         Likewise.
150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
151         Likewise.
152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
153         Likewise.
154         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
155         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
156         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
157         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
158         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
160         Likewise.
161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
162         Likewise.
163         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
164         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
165         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
167 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
169         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
170         do_sincos_2, sloww, sloww1): Update comments.
172         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
173         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
175         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
176         K boolean and rename it.
177         (__sin): Adjust.
178         (__cos): Adjust.
180 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
181             Siddhesh Poyarekar  <siddhesh@sourceware.org>
183         * manual/nss.texi: Fix typos in the manual.
185 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
187         * manual/contrib.texi: Fix typos in the manual.
189         * manual/maint.texi: Fix typos in the manual.
191         * manual/install.texi: Fix typos in the manual.
192         * INSTALL: Regenerated.
194         * manual/lang.texi: Fix typos in the manual.
196         * manual/probes.texi: Fix typos in the manual.
198         * manual/threads.texi: Fix typos in the manual.
200         * manual/debug.texi: Fix typos in the manual.
202         * manual/crypt.texi: Fix typos in the manual.
204         * manual/conf.texi: Fix typos in the manual.
206         * manual/sysinfo.texi: Fix typos in the manual.
208         * manual/users.texi: Fix typos in the manual.
210         * manual/job.texi: Fix typos in the manual.
212         * manual/process.texi: Fix typos in the manual.
214         * manual/argp.texi: Fix typos in the manual.
215         * manual/getopt.texi: Likewise.
216         * manual/startup.texi: Likewise.
218         * manual/signal.texi: Fix typos in the manual.
220         * manual/setjmp.texi: Fix typos in the manual.
222         * manual/resource.texi: Fix typos in the manual.
224         * manual/time.texi: Fix typos in the manual.
226         * manual/arith.texi: Fix typos in the manual.
228         * manual/math.texi: Fix typos in the manual.
230         * manual/syslog.texi: Fix typos in the manual.
232         * manual/terminal.texi: Fix typos in the manual.
234         * manual/socket.texi: Fix typos in the manual.
236         * manual/filesys.texi: Fix typos in the manual.
238         * manual/llio.texi: Fix typos in the manual.
240         * manual/stdio.text: Fix typos in the manual.
242 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
244         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
245         instead of K1.
247         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
248         SHIFT_QUADRANT and make it bool.
249         (do_sincos_2): Likewise.
250         (sloww): Likewise.
251         (sloww1): Likewise.
252         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
253         (__cos): Likewise.
255 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
257         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
259 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
261         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
262         Define to __WORDSIZE, not conditional on [LONG_MAX ==
263         0x7fffffffL].
264         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
266 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
268         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
269         inline by __inline__.
270         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
271         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
272         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
273         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
274         sigset_t from signal.h.
275         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
276         which is already required.
278 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
280         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
282 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
284         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
285         (struct tcp_repair_window): New type.
287 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
289         * libio/tst-memstream3.c: Include string.h.
291 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
293         [BZ #18241]
294         [BZ #20181]
295         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
296         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
297         write position is at the end the buffer.
298         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
299         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
300         (_IO_str_seekoff): Set correct offset from negative displacement and
301         set EINVAL for invalid ones.
302         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
303         buffer length.
304         (_IO_wstr_switch_to_get_mode): New function.
305         (_IO_wstr_seekoff): Set correct offset from negative displacement and
306         set EINVAL for invalid ones.
307         * libio/tst-memstream3.c: New file.
308         * libio/tst-wmemstream3.c: Likewise.
309         * manual/examples/memstrm.c: Remove warning when priting size_t.
311 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
313         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
314         macro to use __builtin_fma.
315         * sysdeps/x86_64/fpu/dla.h: Remove file.
317         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
318         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
319         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
321 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
323         [BZ #20292]
324         * elf/Makefile (routines): Add dl-addr-obj.
325         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
326         tst-_dl_addr_inside_object.
327         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
328         [ifeq (yesyes,$(have-fpie)$(build-shared))]
329         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
330         [ifeq (yesyes,$(have-fpie)$(build-shared))]
331         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
332         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
333         * elf/dl-open.c: Likewise.
334         * elf/dl-addr-obj.c: New file.
335         * elf/tst-_dl_addr_inside_object.c: New file.
337 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
339         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
340         <bits/iscanonical.h>.
341         * bits/iscanonical.h: New file.
342         * math/s_iscanonicall.c: Likewise.
343         * math/Versions (__iscanonicall): New libm symbol at version
344         GLIBC_2.25.
345         * math/libm-test.inc (iscanonical_test_data): New array.
346         (iscanonical_test): New function.
347         (main): Call iscanonical_test.
348         * math/Makefile (headers): Add bits/iscanonical.h.
349         (type-ldouble-routines): Add s_iscanonicall.
350         * manual/arith.texi (Floating Point Classes): Document
351         iscanonical.
352         * manual/libm-err-tab.pl: Update comment on interfaces without
353         ulps tabulated.
354         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
355         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
356         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
357         Likewise.
358         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
359         test-iscanonical-ldbl-128ibm.
360         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
361         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
362         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
363         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
364         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
365         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
366         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
368         Likewise.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
370         Likewise.
371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
372         Likewise.
373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
374         Likewise.
375         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
376         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
378 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
380         * string/bits/string3.h: Remove C++ style comments.
382 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
384         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
385         instead of ternary condition.
386         (do_sincos_2): Likewise.
387         (__sin): Likewise.
388         (__cos): Likewise.
389         (slow): Likewise.
390         (sloww): Likewise.
391         (sloww1): Likewise.
392         (bsloww): Likewise.
393         (bsloww1): Likewise.
395         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
396         instead of ternary condition.
397         (do_sin_slow): Likewise.
398         (do_sincos_1): Likewise.
399         (do_sincos_2): Likewise.
400         (__cos): Likewise.
401         (sloww): Likewise.
402         (sloww1): Likewise.
403         (sloww2): Likewise.
404         (bsloww): Likewise.
405         (bsloww1): Likewise.
406         (bsloww2): Likewise.
408         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
409         check from here...
410         (slow2): ... and here...
411         (__sin): ... to here.
413 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
415         * math/math.h
416         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
417         Cast argument to its own type.
418         * math/test-iszero-excess-precision.c: New file.
419         * math/Makefile (tests): Add test-iszero-excess-precision.
420         (CFLAGS-test-iszero-excess-precision.c): New variable.
422 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
424         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
425         field, add err field.
426         (__spawni_child): Report error through err member instead of pipe.
427         (__spawnix): Likewise.
429 2016-09-28  Zack Weinberg  <zackw@panix.com>
431         * scripts/check-installed-headers.sh: Generalize treatment of
432         sys/elf.h to all target architectures.
434         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
435         deleted typedef ucontext_t.
437 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
439         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
440         (__INTERNAL_SYSCALL1): Likewise.
441         (__INTERNAL_SYSCALL2): Likewise.
442         (__INTERNAL_SYSCALL3): Likewise.
443         (__INTERNAL_SYSCALL4): Likewise.
444         (__INTERNAL_SYSCALL5): Likewise.
445         (__INTERNAL_SYSCALL6): Likewise.
446         (__INTERNAL_SYSCALL7): Likewise.
447         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
448         (__INTERNAL_SYSCALL_NARGS): Likewise.
449         (__INTERNAL_SYSCALL_DISP): Likewise.
450         (INTERNAL_SYSCALL_CALL): Likewise.
451         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
452         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
453         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
454         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
455         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
456         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
457         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
458         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
459         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
460         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
461         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
462         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
463         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
465 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
467         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
468         macro.
469         * math/libm-test.inc (iszero_test_data): New array.
470         (iszero_test): New function.
471         (main): Call iszero_test.
472         * manual/arith.texi (Floating Point Classes): Document iszero.
473         * manual/libm-err-tab.pl: Update comment on interfaces without
474         ulps tabulated.
476 2016-09-23  Zack Weinberg  <zackw@panix.com>
478         * scripts/check-installed-headers.sh: New script.
479         * Rules: In each directory that defines header files to be installed,
480         run check-installed-headers.sh on them as a special test.
481         * Makefile: Likewise for the headers installed at top level.
483         * include/aliases.h, include/alloca.h, include/argz.h
484         * include/arpa/nameser.h, include/arpa/nameser_compat.h
485         * include/elf.h, include/envz.h, include/err.h
486         * include/execinfo.h, include/fpu_control.h, include/getopt.h
487         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
488         * include/link.h, include/malloc.h, include/mcheck.h
489         * include/mntent.h, include/netinet/ether.h
490         * include/nss.h, include/obstack.h, include/printf.h
491         * include/pty.h, include/resolv.h, include/rpc/auth.h
492         * include/rpc/auth_des.h, include/rpc/auth_unix.h
493         * include/rpc/clnt.h, include/rpc/des_crypt.h
494         * include/rpc/key_prot.h, include/rpc/netdb.h
495         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
496         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
497         * include/rpc/rpc_msg.h, include/rpc/svc.h
498         * include/rpc/svc_auth.h, include/rpc/xdr.h
499         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
500         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
501         * include/rpcsvc/ypupd.h, include/shadow.h
502         * include/stdio_ext.h, include/sys/epoll.h
503         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
504         * include/sys/prctl.h, include/sys/profil.h
505         * include/sys/statfs.h, include/sys/sysctl.h
506         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
507         * sysdeps/arm/nacl/include/bits/setjmp.h
508         * sysdeps/mips/include/sys/asm.h
509         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
510         * sysdeps/unix/sysv/linux/include/sys/timex.h
511         * sysdeps/x86/fpu/include/bits/fenv.h:
512         Add #ifndef _ISOMAC guard around internal declarations.
513         Add multiple-inclusion guard if not already present.
515 2016-09-23  Zack Weinberg  <zackw@panix.com>
517         * sysdeps/generic/sys/ucontext.h
518         * sysdeps/arm/sys/ucontext.h
519         * sysdeps/i386/sys/ucontext.h
520         * sysdeps/m68k/sys/ucontext.h
521         * sysdeps/mips/sys/ucontext.h
522         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
523         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
524         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
525         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
526         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
527         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
528         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
529         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
530         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
531         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
532         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
533         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
534         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
535         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
536         Include both bits/sigcontext.h and bits/sigstack.h.
537         Fix grammar error in comment, if present.
539         * bits/sigstack.h
540         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
541         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
542         * sysdeps/unix/sysv/linux/bits/sigstack.h
543         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
544         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
545         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
546         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
547         * bits/sigcontext.h
548         * sysdeps/mach/hurd/i386/bits/sigcontext.h
549         * sysdeps/unix/sysv/linux/bits/sigcontext.h
550         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
551         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
552         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
553         as well as signal.h, if this was not already allowed.  Request
554         definition of size_t if necessary.  Minimize semantically-null
555         differences across files.
557 2016-09-23  Zack Weinberg  <zackw@panix.com>
559         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
560         Remove all logic conditional on __need macros.  Move all the
561         conditionally defined types to their own headers...
562         * time/bits/types/clock_t.h: Define clock_t here.
563         * time/bits/types/clockid_t.h: Define clockid_t here.
564         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
565         * time/bits/types/struct_timespec.h: Define struct timespec here.
566         * time/bits/types/struct_timeval.h: Define struct timeval here.
567         * time/bits/types/struct_tm.h: Define struct tm here.
568         * time/bits/types/time_t.h: Define time_t here.
569         * time/bits/types/timer_t.h: Define timer_t here.
570         * time/Makefile: Install the new headers.
572         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
573         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
574         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
575         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
576         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
577         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
578         * sysdeps/unix/sysv/linux/bits/resource.h
579         * sysdeps/unix/sysv/linux/bits/timex.h
580         * sysdeps/unix/sysv/linux/mips/bits/resource.h
581         * sysdeps/unix/sysv/linux/net/ppp_defs.h
582         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
583         * sysdeps/unix/sysv/linux/sys/acct.h
584         * sysdeps/unix/sysv/linux/sys/timerfd.h
585         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
586         * time/sys/time.h, time/sys/timeb.h
587         Use the new bits/types headers.
589         * include/time.h: Remove __need logic.
590         * include/bits/time.h
591         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
592         * include/bits/types/time_t.h, include/bits/types/timer_t.h
593         * include/bits/types/struct_itimerspec.h
594         * include/bits/types/struct_timespec.h
595         * include/bits/types/struct_timeval.h
596         * include/bits/types/struct_tm.h:
597         New wrapper headers.
599 2016-09-23  Zack Weinberg  <zackw@panix.com>
601         * sysdeps/mach/hurd/net/if_ppp.h
602         * sysdeps/unix/sysv/linux/net/if_ppp.h:
603         Only define struct ifpppstatsreq and struct ifpppcstatsreq
604         if __USE_MISC is defined, to ensure struct ifreq is declared.
606         * inet/netinet/ether.h: Condition all function prototypes
607         on __USE_MISC, to ensure struct ether_addr is declared.
609         * socket/bits/types/struct_osockaddr.h: New header.
610         * include/bits/types/struct_osockaddr.h: New wrapper.
611         * socket/Makefile: Install the new header.
612         * socket/sys/socket.h, inet/protocols/talkd.h:
613         Refer to bits/types/struct_osockaddr.h for the definition of
614         struct osockaddr.
616 2016-09-23  Zack Weinberg  <zackw@panix.com>
618         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
619         * inet/protocols/routed.h, inet/protocols/talkd.h
620         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
621         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
622         * sysdeps/generic/netinet/if_ether.h
623         * sysdeps/generic/netinet/in_systm.h
624         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
625         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
626         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
627         * sysdeps/mach/hurd/net/if_arp.h
628         * sysdeps/mach/hurd/net/if_ppp.h
629         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
630         * sysdeps/unix/sysv/linux/bits/in.h
631         * sysdeps/unix/sysv/linux/net/ethernet.h
632         * sysdeps/unix/sysv/linux/net/if_arp.h
633         * sysdeps/unix/sysv/linux/net/if_ppp.h
634         * sysdeps/unix/sysv/linux/net/if_shaper.h
635         * sysdeps/unix/sysv/linux/net/route.h
636         * sysdeps/unix/sysv/linux/netinet/if_ether.h
637         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
638         * sysdeps/unix/sysv/linux/netinet/if_tr.h
639         * sysdeps/unix/sysv/linux/netipx/ipx.h
640         * sysdeps/unix/sysv/linux/sys/acct.h
641         * include/arpa/nameser.h, include/resolv.h:
642         Change all uses of u_char to unsigned char,
643         u_short and ushort to unsigned short, u_int and uint to unsigned int,
644         u_long and ulong to unsigned long, u_int8_t to uint8_t,
645         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
646         and u_int64_t and u_quad_t to uint64_t.
648         * mach/sys/reboot.h: Remove two casts of integer literals
649         to the types they already have.
651         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
652         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
653         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
654         from referring to 'unsigned char' to 'uint8_t' for consistency with
655         the macro definition below.
657         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
658         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
659         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
660         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
661         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
662         * sysdeps/unix/sysv/linux/sys/acct.h
663         * include/arpa/nameser.h, include/resolv.h:
664         Fix indentation disrupted by mechanical edits.
666         * inet/protocols/talkd.h, resolv/arpa/nameser.h
667         * sysdeps/generic/netinet/in_systm.h
668         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
669         * sysdeps/gnu/netinet/udp.h
670         * sysdeps/unix/sysv/linux/net/ethernet.h
671         * sysdeps/unix/sysv/linux/net/if_arp.h
672         * sysdeps/unix/sysv/linux/net/if_ppp.h
673         * sysdeps/unix/sysv/linux/net/if_shaper.h
674         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
675         * sysdeps/unix/sysv/linux/netinet/if_tr.h
676         * sysdeps/unix/sysv/linux/netipx/ipx.h
677         * sysdeps/unix/sysv/linux/sys/acct.h
678         Include stdint.h for uintNN_t definitions.
679         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
681 2016-09-23  Zack Weinberg  <zackw@panix.com>
683         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
684         * sysdeps/unix/sysv/linux/netrose/rose.h:
685         Include sys/socket.h and netax25/ax25.h.
687         * inet/netinet/icmp6.h, inet/netinet/ip6.h
688         * resolv/arpa/nameser_compat.h:
689         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
691         * sysdeps/unix/sysv/linux/sys/quota.h:
692         Use __caddr_t instead of caddr_t.
693         * sysdeps/unix/sysv/linux/sys/timerfd.h:
694         Use __clockid_t instead of clockid_t.
696         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
698         * argp/argp.h: Check whether _LIBC is defined before expanding it.
699         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
700         expanding it.
702         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
703         Define __glibc_c99_flexarr_available to 1 when the compiler
704         supports C99-compatible flexible array members, 0 otherwise.
705         * sysdeps/unix/sysv/linux/bits/socket.h
706         * sysdeps/mach/hurd/bits/socket.h
707         * bits/socket.h: Use __glibc_c99_flexarr_available in
708         definitions of struct cmsghdr and CMSG_DATA.
710 2016-09-23  Florian Weimer  <fweimer@redhat.com>
712         * manual/nss.texi (NSS Modules Interface): Adjust function return
713         type to enum nss_status.  Document errnop argument.  Clarify
714         h_errnop semantics.  Fix cross-reference formatting.
715         (NSS Module Function Internals): Mention that *errnop needs to be
716         set on failure, but not to zero.
718 2016-09-23  Florian Weimer  <fweimer@redhat.com>
720         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
721         (get_random_name): New functions.
722         (check_wrapper_flags_mode): Use linkat to give the new file a name
723         determined by get_random_name.
724         (do_test): Add calls to test open64 and openat64.
726 2016-09-23  Florian Weimer  <fweimer@redhat.com>
728         * test-skeleton.c: Remove #include <stdarg.h>.
730 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
732         [BZ #19826]
733         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
734         initialization of static TLS entries.
735         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
736         * nptl/allocatestack.c (init_one_static_tls): Likewise.
738 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
740         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
741         _hurd_malloc_fork_prepare.
742         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
743         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
744         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
745         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
746         (_hurd_fork_child_hook): Drop malloc_fork_child.
747         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
748         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
749         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
750         after locking locks (notably hurd_dtable_lock). Call
751         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
752         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
753         __malloc_fork_unlock_child.
754         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
756 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
758         * soft-fp/extendhftf2.c: New.
759         * soft-fp/fixhfti.c: Likewise.
760         * soft-fp/fixunshfti.c: Likewise.
761         * soft-fp/floattihf.c: Likewise.
762         * soft-fp/floatuntihf.c: Likewise.
763         * soft-fp/half.h: Likewise.
764         * soft-fp/trunctfhf2.c: Likewise.
766 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
768         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
769         macro.
770         * math/libm-test.inc (issubnormal_test_data): New array.
771         (issubnormal_test): New function.
772         * manual/arith.texi (Floating Point Classes): Document
773         issubnormal.
774         * manual/libm-err-tab.pl: Update comment on interfaces without
775         ulps tabulated.
777         * sysdeps/generic/stdint.h: Define
778         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
779         <bits/libc-header-start.h> instead of including <features.h>.
780         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
781         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
783         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
813         * manual/arith.texi (Integers): Document these macros for types
814         specified by width properties.
815         * manual/lang.texi (Width of Type): Document these macros for
816         other standard typedefs.
817         * stdlib/tst-width-stdint.c: New file.
818         * stdlib/Makefile (tests): Add tst-width-stdint.
820 2016-09-21  Florian Weimer  <fweimer@redhat.com>
822         [BZ #20016]
823         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
824         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
825         Move ...
826         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
827         ... here, as compatibility symbols in a new file.
828         * resolv/Makefile (libresolv-routines): Add compat-hooks.
829         * resolv/res_init.c (__res_vinit): Adjust member names.
830         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
831         * resolv/resolv.h (res_sendhookact, res_send_qhook)
832         (res_send_rhook): Remove.
833         (struct __res_state): Rename qhook, rhook members.
835 2016-09-21  Florian Weimer  <fweimer@redhat.com>
837         malloc: Use __libc_lock wrappers.
838         * malloc/arena.c (list_lock, free_list_lock): Define using
839         __libc_lock_define_initialized.
840         (arena_lock): Adjust formatting.
841         * malloc/malloc.c (struct malloc_state): Define mutex using
842         __libc_lock_define.
843         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
844         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
845         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
846         (mutex_unlock, mutex_trylock): Remove.
847         (__pthread_initialize): Remove unused macro.
848         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
849         (mutex_unlock, mutex_trylock): Remove.
851 2016-09-21  Florian Weimer  <fweimer@redhat.com>
853         [BZ #20592]
854         Remove RR type classification macros.
855         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
856         (ns_t_udp_p, ns_t_xfr_p): Remove.
858 2016-09-21  Florian Weimer  <fweimer@redhat.com>
860         Remove misleading version information.
861         * resolv/arpa/nameser.h (__NAMESER): Remove.
862         * resolv/arpa/nameser_compat.h (__BIND): Remove.
864 2016-09-21  Florian Weimer  <fweimer@redhat.com>
866         Remove the always-defined BIND_4_COMPAT macro.
867         * resolv/arpa/nameser.h: Unconditionally include
868         <arpa/nameser_compat.h>.
869         (BIND_4_COMPAT): Remove.
870         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
872 2016-09-21  Florian Weimer  <fweimer@redhat.com>
874         [BZ #20591]
875         Remove obsolete DNSSEC support.
876         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
877         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
878         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
879         (ns_verify_tcp, ns_verify_tcp_init): Remove.
880         (ns_cert_types): Add comment.
881         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
882         separately.
883         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
884         (dst_s_dns_key_id): Remove.
885         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
886         variables.
888 2016-09-21  Florian Weimer  <fweimer@redhat.com>
890         [BZ #20524]
891         * manual/string.texi (String/Array Comparison): Clarify the
892         strverscmp behavior.
894 2016-09-21  Florian Weimer  <fweimer@redhat.com>
896         * test-skeleton.c (xasprintf): Add function.
897         * io/tst-open-tmpfile.c: New test.
898         * io/Makefile (tests): Add it.
900 2016-09-21  Florian Weimer  <fweimer@redhat.com>
902         Avoid running $(CXX) during build to obtain header file paths.
903         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
904         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
905         * Makerules (cstdlib, cmath): Remove variables.  Use
906         $(c++-cstdlib-header), $(c++-cmath-header) instead.
907         * configure: Regenerate.
909 2016-09-21  Florian Weimer  <fweimer@redhat.com>
911         * Makeconfig (all-object-suffixes): Include .op only if
912         $(build-profile).
914 2016-09-21  Florian Weimer  <fweimer@redhat.com>
916         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
917         conditionals.  Do not define PATH_MAX.
919 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
921         * posix/Makefile (tests): Add tst-spawn3.
922         * posix/tst-spawn3.c: New file.
923         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
924         if it is already opened for open action.
926         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
927         all signals when executing the clone vfork child.
928         (SIGALL_SET): Remove macro.
930         * nptl/Makefile (tests): Add tst-exec5.
931         * nptl/tst-exec5.c: New file.
932         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
933         asynchronous cancellation.
935 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
937         * hurd/exc2signal.c: #include <hurd/signal.h>
938         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
939         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
940         accordingly.
941         * mach/mach_error.c (mach_error): Fix old-style function definition.
942         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
944 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
946         * math/Makefile (libm-calls): Remove s_nanF.
947         (gen-libm-calls): Add s_nanF.
949         * math/s_nan.c: Refactor into ...
950         * math/s_nan_template.c: New file.
952         * math/s_nanf.c: Removed.
953         * math/s_nanl.c: Removed.
954         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
955         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
957         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
958         (LDOUBLE_nanl_libm_version): New macro.
960         * sysdeps/generic/math-type-macros-double.h:
961         (M_STRTO_NAN): New macro.
962         * sysdeps/generic/math-type-macros-float.h: Likewise.
963         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
965         * sysdeps/generic/math-type-macros.h: Document
966         M_STRTO_NAN.
968 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
970         * math/s_nanf.c: Remove __nanf undef.
971         * math/s_nan.c: Remove __nan undef.
972         * math/s_nanl.c: Remove __nanl undef.
974         * sysdeps/generic/math_private.h (__nan): Remove macro
975         override.
976         (__nanf): Likewise.
977         (__nanl): Likewise.
979 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
981         * math/Makefile (gen-all-calls): New variable.
982         (generated): Replace gen-libm-calls with gen-all-calls.
983         (gen-libm-templates.stmp): Likewise.  Also, ensure
984         the output directory exists or is created and add
985         dependency on the Makefile.
986         (calls): Move s_ldexpF into gen-calls.
987         (gen-calls): New variable.
989         * math/s_ldexpf.c: Removed.
990         * math/s_ldexpl.c: Removed.
991         * math/s_ldexp.c: Refactored into ...
992         * math/s_ldexp_template.c: New file.
994         * sysdeps/generic/math-type-macros-double.h: Remove
995         redundant fall-through definition of declare_mgen_alias.
996         (declare_mgen_alias_2): New macro.
998         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
999         New macro for function aliased to two exported symbols.
1001         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1002         new template file.
1003         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1005 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1007         * Makeconfig (all-object-suffixes): Remove .og.
1008         * Makerules (elide-routines.og): Remove.
1009         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1010         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1011         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1013 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1015         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1016         .os objects.
1018 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1020         [BZ #20615]
1021         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1022         fpu directory by non-fpu.
1023         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1024         on non-fpu directory from a fpu directory.
1026 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1028         * include/limits.h: Define
1029         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1030         <bits/libc-header-start.h> instead of including <features.h>.
1031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1042         * manual/lang.texi (Width of Type): Document these macros.
1043         * stdlib/tst-width.c: New file.
1044         * stdlib/Makefile (tests): Add tst-width.
1046 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1048         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1049         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1051 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1053         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1054         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1055         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1057 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1059         [BZ #18243]
1060         * rt/Makefile (test): Add tst-shm-cancel.
1061         * rt/tst-shm-cancel.c: New file.
1062         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1064         [BZ #18243]
1065         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1066         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1067         definition.
1068         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1069         uncontended case.
1070         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1071         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1072         (tf): Fix check for uncontended case.
1073         (do_test): Likewise.
1074         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1075         (tf): Fix check for uncontended case.
1076         (do_test): Likewise.
1077         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1078         (tf): Fix check for uncontended case.
1079         (do_test): Likewise.
1080         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1081         (tf): Fix check for uncontended case.
1082         (do_test): Likewise.
1084         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1085         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1087         [BZ #15765]
1088         * nptl/Makefile (tests): Add tst-sem16.
1089         * nptl/tst-sem16.c: New file.
1090         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1092         * nptl/sem_open.c (sem_open): Init pad value to 0.
1093         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1094         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1096 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1098         [BZ #20611]
1099         * inet/Makefile (routines): Add inet6_scopeid_pton.
1100         (tests): Add tst-inet6_scopeid_pton.
1101         * inet/inet6_scopeid_pton.c: New file.
1102         * inet/net-internal.h: Likewise.
1103         * inet/tst-inet6_scopeid_pton.c: New test.
1104         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1105         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1106         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1108 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1110         Remove support for compiling wrappers with PTW.
1111         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1112         * nptl/Makefile (pthread-compat-wrappers): Define.
1113         (libpthread-routines): Use pthread-compat-wrappers.
1114         * sysdeps/unix/sysv/linux/alpha/Makefile
1115         (libpthread-routines, libpthread-shared-only-routines): Remove
1116         ptw- prefix.
1117         * sysdeps/s390/nptl/Makefile
1118         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1119         * sysdeps/ia64/nptl/Makefile
1120         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1121         * sysdeps/nacl/Makefile (libpthread-routines): Use
1122         pthread-compat-wrappers to filter the routines list instead of the
1123         ptw- prefix.
1125 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1127         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1128         with L() and remove explicit suffix, convert real literals
1129         which can be equivalentally substituted with integers, and
1130         transform -L(x) to L(-x).
1132         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1133         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1134         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1135         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1136         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1137         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1138         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1139         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1140         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1141         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1142         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1143         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1144         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1145         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1146         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1147         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1148         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1149         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1150         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1151         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1152         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1153         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1154         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1155         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1156         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1157         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1158         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1159         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1160         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1161         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1162         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1163         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1164         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1165         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1166         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1167         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1168         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1169         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1170         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1171         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1172         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1173         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1174         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1175         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1176         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1177         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1178         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1179         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1180         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1181         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1183 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1185         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1187 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1189         * malloc/Makefile (tests): Remove individual static test names
1190         and just add all of tests-static.
1192         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1194 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1196         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1197         file.
1199         * sysdeps/sparc/fpu/fegetmode.c: New file.
1200         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1202         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1203         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1205         * sysdeps/s390/fpu/fegetmode.c: New file.
1206         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1208         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1209         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1210         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1211         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1212         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1213         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1215         * sysdeps/mips/fpu/fegetmode.c: New file.
1216         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1218         * sysdeps/m68k/fpu/fegetmode.c: New file.
1219         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1221         * sysdeps/ia64/fpu/fegetmode.c: New file.
1222         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1224         * sysdeps/hppa/fpu/fegetmode.c: New file.
1225         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1227         * sysdeps/arm/fegetmode.c: New file.
1228         * sysdeps/arm/fesetmode.c: Likewise.
1230         * sysdeps/alpha/fpu/fegetmode.c: New file.
1231         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1233         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1234         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1236         * math/fegetmode.c: New file.
1237         * math/fesetmode.c: Likewise.
1238         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1239         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1240         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1241         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1242         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1243         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1244         declaration.
1245         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1246         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1247         typedef.
1248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1249         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1250         (femode_t): New typedef.
1251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1252         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1253         (femode_t): New typedef.
1254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1255         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1256         (femode_t): New typedef.
1257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1258         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1259         (femode_t): New typedef.
1260         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1261         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1262         (femode_t): New typedef.
1263         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1264         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1265         (femode_t): New typedef.
1266         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1267         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1268         (femode_t): New typedef.
1269         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1270         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1271         (femode_t): New typedef.
1272         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1273         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1274         (femode_t): New typedef.
1275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1276         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1277         (femode_t): New typedef.
1278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1279         declaration.
1280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1281         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1282         (femode_t): New typedef.
1283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1284         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1285         (femode_t): New typedef.
1286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1287         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1288         (femode_t): New typedef.
1289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1290         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1291         (femode_t): New typedef.
1292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1293         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1294         (femode_t): New typedef.
1295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1296         * manual/arith.texi (FE_DFL_MODE): Document macro.
1297         (fegetmode): Document function.
1298         (fesetmode): Likewise.
1299         * math/Versions (fegetmode): New libm symbol at version
1300         GLIBC_2.25.
1301         (fesetmode): Likewise.
1302         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1303         (tests): Add test-femode and test-femode-traps.
1304         * math/test-femode-traps.c: New file.
1305         * math/test-femode.c: Likewise.
1306         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1307         alias for __fe_dfl_env.
1308         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1309         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1310         (__fe_dfl_mode): Likewise.
1311         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1312         version GLIBC_2.25.
1313         * sysdeps/nacl/libm.abilist: Update.
1314         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1315         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1316         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1317         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1318         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1319         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1320         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1321         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1322         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1323         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1324         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1325         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1327         Likewise.
1328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1329         Likewise.
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1331         Likewise.
1332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1333         Likewise.
1334         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1336         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1337         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1340         Likewise.
1341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1342         Likewise.
1343         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1344         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1345         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1347 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1349         [BZ #20495]
1350         [BZ #20508]
1351         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1352         processors, set Use_dl_runtime_resolve_slow and set
1353         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1354         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1355         New.
1356         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1357         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1358         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1359         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1360         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1361         if Use_dl_runtime_resolve_opt is set.  Use
1362         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1363         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1364         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1365         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1366         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1367         New.
1368         (_dl_runtime_resolve_opt): Likewise.
1369         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1370         defined.
1372 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1374         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1375         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1377 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1379         Convert malloc to __libc_lock.  Automated part, using this Perl
1380         s/// command:
1381           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1382             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1383         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1384         conversion.
1386 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1388         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1389         (linknamespace-symlists-tests): Likewise.
1390         (linknamespace-header-tests): Likewise.
1392 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1394         [BZ #19810]
1395         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1396         * elf/tst-noload.c: New test case.
1397         * elf/Makefile (tests): Add tst-noload.
1399 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1401         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1403         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1404         not any more.
1406         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1408 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1410         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1411         (do_cos_slow): Likewise.
1412         (do_sin): Likewise.
1413         (do_sin_slow): Likewise.
1414         (slow): Likewise.
1415         (slow1): Likewise.
1416         (slow2): Likewise.
1417         (sloww): Likewise.
1418         (sloww1): Likewise.
1419         (sloww2): Likewise.
1420         (bsloww): Likewise.
1421         (bsloww1): Likewise.
1422         (bsloww2): Likewise.
1423         (cslow2): Likewise.
1425         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1427         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1428         arguments.  Consolidate input partitioning from callers here.
1429         (do_cos_slow): Likewise.
1430         (do_sin): Likewise.
1431         (do_sin_slow): Likewise.
1432         (do_sincos_1): Remove the no longer necessary input partitioning.
1433         (do_sincos_2): Likewise.
1434         (__sin): Likewise.
1435         (__cos): Likewise.
1436         (slow1): Likewise.
1437         (slow2): Likewise.
1438         (sloww1): Likewise.
1439         (sloww2): Likewise.
1440         (bsloww1): Likewise.
1441         (bsloww2): Likewise.
1442         (cslow2): Likewise.
1444 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1446         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1447         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1448         outside of allocated array.
1450 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1452         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1453         instead of MB_CUR_MAX to avoid variable-length array.
1455 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1457         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1458         (type-double-routines): Add k_rem_pio2.
1459         (type-float-routines): Add k_rem_pio2f.
1461         * sysdeps/generic/math_private.h:
1462         (__kernel_rem_pio2l): Removed.
1464         * math/k_rem_pio2l.c: Removed.
1465         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1466         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1467         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1468         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1470 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1472         * math/Makefile (gen-libm-calls): Add s_fmin
1473         (libm-calls): Remove above.
1475         * math/s_fmin.c: Refactor into ...
1476         * math/s_fmin_template.c: New file.
1478         * math/s_fminf.c: Removed.
1479         * math/s_fminl.c: Removed.
1480         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1481         (LDOUBLE_fmin_libm_version): New macro.
1483         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1484         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1486 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1488         * math/Makefile: (gen-libm-calls): Add s_fmax.
1489         (libm-calls): Remove above.
1491         * math/s_fmax.c: Refactor into ...
1492         * math/s_fmax_template.c: New file.
1493         * math/s_fmaxf.c: Removed.
1494         * math/s_fmaxl.c: Removed.
1496         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1497         (LDOUBLE_fmaxl_libm_version): New macro.
1499         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1500         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1502         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1503         s_fmin.c to pick the aarch64 version of the file.
1504         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1505         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1507 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1509         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1510         (libm-calls): Remove above.
1512         * math/s_nextdown.c: Refactor into ...
1513         * math/s_nextdown_template.c: New file.
1514         * math/s_nextdownf.c: Removed.
1515         * math/s_nextdownl.c: Removed.
1517         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1519 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1521         * math/Makefile (gen-libm-calls): Add s_fdim.
1522         (libm-calls): Move to above.
1524         * math/s_fdim.c: Renamed and refactored into to ...
1525         * math/s_fdim_template.c: New file.
1526         * math/s_fdiml.c: Removed.
1527         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1528         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1530         * sysdeps/generic/math-type-macros-double.h:
1531         (declare_mgen_alias): Don't declare if already declared.
1532         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1533         Likewise.
1535         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1536         (declare_mgen_alias): Don't declare if already declared.
1537         (M_LIBM_NEED_COMPAT): Likewise.
1538         (declare_mgen_libm_compat): Likewise.
1539         (LDOUBLE_fdiml_libm_version): New macro.
1541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1542         Include math/s_fdim.c now that ldbl-opt version is not needed.
1543         (declare_mgen_alias): New macro to disable aliasing.
1545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1546         (declare_mgen_alias): Likewise.
1547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1548         (declare_mgen_alias): Likewise.
1549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1550         (declare_mgen_alias): Likewise.
1551         (M_LIBM_NEED_COMPAT): Likewise.
1553 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1555         [BZ #20525]
1556         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1557         Include <linux/quota.h>.
1558         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1559         and btodb.
1560         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1561         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1562         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1563         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1564         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1565         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1566         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1567         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1568         types.
1569         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1570         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1572 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1574         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1575         (gammal_positive): Fix spacing.
1576         (__ieee754_gammal_r): Likewise.
1578 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1580         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1581         (_Float128): Define as long double, always.
1582         (L): Apply long double type suffix, always.
1584         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1585         _Float128, excepting comments.
1587         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1588         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1589         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1590         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1591         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1592         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1593         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1594         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1595         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1596         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1597         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1598         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1599         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1600         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1601         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1602         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1603         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1604         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1605         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1606         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1607         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1608         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1609         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1610         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1611         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1612         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1613         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1614         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1615         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1616         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1617         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1618         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1619         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1620         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1621         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1622         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1623         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1624         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1625         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1626         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1627         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1628         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1629         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1630         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1631         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1632         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1633         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1634         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1635         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1636         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1637         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1638         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1639         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1640         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1641         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1642         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1643         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1644         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1645         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1646         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1647         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1648         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1649         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1650         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1651         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1652         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1653         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1654         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1656         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1657         _Float128, and include math_private.h.
1658         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1661         long double semantics.
1662         (_Float128): Likewise.
1663         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1664         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1665         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1666         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1668 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1670         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1671         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1672         * sysdeps/s390/configure: Regenerated.
1673         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1674         instruction for raising over-/underflow if z196 zarch is supported
1675         by default.
1676         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1678 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1680         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1681         it point to a dumb buffer for RPC to fill it.
1683 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1685         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1686         instead of if/else.
1687         (do_sin_slow): Likewise.
1688         (do_sincos_1): Use fabs instead of if/else.
1689         (do_sincos_2): Likewise.
1690         (__sin): Likewise.
1691         (__cos): Likewise.
1692         (slow2): Likewise.
1693         (sloww): Likewise.
1694         (sloww1): Likewise.  Drop argument M.
1695         (sloww2): Use fabs instead of if/else.
1696         (bsloww): Likewise.
1697         (bsloww1): Likewise.
1698         (bsloww2): Likewise.
1700         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1701         fall through comment.
1702         (do_sincos_1): Likewise.
1704         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1705         Consolidate switch cases 0 and 2.
1707 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1709         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1710         (libm-calls): Remove the above.
1712         * math/s_cexp_template.c: Update using type-generic macros.
1713         * math/s_clog10_template.c: Likewise.
1714         * math/s_cpow_template.c: Likewise.
1715         * math/s_clog_template.c: Likewise.
1716         * math/s_cproj_template.c: Likewise.
1717         * math/s_csqrt_template.c: Likewise.
1719         * math/s_cexp.c: Removed.
1720         * math/s_cexpf.c: Removed.
1721         * math/s_cexpl.c: Removed.
1722         * math/s_clog10.c: Removed.
1723         * math/s_clog10f.c: Removed.
1724         * math/s_clog10l.c: Removed.
1725         * math/s_cpow.c: Removed.
1726         * math/s_cpowf.c: Removed.
1727         * math/s_cpowl.c: Removed.
1728         * math/s_clog.c: Removed.
1729         * math/s_clogf.c: Removed.
1730         * math/s_clogl.c: Removed.
1731         * math/s_cproj.c: Removed.
1732         * math/s_cprojf.c: Removed.
1733         * math/s_cprojl.c: Removed.
1734         * math/s_csqrt.c: Removed.
1735         * math/s_csqrtf.c: Removed.
1736         * math/s_csqrtl.c: Removed.
1738         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1739         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1740         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1741         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1742         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1743         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1745         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1746         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1747         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1748         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1749         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1750         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1751         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1752         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1753         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1754         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1755         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1757         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1758         version.
1760         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1761         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1762         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1763         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1765 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1767         * s_cexp_template.c: Copy of s_cexp.c.
1768         * s_clog_template.c: Copy of s_clog.c.
1769         * s_clog10_template.c: Copy of s_clog10.c.
1770         * s_cpow_template.c: Copy of s_cpow.c.
1771         * s_cproj_template.c: Copy of s_cproj.c.
1772         * s_csqrt_template.c: Copy of s_csqrt.c.
1774 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1776         [BZ #20517]
1777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1778         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1779         exported.
1781 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1783         * math/fetestexceptflag.c: New file.
1784         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1785         Stefan Liebler.
1786         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1787         (fetestexceptflag): New function declaration.
1788         * manual/arith.texi (fetestexceptflag): Document function.
1789         * math/Versions (fetestexceptflag): New libm symbol at version
1790         GLIBC_2.25.
1791         * math/Makefile (libm-support): Add fetestexceptflag.
1792         (tests): Add test-fetestexceptflag.
1793         * math/test-fetestexceptflag.c: New file.
1794         * sysdeps/nacl/libm.abilist: Update.
1795         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1796         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1797         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1798         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1799         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1800         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1801         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1802         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1803         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1804         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1805         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1806         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1808         Likewise.
1809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1810         Likewise.
1811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1812         Likewise.
1813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1814         Likewise.
1815         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1816         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1817         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1818         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1819         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1821         Likewise.
1822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1823         Likewise.
1824         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1825         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1826         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1828 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1830         [BZ #20432]
1831         Avoid strong references to malloc-internal symbols when linking
1832         statically, to support statically interposed mallocs.
1833         * include/libc-symbols.h (call_function_static_weak): New macro.
1834         * malloc/Makefile (tests): Add tst-interpose-nothread,
1835         tst-interpose-thread, tst-interpose-static-nothread,
1836         tst-interpose-static-thread.
1837         (tests-static): Add tst-interpose-static-nothread,
1838         tst-interpose-static-thread.
1839         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1840         tst-interpose-aux-thread.o.
1841         (test-extras): Add tst-interpose-aux-nothread,
1842         tst-interpose-aux-thread.
1843         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1844         tst-interpose-aux-nothread.o.
1845         (tst-interpose-thread, tst-interpose-static-thread): Link with
1846         tst-interpose-aux-thread.o and libthread.
1847         * malloc/tst-interpose-aux-nothread.c: New file.
1848         * malloc/tst-interpose-aux-thread.c: Likewise.
1849         * malloc/tst-interpose-aux.c: Likewise.
1850         * malloc/tst-interpose-aux.h: Likewise.
1851         * malloc/tst-interpose-nothread.c: Likewise.
1852         * malloc/tst-interpose-skeleton.c: Likewise.
1853         * malloc/tst-interpose-static-nothread.c: Likewise.
1854         * malloc/tst-interpose-static-thread.c: Likewise.
1855         * malloc/tst-interpose-thread.c: Likewise.
1856         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1857         * sysdeps/mach/hurd/fork.c (__fork): Only call
1858         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1859         __malloc_fork_unlock_child if defined.
1860         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1862 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1864         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1865         timespec C99 designated initialization.
1867 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1869         [BZ #19946]
1870         Avoid expected SIGALRM signals.
1871         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1872         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1873         (xpthread_create, xpthread_detach, xpthread_join)
1874         (delayed_exit_thread, delayed_exit): New functions.
1875         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1876         (tf): Use xpthread_cond_wait.
1877         (do_test): Likewise.  Replace alarm with delayed_exit.
1878         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1879         (do_test): Call delayed_exit.  Report failure.
1880         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1881         (do_test): Call delayed_exit.
1882         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1883         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1884         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1885         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1886         error.
1887         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1888         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1889         error.
1890         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1891         (do_test): Call delayed_exit.
1892         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1893         (do_test): Call delayed_exit.
1894         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1895         (do_test): Call delayed_exit instead of alarm.  Use
1896         xpthread_mutex_lock.
1897         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1898         (do_test): Call delayed_exit instead of alarm.  Use
1899         xpthread_mutex_lock.
1900         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1901         (do_test): Call delayed_exit instead of alarm.
1902         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1903         (do_test): Call delayed_exit instead of alarm.  Use
1904         xpthread_spin_lock.
1905         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1906         (do_test): Call delayed_exit instead of alarm.  Use
1907         xpthread_join.
1909 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1911         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1912         adjust CFA when allocating register save area on re-aligned
1913         stack.
1915 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1917         * string/tst-cmp.c: New test.
1918         * string/Makefile (tests): Add it.
1920 2016-08-25  Mark Wielaard  <mark@klomp.org>
1922         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1923         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1924         (check_tree_recurse): Use newly defined accessors.
1925         (check_tree): Likewise.
1926         (maybe_split_for_insert): Likewise.
1927         (__tfind): Likewise.
1928         (__tdelete): Likewise.
1929         (trecurse): Likewise.
1930         (tdestroy_recurse): Likewise.
1931         (__tsearch): Likewise. And add asserts for malloc alignment.
1932         (__twalk): Cast root to node in case CHECK_TREE is defined.
1934 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1936         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1938 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1940         * math/Makefile (libm-gen-calls): Add
1941         catan, catanh, ctan, ctanh.
1942         (libm-calls): Remove the above.
1944         * math/s_catan_template.c: Update using type-generic macros.
1945         * math/s_catanh_template.c: Likewise.
1946         * math/s_ctan_template.c: Likewise.
1947         * math/s_ctanh_template.c: Likewise.
1949         * math/s_catanf.c: Removed.
1950         * math/s_catan.c: Removed.
1951         * math/s_catanl.c: Removed.
1952         * math/s_catanhf.c: Removed.
1953         * math/s_catanh.c: Removed.
1954         * math/s_catanhl.c: Removed.
1955         * math/s_ctanf.c: Removed.
1956         * math/s_ctan.c: Removed.
1957         * math/s_ctanl.c: Removed.
1958         * math/s_ctanhf.c: Removed.
1959         * math/s_ctanh.c: Removed.
1960         * math/s_ctanhl.c: Removed.
1962         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1963         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1964         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1965         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1966         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1967         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1969         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1970         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1971         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1972         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1974 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1976         * s_catan_template.c: Copy of s_catan.c.
1977         * s_catanh_template.c: Copy of s_catanh.c.
1978         * s_ctan_template.c: Copy of s_ctan.c.
1979         * s_ctanh_template.c: Copy of s_ctanh.c.
1981 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1983         * math/Makefile (gen-libm-calls): Move
1984         casin, casinh, csin, csinh here.
1985         (libm-calls): Remove the above.
1987         * math/s_casin_template.c: Update using type-generic macros.
1988         * math/s_casinh_template.c: Likewise.
1989         * math/s_csin_template.c: Likewise.
1990         * math/s_csinh_template.c: Likewise.
1991         * math/k_casinh_template.c: Likewise.
1993         * math/s_casinf.c: Removed.
1994         * math/s_casin.c: Removed.
1995         * math/s_casinl.c: Removed.
1996         * math/s_casinh.c: Removed.
1997         * math/s_casinhf.c: Removed.
1998         * math/s_casinhl.c: Removed.
1999         * math/s_csin.c: Removed.
2000         * math/s_csinf.c: Removed.
2001         * math/s_csinl.c: Removed.
2002         * math/s_csinh.c: Removed.
2003         * math/s_csinhf.c: Removed.
2004         * math/s_csinhl.c: Removed.
2005         * math/k_casinh.c: Removed.
2006         * math/k_casinhf.c: Removed.
2007         * math/k_casinhl.c: Removed.
2009         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2010         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2011         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2012         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2014         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2015         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2016         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2017         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2018         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2019         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2020         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2021         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2023         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2024         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2025         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2026         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2028         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2029         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2030         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2031         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2033 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2035         * s_casin_template.c: Copy of s_casin.c.
2036         * s_casinh_template.c: Copy of s_casinh.c.
2037         * s_csin_template.c: Copy of s_csin.c.
2038         * s_csinh_template.c: Copy of s_csinh.c.
2039         * k_casinh_template.c: Copy of k_casinh.c.
2041 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2043         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2045 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2047         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2048         (mul_split) Remove, rename as mul_splitl, remove
2049         redundant float.h include, and include via mul_splitl.h
2051         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2052         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2053         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2054         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2055         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2057         * math/mul_splitl.h: New file.
2059         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2060         Move into mul_split.h, and remove redundant float.h include.
2062         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2063         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2064         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2065         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2067         * math/mul_split.h: New file.
2069 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2071         * math/Makefile (libm-gen-calls): Move
2072         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2073         (libm-calls): Remove above.
2075         * math/s_cacos_template.c: Update using type-generic macros.
2076         * math/s_cacosh_template.c: Likewise.
2077         * math/s_ccos_template.c: Likewise.
2078         * math/s_ccosh_template.c: Likwise.
2080         * math/s_cacosf.c: Removed.
2081         * math/s_cacos.c: Removed.
2082         * math/s_cacosl.c: Removed.
2083         * math/s_cacoshf.c: Removed.
2084         * math/s_cacosh.c: Removed.
2085         * math/s_cacoshl.c: Removed.
2086         * math/s_ccosf.c: Removed.
2087         * math/s_ccos.c: Removed.
2088         * math/s_ccosl.c: Removed.
2089         * math/s_ccoshf.c: Removed.
2090         * math/s_ccosh.c: Removed.
2091         * math/s_ccoshl.c: Removed.
2093         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2094         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2095         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2096         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2097         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2098         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2100         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2101         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2102         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2103         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2105         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2106         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2107         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2108         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2110 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2112         * s_cacos_template.c: Copy of s_cacos.c.
2113         * s_cacosh_template.c: Copy of s_cacosh.c.
2114         * s_ccos_template.c: Copy of s_ccos.c.
2115         * s_ccosh_template.c: Copy of s_ccosh.c.
2117 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2119         * stdlib/tst-strtod-round-skeleton.c:
2120         Refactored from tst-strtod-round.c.
2122         (L_): New macro to apply literal modifier.
2123         (FNPFX): New macro to select str or wcs prefix.
2124         (CHAR): New macro to choose wchar_t or char.
2125         (STRM): New macro to choose printf for tested character type.
2127         (STRTO): New macro to choose appropriate string -> real function.
2128         (FNPFXS): Stringitized version of FNPFX.
2129         (STR): Support for above macro.
2130         (STRX): Likewise.
2132         (TEST): Update with above macros.
2133         (test): Likewise.
2134         (GEN_ONE_TEST): Likewise.
2135         (test_in_one_mode): Likewise.
2137         * stdlib/tst-strtod-round.c: New file.
2138         * wcsmbs/tst-wcstod-round.c: New file.
2140         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2141         (tst-wcstod-round): Add libm depencency for fesetround.
2143 2016-08-19  Zack Weinberg  <zackw@panix.com>
2145         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2147 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2149         [BZ #20477]
2150         * resolv/res_hconf.c (do_init): Use atomic access.
2151         * resolv/res_hconf.h: Add comments.
2152         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2153         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2156 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2158         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2159         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2160         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2161         Likewise.
2163 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2165         [BZ #16907]
2166         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2167         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2168         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2169         (__attribute__): Remove definition.
2171 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2173         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2174         Remove unused sqrtl declaration.
2176 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2178         * math/Makefile: (gen-libm-templates.stmp): New rule.
2179         (libm-calls): Move carg conj cimag and cabs into ...
2180         (gen-libm-calls): New variable.
2181         (generated): Inform Make objects from gen-libm-calls
2182         may be generated.
2184         * sysdeps/generic/math-type-macros.h: New file.
2185         * sysdeps/generic/math-type-macros-float.h: Likewise.
2186         * sysdeps/generic/math-type-macros-double.h: Likewise.
2187         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2188         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2189         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2191         * math/cabs.c: Refactor into
2192         * math/cabs_template.c: new file.
2193         * math/cabsf.c: Removed.
2194         * math/cabsl.c: Removed.
2195         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2196         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2198         * math/carg.c: Refactor into
2199         * math/carg_template.c: new file.
2200         * math/cargf.c: Removed.
2201         * math/cargl.c: Removed.
2202         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2203         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2205         * math/conj.c: Refactor into
2206         * math/conj_template.c: new file.
2207         * math/conjf.c: Removed.
2208         * math/conjl.c: Removed.
2209         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2210         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2212         * math/cimag.c: Refactor into
2213         * math/cimag_template.c: new file.
2214         * math/cimagf.c: Removed.
2215         * math/cimagl.c: Removed.
2216         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2217         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2219         * math/cimag.c: Refactor into
2220         * math/cimag_template.c: new file.
2221         * math/cimagf.c: Removed.
2222         * math/cimagl.c: Removed.
2223         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2224         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2226 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2228         Reduce time to expected nptl/tst-once5 failure.
2229         * nptl/tst-once5.cc (TIMEOUT): Define.
2231 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2233         [BZ #20452]
2234         Avoid additional copies of objects in libc.a in static libraries.
2235         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2236         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2237         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2238         rt-sysdep.
2239         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2240         Add nptl-sysdep.
2241         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2242         Add ptw-sysdep.
2243         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2244         rt-sysdep.
2245         * sysdeps/unix/sysv/linux/alpha/Makefile
2246         (libpthread-shared-only-routines): Add ptw-sysdep,
2247         ptw-sigprocmask, ptw-rt_sigaction.
2248         * sysdeps/unix/sysv/linux/ia64/Makefile
2249         (librt-shared-only-routines): Add rt-sysdep.
2250         * sysdeps/unix/sysv/linux/i386/Makefile
2251         (libpthread-shared-only-routines): Add libc-do-syscall.
2252         * sysdeps/unix/sysv/linux/microblaze/Makefile
2253         (libpthread-shared-only-routines): Add sysdep.
2254         * sysdeps/unix/sysv/linux/powerpc/Makefile
2255         (librt-shared-only-routines): Add rt-sysdep.
2256         (libpthread-shared-only-routines): Add sysdep.
2257         * sysdeps/unix/sysv/linux/s390/Makefile
2258         (librt-shared-only-routines): Add rt-sysdep.
2259         * sysdeps/unix/sysv/linux/sparc/Makefile
2260         (librt-shared-only-routines): Add rt-sysdep.
2261         (libpthread-shared-only-routines): Add sysdep.
2262         * sysdeps/unix/sysv/linux/tile/Makefile
2263         (libpthread-shared-only-routines): Likewise.
2265 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2267         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2268         Mask implicit bit out of unpacked value.
2269         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2273         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2275         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2277         * sysdeps/s390/fpu/fesetexcept.c: New file.
2279         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2280         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2281         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2283         * sysdeps/mips/fpu/fesetexcept.c: New file.
2285         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2287         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2289         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2291         * sysdeps/arm/fesetexcept.c: New file.
2293         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2295         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2297         * math/fesetexcept.c: New file.
2298         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2299         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2300         * math/fenv.h: Define
2301         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2302         <bits/libc-header-start.h> instead of including <features.h>.
2303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2304         declaration.
2305         * manual/arith.texi (fesetexcept): Document function.
2306         * math/Versions (fesetexcept): New libm symbol at version
2307         GLIBC_2.25.
2308         * math/Makefile (libm-support): Add fesetexcept.
2309         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2310         * math/test-fesetexcept.c: New file.
2311         * math/test-fesetexcept-traps.c: Likewise.
2312         * sysdeps/nacl/libm.abilist: Update.
2313         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2314         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2315         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2316         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2317         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2318         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2319         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2320         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2321         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2322         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2323         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2324         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2326         Likewise.
2327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2328         Likewise.
2329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2330         Likewise.
2331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2332         Likewise.
2333         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2334         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2335         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2336         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2337         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2339         Likewise.
2340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2341         Likewise.
2342         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2343         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2344         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2346 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2348         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2349         New.
2350         (do_test): Apply default_stack_size_in_mb if not set.
2351         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2353 2016-08-15  Andreas Schwab  <schwab@suse.de>
2355         [BZ #20435]
2356         CVE-2016-6323
2357         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2358         as .cantunwind.
2360 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2362         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2363         comment from fraiseexcpt.c.
2365         * math/test-fexcept.c (feraiseexcept_exact): New function.
2366         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2367         (test_except): Likewise.
2369 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2371         [BZ #20455]
2372         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2373         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2374         to be restored.
2376         * math/test-fexcept-traps.c: New file.
2377         * math/test-fexcept.c: Likewise.
2378         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2379         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2380         macro.
2381         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2382         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2384 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2386         * include/atomic.h (atomic_fetch_and_relaxed,
2387         atomic_fetch_and_release, atomic_fetch_or_release,
2388         atomic_fetch_xor_release): New.
2390 2016-08-06  Christian Seiler  <christian@iwakd.de>
2392         [BZ #20444]
2393         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2394         MACH_PORT_NULL.
2396 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2398         * math/s_fdim.c: Avoid alias renamed.
2399         * math/s_fdimf.c: Likewise.
2400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2401         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2402         Add s_fdimf-vis3, s_fdim-vis3.
2403         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2404         (CFLAGS-s_fdim-vis3.c): Likewise.
2405         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2406         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2408 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2411         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2412         Remove s_fdimf-vis3, s_fdim-vis3.
2413         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2414         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2421         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2422         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2424 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2426         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2427         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2428         -Wa,-Av9a -mvis.
2430 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2432         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2433         LIT() to individual constants in simple expressions
2434         after splitting on spaces.
2435         (_apply_lit): Rename replaced version, and use it to
2436         apply to what appears to be a token.
2438         * math/libm-test.inc: Fix many, many issues with
2439         spacing.
2441 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2443         * math/math.h: Move comment about <bits/mathdef.h> definitions
2444         above inclusion of <bits/mathdef.h>.  Do not mention
2445         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2447 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2449         * include/atomic.h (atomic_exchange_relaxed): New.
2451 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2453         * math/e_scalb.c: Do not include <fenv.h>.
2454         (invalid_fn): Do calculation resulting in NaN instead of raising
2455         FE_INVALID and returning a NaN explicitly.
2456         * math/e_scalbf.c: Do not include <fenv.h>.
2457         (invalid_fn): Do calculation resulting in NaN instead of raising
2458         FE_INVALID and returning a NaN explicitly.
2459         * math/e_scalbl.c: Do not include <fenv.h>.
2460         (invalid_fn): Do calculation resulting in NaN instead of raising
2461         FE_INVALID and returning a NaN explicitly.
2463 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2465         * po/de.po: Updated from Translation Project.
2466         * po/fi.po: Likewise.
2467         * po/sv.po: Likewise.
2469 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2471         [BZ #20452]
2472         Use sysdep.o from libc.a in static libraries.
2473         * sysdeps/unix/sysv/linux/i386/Makefile
2474         (libpthread-shared-only-routines): Add sysdep.
2475         (librt-shared-only-routines): Likewise.
2477 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2479         * math/tgmath.h (nextdown): Define if
2480         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2481         (nextup): Likewise.
2483         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2484         macro.
2485         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2486         Document.
2487         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2488         Document macro.
2489         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2490         (exp10f): Likewise.
2491         (exp10l): Likewise.
2492         * math/bits/mathcalls.h (exp10): Declare if
2493         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2495         * manual/arith.texi (nextup): Fix typo in last change.
2497 2016-08-03  Zack Weinberg  <zackw@panix.com>
2499         [BZ #19239]
2500         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2501         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2502         define major, minor, and makedev to issue deprecation warnings on use.
2503         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2504         previously-activated deprecation warnings for these macros and prevent
2505         subsequent inclusions of this header from having any effect.
2506         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2507         including <sys/sysmacros.h>, and undefine it again afterward.
2509 2016-08-03  Zack Weinberg  <zackw@panix.com>
2511         * sysdeps/generic/sys/sysmacros.h: Delete file.
2512         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2513         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2514         * bits/sysmacros.h: ... here; this encoding is now the generic
2515         encoding.  Now defines only the following macros:
2516         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2517         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2518         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2520         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2521         bits/sysmacros.h and the above new macros to generate the
2522         public implementations of major, minor, and makedev.
2523         * misc/tst-makedev.c: New test.
2524         * include/sys/sysmacros.h: New wrapper.
2526         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2527         (routines): Add makedev.
2528         (tests): Add tst-makedev.
2529         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2530         gnu_dev_makedev.
2531         * posix/Makefile (headers): Remove sys/sysmacros.h.
2532         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2534         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2535         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2536         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2537         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2538         * sysdeps/unix/sysv/linux/arm/libc.abilist
2539         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2540         * sysdeps/unix/sysv/linux/i386/libc.abilist
2541         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2542         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2543         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2544         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2545         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2546         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2547         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2548         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2549         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2554         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2555         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2556         * sysdeps/unix/sysv/linux/sh/libc.abilist
2557         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2558         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2561         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2562         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2563         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2564         Add GLIBC_2.25.
2566         * include/features.h (__glibc_clang_prereq): New macro.
2567         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2568         (__attribute_deprecated_msg__): New macros.
2570 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2572         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2573         macro.
2574         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2575         * manual/arith.texi (issignaling): Document as ISO from TS
2576         18661-1:2014.
2577         (nextup): Likewise.
2578         (nextupf): Likewise.
2579         (nextupl): Likewise.
2580         (nextdown): Likewise.
2581         (nextdownf): Likewise.
2582         (nextdownl): Likewise.
2583         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2584         macro.
2585         * math/math.h: Define
2586         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2587         <bits/libc-header-start.h> instead of including <features.h>.
2588         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2589         [__USE_GNU].
2590         * math/bits/mathcalls.h (nextdown): Declare if
2591         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2592         (nextup): Likewise.
2593         (__issignaling): Likewise.
2595 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2597         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2598         check, and remove __glibc_likely hint
2599         from FP_INFINITE check.
2600         * s_csinhf.c (__csinhf): Likewise.
2602         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2603         hint from FP_INFINITE check.
2604         * s_csinhl.c (__csinhl): Likewise.
2606 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2608         * math/Makefile (libm-calls): Insert F placeholder into
2609         object names.  Move w_lgamma_compat* routines into
2610         (libm-compat-calls): New variable.
2611         (libm-compat-calls-ldouble-yes): New variable.
2612         (calls): Insert F placeholder.
2613         (generated): Redefine using new type-foreach macro call.
2614         (routines): Likewise.
2616         (types): New variable to hold a list of symbolic names
2617         for each type supported by the target machine.
2618         (libm-routines): Redefine using new types variable.
2619         (type-foreach): macro to replace fooF with the
2620         appropriately suffixed foo for each types.
2622         (type-ldouble-suffix): New variable.
2623         (type-ldouble-routines): Likewise.
2624         (type-ldouble-yes): Likewise.
2625         (type-double-suffix): Likewise.
2626         (type-double-routines): Likewise.
2627         (type-float-suffix): Likewise.
2628         (type-float-routines): Likewise.
2630         (dbl-only-routines): Remove.
2631         (long-c-yes): Likewise.
2632         (long-m-routines): Likewise.
2633         (long-m-support): Likewise.
2634         (long-m-yes): Likewise.
2635         (test-longdouble-yes): Likewise.
2637         (test-float.o): Simplify by increasing the scope of the
2638         recipe which adds libm-test.stmp to the vector types.
2639         (test-ifloat.o): Likewise.
2640         (test-float-finite.o): Likewise.
2641         (test-double.o): Likewise
2642         (test-idouble.o): Likewise.
2643         (test-double-finite.o): Likewise.
2644         (test-ldouble.o): Likewise
2645         (test-ildoubl.o): Likewise.
2646         (test-ldouble-finite.o): Likewise.
2648         (libm-tests): Redefine type tests using foreach and the
2649         list of types in types.
2651         (CPPFLAGS-test-ildoubl.c): Rename to
2652         (CPPFLAGS-test-ildouble.c): New variable
2654         * math/test-ildoubl.c: Rename to
2655         * math/test-ildouble.c: New file.
2657 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2659         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2660         Use fabsl instead of fabs.
2661         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2662         Likewise.
2663         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2664         Add long double suffix to constant to ensure proper
2665         promotion to long double.
2667 2016-08-03  Tom Tromey  <tom@tromey.com>
2669         [BZ #20311]
2670         * nptl_db/Makefile (headers): Add proc_service.h.
2671         * nptl_db/proc_service.h: Add include guard.  Use
2672         __BEGIN/__END_DECLS.
2673         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2674         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2675         arguments.
2678 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2680         [BZ #17730]
2681         Avoid using memalign for TCB allocations.
2682         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2683         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2684         Avoid alignment gap in the TLS_DTV_AT_TP case.
2685         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2686         determine the pointer to free.
2687         * nptl/tst-tls3-malloc.c: New test.
2688         * nptl/Makefile (tests): Add it.
2689         (tst-tls3-malloc): Link with libdl, libpthread.
2690         (LDFLAGS-tst-tls3-malloc): Set.
2691         (tst-tls3-malloc.out): Depend on DSO used in test.
2693 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2695         [BZ #17730]
2696         Avoid using memalign for TLS allocations.
2697         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2698         is_static member with to_free member.
2699         (union dtv): Use struct dtv_pointer.
2700         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2701         dtv_pointer instead of is_static.
2702         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2703         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2704         instead of val.
2705         (allocate_dtv_entry): New function.
2706         (allocate_and_init): Return struct dtv_pointer.  Call
2707         allocate_dtv_entry instead of __libc_memalign.
2708         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2709         instead of val.
2710         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2711         instead of is_static.  Adjust call to allocate_and_init.
2712         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2713         struct dtv_pointer instead of val.
2715 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2717         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2718         (MALLOC_ALIGN_MASK): Move ...
2719         * malloc/malloc-internal.h: ... to here.
2720         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2722 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2724         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2725         (UDP_ENCAP_GTP1U): Likewise.
2727         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2728         (PF_MAX): Update value.
2729         (AF_QIPCRTR): New macro.
2731 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2733         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2734         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2735         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2736         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2737         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2738         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2739         s_truncf-vis3, s_trunc-vis3.
2740         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2741         (CFLAGS-s_ceil-vis3.c): Likewise.
2742         (CFLAGS-s_floorf-vis3.c): Likewise.
2743         (CFLAGS-s_floor-vis3.c): Likewise.
2744         (CFLAGS-s_truncf-vis3.c): Likewise.
2745         (CFLAGS-s_trunc-vis3.c): Likewise.
2746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2747         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2748         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2749         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2751         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2752         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2753         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2754         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2755         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2756         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2757         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2759 2016-08-02  David S. Miller  <davem@davemloft.net>
2761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2762         (__nearbyint_vis3): Don't check for sNaN before float register is
2763         loaded with the incoming argument.
2764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2765         (__nearbyintf_vis3): Likewise.
2766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2767         Likewise.
2768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2769         Likewise.
2771         * string/test-strncmp.c (do_test_limit): Make sure the test data
2772         stream is aligned as required for the type "CHAR".
2773         (do_test): Likewise.
2775 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2777         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2778         by beq instructions jumping to the end of the function.
2779         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2780         clobber list. Use "i" constraint instead of "X".
2781         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2782         of "X".
2784 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2786         * bits/libc-header-start.h: New file.
2787         * Makefile (headers): Add bits/libc-header-start.h.
2788         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2789         (__GLIBC_USE): New macro.
2790         * libio/stdio.h: Define
2791         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2792         <bits/libc-header-start.h> instead of including <features.h>.
2793         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2794         (open_memstream): Likewise.
2795         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2796         (__asprintf): Likewise.
2797         (asprintf): Likewise.
2798         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2799         (getdelim): Likewise.
2800         (getline): Likewise.
2801         * string/string.h: Define
2802         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2803         <bits/libc-header-start.h> instead of including <features.h>.
2804         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2805         (strndup): Likewise.
2806         * wcsmbs/wchar.h: Define
2807         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2808         <bits/libc-header-start.h> instead of including <features.h>.
2809         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2810         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2812 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2814         Support linking against compatibility symbols, for use in tests.
2815         * include/libc-symbols.h (symbol_version_reference): New macro.
2816         (symbol_version): Use it.
2817         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2818         (compat_symbol): Use compat_symbol_reference.
2819         (compat_symbol_1, compat_symbol_2): Remove.
2820         (compat_symbol_reference, compat_symbol_reference_1)
2821         (compat_symbol_reference_2): New macro.  Use
2822         symbol_version_reference.
2824 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2826         [BZ #19469]
2827         * malloc/Makefile (CPPFLAGS): Compile tests with
2828         -DTEST_NO_MALLOPT.
2829         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2831 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2833         [BZ #20033]
2834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2835         finite version.
2836         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2837         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2838         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2839         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2840         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2841         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2842         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2843         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2845         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2846         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2847         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2848         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2849         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2850         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2851         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2852         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2853         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2854         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2855         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2856         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2857         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2858         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2859         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2860         in zero power.
2862 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2864         [BZ #20370]
2865         * malloc/arena.c (get_free_list): Update comment.  Assert that
2866         arenas on the free list have no attached threads.
2867         (remove_from_free_list): New function.
2868         (reused_arena): Call it.
2870 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2872         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2873         when it is a NaN.
2874         [_IEEE_FP_INEXACT] Remove.
2875         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2876         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2877         when it is a NaN.
2878         [_IEEE_FP_INEXACT] Remove.
2879         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2880         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2881         when it is a NaN.
2882         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2883         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2884         when its absolute value is greater than 0x1.0p52.
2885         [_IEEE_FP_INEXACT] Remove.
2886         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2887         when its absolute value is greater than 0x1.0p23.
2888         [_IEEE_FP_INEXACT] Remove.
2890 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2892         * version.h (RELEASE): Set to "development"
2893         (VERSION): Set to 2.24.90.
2894         * NEWS: Add 2.25 section.
2896         * version.h (RELEASE): Set to "stable"
2897         (VERSION): Set to 2.24.
2898         * include/features.h (__GLIBC_MINOR__): Set to 24.
2900         * NEWS: Add 2.24 fixed bugs.
2901         * po/libc.pot: Regenerate.
2903 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2906         [$(subdir) = math] (libm-sysdep_routines): Remove.
2907         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2908         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2909         s_truncf-vis3, s_trunc-vis3.
2910         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2912         file.
2913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2936         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2937         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2939         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2946         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2947         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2948         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2949         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2950         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2951         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2952         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2953         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2954         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2955         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2957 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2959         [BZ #20384]
2960         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2961         test-double-libmvec-sincos-avx-main.o,
2962         test-double-libmvec-sincos-avx2-main.o,
2963         test-double-libmvec-sincos-main.o,
2964         test-float-libmvec-sincosf-avx-main.o,
2965         test-float-libmvec-sincosf-avx2-main.o and
2966         test-float-libmvec-sincosf-main.o.
2967         test-float-libmvec-sincosf-avx512-main.o.
2968         ($(objpfx)test-double-libmvec-sincos): Also link with
2969         $(objpfx)test-double-libmvec-sincos-main.o.
2970         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2971         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2972         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2973         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2974         ($(objpfx)test-float-libmvec-sincosf): Also link with
2975         $(objpfx)test-float-libmvec-sincosf-main.o.
2976         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2977         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2978         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2979         test-double-libmvec-sincos-avx512-main.o and
2980         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2981         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2982         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2983         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2984         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2985         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2986         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2987         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2988         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2989         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2990         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2991         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2992         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2993         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2994         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2995         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2996         -DREQUIRE_AVX2.
2997         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2998         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2999         -DREQUIRE_AVX512F.
3000         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3001         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3002         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3003         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3004         file.
3005         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3006         Likewise.
3007         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3008         Likewise.
3009         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3010         Likewise.
3011         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3012         Likewise.
3013         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3014         Likewise.
3015         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3016         Likewise.
3017         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3018         Likewise.
3020 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3022         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3024 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3026         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3027         and typo in a comment about AT_HWCAP entry.
3029 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3031         * sysdeps/aarch64/libm-test-ulps: Updated.
3033 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3035         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3036         of r13 as it is not restored in mvcle case.
3038 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3040         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3041         Rename "ret" to "__ret".
3042         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3043         inline_syscall5, inline_syscall6): Likewise.
3045 2016-07-19   Will Newton  <will.newton@gmail.com>
3047         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3048         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3049         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3050         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3051         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3053 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3055         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3056         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3057         -mfpmath=387 with $(rtld-CFLAGS).
3058         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3059         $(rtld-CFLAGS).
3061 2016-07-18   Ross Burton  <ross.burton@intel.com>
3062              Khem Raj  <raj.khem@gmail.com>
3064         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3065         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3066         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3067         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3068         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3069         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3070         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3071         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3072         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3073         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3074         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3075         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3076         R_METAG_TLS_DTPOFF): New.
3078 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3079             Matt Clay  <mclay@lycos.com>
3081         [BZ #20357]
3082         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3083         to call __mpsin/__mpcos and to negate values.
3084         * math/auto-libm-test-in: Add test.
3085         * math/auto-libm-test-out: Regenerate.
3087 2016-07-18  Zack Weinberg  <zackw@panix.com>
3089         * grp/Makefile: Don't install the internal header grp-merge.h.
3091 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3093         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3095 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3097         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3099 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3101         [BZ #15368]
3102         * sysdeps/unix/sysv/linux/nptl-signals.h
3103         (__nptl_clear_internal_signals): New function.
3104         (__libc_signal_block_all): Likewise.
3105         (__libc_signal_block_app): Likewise.
3106         (__libc_signal_restore_set): Likewise.
3107         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3108         implementation.
3109         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3110         the cached pid/tid value in pthread structure.
3112 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3114         [BZ #20347]
3115         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3117 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3119         [BZ #20348]
3120         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3121         preadv64, pwrite64 and pwritev64.
3123 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3125         [BZ #20350]
3126         * posix/tst-preadwrite.c: Renamed to ...
3127         * posix/tst-preadwrite-common.c: This.
3128         (PREAD): Removed.
3129         (PWRITE): Likewise.
3130         (STRINGIFY): Likewise.
3131         (STRINGIFY2): Likewise.
3132         (do_prepare): Make it static and remove function arguments.
3133         (do_test): Likewise.
3134         (PREPARE): Updated.
3135         (TEST_FUNCTION): New.
3136         (name): Make it static.
3137         (fd): Likewise.
3138         (do_prepare): Use create_temp_file.
3139         (do_test): Renamed to ...
3140         (do_test_with_offset): This.  Make it static and accept offset.
3141         Properly check return value of PWRITE and PREAD.  Return bytes
3142         read.  Don't close fd nor unlink name.
3143         * posix/tst-preadwrite.c: Rewrite.
3144         * posix/tst-preadwrite64.c: Likewise.
3146 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3148         [BZ #20309]
3149         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3150         -mtls-dialect=gnu2 works.
3151         * configure: Regenerated.
3152         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3153         (tests): Add tst-gnu2-tls1.
3154         (modules-names): Add tst-gnu2-tls1mod.
3155         ($(objpfx)tst-gnu2-tls1): New.
3156         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3157         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3158         * elf/tst-gnu2-tls1.c: New file.
3159         * elf/tst-gnu2-tls1mod.c: Likewise.
3160         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3161         bytes for push in the PLT entry to align the stack.
3163 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3165         [BZ #20349]
3166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3168 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3170         [BZ #18707]
3171         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3172         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3174 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3176         * sysdeps/unix/sysv/linux/sysdep.h
3177         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3178         guards.
3179         * misc/tst-preadvwritev-common.c: New file.
3180         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3181         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3182         a check for files larger than 2GB.
3184         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3185         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3186         * sysdeps/unix/sysv/linux/pread.c
3187         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3188         __OFF_T_MATCHES_OFF64_T.
3189         * sysdeps/unix/sysv/linux/pread64.c
3190         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3191         * sysdeps/unix/sysv/linux/preadv.c
3192         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3193         * sysdeps/unix/sysv/linux/preadv64.c
3194         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3195         * sysdeps/unix/sysv/linux/pwrite.c
3196         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3197         * sysdeps/unix/sysv/linux/pwrite64.c
3198         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3199         * sysdeps/unix/sysv/linux/pwritev.c
3200         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3201         * sysdeps/unix/sysv/linux/pwritev64.c
3202         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3204 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3206         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3207         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3209 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3211         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3213 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3215         [BZ #20240]
3216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3217         (CFLAGS-s_modf-ppc32.c): New variable.
3218         (CFLAGS-s_modff-ppc32.c): Likewise.
3219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3220         (CFLAGS-s_modf-ppc64.c): Likewise.
3221         (CFLAGS-s_modff-ppc64.c): Likewise.
3223 2016-07-07  Andreas Schwab  <schwab@suse.de>
3225         [BZ #20263]
3226         * nptl/tst-robust10.c: New test.
3227         * nptl/Makefile (tests): Add tst-robust10.
3229 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3231         [BZ #20263]
3232         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3234 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3236         * sysdeps/s390/linkmap.h (struct link_map_machine):
3237         Remove member gotplt and add member jmprel.
3238         * sysdeps/s390/s390-32/dl-machine.h
3239         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3240         instead of gotplt with &got[3].
3241         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3242         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3244 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3246         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3248 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3250         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3251         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3252         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3253         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3254         * libio/vtables.c (_IO_vtable_check)
3255         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3256         * libio/libioP.h (IO_set_accept_foreign_vtables)
3257         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3259 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3261         [BZ #20314]
3262         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3263         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3264         $(common-objpfx)cmath.
3265         ($(common-objpfx)cstdlib): New target.
3266         ($(common-objpfx)cmath): Likewise.
3268 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3270         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3272 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3274         [BZ #20327]
3275         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3276         are not part of the string.
3278 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3280         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3281         * nptl/tst-cancel4-common.h (fifoname): New variable.
3282         (fifofd): Likewise.
3283         (cl_fifo): New function.
3284         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3285         SIGINT.
3286         (tf_open): Add early cancel test.
3288 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3290         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3292 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3294         * sysdeps/generic/ldsodefs.h
3295         (dl_symbol_visibility_binds_local_p): New inline function.
3296         * elf/dl-addr.c (determine_info): Treat hidden and internal
3297         symbols as local.
3298         * elf/dl-lookup.c (do_lookup_x): Likewise.
3299         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3301 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3303         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3304         invalid exception for a sNaN input.
3305         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3306         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3307         (__nearbyint_vis3): Likewise
3308         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3309         (__nearbyintf_vis3): Likewise
3310         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3311         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3312         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3313         Likewise.
3314         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3315         Likewise.
3317 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3319         [BZ #20139]
3320         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3321         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3322         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3323         2.24 or above.
3324         (HAVE_AVX512_ASM_SUPPORT): Removed.
3325         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3326         * sysdeps/x86_64/configure: Regenerated.
3327         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3328         check unconditional.
3329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3330         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3331         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3332         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3333         Likewise.
3334         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3335         Likewise.
3336         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3337         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3338         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3339         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3340         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3341         Likewise.
3342         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3343         Likewise.
3344         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3345         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3346         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3347         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3348         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3349         Likewise.
3350         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3351         Likewise.
3352         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3353         Likewise.
3354         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3355         Likewise.
3356         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3357         Likewise.
3358         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3359         Likewise.
3360         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3361         Likewise.
3362         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3363         Likewise.
3364         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3365         Likewise.
3366         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3367         Likewise.
3368         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3369         Likewise.
3371 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3373         [BZ #20024]
3374         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3375         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3376         of this implementation of vector function.
3377         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3378         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3379         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3380         Likewise.
3381         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3382         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3383         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3384         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3385         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3386         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3387         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3388         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3389         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3390         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3391         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3392         for testing vector sincos with fixed ABI.
3393         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3394         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3395         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3396         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3397         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3398         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3399         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3400         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3401         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3402         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3403         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3404         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3405         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3406         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3407         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3408         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3410 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3412         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3414 2016-06-30  Anton Blanchard  <anton@samba.org>
3416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3417         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3418         s_sinf-ppc64.
3419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3422         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3424 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3428         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3429         e_expf-ppc64.
3430         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3431         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3432         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3433         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3435 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3437         [BZ #20277]
3438         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3439         when SHARED is defined.
3441 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3443         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3444         (index_arch_Prefer_ERMS): Likewise.
3445         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3446         __memcpy_erms for Prefer_ERMS.
3447         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3448         (__memmove_erms): Enabled for libc.a.
3449         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3450         __memmove_erms or Prefer_ERMS.
3451         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3452         __mempcpy_erms for Prefer_ERMS.
3453         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3454         __memset_erms for Prefer_ERMS.
3456 2016-06-30  Andreas Schwab  <schwab@suse.de>
3458         [BZ #20262]
3459         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3460         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3461         of memory.
3463 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3465         [BZ #18645]
3466         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3467         (test-extras): Add tst-cleanupx4aux.
3468         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3469         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3470         tst-cleanupx4aux.o.
3471         * nptl/tst-cleanupx4aux.c: New file.
3473 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3475         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3477 2016-06-29  Andreas Schwab  <schwab@suse.de>
3479         [BZ #20260]
3480         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3481         address before the beginning of the string as an integer to avoid
3482         array-bounds warning.
3484 2016-06-28  Richard Henderson  <rth@redhat.com>
3486         * elf/elf.h (EM_BPF): New.
3487         (EM_NUM): Update.
3488         (R_BPF_NONE, R_BPF_MAP_FD): New.
3490         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3491         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3492         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3493         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3494         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3495         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3496         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3497         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3498         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3499         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3500         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3501         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3502         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3503         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3504         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3505         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3506         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3507         (EM_NUM): Update.
3509 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3511         [BZ #18960]
3512         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3513         Set _nl_current_LC_CATEGORY_used to two instead of one.
3515 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3517         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3518         (do_test): ... this.
3519         (TEST_FUNCTION): New macro.
3520          Include test-skeleton.c.
3521         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3522         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3524 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3526         [BZ #15479]
3527         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3528         floating-point environment rather than just control word.
3529         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3530         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3531         floating-point environment, with "invalid" exceptions merged in,
3532         rather than just control word.
3533         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3534         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3535         "inexact" exceptions.
3537         [BZ #15479]
3538         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3539         floating-point environment rather than just control word.
3540         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3541         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3542         floating-point environment, with "invalid" exceptions merged in,
3543         rather than just control word.
3544         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3545         * math/libm-test.inc (floor_test_data): Do not allow spurious
3546         "inexact" exceptions.
3548         [BZ #15479]
3549         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3550         floating-point environment rather than just control word.
3551         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3552         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3553         floating-point environment, with "invalid" exceptions merged in,
3554         rather than just control word.
3555         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3556         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3557         "inexact" exceptions.
3559 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3561         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3562         __libc_vfork.
3563         (__vfork) [IS_IN (libc)]: Remove alias.
3564         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3565         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3566         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3568 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3570         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3571         of atomic_compare_and_exchange_bool_rel.
3572         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3573         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3574         catomic_compare_and_exchange_bool_rel): Remove.
3575         * sysdeps/aarch64/atomic-machine.h
3576         (atomic_compare_and_exchange_bool_rel): Likewise.
3577         * sysdeps/alpha/atomic-machine.h
3578         (atomic_compare_and_exchange_bool_rel): Likewise.
3579         * sysdeps/arm/atomic-machine.h
3580         (atomic_compare_and_exchange_bool_rel): Likewise.
3581         * sysdeps/mips/atomic-machine.h
3582         (atomic_compare_and_exchange_bool_rel): Likewise.
3583         * sysdeps/microblaze/atomic-machine.h
3584         ( __arch_compare_and_exchange_bool_8_rel,
3585         __arch_compare_and_exchange_bool_16_rel): Likewise.
3586         * sysdeps/powerpc/atomic-machine.h
3587         ( __arch_compare_and_exchange_bool_8_rel,
3588         __arch_compare_and_exchange_bool_16_rel): Likewise.
3589         * sysdeps/powerpc/powerpc32/atomic-machine.h
3590         ( __arch_compare_and_exchange_bool_32_rel,
3591         __arch_compare_and_exchange_bool_64_rel): Likewise.
3592         * sysdeps/powerpc/powerpc64/atomic-machine.h
3593         ( __arch_compare_and_exchange_bool_32_rel,
3594         __arch_compare_and_exchange_bool_64_rel): Likewise.
3595         * sysdeps/tile/atomic-machine.h
3596         (atomic_compare_and_exchange_bool_rel): Likewise.
3598 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3600         [BZ #20296]
3601         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3602         when either argument is a NaN.
3603         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3604         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3606         * math/libm-test.inc (snan_value_ld): New macro.
3607         (isgreater_test_data): Add sNaN tests.
3608         (isgreaterequal_test_data): Likewise.
3609         (isless_test_data): Likewise.
3610         (islessequal_test_data): Likewise.
3611         (islessgreater_test_data): Likewise.
3612         (isunordered_test_data): Likewise.
3613         (nextafter_test_data): Likewise.
3614         (nexttoward_test_data): Likewise.
3615         (remainder_test_data): Likewise.
3616         (remquo_test_data): Likewise.
3617         (significand_test_data): Likewise.
3618         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3620 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3622         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3623         environment macros are defined.
3624         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3626 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3628         [BZ #20191]
3629         Implement vtable verification in libio.
3630         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3631         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3632         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3633         _IO_new_file_init_internal instead of _IO_file_init.
3634         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3635         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3636         * libio/Makefile (routines): Add vtables.
3637         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3638         (_IO_init): Remove, not for internal use.
3639         (_IO_init_internal): Declare, internal replacement for _IO_init.
3640         (_IO_file_init): Remove, not for internal use.
3641         (_IO_new_file_init): Remove, not for internal use.
3642         (_IO_new_file_init_internal): Declare, internal replacement for
3643         _IO_new_file_init.
3644         (_IO_old_file_init): Remove, not for internal use.
3645         (_IO_old_file_init_internal): Declare, internal replacement for
3646         _IO_old_file_init.
3647         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3648         internal use.
3649         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3650         Declare.
3651         (libio_vtable): New macro.
3652         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3653         functions.
3654         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3655         _IO_new_file_init.
3656         (_IO_new_file_init): New externally visible wrapper which disables
3657         vtable verification.
3658         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3659         Define as vtables.
3660         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3661         (_IO_init): New externally visible wrapper which disables
3662         vtable verification.
3663         * libio/iofdopen.c (_IO_new_fdopen): Call
3664         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3665         comment.
3666         * libio/iofopen.c (__fopen_internal): Call
3667         _IO_new_file_init_internal instead of _IO_file_init.
3668         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3669         Define as vtables.
3670         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3671         _IO_new_file_init_internal instead of _IO_file_init.
3672         * libio/iopopen.c (_IO_new_popen): Likewise.
3673         (_IO_proc_jumps): Define as vtable.
3674         * libio/iovdprintf.c (_IO_vdprintf): Call
3675         _IO_new_file_init_internal instead of _IO_file_init.
3676         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3677         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3678         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3679         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3680         _IO_old_file_init.
3681         (_IO_old_file_init): New externally visible wrapper which disables
3682         vtable verification.
3683         (_IO_old_file_jumps): Define as vtable.
3684         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3685         _IO_old_file_init_internal instead of _IO_old_file_init.
3686         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3687         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3688         (_IO_old_proc_jumps): Define as vtable.
3689         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3690         Define as vtables.
3691         * libio/vtables.c: New file.
3692         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3693         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3694         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3695         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3696         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3697         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3698         instead of _IO_init.
3700 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3702         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3704 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3706         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3707         potentially unused.
3709 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3711         * test-skeleton.c (write_message): New function.
3712         * malloc/tst-mallocfork2.c (write_message): Remove.
3713         * debug/tst-longjmp_chk2.c (write_indented): New function.
3714         (write_message): Remove.
3715         (stackoverflow_handler): Call write_indented.
3717 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3719         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3720         "inexact" exceptions after fnstenv.
3721         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3722         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3723         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3725 2015-06-22  Zack Weinberg  <zackw@panix.com>
3727         * sysdeps/generic/bits/hwcap.h: Moved to ...
3728         * bits/hwcap.h: Here.
3730 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3732         * sysdeps/aarch64/memcpy.S (memcpy):
3733         Further tuning for performance.
3735 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3737         [BZ #20284]
3738         * malloc/arena.c (reused_arena): Do not return NULL if we start
3739         out with a non-corrupted arena.
3741 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3743         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3744         * misc/tst-preadvwritev.c: New file.
3745         * misc/tst-preadvwritev64.c: Likewise.
3746         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3747         usage.
3748         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3749         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3750         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3751         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3753 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3755         [BZ #19654]
3756         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3757         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3758         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3759         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3760         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3761         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3762         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3763         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3764         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3765         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3766         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3767         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3768         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3769         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3770         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3771         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3772         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3773         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3774         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3775         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3776         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3777         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3778         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3779         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3780         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3781         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3783 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3785         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3786         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3788 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3790         * sysdeps/aarch64/memcpy.S (memcpy):
3791         Rewrite of optimized memcpy and memmove.
3792         * sysdeps/aarch64/memmove.S (memmove): Remove
3793         memmove code (merged into memcpy.S).
3795 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3797         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3798         * sysdeps/generic/dl-dtv.h: New file.
3799         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3800         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3801         (dtv_t): Remove.
3802         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3803         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3804         (dtv_t): Remove.
3805         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3806         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3807         (dtv_t): Remove.
3808         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3809         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3810         (dtv_t): Remove.
3811         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3812         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3813         (dtv_t): Remove.
3814         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3815         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3816         (dtv_t): Remove.
3817         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3818         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3819         (dtv_t): Remove.
3820         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3821         (dtv_t): Remove.
3822         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3823         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3824         (dtv_t): Remove.
3825         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3826         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3827         (dtv_t): Remove.
3828         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3829         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3830         (dtv_t): Remove.
3831         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3832         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3833         (dtv_t): Remove.
3834         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3835         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3836         (dtv_t): Remove.
3837         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3838         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3839         (dtv_t): Remove.
3840         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3841         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3842         (dtv_t): Remove.
3843         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3844         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3845         (dtv_t): Remove.
3847 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3849         Revert symbol poisoning of  __malloc_initialize_hook.
3850         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3851         poisoning.
3852         * malloc/Makefile: Remove un-poisoning.
3853         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3854         instead of old__malloc_initialize_hook.
3855         * malloc/malloc-hooks.h: Likewise.
3856         * malloc/malloc.c: Likewise.
3857         * malloc/mcheck-init.c: Likewise.
3859 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3861         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3863 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3865         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3866         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3867         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3868         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3870 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3872         * NEWS: Mention addition of nextup and nextdown.
3873         * manual/arith.texi: Document nextup and nextdown.
3874         * manual/libm-err-tab.pl: Add nextup and nextdown.
3875         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3876         * math/Versions (libm): Add GLIBC_2.24.
3877         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3878         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3879         Add new test.
3880         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3881         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3882         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3883         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3884         (nextup_test_data): Likewise.
3885         (nextdown_test_data): Likewise.
3886         * math/s_nextdown.c: New file.
3887         * math/s_nextdownf.c: Likewise.
3888         * math/s_nextdownl.c: Likewise.
3889         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3890         F(nextup): New function.
3891         F(nextdown): Likewise.
3892         * math/tgmath.h: Add nextup and nextdown.
3893         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3894         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3895         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3896         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3897         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3898         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3899         Add nextup and nextdown.
3900         (CFLAGS-nldbl-nextup.c): New variable.
3901         (CFLAGS-nldbl-nextdown.c): Likewise.
3902         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3903         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3904         * sysdeps/nacl/libm.abilist: Update.
3905         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3906         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3907         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3908         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3909         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3910         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3911         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3912         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3913         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3915         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3916         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3919         Likewise.
3920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3922         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3923         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3924         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3925         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3926         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3929         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3930         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3931         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3932         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3934 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3936         * manual/pattern.texi: Fix typos & grammar errors.
3938 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3940         * manual/search.texi: Fix typos & grammar errors.
3942 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3944         * manual/message.texi: Fix typos & grammar errors.
3946 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3948         * manual/contrib.texi: Fix spelling typos.
3949         * manual/crypt.texi: Likewise.
3950         * manual/filesys.texi: Likewise.
3951         * manual/locale.texi: Likewise.
3952         * manual/message.texi: Likewise.
3953         * manual/nss.texi: Likewise.
3954         * manual/string.texi: Likewise.
3956 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3958         * manual/locale.texi: Fix typos & grammar errors.
3960 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3962         * manual/charset.texi: Fix typos & grammar errors.
3964 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3966         * manual/string.texi: Fix typos.
3968 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3970         * manual/ctype.texi: Fix typos.
3972 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3974         * manual/memory.texi: Fix various typos & grammar errors.
3976 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3978         [BZ #20255]
3979         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3980         * math/libm-test.inc (fdim_test_data): Add another test.
3982         [BZ #6796]
3983         [BZ #20255]
3984         [BZ #20256]
3985         * math/s_fdim.c: Include <math_private.h>.
3986         (__fdim): Use math_narrow_eval on result.
3987         * math/s_fdimf.c: Include <math_private.h>.
3988         (__fdimf): Use math_narrow_eval on result.
3989         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3990         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3991         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3992         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3993         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3994         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3995         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3996         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3997         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3998         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3999         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4000         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4001         overflow.  Add sNaN tests.
4003         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4004         fpclassify.
4005         * math/s_fdimf.c (__fdimf): Likewise.
4006         * math/s_fdiml.c (__fdiml): Likewise.
4008 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4010         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4011         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4013         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4014         ifunc'ed strcasecmp/strncasecmp.
4015         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4016         [EALIGN]: Removed.
4017         [END]: Likewise.
4018         [__strcasecmp]: Define instead of the above to control symbol name.
4019         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4020         for __strcasecmp_power8.
4021         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4022         for __strncasecmp_power8.
4023         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4024         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4025         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4026         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4027         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4028         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4030 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4032         [BZ #20252]
4033         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4034         arguments when second argument is a NaN.
4035         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4036         qNaN tests.
4038         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4039         (conj_test_data): Likewise.
4040         (copysign_test_data): Likewise.
4041         (creal_test_data): Likewise.
4042         (fma_test_data): Likewise.
4043         (fmod_test_data): Likewise.
4045         [BZ #20250]
4046         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4047         itself.
4048         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4049         zero input to itself.
4050         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4051         Likewise.
4052         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4053         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4054         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4055         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4056         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4058 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4060         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4061         * nptl/tst-cancel4-common.c: New file.
4062         * nptl/tst-cancel4-common.h: Likewise.
4063         * nptl/tst-cancel4.c: Move common definitions to
4064         tst-cancel4-common.{c,h} file.
4065         * nptl/tst-cancel4_1.c: New test.
4066         * nptl/tst-cancel4_2.c: New test.
4068 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4070         [BZ #20248]
4071         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4072         (write_message): New function.
4073         (stackoverflow_handler): Call it instead of printf, to avoid
4074         excessive stack usage by printf.
4075         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4077 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4079         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4080         (prio_inherit_missing): Remove define.
4081         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4082         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4083         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4084         Likewise.
4085         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4086         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4087         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4088         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4089         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4090         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4092 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4094         [BZ #19670]
4095         [BZ #19672]
4097         * io/test-lfs.c (do_prepare): Use xmalloc.
4098         * io/tst-fcntl.c (do_prepare): Likewise.
4099         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4100         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4101         * login/tst-utmp.c (do_prepare): Likewise.
4102         * posix/tst-exec.c (do_prepare): Likewise.
4103         * posix/tst-pathconf.c (prepare): Likewise.
4104         * posix/tst-spawn.c (do_prepare): Likewise.
4105         * posix/tst-truncate.c (do_prepare): Likewise.
4106         * rt/tst-aio.c (do_prepare): Likewise.
4107         * rt/tst-aio64.c (do_prepare): Likewise.
4109 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4111         [BZ #20237]
4112         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4113         (get*ent): Set entidx to NULL during initialization.  If entidx is
4114         NULL, start iteration from the beginning.
4116 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4118         * malloc/malloc.c (musable): Return correct size for dumped fake
4119         mmapped chunk.
4121 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4123         [BZ #20222]
4124         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4125         (_IO_cookie_write): Likewise.
4126         (_IO_cookie_seek): Likewise.
4127         (_IO_cookie_close): Likewise.
4128         (_IO_old_cookie_seek): Likewise.
4129         (set_callbacks): New function.
4130         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4132 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4134         * locale/programs/localedef.c (oldstyle_tables): Remove.
4135         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4137 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4139         [BZ #20240]
4140         * math/Makefile (CFLAGS-s_modf.c): New variable.
4141         (CFLAGS-s_modff.c): Likewise.
4142         (CFLAGS-s_modfl.c): Likewise.
4143         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4145 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4147         [BZ #20215]
4148         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4149         [!__GNUC_PREREQ (3,2)]: Likewise.
4151 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4153         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4154         (msghdr.msg_controllen): Likewise.
4155         (cmsghdr.cmsg_len): Likewise.
4156         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4157         ptw-oldsendmsg.
4158         (CFLAGS-oldrecvmsg.c): Remove rule.
4159         (CFLAGS-oldsendmsg.c): Likewise.
4160         (CFLAGS-recvmsg.c): Add rule.
4161         (CFLAGS-sendmsg.c): Likewise.
4162         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4163         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4164         (CFLAGS-recvmsg.c): Remove rule.
4165         (CFLAGS-sendmsg.c): Likewise.
4166         (CFLAGS-oldrecvmsg.c): Likewise.
4167         (CFLAGS-oldsendmsg.c): Likewise.
4168         (CFLAGS-recvmmsg.c): Likewise.
4169         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4170         to kernel defined interfaces.
4171         (msghdr.msg_controllen): Likewise.
4172         (cmsghdr.cmsg_len): Likewise.
4173         (msghdr.__glibc_reserved1): Remove member.
4174         (msghdr.__glibc_reserved2): Likewise.
4175         (cmsghdr.__glibc_reserved1): Likewise.
4176         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4177         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4178         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4179         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4180         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4181         version.
4182         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4183         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4184         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4185         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4186         Remove recvmsg and sendmsg.
4187         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4188         Likewise.
4189         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4190         Likewise.
4191         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4192         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4193         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4194         Likewise.
4195         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4196         Likewise.
4197         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4198         [libc] (GLIBC_2.24): Likewise.
4199         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4200         Likewise.
4201         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4202         Likewise.
4203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4204         [libc] (GLIBC_2.24): Likewise.
4205         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4206         Likewise.
4207         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4208         Likewise.
4209         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4210         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4211         Likewise.
4212         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4213         Likewise.
4214         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4215         Likewise.
4216         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4217         Likewise.
4218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4219         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4220         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4221         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4222         version for {recv,send,recm,sendm}msg.
4223         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4224         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4225         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4226         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4227         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4228         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4229         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4230         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4231         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4232         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4233         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4234         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4236         Likewise.
4237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4238         Likewise.
4239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4241         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4242         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4243         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4244         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4245         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4246         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4249         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4250         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4251         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4253 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4255         [BZ #19564]
4256         Remove __malloc_initialize_hook from the API.
4257         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4258         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4259         #pragma GCC poison.
4260         * malloc/malloc-hooks.h: New file.
4261         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4262         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4263         (old__malloc_initialize_hook): Rename from
4264         __malloc_initialize_hook to evade poisoning.  Turn into compat
4265         symbol.
4266         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4267         __malloc_initialize_hook.
4268         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4269         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4270         * manual/memory.texi (Hooks for Malloc): Remove
4271         __malloc_initialize_hook.  Adjust hook example.
4273 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4275         [BZ #20235]
4276         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4277         itself.
4278         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4279         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4281         [BZ #20234]
4282         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4283         infinity or NaN input to itself.
4285         [BZ #20233]
4286         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4287         to itself.
4289         [BZ #20232]
4290         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4291         itself.
4293 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4295         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4296         __libc_start_main via GOT.
4298 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4300         * sysdeps/x86_64/memcopy.h: New file.
4301         * sysdeps/x86_64/wordcopy.c: Likewise.
4303 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4305         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4306         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4307         <cstdlib>.
4308         (optimization_barrier): New.
4309         (do_test): Use it.  Call quick_exit in the global namespace.
4310         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4311         instead of <cstdlib>, <thread>.
4312         (optimization_barrier): New.
4313         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4314         Call quick_exit in the global namespace.
4315         (do_test): Call optimization_barrier.  Use pthread_create,
4316         pthread_join instead of std::thread.
4318 2016-06-09  Andreas Schwab  <schwab@suse.de>
4320         [BZ #19755]
4321         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4322         new entries in auto-propagate mode.
4323         * nscd/grpcache.c (cache_addgr): Likewise.
4325 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4327         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4328         New functions.
4329         (add_temp_file): Use them.
4331 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4333         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4335 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4337         [BZ #20229]
4338         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4339         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4340         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4342         [BZ #20228]
4343         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4344         itself.
4345         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4346         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4348         [BZ #20227]
4349         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4350         itself.
4351         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4352         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4353         * math/libm-test.inc (log_test_data): Add sNaN tests.
4355         [BZ #20226]
4356         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4357         itself.
4358         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4359         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4360         (exp10_test_data): Likewise.
4361         (expm1_test_data): Likewise.
4363         [BZ #20225]
4364         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4365         itself.
4366         * math/s_ldexpf.c (__ldexpf): Likewise.
4367         * math/s_ldexpl.c (__ldexpl): Likewise.
4368         * math/w_scalbln.c (__w_scalbln): Likewise.
4369         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4370         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4371         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4372         (scalbln_test_data): Likewise.
4374         [BZ #20224]
4375         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4376         argument to itself.
4377         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4379 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4381         [BZ #19776]
4382         * sysdeps/x86_64/memcpy.S: Make it dummy.
4383         * sysdeps/x86_64/mempcpy.S: Likewise.
4384         * sysdeps/x86_64/memmove.S: New file.
4385         * sysdeps/x86_64/memmove_chk.S: Likewise.
4386         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4387         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4388         * sysdeps/x86_64/memmove.c: Removed.
4389         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4390         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4391         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4392         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4393         Likewise.
4394         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4395         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4397         memcpy-sse2-unaligned, memmove-avx-unaligned,
4398         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4399         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4400         (__libc_ifunc_impl_list): Replace
4401         __memmove_chk_avx512_unaligned_2 with
4402         __memmove_chk_avx512_unaligned.  Remove
4403         __memmove_chk_avx_unaligned_2.  Replace
4404         __memmove_chk_sse2_unaligned_2 with
4405         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4406         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4407         with __memmove_avx512_unaligned.  Replace
4408         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4409         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4410         with __memcpy_chk_avx512_unaligned.  Remove
4411         __memcpy_chk_avx_unaligned_2.  Replace
4412         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4413         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4414         Replace __memcpy_avx512_unaligned_2 with
4415         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4416         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4417         with __mempcpy_chk_avx512_unaligned.  Remove
4418         __mempcpy_chk_avx_unaligned_2.  Replace
4419         __mempcpy_chk_sse2_unaligned_2 with
4420         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4421         Replace __mempcpy_avx512_unaligned_2 with
4422         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4423         Replace __mempcpy_sse2_unaligned_2 with
4424         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4425         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4426         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4427         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4428         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4429         (ENTRY): Removed.
4430         (END): Likewise.
4431         (ENTRY_CHK): Likewise.
4432         (libc_hidden_builtin_def): Likewise.
4433         Don't include ../memcpy.S.
4434         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4435         __memcpy_chk_avx512_unaligned_erms and
4436         __memcpy_chk_avx512_unaligned.  Use
4437         __memcpy_chk_avx_unaligned_erms and
4438         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4439         Default to __memcpy_chk_sse2_unaligned.
4440         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4441         Change function suffix from unaligned_2 to unaligned.
4442         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4443         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4444         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4445         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4446         (ENTRY): Removed.
4447         (END): Likewise.
4448         (ENTRY_CHK): Likewise.
4449         (libc_hidden_builtin_def): Likewise.
4450         Don't include ../mempcpy.S.
4451         (mempcpy): New.  Add a weak alias.
4452         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4453         __mempcpy_chk_avx512_unaligned_erms and
4454         __mempcpy_chk_avx512_unaligned.  Use
4455         __mempcpy_chk_avx_unaligned_erms and
4456         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4457         Default to __mempcpy_chk_sse2_unaligned.
4459 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4461         [BZ #19881]
4462         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4463         into ...
4464         * sysdeps/x86_64/memset.S: This.
4465         (__bzero): Removed.
4466         (__memset_tail): Likewise.
4467         (__memset_chk): Likewise.
4468         (memset): Likewise.
4469         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4470         defined.
4471         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4472         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4473         (__memset_zero_constant_len_parameter): Check SHARED instead of
4474         PIC.
4475         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4476         memset-avx2 and memset-sse2-unaligned-erms.
4477         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4478         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4479         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4480         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4481         (__bzero): Enabled.
4482         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4483         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4484         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4485         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4486         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4487         (memset): Removed.
4488         (__memset_chk): Likewise.
4489         (MEMSET_SYMBOL): New.
4490         (libc_hidden_builtin_def): Replace __memset_sse2 with
4491         __memset_sse2_unaligned.
4492         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4493         __memset_chk_sse2 and __memset_chk_avx2 with
4494         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4495         Use __memset_chk_sse2_unaligned_erms or
4496         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4497         __memset_chk_avx512_unaligned_erms and
4498         __memset_chk_avx512_unaligned.
4500 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4502         * math/gen-auto-libm-test.c (fp_format_desc): remove
4503         suffix member.
4504         (output_generic_value): Remove usage of suffix member,
4505         and the resulting unuse of the fp_format argument.
4506         (output_for_one_input_case): Remove unused fp_format
4507         parameter.
4509         * math/auto-libm-test-out: Regenerate.
4511         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4512         usage with TEST_COND_ibm128.
4513         (TEST_COND_flt_32): Remove.
4514         (TEST_COND_dbl_64): Remove.
4515         (TEST_COND_ldbl_96_intel): Remove.
4516         (TEST_COND_ldbl_96_m68k): Remove.
4517         (TEST_COND_ldbl_128): Remove.
4519 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4521         * auto-libm-test-in:
4522         Replace flt-32 usage with binary32.
4523         Replace dbl-64 usage with binary64.
4524         Replace ldbl-intel-96 usage with intel96.
4525         Replace ldbl-m68k-96 usage with m68k96.
4526         Replace ldbl-128ibm usage with ibm128.
4527         Replace ldbl-128 usage with binary128.
4529         * auto-libm-test-out: Regenerate.
4531 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4533         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4534         (parse_ulps): Dynamically generate type name matching
4535         string from all_floats.
4536         (get_ulps): Generate the ulps as an array instead.
4537         (output_ulps): Dynamically compose the type based
4538         on the number of supported formats, and print
4539         the indices as type specific helper macros.
4541         * math/libm-test.inc: Remove comment about CHOOSE.
4542         (ulp_data): Generate the type in libm-test-ulps.h.
4543         (ULP_IDX): New macro.
4544         (find_ulps): Update usage of max_ulp.
4546         * math/test-double-vlen2.h (CHOOSE): Remove.
4547         * math/test-double-vlen4.h (CHOOSE): Likewise.
4548         * math/test-double-vlen8.h (CHOOSE): Likewise.
4549         * math/test-float.c (CHOOSE): Likewise.
4550         * math/test-float-finite.c (CHOOSE): Likewise.
4551         * math/test-double.c (CHOOSE): Likewise.
4552         * math/test-double-finite.c (CHOOSE): Likewise.
4553         * math/test-idouble.c (CHOOSE): Likewise.
4554         * math/test-ifloat.c (CHOOSE): Likewise.
4555         * math/test-ildoubl.c (CHOOSE): Likewise.
4556         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4557         * math/test-ldouble.c (CHOOSE): Likewise.
4559         * math/test-float.h (TEST_FLOAT): Remove.
4560         * math/test-double.h (TEST_DOUBLE): Likewise.
4561         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4563 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4565         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4566         (parse_args): Strip C suffix from floating point literals
4567         typed with 'f' and wrap them with LIT().
4569         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4570         (test_ff_f_data_nexttoward): Rename to
4571         (test_fj_f_data): New struct.
4572         (nexttoward_test_data): Relabel tests as
4573         TEST_fj_f instead of TEST_ff_f.
4575 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4577         Emacs bug 23726.
4578         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4579         (__libc_realloc): Correct size computation for dumped fake mmapped
4580         chunks.
4582 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4584         [BZ #20219]
4585         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4586         to itself.
4587         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4589         [BZ #20218]
4590         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4591         to itself.
4592         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4594 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4596         [BZ #20195]
4597         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4598         check to ...
4599         (init_cpu_features): Here.
4601 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4603         [BZ #20214]
4604         * sysdeps/unix/sysv/linux/bits/in.h
4605         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4606          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4607         Define to 1.
4608         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4609          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4610         Define to 0.
4611         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4612         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4614 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4616         [BZ #20198]
4617         * stdlib/Makefile (tests): Add tst-quick_exit, and
4618         tst-thread-quick_exit.
4619         [ifeq ($(have-cxx-thread_local),yes)]
4620         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4621         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4622         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4623         (LDLIBS-tst-thread-quick_exit): Likewise.
4624         [ifneq ($(have-cxx-thread_local),yes)]
4625         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4626         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4627         If run_dtors is true call __call_tls_dtors.
4628         (exit): Call __run_exit_handlers with run_dtors set to true.
4629         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4630         definition.
4631         * stdlib/quick_exit.c (quick_exit): Remove function.
4632         (__new_quick_exit): New function.
4633         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4634         function.
4635         * stdlib/tst-quick_exit.cc: New file.
4636         * stdlib/tst-thread-quick_exit.cc: New file.
4637         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4638         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4639         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4640         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4641         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4642         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4643         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4644         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4645         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4646         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4647         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4648         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4649         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4650         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4651         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4652         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4657         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4658         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4659         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4660         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4661         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4664         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4665         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4666         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4668 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4670         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4671         a typo in comments.
4673 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4675         [BZ #20213]
4676         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4677         argument to itself.
4678         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4680 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4682         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4683         required flags.
4684         (CFLAGS-pwritev64.c): Likewise.
4685         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4686         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4687         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4688         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4689         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4690         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4691         syscall from auto-generation.
4692         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4693         [WORDSIZE == 64] (pwritev64): Remove macro.
4694         [!PWRITEV] (PWRITEV): Likewise.
4695         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4696         [!PWRITEV] (PWRITE): Likewise.
4697         [!PWRITEV] (OFF_T): Likewise.
4698         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4699         (LO_HI_LONG): Remove macro.
4700         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4701         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4702         (PWRITEV): Remove macro.
4703         (PWRITEV_REPLACEMENTE): Likewise.
4704         (PWRITE): Likewise.
4705         (OFF_T): Likewise.
4706         (pwritev64): New function.
4707         * nptl/tst-cancel4.c (tf_writev): Add test.
4709         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4710         required flags.
4711         (CFLAGS-preadv64.c): Likewise.
4712         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4713         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4714         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4715         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4716         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4717         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4718         syscall from auto-generation.
4719         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4720         [WORDSIZE == 64] (preadv64): Remove macro.
4721         [!PREADV] (PREADV): Likewise.
4722         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4723         [!PREADV] (PREAD): Likewise.
4724         [!PREADV] (OFF_T): Likewise.
4725         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4726         (LO_HI_LONG): Remove macro.
4727         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4728         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4729         (PREADV): Remove macro.
4730         (PREADV_REPLACEMENTE): Likewise.
4731         (PREAD): Likewise.
4732         (OFF_T): Likewise.
4733         (preadv64): New function.
4734         * nptl/tst-cancel4.c (tf_preadv): Add test.
4736 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4738         [BZ #20212]
4739         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4740         argument to itself.
4741         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4743 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4745         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4746         New symbol defined as libc_hidden_def.
4747         (strcasestr): Became a weak alias to __strcasestr.
4748         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4749         according to multi-arch support.  Move __stpncpy hidden
4750         definition from here to...
4751         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4752         symbol stpncpy.
4753         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4754         libc_hidden_builtin_def.
4755         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4756         memset symbol to use when multi-arch support is available.
4758 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4760         * dlfcn/tst-rec-dlopen.c: Include string.h.
4762 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4764         * manual/install.texi: Remove mention of --without-tls
4765         * INSTALL: Regenerate.
4767 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4769         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4770         Remove.
4771         (call_function, interposed_malloc_called): New variables.
4772         (malloc): New function.
4773         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4774         and clear call_function as needed.
4776 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4778         * include/wchar.h (__wmemset): Use __typeof.
4780 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4782         * include/wchar.h (__wmemset): Declare function without typeof.
4784 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4786         [BZ #20205]
4787         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4788         exponent when incrementing negative subnormal with low mantissa
4789         word zero.
4790         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4791         Add another test.
4793 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4795         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4796         __wmemset instead of wmemset.
4798 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4800         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4801         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4802         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4803         __USE_KERNEL_IPV6_DEFS to 0.
4804         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4805         Update comment.
4807 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4809         [BZ #19861]
4810         Do not use IFUNC resolver with potentially unrelocated symbol.
4811         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4812         (DEFINE_FORK): Remove macro and inline definition.
4813         (fork_alias): Renamed from fork_ifunc.
4814         (__fork_alias): Renamed from __fork_ifunc.
4816 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4818         [BZ 19653]
4819         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4820         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4822 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4824         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4825         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4826         i386-linux-gnu).
4827         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4828         Set to no.
4829         * sysdeps/mach/hurd/configure: Refresh.
4831 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4833         [BZ #20178]
4834         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4835         on failure instead of exit.
4837 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4839         [BZ #3629]
4840         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4841         of POSIX.1-2008.
4843 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4845         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4846           Use PLT entry for calling _hurd_self_sigstate.
4848 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4850         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4851         available logical processors with SMT level type sharing L2
4852         cache for Intel processors.
4854 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4856         [BZ #20160]
4857         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4858         argument to itself before returning the result.
4859         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4860         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4861         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4862         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4863         Likewise.
4864         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4865         Likewise.
4866         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4867         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4868         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4869         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4870         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4871         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4873         [BZ #20160]
4874         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4875         argument to itself before returning the result.
4876         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4877         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4878         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4879         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4880         Likewise.
4881         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4882         Likewise.
4883         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4884         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4885         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4886         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4887         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4888         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4890 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4892         * libm-test.inc: Replace usage of M_El with
4893         (lit_e): New macro.
4895 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4897         * libm-test.inc: Replace usage of M_PI_4l with
4898         (lit_pi_4_d): New macro.
4900 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4902         * libm-test.inc: Replace usage of M_PIl with
4903         (lit_pi): New macro.
4905 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4907         * libm-test.inc: Replace usage of M_PI2l with
4908         (lit_pi_2_d): New macro.
4910         * math/test-double.h (LITM): New macro.
4911         * math/test-float.h (LITM): Likewise.
4912         * math/test-ldouble.h (LITM): Likewise.
4914 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4916         * libm-test.inc (M_PI_34l): Rename to
4917         (lit_pi_3_m_4_d): New Macro.
4918         (M_PI_34_LOG10El): Rename to
4919         (lit_pi_3_m_4_ln10_m_d): New Macro.
4920         (M_PI2_LOG10El): Rename to
4921         (lit_pi_2_ln10_m_d):  New Macro.
4922         (M_PI4_LOG10El): Rename to
4923         (lit_pi_4_ln10_m_d):  New Macro.
4924         (M_PI_LOG10El): Rename to
4925         (lit_pi_ln10_d):  New Macro.
4927 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4929         [BZ #20157]
4930         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4931         determine whether to negate low half if [_ARCH_PPCGR], and integer
4932         comparison otherwise.
4933         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4934         determine whether to negate low half.
4936         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4937         (NO_TEST_INLINE_DOUBLE): Likewise.
4938         (TEST_COND_x86_64): Likewise.
4939         (TEST_COND_x86): Likewise.
4940         (M_PI_6l): Likewise.
4942 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4944         * math/libm-test.inc:
4945         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4946         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4947         (TEST_LDOUBLE): Update usage to evaluate as true if
4948         the guarded tests match the property being tested.
4949         (LDBL_MAX_EXP): Change to MAX_EXP.
4950         (LDBL_MIN_EXP): Change to MIN_EXP.
4951         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4952         nexttoward tests.
4954 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4956         * math/libm-test.inc:
4957         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4958         (TYPE_MIN): Likewise.
4959         (TYPE_TRUE_MIN): Likewise.
4960         (TYPE_MAX): Likewise.
4961         (MIN_EXP): Likewise.
4962         (MAX_EXP): Likewise.
4963         (MANT_DIG): Likewise.
4965         (FSTR_MAX): New macro.
4966         (__CONCATX): Likewise.
4967         (QTYPE_STR): Likewise.
4968         (TEST_COND_binary32): Likewise.
4969         (TEST_COND_binary64): Likewise.
4970         (TEST_COND_binary128): Likewise.
4971         (TEST_COND_ibm128): Likewise.
4972         (TEST_COND_intel96): Likewise.
4973         (TEST_COND_m68k96): Likewise.
4975         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4976         (TEST_COND_dbl_64): Likewise.
4977         (TEST_COND_ldbl_96_intel): Likewise.
4978         (TEST_COND_ldbl_96_m68k): Likewise.
4979         (TEST_COND_ldbl_128): Likewise.
4980         (TEST_COND_ldbl_128ibm): Likewise.
4982         (plus_zero): Redefine using LIT macro.
4983         (minus_zero): Likewise.
4984         (plus_infty): Redefine as (INF).
4985         (minux_infty): Redefine as (-INF).
4986         (max_value): Redefine as TYPE_MAX.
4987         (min_value): Redefine as TYPE_MIN.
4988         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4990         (print_float): Refactor to use snprintf to convert FLOAT values
4991         to string. This brings it closer to dropin replacement of strtof
4992         for the TS 18661 defined types.
4993         (update_stats): Likewise.
4994         (print_complex_function_ulps): Likewise.
4995         (print_max_error): Likewise.
4996         (print_complex_max_error): Likewise.
4997         (check_float_internal): Likewise.
4999         * math/test-float.h (PREFIX): New macro.
5000         (LIT): Likewise.
5001         (TYPE_STR): Likewise.
5002         (FTOSTR): Likewise.
5004         * math/test-double.h (PREFIX): New macro.
5005         (LIT): Likewise.
5006         (TYPE_STR): Likewise.
5007         (FTOSTR): Likewise.
5009         * math/test-ldouble.h (PREFIX): New macro.
5010         (LIT): Likewise.
5011         (TYPE_STR): Likewise.
5012         (FTOSTR): Likewise.
5014 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5016         [BZ #20156]
5017         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5018         to itself when zero or not finite.
5019         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5020         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5021         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5022         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5024 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5026         [BZ #20153]
5027         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5028         x * x + x for infinities and NaNs.
5030         [BZ #20151]
5031         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5032         argument to itself before returning result.
5033         (__ieee754_y0l): Likewise.
5034         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5035         (__ieee754_y1l).
5037         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5038         (atan_test_data): Likewise.
5039         (ceil_test_data): Likewise.
5040         (cos_test_data): Likewise.
5041         (cosh_test_data): Likewise.
5042         (erf_test_data): Likewise.
5043         (exp2_test_data): Likewise.
5044         (fabs_test_data): Likewise.
5045         (floor_test_data): Likewise.
5046         (ilogb_test_data): Likewise.
5047         (j0_test_data): Likewise.
5048         (j1_test_data): Likewise.
5049         (jn_test_data): Likewise.
5050         (lgamma_test_data): Likewise.
5051         (lrint_test_data): Likewise.
5052         (llrint_test_data): Likewise.
5053         (logb_test_data): Likewise.
5054         (lround_test_data): Likewise.
5055         (llround_test_data): Likewise.
5056         (nearbyint_test_data): Likewise.
5057         (rint_test_data): Likewise.
5058         (round_test_data): Likewise.
5059         (sin_test_data): Likewise.
5060         (sincos_test_data): Likewise.
5061         (sinh_test_data): Likewise.
5062         (sqrt_test_data): Likewise.
5063         (tan_test_data): Likewise.
5064         (tanh_test_data): Likewise.
5065         (tgamma_test_data): Likewise.
5066         (trunc_test_data): Likewise.
5067         (y0_test_data): Likewise.
5068         (y1_test_data): Likewise.
5069         (yn_test_data): Likewise.
5071         * math/libm-test.inc: Update comment about NaN testing.
5072         (TEST_SNAN): New macro.
5073         (snan_value): Likewise.
5074         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5075         (fpclassify_test_data): Add sNaN tests.
5076         (isfinite_test_data): Likewise.
5077         (isinf_test_data): Likewise.
5078         (isnan_test_data): Likewise.
5079         (isnormal_test_data): Likewise.
5080         (issignaling_test_data): Likewise.
5081         (signbit_test_data): Likewise.
5082         * math/gen-libm-test.pl (%beautify): Add snan_value.
5083         (show_exceptions): Add argument $test_snan.
5084         (parse_args): Handle snan_value as non-finite.  Update call to
5085         show_exceptions.
5086         * math/Makefile (libm-test-no-inline-cflags): Add
5087         -fsignaling-nans.
5089 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5091         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5092         (CFLAGS-oldsendmsg.c): Add rule.
5093         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5094         Correct recvmsg symbol name.
5095         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5096         Likewise.
5098 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5100         * sysdeps/unix/sysv/linux/Makefile
5101         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5102         oldsendmmsg.
5103         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5104         sendmmsg.
5105         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5106         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5107         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5108         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5110         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5111         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5113         Likewise.
5114         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5115         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5116         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5117         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5118         iovlen and controllen fields to adjust to POSIX specification.
5119         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5121         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5122         and change to correct expected type.
5123         (msghdr.msg_controllen): Likewise.
5124         (cmsghdr.cmsg_len): Likewise.
5125         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5126         expected POSIX assumption about the size.
5127         (msghdr.msg_controllen): Likewise.
5128         (msghdr.__glibc_reserved1): Likewise.
5129         (msghdr.__glibc_reserved2): Likewise.
5130         (cmsghdr.cmsg_len): Likewise.
5131         (cmsghdr.__glibc_reserved1): Likewise.
5132         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5133         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5134         (CFLAGS-sendmsg.c): Remove rule.
5135         (CFLAGS-recvmsg.c): Likewise.
5136         (CFLAGS-oldsendmsg.c): Add rule.
5137         (CFLAGS-oldrecvmsg.c): Likewise.
5138         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5139         recvmsg and sendmsg.
5140         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5141         Likewise.
5142         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5143         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5144         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5145         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5146         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5147         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5148         Likewise.
5149         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5150         Likewise.
5151         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5152         Likewise.
5153         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5154         Likewise.
5155         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5156         Likewise.
5157         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5158         Likewise.
5159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5160         (GLIBC_2.24): Likewise.
5161         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5162         Likewise.
5163         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5164         Likewise.
5165         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5166         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5167         Likewise.
5168         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5169         Likewise.
5170         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5171         Likewise.
5172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5173         (GLIBC_2.24): Likewise.
5174         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5175         Likewise.
5176         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5177         Likewise.
5178         * sysdeps/unix/sysv/linux/Makefile
5179         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5180         (CFLAGS-sendmsg.c): Add rule.
5181         (CFLAGS-recvmsg.c): Likewise.
5182         (CFLAGS-oldsendmsg.c): Likewise.
5183         (CFLAGS-oldrecvmsg.c): Likewise.
5184         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5185         initialization.
5186         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5187         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5188         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5189         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5190         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5191         iovlen and controllen fields to adjust to POSIX specification.
5192         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5193         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5194         added recvmsg and sendmsg.
5195         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5196         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5197         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5198         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5199         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5200         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5201         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5202         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5203         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5204         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5205         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5206         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5208         Likewise.
5209         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5211         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5212         Likewise.
5213         Likewise.
5214         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5215         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5216         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5217         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5218         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5219         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5221         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5223         Likewise.
5224         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5225         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5227         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5228         from auto-generation.
5229         (sendmsg): Likewise.
5230         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5231         (sendmsg): Likewise.
5232         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5233         (sendmsg): Likewise.
5234         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5235         (sendmsg): Likewise.
5236         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5237         (sendmsg): Likewise.
5238         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5239         (sendmsg): Likewise.
5240         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5241         Likewise.
5242         (sendmsg): Likewise.
5243         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5244         (sendmsg): Likewise.
5245         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5246         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5247         Remove.
5248         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5249         Likewise.
5250         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5251         Undefine.
5252         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5253         Likewise.
5254         * sysdeps/unix/sysv/linux/kernel-features.h
5255         (__ASSUME_SENDMSG_SYSCALL): Define.
5256         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5257         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5258         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5259         Remove.
5260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5261         Likewise.
5262         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5263         Undefine.
5264         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5265         Likewise.
5266         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5267         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5268         Remove.
5269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5270         Likewise.
5271         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5272         Undefine.
5273         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5274         Likewise.
5275         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5276         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5277         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5278         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5279         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5280         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5281         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5282         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5283         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5285 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5287         * stdlib/gen-tst-strtod-round.c: Add backslash to
5288         compile command in comment.
5289         (printfp): Remove the literal suffix, and define an infinite
5290         value as INF to avoid expansion clash with INFINITY.
5291         (round_str): Remove the literal suffix.
5292         (round_for_all): Likewise, remove the now duplicate ldbl-64
5293         entry, and remove some magic constants.
5295         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5296         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5297         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5298         (_CONCAT): New macro.
5299         (CONCAT): Likewise.
5300         (CHOOSE_ld): Likewise.
5301         (CHOOSE_f): Likewise.
5302         (CHOOSE_d): Likewise.
5303         (FTYPE_MEMBER): Likewise.
5304         (BOOL_MEMBER): Likewise.
5305         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5306         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5307         (_XNTRY): Likewise.
5308         (XNTRY): Likewise.
5309         (_ENTRY): Likewise.
5310         (ENTRY): Likewise.
5311         (test_exactness): Generate members via macro.
5312         (test_results): Likewise.
5313         (test): Update members.
5314         (TEST): Redefine using new macros.
5315         (INF): New macro.
5316         (fetestmodes): New structure.
5317         (do_test): Refactor to be type generic.
5318         (test_in_one_mode): Refactor duplicate code into
5319         (GEN_ONE_TEST): New macro.
5321         * stdlib/tst-strtod-round-data.h: Regenerate.
5323         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5324         Extend to pass additional arbitrary parameters to
5325         generators.
5327 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5329         [BZ #15479]
5330         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5331         floating-point state after first floating-point operation on
5332         input.  Restore full floating-point state instead of just rounding
5333         mode.
5334         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5335         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5336         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5337         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5338         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5340         [BZ #15479]
5341         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5342         floating-point state after first floating-point operation on
5343         input.  Restore full floating-point state instead of just rounding
5344         mode.
5345         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5346         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5347         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5348         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5349         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5351 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5353         [BZ #19727]
5354         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5355         valid high surrogate.
5356         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5357         of an utf16 surrogate.
5358         * iconv/gconv_simple.c (BODY): Likewise.
5359         * iconvdata/bug-iconv12.c: New file.
5360         * iconvdata/Makefile (tests): Add bug-iconv12.
5362 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5364         [BZ #19726]
5365         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5366         outptrp in case of an illegal input.
5367         * iconv/tst-iconv6.c: New file.
5368         * iconv/Makefile (tests): Add tst-iconv6.
5370 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5372         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5373         an error in case of a value in range of an utf16 low surrogate.
5375 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5377         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5378         an error in case of a value in range of an utf16 low surrogate.
5380 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5382         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5383         Move to ...
5384         * sysdeps/s390/Makefile: ... here.
5385         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5386         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5387         (BRANCH_ON_COUNT): New define.
5388         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5389         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5390         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5391         run on s390-32, too.
5392         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5393         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5394         run on s390-32, too.
5395         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5396         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5397         run on s390-32, too.
5399 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5401         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5402         etf3eh or new vector loop-variant.
5404 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5406         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5407         etf3eh or new vector loop-variant.
5409 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5411         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5412         or new vector loop-variant.
5414 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5416         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5417         Rename to TR_LOOP and usage of tr instead of troo instruction.
5419 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5421         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5422         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5424 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5426         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5427         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5428         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5429         New override define.
5430         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5432 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5434         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5435         * sysdeps/s390/configure.ac: Add test for S390 vector register
5436         support in gcc.
5437         * sysdeps/s390/configure: Regenerated.
5439 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5441         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5442         Install file from $(objpfx)gconv-modules.
5443         ($(objpfx)gconv-modules): Concatenate architecture specific file
5444         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5445         * sysdeps/s390/gconv-modules: New file.
5446         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5447         Deleted.
5448         ($(objpfx)gconv-modules-s390): Deleted.
5449         (sysdeps-gconv-modules): New variable.
5451 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5453         [BZ #15479]
5454         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5455         of immediate operand to rounding instruction.
5456         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5457         Likewise.
5458         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5459         Likewise.
5460         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5461         Likewise.
5463 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5465         * math/libm-test.inc (MIN_EXP): Directly define as
5466         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5468 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5470         * math/libm-test.inc (MANT_DIG): Directly define as
5471         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5473 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5475         * stdlib/gen-tst-strtod-round.c (main):
5476           Change usage to more closely match the generated
5477           output.  Add usage and compilation instructions.
5478           (string_to_fp): Add and use FILE* parameter as
5479           output target.
5480           (print_fp): Likewise.
5481           (round_str): Likewise.
5482           (round_for_all): Likewise.
5483         * stdlib/tst-strtod-round.c (tests): Move into
5484         * stdlib/tst-strtod-round-data.h: New file.
5486 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5488         [BZ #15479]
5489         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5490         (__round): Do not force "inexact" exception.
5491         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5492         variable.
5493         (__round): Do not force "inexact" exception.
5494         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5495         (__roundf): Do not force "inexact" exception.
5496         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5497         (__roundl): Do not force "inexact" exception.
5498         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5499         (__roundl): Do not force "inexact" exception.
5500         * math/libm-test.inc (round_test_data): Do not allow spurious
5501         "inexact" exceptions.
5503         [BZ #15479]
5504         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5505         exception in comment.
5506         (huge): Remove variable.
5507         (__floor): Do not force "inexact" exception.
5508         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5509         "inexact" exception in comment.
5510         (huge): Remove variable.
5511         (__floor): Do not force "inexact" exception.
5512         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5513         exception in comment.
5514         (huge): Remove variable.
5515         (__floorf): Do not force "inexact" exception.
5516         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5517         exception in comment.
5518         (huge): Remove variable.
5519         (__floorl): Do not force "inexact" exception.
5521         [BZ #15479]
5522         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5523         exception in comment.
5524         (huge): Remove variable.
5525         (__ceil): Do not force "inexact" exception.
5526         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5527         "inexact" exception in comment.
5528         (huge): Remove variable.
5529         (__ceil): Do not force "inexact" exception.
5530         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5531         (__ceilf): Do not force "inexact" exception.
5532         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5533         exception in comment.
5534         (huge): Remove variable.
5535         (__ceill): Do not force "inexact" exception.
5537 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5539         * config.h.in (BIND_NOW): New.
5540         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5541         * configure: Regenerated.
5542         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5543         indirect branch via the GOT slot.
5545 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5547         [BZ #19765]
5548         * sysdeps/s390/mempcpy.S: New File.
5549         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5550         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5551         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5552         Add mempcpy variants.
5553         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5554         (memcpy): Adjust to be usable from mempcpy entry point.
5555         (__memcpy_mvcle): Likewise.
5556         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5557         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5558         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5559         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5560         (__memcpy_z10): Likewise.
5561         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5563 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5565         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5566         Remove __GI_ symbol.
5567         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5568         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5569         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5570         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5571         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5572         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5574 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5576         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5577         Use cghi instead of chi to compare 64bit value.
5579 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5581         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5582         Jump to 1MB check before executing mvc-loop.
5584 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5586         [BZ #6527]
5587         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5588         unconditionally.
5589         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5591 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5593         * stdlib/tst-strtod6.c (do_test): Use new type generic
5594         invocation of the test function.
5595         (test): Refactor into ...
5596         (TEST_STRTOD): New macro base function.
5598 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5600         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5601         (TEST_STRTOD): New macro.
5602         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5604 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5606         * stdlib/tst-strtod6.c (do_test): Use new type generic
5607         invocation of the test function.
5608         (test): Refactor into ...
5609         (TEST_STRTOD): New macro base function.
5611 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5613         CVE-2016-4429
5614         [BZ #20112]
5615         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5616         payload.
5618 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5620         [BZ #20111]
5621         * bits/sockaddr.h (_SS_SIZE): Define.
5622         * bits/socket.h (_SS_SIZE): Remove.
5623         (_SS_PADSIZE): Adjust to account for all padding.
5624         (struct sockaddr_storage): Update comment.  Avoid implicit
5625         padding.
5626         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5627         (_SS_PADSIZE): Adjust to account for all padding.
5628         (struct sockaddr_storage): Update comment.  Avoid implicit
5629         padding.
5630         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5631         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5632         (_SS_PADSIZE): Adjust to account for all padding.
5633         (struct sockaddr_storage): Update comment.  Avoid implicit
5634         padding.
5635         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5636         __SS_SIZE is 126 in this version.
5637         * inet/tst-sockaddr.c: New file.
5638         * inet/Makefile (tests): Add tst-sockaddr.c
5639         (tst-sockaddr.c): Compile with non-strict aliasing.
5641 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5643         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5644         [XPG3 || XPG4].
5645         (NL_ARGMAX): Also expect for [XPG3].
5646         (NL_LANGMAX): Likewise.
5647         (NL_MSGMAX): Likewise.
5648         (NL_NMAX): Likewise.
5649         (NL_SETMAX): Likewise.
5650         (NL_TEXTMAX): Likewise.
5651         (NZERO): Likewise.
5652         (TMP_MAX): Likewise.
5653         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5654         variable.
5656         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5657         (PF_MAX): Update value.
5658         (AF_KCM): New macro.
5659         (SOL_NETBEUI): Likewise.
5660         (SOL_LLC): Likewise.
5661         (SOL_DCCP): Likewise.
5662         (SOL_NETLINK): Likewise.
5663         (SOL_TIPC): Likewise.
5664         (SOL_RXRPC): Likewise.
5665         (SOL_PPPOL2TP): Likewise.
5666         (SOL_BLUETOOTH): Likewise.
5667         (SOL_PNPIPE): Likewise.
5668         (SOL_RDS): Likewise.
5669         (SOL_IUCV): Likewise.
5670         (SOL_CAIF): Likewise.
5671         (SOL_ALG): Likewise.
5672         (SOL_NFC): Likewise.
5673         (SOL_KCM): Likewise.
5674         (MSG_BATCH): New enum value and macro.
5676 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5678         [BZ #18185]
5679         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5680         sharing L2 cache to 2 for Knights Landing.
5682 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5684         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5685         (FTW_DP): Do not expect for [XPG3 || XPG4].
5686         (FTW_SL): Do not expect for [XPG3].
5687         (FTW_SLN): Likewise.
5688         (FTW_PHYS): Likewise.
5689         (FTW_MOUNT): Likewise.
5690         (FTW_DEPTH): Likewise.
5691         (FTW_CHDIR): Likewise.
5692         (nftw): Likewise.
5693         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5694         variable.
5696 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5698         * manual/errno.texi: Fix various typos & grammar errors.
5700 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5702         * manual/intro.texi: Fix duplicated typo.
5704 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5706         [BZ #13304]
5707         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5708         <float.h>, <math_private.h> and <stdlib.h>.
5709         (add_split): New function.
5710         (mul_split): Likewise.
5711         (ext_val): New typedef.
5712         (store_ext_val): New function.
5713         (mul_ext_val): New function.
5714         (compare): New function.
5715         (add_split_ext): New function.
5716         (__fmal): After checking for Inf, NaN and zero, compute result as
5717         an exact sum of scaled double values in round-to-nearest before
5718         adding those up and adjusting for other rounding modes.
5719         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5720         tests of fma.
5721         * math/auto-libm-test-out: Regenerated.
5723 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5725         [BZ #20119]
5726         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5727         processor level type mask for CPUID with EAX == 11.
5729 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5731         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5732         logical threads if the HTT bit is 0.
5733         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5734         (index_cpu_HTT): Likewise.
5735         (reg_HTT): Likewise.
5737 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5739         [BZ #20115]
5740         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5741         Remove alignments on jump targets.
5743 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5745         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5746         (getpwent): Likewise.
5747         (setpwent): Likewise.
5748         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5749         variable.
5751         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5752         (remque): Likewise.
5753         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5754         variable.
5756 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5758         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5759         not being tested.
5761 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5763         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5764         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5765         call.
5766         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5767         (__condvar_cleanup1): Likewise.
5769 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5771         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5772         New
5773         (__pthread_unwind): Renamed to ...
5774         (PTHREAD_UNWIND): This.
5775         (__pthread_enable_asynccancel): Replace
5776         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5778 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5780         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5781         (CLONE_NEWCGROUP): New macro.
5783         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5784         (Q_GETNEXTQUOTA): New macro.
5786 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5788         [BZ #19907]
5789         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5790         buffer updated by the previous run.
5791         * string/test-memcpy.c (do_one_test): Likewise.
5792         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5793         * string/test-memmove.c (do_one_test): Likewise.
5795 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5797         [BZ #20094]
5798         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5799         not [__USE_XOPEN].
5800         (unlockpt): Likewise.
5801         (ptsname): Likewise.
5802         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5803         variable.
5805         [BZ #20076]
5806         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5807         instead of [__USE_UNIX98].
5808         (S_ISSOCK): Likewise.
5809         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5810         variable.
5812         [BZ #20074]
5813         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5814         [__USE_POSIX].
5815         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5816         variable.
5818         [BZ #20051]
5819         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5820         (ttyslot): Do not declare.
5821         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5822         (ttyslot): New prototype.
5823         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5824         variable.
5825         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5827 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5829         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5831 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5833         Fix race condition in tst-mallocfork2, use fewer resources.
5834         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5835         to current process group.
5836         (signal_sender): Yield in the non-sleeping case.
5838 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5840         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5841         (ecvt): Likewise.
5842         (fcvt): Likewise.
5843         (gcvt): Likewise.
5844         (getsubopt): Likewise.
5845         (grantpt): Likewise.
5846         (initstate): Likewise.
5847         (l64a): Likewise.
5848         (mktemp): Likewise.
5849         (mkstemp): Likewise.
5850         (ptsname): Likewise.
5851         (random): Likewise.
5852         (realpath): Likewise.
5853         (setstate): Likewise.
5854         (srandom): Likewise.
5855         (ttyslot): Likewise.
5856         (unlockpt): Likewise.
5857         (valloc): Likewise.
5859         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5860         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5861         variable.
5863 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5865         [BZ #20072]
5866         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5867         init_cpu_features only if SHARED is defined.
5868         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5870 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5872         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5873         non-inclusive caches on Intel processors.
5875 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5877         * malloc/malloc.c (dumped_main_arena_start)
5878         (dumped_main_arena_end): New variables.
5879         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5880         (do_check_chunk): Skip dumped fake mmapped chunks.
5881         (munmap_chunk): Likewise.
5882         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5883         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5884         mmapped chunks.
5885         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5886         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5887         and dumped_main_arena_end to cover the dumped heap.
5889 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5891         * conform/data/time.h-data (getdate_err): Do not expect for
5892         [XPG3].
5893         (getdate): Likewise.
5894         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5895         variable.
5897         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5898         (F_ULOCK): Likewise.
5899         (F_TEST): Likewise.
5900         (F_TLOCK): Likewise.
5901         (useconds_t): Likewise.
5902         (intptr_t): Do not expect for [XPG3] or [XPG4].
5903         (brk): Do not expect for [XPG3]
5904         (fchown): Likewise.
5905         (fchdir): Likewise.
5906         (ftruncate): Likewise.
5907         (getdtablesize): Likewise.
5908         (gethostid): Likewise.
5909         (getpagesize): Likewise.
5910         (getpgid): Likewise.
5911         (getsid): Likewise.
5912         (getwd): Likewise.
5913         (lchown): Likewise.
5914         (lockf): Likewise.
5915         (readlink): Likewise.
5916         (sbrk): Likewise.
5917         (setpgrp): Likewise.
5918         (setregid): Likewise.
5919         (setreuid): Likewise.
5920         (symlink): Likewise.
5921         (sync): Likewise.
5922         (truncate): Likewise.
5923         (ualarm): Likewise.
5924         (usleep): Likewise.
5925         (vfork): Likewise.
5926         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5927         variable.
5929         [BZ #20054]
5930         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5931         not [__USE_UNIX98].
5932         * conform/data/unistd.h-data (gethostname): Do not expect for
5933         [XPG3].
5935         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5936         [!POSIX] (S_IFBLK): Likewise.
5937         [!POSIX] (S_IFCHR): Likewise.
5938         [!POSIX] (S_IFIFO): Likewise.
5939         [!POSIX] (S_IFREG): Likewise.
5940         [!POSIX] (S_IFDIR): Likewise.
5941         [!POSIX] (S_IFLNK): Likewise.
5942         [!POSIX] (S_IFSOCK): Likewise.
5943         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5944         variable.
5945         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5947 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5949         * sysdeps/aarch64/memset.S (__memset):
5950         Rewrite of optimized memset.
5952 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5954         [BZ #19703]
5955         Partially async-signal-safe fork for single-threaded processes.
5956         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5957         variable.  Do not acquire and reset/release malloc and libio locks
5958         in single-threaded processes.
5959         * malloc/tst-mallocfork2.c: New file.
5960         * malloc/Makefile (tests): Add it.
5962 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5964         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5965         argument.  Use scratch buffer instead of extend_alloca.
5966         (gethosts): Use scratch buffer instead of extend_alloca.
5967         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5968         extend_alloca.
5969         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5971 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5973         [BZ #20055]
5974         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5975         instead of [__USE_UNIX98].
5976         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5977         [__USE_UNIX98].
5978         * conform/data/termios.h-data (tcgetsid): Do not expect for
5979         [XPG3].
5980         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5981         variable.
5982         (test-xfail-XPG4/termios.h/conform): Likewise.
5984 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5986         Do not use mcheck in localedef.
5987         * locale/programs/localedef.c (turn_on_mcheck)
5988         (__malloc_initialize_hook): Remove.
5990 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5992         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5993         * sysdeps/s390/s390-64/Makefile: Likewise.
5995 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5997         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5998         Remove ifunc-defines.sym.
5999         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6000         Likewise.
6001         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6002         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6003         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6004         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6005         rtld-global-offsets.sym.
6006         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6007         * sysdeps/x86/cpu-features-offsets.sym: This.
6008         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6009         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6011 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6013         [BZ #20073]
6014         * io/sys/stat.h (fchmod): Declare for
6015         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6016         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6017         variable.
6019         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6020         [XPG3] (S_IFSOCK): Likewise.
6021         [XPG3] (S_ISVTX): Likewise.
6022         [XPG3] (S_ISLNK): Likewise.
6023         [XPG3] (S_ISSOCK): Likewise.
6024         [XPG3] (fchmod): Likewise.
6025         [XPG3] (lstat): Likewise.
6026         [XPG3] (mknod): Likewise.
6028         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6029         [XPG3].  Expect type long and XFAIL for [XPG4].
6030         (st_blocks): Likewise.
6032         [BZ #20044]
6033         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6034         (pthread_atfork): New prototype.
6035         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6036         variable.
6038         [BZ #20043]
6039         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6040         prototype.
6042 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6044         [BZ #20017]
6045         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6046         gmtime.
6048 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6050         [BZ #19994]
6051         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6052         flag in _res.options.
6054 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6056         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6057         [XPG3 || XPG4].
6058         (blksize_t): Likewise.
6059         (clockid_t): Likewise.
6060         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6061         variable.
6062         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6064 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6066         * sysdeps/unix/sysv/linux/s390/init-first.c:
6067         Add VDSO_SYMBOL(getcpu).
6068         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6069         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6070         Add VDSO_SYMBOL(getcpu).
6071         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6072         New define HAVE_GETCPU_VSYSCALL.
6073         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6075 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6077         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6078         instead of <sysdeps/x86_64/cacheinfo.c>.
6079         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6080         * sysdeps/x86/cacheinfo.c: Here.
6082 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6084         * malloc/malloc-internal.h: Adjust header file guard.
6086 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6088         [BZ #19787]
6089         * inet/getnameinfo.c (check_sprintf_result): New function.
6090         (CHECKED_SNPRINTF): New macro.
6091         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6092         to the host buffer.
6093         (gni_host_local): Use checked_copy to copy the host name.
6094         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6095         (gni_serv_local): Use checked_copy to copy the service name.
6096         (getnameinfo): Remove unnecessary truncation of result buffers.
6098 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6100         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6101         in case of inet_ntop failure.
6103 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6105         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6106         avoid long lines.
6107         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6108         variables.
6109         (gni_host_inet, gni_host_local): Add comment.
6110         (gni_host): Add comment.  Use temporary to avoid long lines.
6112 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6114         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6115         registers specifiers where general purpose registers specifiers should
6116         have been used.
6118 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6120         [BZ #19779]
6121         CVE-2016-1234
6122         Avoid copying names of directory entries.
6123         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6124         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6125         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6126         (struct readdir_result): New type.
6127         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6128         (GL_READDIR): New macros.
6129         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6130         (convert_dirent, convert_dirent64): New functions.
6131         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6132         convert_dirent64.  Adjust references to the readdir result.
6133         * sysdeps/unix/sysv/linux/i386/glob64.c:
6134         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6135         * posix/bug-glob2.c (LONG_NAME): Define.
6136         (filesystem): Add LONG_NAME.
6137         (my_DIR): Increase the size of room_for_dirent.
6139 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6141         [BZ #20041]
6142         * misc/sys/select.h (__need_timespec): Only define if
6143         [__USE_XOPEN2K].
6144         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6145         variable.
6146         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6147         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6148         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6150 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6151             Segher Boessenkool  <segher@gcc.gnu.org>
6153         [BZ #20004]
6154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6155         (__novec_swapcontext): Add missing load.
6157 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6159         [BZ #20023]
6160         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6161         <time.h>.
6162         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6163         variable.
6164         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6166 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6169         flags CLONE_VM compare.
6171 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6173         [BZ #20031]
6174         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6175         completely empty.
6177 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6179         [BZ #19573]
6180         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6181         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6182         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6183         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6184         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6185         (hesiod_free_list): Mark as hidden.
6186         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6187         res_set, res_get.
6188         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6189         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6190         (hesiod_init): Remove obsolete res_ninit call.
6191         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6192         (hesiod_bind): Do not call init.
6193         (get_txt_records): Use res_mkquery, res_send instead of
6194         res_nmkquery, res_nsend.
6195         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6196         instead of _nss_hesiod_init.
6197         (_nss_hesiod_initgroups_dyn): Likewise.
6198         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6199         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6200         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6202 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6204         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6205         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6207 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6209         * hesiod/hesiod.h: Remove RCS keyword.
6210         * hesiod/hesiod_p.h: Likewise.
6212         * hesiod/hesiod.c: Likewise.
6214 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6216         [BZ #12450]
6217         * locale/iso-639.def: Add Samogitian/sgs.
6219 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6221         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6223         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6225 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6226             Carlos O'Donell  <carlos@redhat.com>
6228         [BZ #19072]
6229         * grp/Makefile (headers): Add grp-merge.h
6230         (routines): Add grp-merge.
6231         * grp/getgrgid_r.c: Include grp-merge.h.
6232         (DEEPCOPY_FN): Define.
6233         (MERGE_FN): Define.
6234         * grp/getgrname_r.c: Include grp-merge.h.
6235         (DEEPCOPY_FN): Define.
6236         (MERGE_FN): Define.
6237         * grp/grp-merge.c: New file.
6238         * grp/grp-merge.h: New file.
6239         * include/grp-merge.h: New file.
6240         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6241         __copy_grp@GLIBC_PRIVATE.
6242         * manual/nss.texi (Actions in the NSS configuration): Describe
6243         return, continue, and merge.
6244         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6245         (DEEPCOPY_FN): Define.
6246         (MERGE_FN): Define.
6247         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6248         (DEEPCOPY_FN): Define.
6249         (MERGE_FN): Define.
6250         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6251         [!MERGE_FN]: Define __merge_einval.
6252         (CHECK_MERGE): Define.
6253         (REENTRANT_NAME): Process merge if do_merge is true.
6254         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6255         (__nss_getent_r): Likewise.
6256         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6257         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6259 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6261         [BZ #20012]
6262         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6263         length to calculate the buffer to read.
6264         (fmemopen_write): Set the buffer position based on bytes written.
6265         (fmemopen_seek): Return EINVAL for invalid whence modes.
6267         [BZ #19957]
6268         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6269         tst-getpid2.
6270         (test): Add tst-clone2.
6271         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6272         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6273         pid/tid fields for CLONE_VM.
6274         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6275         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6276         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6277         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6278         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6279         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6280         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6281         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6283         Likewise.
6284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6285         Likewise.
6286         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6287         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6288         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6289         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6290         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6291         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6292         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6293         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6295 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6297         [BZ #19642]
6298         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6299         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6300         (gni_serv_local, gni_serv): New functions extracted from
6301         getnameinfo.
6302         (getnameinfo): Call gni_host and gni_serv to perform the
6303         processing.  Always free scratch buffer.
6305 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6307         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6308         remaining bytes in the dest string, with zeros.
6310 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6312         [BZ #20010]
6313         CVE-2016-3706
6314         * sysdeps/posix/getaddrinfo.c
6315         (convert_hostent_to_gaih_addrtuple): New function.
6316         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6317         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6318         AF_INET data.
6320 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6322         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6323         callback function gl_readdir.
6324         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6325         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6326         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6327         memcpy to copy the name.
6328         * manual/pattern.texi (Calling Glob): Document requirements for
6329         implementations of the gl_readdir callback function.
6330         * manual/examples/mkdirent.c: New example.
6331         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6332         per the manual guidance.
6333         * posix/tst-gnuglob.c (my_readdir): Likewise.
6335 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6337         [BZ #20014]
6338         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6339         not [__USE_POSIX].
6340         (getchar_unlocked): Likewise.
6341         (putc_unlocked): Likewise.
6342         (putchar_unlocked): Likewise.
6343         (flockfile): Likewise.
6344         (ftrylockfile): Likewise.
6345         (funlockfile): Likewise.
6346         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6347         variable.
6348         (test-xfail-XPG4/stdio.h/conform): Likewise.
6350         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6351         Expect constant.
6352         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6353         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6354         variable.
6355         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6356         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6358         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6359         [__USE_LARGEFILE64] (off64_t): Likewise.
6360         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6361         variable.
6363 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6365         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6367 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6369         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6370         * resolv/res_init.c: Likewise.
6371         * resolv/res_mkquery.c: Likewise.
6373 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6375         * resolv/res_init.c (isascii): Do not define.  Use definition in
6376         <ctype.h>.
6377         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6378         (LOG_AUTH): Remove.
6379         (SPRINTF): Remove, adjust caller.
6380         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6382 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6384         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6385         SUNSECURITY conditional.
6386         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6388 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6390         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6391         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6392         Remove BSD-related preprocessor conditionals.
6393         * conf/portability.h: Remove.
6395 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6397         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6398         * resolv/res_data.c: Likewise.
6400 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6402         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6403         * resolv/res_data.c: Remove code conditional on ultrix.
6405 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6407         * resolv/res_init.c (RFC1535): Do not define.  Remove
6408         RFC1535 preprocessor conditionals.
6409         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6410         because there configuration options which make the resolver
6411         behavior different.
6413 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6415         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6416         RESOLVSORT preprocessor conditionals.
6417         * resolv/nss_dns/dns-host.c: Likewise.
6418         * resolv/res_init.c: Likewise.
6420 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6422         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6423         is never defined.
6425 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6427         * inet/inet_lnaof.c: Remove SCSS keyword.
6428         * inet/inet_mkadr.c: Likewise.
6429         * inet/inet_net.c: Likewise.
6430         * inet/inet_netof.c: Likewise.
6431         * inet/rcmd.c: Likewise.
6432         * inet/rexec.c: Likewise.
6433         * inet/ruserpass.c: Likewise.
6435 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6437         * resolv/inet_addr.c: Remove _LIBC conditionals.
6438         * resolv/res_data.c: Likewise.
6439         * resolv/res_init.c: Likewise.
6440         * resolv/res_mkquery.c: Likewise.
6441         * resolv/res_libc.c: Update comment.
6442         * resolv/README: Update.
6444 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6446         * resolv/gethnamaddr.c: Remove SCSS keyword.
6447         * resolv/herror.c: Likewise.
6448         * resolv/inet_addr.c: Likewise.
6449         * resolv/inet_net_ntop.c: Likewise.
6450         * resolv/inet_net_pton.c: Likewise.
6451         * resolv/inet_neta.c: Likewise.
6452         * resolv/inet_ntop.c: Likewise.
6453         * resolv/inet_pton.c: Likewise.
6454         * resolv/ns_date.c: Remove RCS keyword.
6455         * resolv/ns_name.c: Likewise.
6456         * resolv/ns_netint.c: Likewise.
6457         * resolv/ns_parse.c: Likewise.
6458         * resolv/ns_print.c: Likewise.
6459         * resolv/ns_samedomain.c: Likewise.
6460         * resolv/ns_ttl.c: Likewise.
6461         * resolv/nsap_addr.c: Likewise.
6462         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6463         * resolv/res_data.c: Remove RCS keyword.
6464         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6465         * resolv/res_init.c: Likewise.
6466         * resolv/res_mkquery.c: Likewise.
6467         * resolv/res_query.c: Likewise.
6468         * resolv/res_send.c: Likewise.
6470 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6472         * conform/data/stdio.h-data (fdopen): Expect also for
6473         [XPG3 || XPG4].
6475         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6476         (fseeko): Likewise.
6477         (ftello): Likewise.
6478         (ftrylockfile): Likewise.
6479         (funlockfile): Likewise.
6480         (getc_unlocked): Likewise.
6481         (getchar_unlocked): Likewise.
6482         (putc_unlocked): Likewise.
6483         (putchar_unlocked): Likewise.
6485 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6487         [BZ #19868]
6488         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6489         DNS packet syntax checks (which were not needed before).  Skip
6490         over non-PTR records.
6492 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6494         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6495         definition.  Include <stddef.h> instead.
6497 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6499         [BZ #19831]
6500         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6501         function.
6502         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6503         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6505 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6507         [BZ #19862]
6508         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6509         (getanswer_r): Do not call syslog.
6510         (gaih_getanswer_slice): Likewise.
6511         * resolv/gethnamaddr.c (AskedForGot): Remove.
6512         (getanswer): Do not call syslog.
6513         (gethostbyaddr): Likewise.
6515 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6517         * conform/data/signal.h-data (union sigval): Expect also if
6518         [XOPEN2K].
6519         (struct sigevent): Likewise.
6520         (SIGEV_NONE): Likewise.
6521         (SIGEV_SIGNAL): Likewise.
6522         (SIGEV_THREAD): Likewise.
6523         (SIGRTMIN): Likewise.
6524         (SIGRTMAX): Likewise.
6525         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6526         variable.
6527         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6529 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6531         [BZ #19830]
6532         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6533         (gaih_getanswer_slice): Likewise.
6534         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6535         Also check for availability of RR metadata.
6537 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6539         [BZ #19825]
6540         * resolv/res_send.c (send_vc): Remove early *resplen2
6541         initialization.  Set *resplen2 on socket error.  Call
6542         close_and_return_error for other errors.
6544 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6546         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6547         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6548         (SCM_IUCV_TRGCLS): New define.
6550 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6552         [BZ #20005]
6553         * libio/fmemopen.c (fmemopen_write): Update internal position after
6554         write.
6555         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6556         * stdio-common/tst-fmemopen4.c: New file..
6558 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6560         [BZ #19996]
6561         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6562         not [__USE_XOPEN2K].
6563         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6564         variable.
6566         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6567         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6568         variable.
6570         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6571         [__USE_XOPEN2K8].
6572         [__USE_LARGEFILE64] (off64_t): Likewise.
6573         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6574         variable.
6576 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6578         [BZ #19989]
6579         * libio/stdio.h (cuserid): Do not declare if
6580         [__USE_XOPEN2K && !__USE_GNU].
6581         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6582         variable.
6584 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6586         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6587         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6589         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6590         ifunc'ed strcspn.
6591         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6592         [EALIGN]: Removed.
6593         [END]: Likewise
6594         [STRSPN]: Define instead of the above to control symbol name.
6595         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6596         New file.
6597         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6598         Likewise.
6599         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6600         Likewise.
6601         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6602         Likewise.
6603         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6604         [INITIAL_MASK]: New macro.
6605         [STRCSPN]: Likewise.
6606         [UPDATE_MASK]: Likewise.
6607         [USE_AS_STRCSPN]: Lisewise.
6609 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6611         [BZ #19931]
6612         * stdio-common/tst-vfprintf-width-prec.c: New file.
6613         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6614         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6615         (generated): Add mtrace-related files.
6616         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6617         (tst-%-mem.out): New pattern rule, replaces
6618         tst-printf-bz18872-mem.out.
6619         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6620         specifier, deallocate any previously allocated work buffer.
6622 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6624         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6625         Add nop before __startcontext, add explaining comments.
6627 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6629         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6630         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6631         completely different API.
6633         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6634         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6635         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6636         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6637         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6638         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6639         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6640         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6641         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6642         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6644 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6646         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6648 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6650         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6651         when it is the default of 0.
6653 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6655         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6656         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6657         (sysdep_routines): Add new strcasestr targets.
6658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6659         (__libc_ifunc_impl_list): Likewise.
6660         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6661         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6662         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6663         * sysdeps/powerpc/powerpc64/power8/Makefile:
6664         New file to add strcasestr-ppc64 to sysdep_routines.
6665         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6666         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6668 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6670         * benchtests/Makefile (wcsmbs-benchset): Include only for
6671         native builds and runs.
6672         (LOCALES): Likewise.
6673         (bench-build): Build timing-type here instead of the bench
6674         target.  Generate locale only for native builds.
6675         * benchtests/README: Add note for cross-building.
6677         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6679         * benchtests/README: Update README to include instructions on
6680         using bench-build.
6682         * Makefile.in (bench-build): New target.
6683         * Rules (PHONY): Add bench-build target.
6684         * benchtests/Makefile (bench): Depend on bench-build.
6685         (bench-build): New target.
6687 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6689         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6690         profil_reply_port.
6691         (profile_waiter): Do not initialize profil_reply_port.
6692         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6693         frequency instead of tick length in us.
6695 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6697         [BZ #18712]
6698         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6699         (__old_mempcpy_small): Likewise.
6700         (__old_strcpy_small): Likewise.
6701         (__old_stpcpy_small): Likewise.
6702         (__old_strpbrk_c2): Fix compat symbol name.
6703         (__old_strpbrk_c3): Likewise.
6704         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6705         (__mempcpy_small): Remove.
6706         (__strcpy_small): Remove.
6707         (__stpcpy_small): Remove.
6709 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6711         [BZ #19400]
6712         * locale/iso-639.def: Add the Talossan/tzl language.
6714 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6716         [BZ #16983]
6717         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6718         comment.  Add "ln" to strchr check on postal_fmt.
6720 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6722         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6723         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6724         tel_dom_fmt.
6726 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6728         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6729         (sysdep_routines): Added __strlen_power8.
6730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6731         __strlen_power8 entry.
6732         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6733         Implementation for POWER8.
6734         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6735         for __strlen_power8.
6736         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6737         Implementation for POWER8.
6739 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6741         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6743 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6745         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6746         Goldmont and Airmont processors.
6748 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6750         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6751         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6752         (__STRING2_SMALL_GET32): Remove.
6753         (memset): Remove.
6754         (__memset_1): Remove.
6755         (__memset_gc): Remove.
6756         (__mempcpy): Remove.
6757         (mempcpy): Remove.
6758         (__mempcpy_args): Remove.
6759         (strchr): Remove.
6760         (strcpy): Remove.
6761         (strcpy_args): Remove.
6762         (__stpcpy_args): Remove.
6763         (__strcmp_cc): Remove.
6764         (__strcmp_gc): Remove.
6765         (strstr): Remove.
6767 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6769         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6770         * nis/nis_call.c (nis_server_cache_add): Likewise.
6772 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6774         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6776 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6778         * malloc/arena.c (__malloc_fork_lock_parent)
6779         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6780         internal_function attribute.
6782 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6784         * stdio-common/printf_fp.c (__printf_fp_l):
6785         Rename ___printf_fp_l to __printf_fp_l and
6786         remove strong alias. Use libc_hidden_def instead
6787         of ldbl_hidden_def macro.
6789 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6791         Remove malloc hooks from fork handler.  They are no longer needed
6792         because malloc runs right before fork, and no malloc calls from
6793         other fork handlers are not possible anymore.
6794         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6795         declarations.
6796         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6797         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6798         (atfork_recursive_cntr): Remove.
6799         (__malloc_fork_lock_parent): Do not override malloc hooks and
6800         thread_arena.
6801         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6802         thread_arena.
6803         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6804         thread_arena instead of save_arena.
6806 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6808         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6809         (thread_atfork, thread_atfork_static): Remove.
6810         * sysdeps/mach/hurd/malloc-machine.h:
6811         (thread_atfork, thread_atfork_static): Remove.
6813 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6815         [BZ #19431]
6816         Run the malloc fork handler as late as possible to avoid deadlocks.
6817         * malloc/malloc-internal.h: New file.
6818         * malloc/malloc.c: Include it.
6819         * malloc/arena.c (ATFORK_MEM): Remove.
6820         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6821         Update comment.
6822         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6823         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6824         Remove outdated comment.
6825         (ptmalloc_init): Do not call thread_atfork.  Remove
6826         thread_atfork_static.
6827         * malloc/tst-malloc-fork-deadlock.c: New file.
6828         * Makefile (tests): Add tst-malloc-fork-deadlock.
6829         (tst-malloc-fork-deadlock): Link against libpthread.
6830         * manual/memory.texi (Aligned Memory Blocks): Update safety
6831         annotation comments.
6832         * sysdeps/nptl/fork.c (__libc_fork): Call
6833         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6834         __malloc_fork_unlock_child.
6835         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6837 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6839         [BZ #19613]
6840         Remove union wait.
6841         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6842         (w_stopsig, w_stopval): Remove.
6843         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6844         stat_loc argument.
6845         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6846         (__WAIT_STATUS_DEFN): Remove.
6847         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6848         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6849         (wait, wait3, wait4): Use int * for the stat_loc argument.
6850         * posix/wait.c (__wait): Likewise.
6851         * posix/wait3.c (__wait3): Likewise.
6852         * posix/wait4.c (__wait4): Likewise.
6853         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6854         (__WAIT_STATUS_DEFN): Remove.
6855         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6856         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6857         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6858         argument.
6859         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6860         * sysdeps/posix/wait3.c (__wait3): Likewise.
6861         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6862         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6863         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6864         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6865         stat_loc argument.
6866         * manual/process.texi (BSD Wait Functions): Remove union wait.
6868 2016-04-13  Andreas Schwab  <schwab@suse.de>
6870         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6871         (test-extras): Add tst-tlsalign-vars.
6872         * math/Makefile: Wrap long lines.
6873         (libm-vec-test-wrappers): Define.
6874         (test-extras): Add $(libm-vec-test-wrappers).
6875         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6876         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6877         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6878         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6879         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6880         (extra-test-objs): Add corresponding objects.
6882 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6884         [BZ #19928]
6885         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6886         New.
6887         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6888         times of shared cache size.
6889         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6890         (VMOVNT): New.
6891         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6892         (VMOVNT): Likewise.
6893         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6894         (VMOVNT): Likewise.
6895         (VMOVU): Changed to movups for smaller code sizes.
6896         (VMOVA): Changed to movaps for smaller code sizes.
6897         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6898         comments.
6899         (PREFETCH): New.
6900         (PREFETCH_SIZE): Likewise.
6901         (PREFETCHED_LOAD_SIZE): Likewise.
6902         (PREFETCH_ONE_SET): Likewise.
6903         Rewrite to use forward and backward loops, which move 4 vector
6904         registers at a time, to support overlapping addresses and use
6905         non temporal store if size is above the threshold and there is
6906         no overlap between destination and source.
6908 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6910         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6911         Include dl-vdso.
6912         * sysdeps/unix/sysv/linux/mips/Versions: Add
6913         __vdso_clock_gettime.
6914         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6915         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6916         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6917         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6918         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6919         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6920         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6921         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6922         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6924 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6926         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6927         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6928         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6929         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6930         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6931         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6934         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6935         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6936         syscalls generation.
6937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6938         [__NR_pwrite64] (__NR_write): Remove define.
6939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6940         [__NR_pwrite64] (__NR_write): Remove define.
6941         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6942         Remove define.
6943         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6944         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6945         Remove define.
6946         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6947         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6948         Linux implementation as base.
6949         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6951         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6952         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6953         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6954         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6957         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6959         syscall generation.
6960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6961         [__NR_pread64] (__NR_pread): Remove define.
6962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6963         [__NR_pread64] (__NR_pread): Likewise.
6964         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6965         define.
6966         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6967         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6968         Remove define.
6969         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6970         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6971         Linux implementation as base.
6972         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6973         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6974         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6976         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6977         definition.
6978         (__ALIGNMENT_COUNT): Likewise.
6979         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6980         (__ALIGNMENT_COUNT): Likewise.
6981         (SYSCALL_LL): New define.
6982         (SYSCALL_LL64): Likewise.
6983         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6984         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6985         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6986         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6988         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6989         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6990         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6991         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6992         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6993         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6995 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6997         [BZ #19865]
6998         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6999         original buffer before retry.
7001 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7003         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7004         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7005         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7006         GLRO(dl_auxv) list.
7007         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7008         including <ldsodefs.h>.
7009         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7011 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7013         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7014         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7015         $(CPPFLAGS).
7017 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7019         [BZ #17950]
7020         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7021         Add -mfpmath=387.
7023 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7025         * sysdeps/i386/configure.ac: Change == to = when calling test.
7026         * sysdeps/x86_64/configure.ac: Likewise.
7027         * sysdeps/i386/configure: Regenerated.
7028         * sysdeps/x86_64/configure: Likewise.
7030 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7032         [BZ #16137]
7033         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7034         * benchtests/bench-strcoll.c (input_files): Likewise.
7035         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7036         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7037         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7039 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7041         [BZ #19929]
7042         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7043         [__USE_XOPEN2K8 && !__USE_GNU].
7044         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7045         variable.
7047         [BZ #19925]
7048         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7049         define if [!__USE_MISC && __USE_XOPEN2K].
7050         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7051         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7052         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7053         Likewise.
7054         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7055         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7056         variable.
7057         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7059 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7061         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7062         (sysdep_routines): Add new strspn targets.
7063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7064         (__libc_ifunc_impl_list): Add strspn.
7065         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7066         New file.
7067         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7068         Likewise.
7069         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7070         Likewise.
7071         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7072         Likewise.
7074 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7076         * misc/hsearch_r.c: Include <limits.h>.
7078 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7080         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7082 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7084         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7085         (MEMCPY_SYMBOL): New.
7086         (MEMPCPY_SYMBOL): Likewise.
7087         (MEMMOVE_CHK_SYMBOL): Likewise.
7088         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7089         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7090         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7091         Provide alias for memcpy in libc.a and ld.so.
7093 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7095         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7096         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7097         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7098         Disabled fro now.
7099         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7100         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7102 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7104         * benchtests/Makefile (string-benchset): Add memcpy-large,
7105         memmove-large and memset-large.
7106         * benchtests/bench-memcpy-large.c: New file.
7107         * benchtests/bench-memmove-large.c: Likewise.
7108         * benchtests/bench-memmove-large.c: Likewise.
7109         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7111 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7113         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7114         32-bit displacement to avoid long nop between instructions.
7116 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7118         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7119         a comment on VMOVU and VMOVA.
7121 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7123         [BZ #19633]
7124         Use specified locale for number formatting in strfmon_l.
7125         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7126         (__nl_lookup_word): New inline functions.
7127         * include/printf.h (__print_fp_l): Declare.
7128         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7129         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7130         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7131         (___printf_fp): New function.
7132         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7133         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7134         * stdlib/tst-strfmon_l.c (do_test): New test.
7135         * stdlib/Makefile (tests): Add kt.
7136         (LOCALES): Build additional locales.
7137         (tst-strfmon_l.out): Require locales.
7139 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7141         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7142         if not in libc.
7143         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7144         Likewise.
7145         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7146         Likewise.
7147         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7148         Likewise.
7150 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7152         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7153         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7154         with unaligned_erms.
7155         (__memmove_erms): Skip if source == destination.
7156         (__memmove_unaligned_erms): Don't check source == destination
7157         first.
7159 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7161         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7162         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7164 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7166         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7167         * string/strspn.c (strspn): Likewise.
7169 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7171         * benchtests/bench-memset.c (do_test): Support 64-byte
7172         alignment.
7173         (test_main): Test 64-byte alignment.
7175 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7177         * benchtests/bench-memmove.c (test_main): Test 64-byte
7178         alignment.
7180 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7182         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7184 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7186         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7187         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7188         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7190         * string/strpbrk.c (strpbrk): Rewrite function.
7191         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7192         (__strpbrk_c2): Likewise.
7193         (__strpbrk_c3): Likewise.
7194         * string/string-inlines.c
7195         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7196         Likewise.
7197         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7198         Likewise.
7200         * string/strspn.c (strcspn): Rewrite function.
7201         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7202         (__strspn_c1): Remove inline function.
7203         (__strspn_c2): Likewise.
7204         (__strspn_c3): Likewise.
7205         * string/string-inlines.c
7206         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7207         compatibility symbol.
7208         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7209         Likewise.
7210         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7211         Likewise.
7212         * string/string-inlines.c: Include generic version.
7214 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7215             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7217         * string/Version (libc): Add GLIBC_2.24.
7218         * string/strcspn.c (strcspn): Rewrite function.
7219         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7220         (__strcspn_c1): Remove inline function.
7221         (__strcspn_c2): Likewise.
7222         (__strcspn_c3): Likewise.
7223         * string/string-inline.c
7224         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7225         compatibility symbol.
7226         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7227         Likewise.
7228         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7229         Likewise.
7230         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7232 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7234         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7235         Use ahi instead of aghi to adjust stack pointer.
7237 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7239         [BZ #19853]
7240         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7241         TEST to take significant digits as second parameter.
7242         [TEST]: Redefine in terms of TEST_N taking 30
7243         significant digits.
7244         (do_test): Add test case to demonstrate precision
7245         failure in the ldbl-128ibm printf.
7246         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7247         (__mpn_extract_long_double): Carry 7 extra intermediate
7248         bits of precision to aide computing difference when
7249         signs differ.
7251 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7253         [BZ #19881]
7254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7255         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7256         memset-avx512-unaligned-erms.
7257         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7258         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7259         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7260         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7261         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7262         __memset_sse2_unaligned_erms, __memset_erms,
7263         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7264         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7265         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7266         file.
7267         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7268         Likewise.
7269         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7270         Likewise.
7271         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7272         Likewise.
7274 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7276         [BZ #19776]
7277         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7278         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7279         memmove-avx512-unaligned-erms.
7280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7281         (__libc_ifunc_impl_list): Test
7282         __memmove_chk_avx512_unaligned_2,
7283         __memmove_chk_avx512_unaligned_erms,
7284         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7285         __memmove_chk_sse2_unaligned_2,
7286         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7287         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7288         __memmove_avx512_unaligned_erms, __memmove_erms,
7289         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7290         __memcpy_chk_avx512_unaligned_2,
7291         __memcpy_chk_avx512_unaligned_erms,
7292         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7293         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7294         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7295         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7296         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7297         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7298         __mempcpy_chk_avx512_unaligned_erms,
7299         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7300         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7301         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7302         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7303         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7304         __mempcpy_erms.
7305         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7306         file.
7307         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7308         Likwise.
7309         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7310         Likwise.
7311         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7312         Likwise.
7314 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7316         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7317         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7318         (La_s390_64_regs): Likewise.
7319         (La_s390_32_retval): Append vector register lrv_v24.
7320         (La_s390_64_retval): Likeweise.
7321         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7322         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7323         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7324         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7326 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7328         [BZ #19916]
7329         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7330         to create a non-vector/vector version for _dl_runtime_resolve and
7331         _dl_runtime_profile. Move implementation to ...
7332         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7333         (_dl_runtime_resolve) Save and restore fpr/vrs.
7334         (_dl_runtime_profile) Save and restore vrs and fix some issues
7335         if _dl_call_pltexit is called.
7336         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7337         Choose the correct resolver function if running on a machine with vx.
7338         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7339         to create a non-vector/vector version for _dl_runtime_resolve and
7340         _dl_runtime_profile. Move implementation to ...
7341         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7342         (_dl_runtime_resolve) Save and restore fpr/vrs.
7343         (_dl_runtime_profile) Save and restore vrs and fix some issues
7344         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7345         Choose the correct resolver function if running on a machine with vx.
7347 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7349         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7351 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7353         [BZ #19509]
7354         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7355         skip_map != NULL.
7356         * elf/tst-dlsym-error.c: New file.
7357         * elf/Makefile (tests): Add tst-dlsym-error.
7358         (tst-dlsym-error): Link against libdl.
7360 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7362         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7363         (__ASSUME_FUTIMESAT): Remove macro.
7364         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7366 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7368         [BZ #19879]
7369         CVE-2016-3075
7370         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7371         copy name.
7373 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7375         [BZ #19837]
7376         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7377         error if parse_line fails.
7379 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7381         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7382         (index_cpu_ERMS): Likewise.
7383         (reg_ERMS): Likewise.
7385 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7387         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7388         PER_LINUX_FDPIC): Add.
7390 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7392         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7393         memcpy-avx512-no-vzeroupper.
7394         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7395         to ...
7396         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7397         (MEMCPY): Don't define.
7398         (MEMCPY_CHK): Likewise.
7399         (MEMPCPY): Likewise.
7400         (MEMPCPY_CHK): Likewise.
7401         (MEMPCPY_CHK): Renamed to ...
7402         (__mempcpy_chk_avx512_no_vzeroupper): This.
7403         (MEMPCPY_CHK): Renamed to ...
7404         (__mempcpy_chk_avx512_no_vzeroupper): This.
7405         (MEMCPY_CHK): Renamed to ...
7406         (__memmove_chk_avx512_no_vzeroupper): This.
7407         (MEMCPY): Renamed to ...
7408         (__memmove_avx512_no_vzeroupper): This.
7409         (__memcpy_avx512_no_vzeroupper): New alias.
7410         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7412 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7414         [BZ #18858]
7415         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7416         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7417         and mempcpy-avx512-no-vzeroupper.
7418         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7419         New.
7420         (MEMPCPY): Likewise.
7421         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7422         (MEMPCPY_CHK): New.
7423         (MEMPCPY): Likewise.
7424         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7425         (MEMPCPY): Likewise.
7426         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7427         (MEMPCPY): Likewise.
7428         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7429         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7430         Likewise.
7431         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7432         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7434 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7435              Amit Pawar  <Amit.Pawar@amd.com>
7437         [BZ #19583]
7438         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7439         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7440         processors.  Set Fast_Copy_Backward for AMD Excavator
7441         processors.
7442         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7443         New.
7444         (index_arch_Fast_Unaligned_Copy): Likewise.
7445         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7446         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7448 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7450         [BZ #19791]
7451         * resolv/res_send.c (close_and_return_error): New function.
7452         (send_dg): Initialize *resplen2 after reopen failure.  Call
7453         close_and_return_error for error returns.  On error paths without
7454         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7455         successful return.
7457 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7459         [BZ# 19860]
7460         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7461         zero if the compiler does not provide the AVX512F bit.
7463 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7465         [BZ #19848]
7466         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7467         from 8 to 4.
7468         (__ieee754_powl): Compare integer exponent against 4 not 8.
7469         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7470         from 8 to 4.
7471         (__ieee754_powl): Compare integer exponent against 4 not 8.
7472         * math/auto-libm-test-in: Add more tests of pow.
7473         * math/auto-libm-test-out: Regenerated.
7474         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7477 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7479         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7480         Make code unconditional.
7481         [!__NR_utimensat]: Remove conditional code.
7482         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7483         Make code unconditional.
7484         [!__NR_utimensat]: Remove conditional code.
7485         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7486         Make code unconditional.
7487         [!__NR_utimensat]: Remove conditional code.
7489 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7491         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7492         Make code unconditional.
7494 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7496         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7497         call-clobbered %eax on retry path.
7498         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7500 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7502         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7503         Don't set %rcx twice before "rep movsb".
7505 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7507         [BZ #19583]
7508         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7509         inline.  Check family before setting family, model and
7510         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7511         bits here.
7512         (init_cpu_features): Replace HAS_CPU_FEATURE and
7513         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7514         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7515         for Intel processors with usable AVX2.  Call get_common_indeces
7516         for other processors with family == NULL.
7517         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7518         (CPU_FEATURES_ARCH_P): Likewise.
7519         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7520         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7522 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7524         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7525         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7526         $(shared-thread-library) instead of hardcoding the path to libpthread.
7528 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7530         * sysdeps/unix/sysv/linux/kernel-features.h
7531         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7532         * sysdeps/unix/sysv/linux/getdents.c
7533         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7534         [!have_no_getdents64_defined]: Likewise.
7535         (__GETDENTS): Remove __have_no_getdents64 conditional.
7537 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7539         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7540         Remove macro.
7541         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7542         <kernel-features.h>.
7543         (signalfd) [__NR_signalfd4]: Make code unconditional.
7544         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7546 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7548         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7549         style.
7551 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7553         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7554         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7555         __pthread_unwind.
7556         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7557         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7558         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7559         (__condvar_cleanup1): Likewise.
7561 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7563         [BZ #19822]
7564         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7565         move it to the final $@ location.
7567 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7569         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7570         access where posix_spawn success and pid argument is null.
7571         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7572         success case.
7574 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7576         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7578         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7580         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7581         and __fcntl.
7582         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7583         __fcntl only.
7584         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7585         adding attribute_hidden to __open and __fcntl.
7587         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7588         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7589         depend on libc-modules.h,
7590         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7592 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7594         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7595         Remove macro.
7596         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7597         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7598         entry.
7600         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7601         Remove macro.
7602         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7603         include <kernel-features.h>.
7604         [!__ASSUME_FALLOCATE]: Remove conditional code.
7605         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7607 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7609         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7610         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7611         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7612         (_ZGVdN4v_cos_avx2): Likewise.
7613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7614         (_ZGVdN4v_cos): Likewise.
7615         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7616         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7617         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7618         (_ZGVdN4v_exp_avx2): Likewise.
7619         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7620         (_ZGVdN4v_exp): Likewise.
7621         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7622         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7623         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7624         (_ZGVdN4v_log_avx2): Likewise.
7625         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7626         (_ZGVdN4v_log): Likewise.
7627         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7628         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7630         (_ZGVdN4vv_pow_avx2): Likewise.
7631         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7632         (_ZGVdN4vv_pow): Likewise.
7633         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7634         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7635         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7636         (_ZGVdN4v_sin_avx2): Likewise.
7637         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7638         (_ZGVdN4v_sin): Likewise.
7639         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7640         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7641         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7642         (_ZGVdN4vvv_sincos_avx2): Likewise.
7643         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7644         (_ZGVdN4vvv_sincos): Likewise.
7645         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7646         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7647         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7648         (_ZGVbN4v_cosf_sse4): Likewise.
7649         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7650         (_ZGVdN8v_cosf_avx2): Likewise.
7651         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7652         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7653         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7654         (_ZGVbN4v_expf_sse4): Likewise.
7655         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7656         (_ZGVdN8v_expf_avx2): Likewise.
7657         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7658         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7659         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7660         (_ZGVbN4v_logf_sse4): Likewise.
7661         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7662         (_ZGVdN8v_logf_avx2): Likewise.
7663         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7664         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7665         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7666         (_ZGVbN4vv_powf_sse4): Likewise.
7667         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7668         (_ZGVdN8vv_powf_avx2): Likewise.
7669         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7670         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7671         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7672         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7673         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7674         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7675         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7676         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7677         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7678         (_ZGVbN4v_sinf_sse4): Likewise.
7679         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7680         (_ZGVdN8v_sinf_avx2): Likewise.
7681         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7682         Use JUMPTARGET to call callee.
7683         (WRAPPER_IMPL_SSE2_ff): Likewise.
7684         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7685         (WRAPPER_IMPL_AVX): Likewise.
7686         (WRAPPER_IMPL_AVX_ff): Likewise.
7687         (WRAPPER_IMPL_AVX_fFF): Likewise.
7688         (WRAPPER_IMPL_AVX512): Likewise.
7689         (WRAPPER_IMPL_AVX512_ff): Likewise.
7690         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7691         Likewise.
7692         (WRAPPER_IMPL_SSE2_ff): Likewise.
7693         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7694         (WRAPPER_IMPL_AVX): Likewise.
7695         (WRAPPER_IMPL_AVX_ff): Likewise.
7696         (WRAPPER_IMPL_AVX_fFF): Likewise.
7697         (WRAPPER_IMPL_AVX512): Likewise.
7698         (WRAPPER_IMPL_AVX512_ff): Likewise.
7699         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7701 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7703         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7704         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7705         qualifier.
7706         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7707         internal_function qualifiers.
7709 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7711         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7712         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7713         * math/atest-exp.c (exp_mpn): Mark chk unused.
7714         * math/atest-exp2.c (exp_mpn): Likwise.
7715         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7716         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7718 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7720         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7721         Remove macro.
7722         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7723         <kernel-features.h>.
7724         [__NR_ppoll]: Make code unconditional.
7725         [!__ASSUME_PPOLL]: Remove conditional code.
7727         * sysdeps/unix/sysv/linux/kernel-features.h
7728         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7729         (__ASSUME_ACCEPT4): Likewise.
7730         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7731         Define.
7732         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7733         Likewise.
7734         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7735         Likewise.
7736         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7737         Likewise.
7738         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7739         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7740         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7741         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7742         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7743         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7744         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7745         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7746         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7747         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7748         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7749         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7750         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7751         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7752         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7753         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7754         Likewise.
7755         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7756         Likewise.
7757         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7758         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7759         0x040300].
7760         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7761         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7762         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7763         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7764         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7765         0x030300].
7766         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7767         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7768         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7769         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7770         0x040300].
7771         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7772         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7773         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7774         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7775         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7776         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7777         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7778         0x030300].
7779         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7780         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7781         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7782         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7783         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7784         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7785         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7786         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7787         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7788         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7789         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7790         0x040300].
7791         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7792         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7793         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7794         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7795         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7796         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7797         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7798         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7799         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7800         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7801         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7802         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7803         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7804         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7805         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7806         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7807         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7808         Likewise.
7809         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7810         Likewise.
7812 2016-03-15  Andreas Schwab  <schwab@suse.de>
7814         [BZ #19257]
7815         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7816         statp->_u._ext.nscount as loop count.
7818 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7820         * math/test-signgam-finite-c99.c: Also #undef
7821         __LIBC_INTERNAL_MATH_INLINES.
7822         * math/test-signgam-main.c: Likewise.
7824 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7826         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7827         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7828         (MADV_FREE): Likewise.
7829         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7830         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7831         EPOLLEXCLUSIVE.
7833 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7835         * timezone/README: Remove mention of checktab.awk. Mention wiki
7836         SharedSourceFiles.
7838 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7840         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7841         WUNTRACED.
7843 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7845         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7846         order to match the type of p when calling atomic_exchange_acq().
7848 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7850         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7851         cfi_offset calls.
7852         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7853         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7854         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7855         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7856         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7858 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7860         * timezone/checktab.awk: Removed.
7862 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7864         * manual/math.texi (Errors in Math Functions): Document relaxed
7865         accuracy goals for IBM long double.
7866         * math/libm-test.inc (test_exceptions): Always allow spurious
7867         "underflow" and "inexact" exceptions for IBM long double.
7869 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7871         [BZ #19762]
7872         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7873         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7874         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7875         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7876         (bit_arch_*): This for feature array.
7877         (bit_*): Renamed to ...
7878         (bit_cpu_*): This for cpu array.
7879         (index_*): Renamed to ...
7880         (index_arch_*): This for feature array.
7881         (index_*): Renamed to ...
7882         (index_cpu_*): This for cpu array.
7883         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7884         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7885         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7886         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7887         bit_##name with index_cpu_##name and bit_cpu_##name.
7888         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7889         bit_##name with index_arch_##name and bit_arch_##name.
7891 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7893         [BZ #19792]
7894         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7895         Terminate FDE before return label.
7897 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7899         [BZ #19790]
7900         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7901         (rintl): Define as macro.
7902         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7903         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7904         of fesetround.  Ensure results are evaluated before end of scope.
7905         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7906         USE_AS_NEARBYINTL and include s_rintl.c.
7907         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7908         Disable exception traps in new environment.
7909         (libc_feholdsetround_ppc_ctx): Likewise.
7911 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7913         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7914         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7915         (tst_audit10_aux) [__AVX512F__]: ... here.
7917 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7919         * include/sys/auxv.h: New file.
7921 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7923         [BZ #19759]
7924         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7926 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7928         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7929         operand modifier.
7930         (feclearexcept): Likewise.
7932 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7934         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7935         to reflect the entire 32-bit HWCAP.
7936         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7937         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7939 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7941         [BZ #19783]
7942         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7943         $(test-via-rtld-prefix).
7944         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7946 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7948         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7949         union wait.  Report any non-zero exit status as error.
7951 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7953         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7954         configured with --enable-hardcoded-path-in-tests.
7956 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7958         [BZ #19677]
7959         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7960         (__ieee754_remainderl): Put zero low parts in canonical form.
7961         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7962         file.  Based on
7963         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7964         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7965         with wrapper round test-fmodrem-ldbl-128ibm.c.
7966         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7967         file.
7968         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7969         Likewise.
7970         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7971         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7973 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7975         [BZ #19610]
7976         * elf/ldconfig.c (opt_link): Update comment.
7977         (options): Update help string for option -X.
7978         (search_dir): Unlink stale symbolic link only if updating symbolic
7979         links.
7980         * elf/tst-ldconfig-X.sh: New file.
7981         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7982         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7984 2016-03-07  Andreas Schwab  <schwab@suse.de>
7986         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7987         needed arguments.
7989 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7991         [BZ #15333]
7992         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7993         to lstat64.
7995 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7997         * libio/filedoalloc.c (isatty): Remove.
7998         (local_isatty): Add comment.  Call __isatty directly.
7999         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8000         * libio/wfiledoalloc.c (isatty): Remove.
8001         (_IO_wfile_doallocate): Update comment.
8003 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8005         [BZ #19269]
8006         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8007         tst-audit4-aux.o.
8008         (tst-audit10): Depend on tst-audit10-aux.o.
8009         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8010         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8011         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8012         instead of inline AVX code.
8013         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8014         instead of inline AVX512 code.
8015         * sysdeps/x86_64/tst-audit4-aux.c: New file
8016         * sysdeps/x86_64/tst-audit10-aux.c: New file
8018         [BZ #19648]
8019         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8021 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8023         [BZ #14750]
8024         [BZ #10354]
8025         [BZ #18433]
8026         * include/sched.h (__clone): Add hidden prototype.
8027         (__clone2): Likewise.
8028         * include/unistd.h (__dup): Likewise.
8029         * posix/Makefile (tests): Add tst-spawn2.
8030         * posix/tst-spawn2.c: New file.
8031         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8032         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8033         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8034         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8035         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8036         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8037         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8038         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8039         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8040         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8041         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8043         Likewise.
8044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8045         Likewise.
8046         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8047         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8048         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8049         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8050         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8051         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8052         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8053         * sysdeps/unix/sysv/linux/nptl-signals.h
8054         (____nptl_is_internal_signal): New function.
8055         * sysdeps/unix/sysv/linux/spawni.c: New file.
8057         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8058         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8059         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8060         * posix/tst-execvp2.c (do_test): Likewise.
8061         * posix/tst-execvp3.c (do_test): Likewise.
8062         * posix/tst-execvp4.c (do_test): Likewise.
8063         * posix/tst-execvpe1.c: New file.
8064         * posix/tst-execvpe2.c: Likewise.
8065         * posix/tst-execvpe3.c: Likewise.
8066         * posix/tst-execvpe4.c: Likewise.
8067         * posix/tst-execvpe5.c: Likewise.
8068         * posix/tst-execvpe6.c: Likewise.
8070         [BZ #19534]
8071         * posix/execl.c (execl): Remove dynamic memory allocation.
8072         * posix/execle.c (execle): Likewise.
8073         * posix/execlp.c (execlp): Likewise.
8075 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8077         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8078         Replace .text with .text.avx512.
8079         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8080         Likewise.
8082 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8084         * sysdeps/generic/libnsl.abilist: New file.
8085         * sysdeps/generic/libutil.abilist: New file.
8087 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8089         [BZ #19762]
8090         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8091         HAS_ARCH_FEATURE with Fast_Rep_String.
8092         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8093         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8094         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8095         Likewise.
8096         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8097         Likewise.
8098         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8099         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8100         Likewise.
8101         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8102         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8103         Likewise.
8105 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8107         [BZ #19745]
8108         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8109         with *%rax in call.
8111 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8113         [BZ #19745]
8114         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8115         with *__libc_start_main@GOTPCREL(%rip) in call.
8117 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8119         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8120         inside conditional for nonempty $(CXX).
8122         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8123         nonempty.
8125         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8126         to test for empty $(CXX) rather than $(CXX) of "no".
8128 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8130         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8132 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8133             H.J. Lu  <hongjiu.lu@intel.com>
8135         [BZ #18880]
8136         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8137         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8138         enable __memcpy_ssse3_back.
8140 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8142         [BZ #19758]
8143         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8144         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8146 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8148         [BZ #19490]
8149         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8150         (__fentry__): Likewise.
8152 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8154         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8155         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8157 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8159         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8160         __mcount_internal directly.
8161         (C_LABEL(__fentry__)): Likewise.
8162         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8163         directly.
8165 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8167         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8168         (__start_context): Call __setcontext directly.
8170 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8172         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8173         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8174         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8175         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8176         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8177         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8178         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8179         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8180         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8181         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8182         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8183         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8184         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8185         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8186         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8187         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8188         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8189         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8190         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8191         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8192         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8193         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8194         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8195         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8196         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8197         Remove conditional code.
8198         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8199         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8200         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8201         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8202         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8203         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8204         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8205         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8206         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8207         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8208         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8209         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8211 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8213         * NEWS (2.23): Fix typo in bug 19048 text.
8215 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8217         [BZ #14259]
8218         * Makeconfig: Rename msgcatdir to localedir.
8219         Rename inst_msgcatdir to inst_localedir.
8220         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8221         * config.make.in: Add localedir.
8222         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8223         (ldd-rewrite): Likewise.
8224         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8225         (install-others): Use inst_localedir.
8226         (CPPFLAGS): Use localedir.
8227         * locale/Makefile (locale-CPPFLAGS): Likewise.
8228         * po/Makefile (mo-installed): Use inst_localedir.
8230         [BZ #19575]
8231         * localedata/charmaps/GB18030: Update comments regarding PAU to
8232         non-PUA mappings.
8234 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8236         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8237         test for header.
8238         * sysdeps/unix/sysv/linux/configure: Regenerated.
8239         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8240         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8241         Remove conditional code.
8242         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8244         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8245         Define to 3.2.0.
8246         (arch_minimum_kernel): Likewise.
8247         * sysdeps/unix/sysv/linux/configure: Regenerated.
8248         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8249         Define to 2.6.32.
8250         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8251         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8252         (arch_minimum_kernel): Define to 2.6.32.
8253         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8254         * README: Document Linux 3.2 requirement.
8255         * manual/install.texi (Linux): Document Linux 3.2 headers
8256         requirement.
8257         * INSTALL: Regenerated.
8259 2016-02-24  Andreas Schwab  <schwab@suse.de>
8261         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8262         if !NO_LONG_DOUBLE.
8264 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8266         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8267         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8269 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8271         [BZ #19512]
8272         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8274 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8276         * posix/tst-dir.c: Include libc-internal.h.
8278 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8280         [BZ #19056]
8281         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8282         * manual/filesys.texi (Reading/Closing Directory): Mention
8283         deprecaion.
8284         * posix/tst-dir.c (main): Disable deprecation warning in test.
8286 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8288         [BZ #19679]
8289         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8290         Renamed to ...
8291         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8292         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8293         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8294         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8295         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8296         * sysdeps/x86_64/dl-trampoline.h
8297         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8298         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8300 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8302         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8304 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8306         * elf/elf.h (R_386_GOT32X): New.
8307         (R_386_NUM): Update.
8308         (R_X86_64_GOTPCRELX: New.
8309         (R_X86_64_REX_GOTPCRELX): New.
8310         (R_X86_64_NUM): Update.
8312 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8314         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8316 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8318         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8319         assign attr->stackaddr to it, and adjust it down when
8320         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8321         [_STACK_GROWS_UP]: Delete assert.
8322         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8323         Implement stack grows up logic.
8324         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8325         stack grows up logic.
8327 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8329         * NEWS: Update with 2.24 template.
8331 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8333         [BZ #19678]
8334         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8335         Ensure +0.0 is returned when taking the next value below the least
8336         positive value.
8338 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8340         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8341         available.  Do not define NO_THREADS.
8342         * malloc/malloc.c: Do not check NO_THREADS.
8343         * malloc/arena.c: Likewise.
8345 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8347         * malloc/malloc.c (__libc_mallinfo): Update comment.
8348         (struct malloc_par): Remove max_total_mem member, it was always 0.
8349         (int_mallinfo): Store 0 into usmblks (no functional change).
8350         * malloc/hooks.c (struct malloc_state): Document that
8351         max_total_mem is always 0.
8352         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8353         always 0.
8354         * manual/memory.texi (Statistics of Malloc): Likewise.
8356 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8358         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8359         * malloc/arena.c (arena_max): Remove.
8360         (heap_trim, _int_new_arena): Do not update arena_max.
8362 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8364         * resolv/res_init.c (res_ninit): Update comment.
8366 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8368         [BZ #19505]
8369         * posix/spawn_int.h: Add headers and include guard.
8370         (__spawn_valid_fd): New function.
8371         * posix/spawn_faction_addopen.c
8372         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8373         * posix/spawn_faction_addclose.c
8374         (posix_spawn_file_actions_addclose): Likewise.
8375         * posix/spawn_faction_adddup2.c
8376         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8377         second file descriptor.
8378         * posix/spawn_valid_fd.c: New file.
8379         * posix/tst-posix_spawn-fd.c: New file.
8380         * posix/Makefile (routines): Add spawn_valid_fd.
8381         (tests): Add tst-posix_spawn-fd.
8383 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8385         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8386         (do_test): Limit the number of arenas, so that we can use fewer
8387         outer threads.  Limit timeout to 3 seconds, in preparation for a
8388         larger TIMEOUT value.
8390 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8392         [BZ #19674]
8393         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8394         sign in overflowing and underflowing results when overflow or
8395         underflow is detected early.  Include sign in result before rather
8396         than after scaling.
8398         [BZ #19603]
8399         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8400         (__ieee754_remainderl): Adjust sign of integer version of low part
8401         when taking absolute value of high part.
8402         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8403         * math/libm-test.inc (remainder_test_data): Add another test.
8404         (remquo_test_data): Likewise.
8406 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8408         [BZ #19602]
8409         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8410         equal high parts and both low parts zero specially.
8411         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8412         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8413         Add test-fmodl-ldbl-128ibm.
8415         [BZ #19595]
8416         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8417         common logic for all cases of shifting subnormal results.  Do not
8418         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8419         exponent to ldbl_insert_mantissa in subnormal case.
8421         [BZ #19594]
8422         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8423         on high and low parts then adjust result and use
8424         ldbl_canonicalize_int if needed.
8426         [BZ #19593]
8427         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8428         on high part and __floor or __ceil on low part then use
8429         ldbl_canonicalize_int if needed.
8431         [BZ #19592]
8432         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8433         high and low parts then use ldbl_canonicalize_int if needed.
8435         [BZ #17899]
8436         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8437         New function.
8438         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8439         on high and low parts then use ldbl_canonicalize_int if needed.
8441 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8443         * configure: Regenerated.
8445         * po/libc.pot: Regenerated.
8447         * po/be.po: Updated translation.
8448         * po/bg.po: Likewise.
8449         * po/ca.po: Likewise.
8450         * po/cs.po: Likewise.
8451         * po/da.po: Likewise.
8452         * po/el.po: Likewise.
8453         * po/eo.po: Likewise.
8454         * po/es.po: Likewise.
8455         * po/fi.po: Likewise.
8456         * po/fr.po: Likewise.
8457         * po/gl.po: Likewise.
8458         * po/hr.po: Likewise.
8459         * po/hu.po: Likewise.
8460         * po/ia.po: Likewise.
8461         * po/id.po: Likewise.
8462         * po/it.po: Likewise.
8463         * po/ja.po: Likewise.
8464         * po/lt.po: Likewise.
8465         * po/nb.po: Likewise.
8466         * po/nl.po: Likewise.
8467         * po/pt_BR.po: Likewise.
8468         * po/rw.po: Likewise.
8469         * po/sk.po: Likewise.
8470         * po/sl.po: Likewise.
8471         * po/sv.po: Likewise.
8472         * po/tr.po: Likewise.
8473         * po/zh_CN.po: Likewise.
8474         * po/zh_TW.po: Likewise.
8476         * version.h (RELEAES): Set to "development".
8477         (VERSION): Set to 2.23.90.
8479         * version.h (RELEASE): Set to "stable".
8480         (VERSION): Set to 2.23.
8481         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8483         * NEWS: Updated fixed bugs.
8485 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8486             Wilco Dijkstra  <wdijkstr@arm.com>
8488         [BZ #19462]
8489         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8490         (_STRING_INLINE_unaligned): This.
8491         * include/string.h: Include <string_private.h>.
8492         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8493         _STRING_INLINE_unaligned.
8494         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8495         (_STRING_INLINE_unaligned): New.
8496         * sysdeps/aarch64/string_private.h: New file.
8497         * sysdeps/generic/string_private.h: Likewise.
8498         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8499         * sysdeps/s390/string_private.h: Likewise.
8500         * sysdeps/x86/string_private.h: Likewise.
8501         * sysdeps/m68k/m680x0/m68020/bits/string.h
8502         (_STRING_ARCH_unaligned): Renamed to ...
8503         (_STRING_INLINE_unaligned): This.
8504         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8505         to ...
8506         (_STRING_INLINE_unaligned): This.
8507         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8508         to ...
8509         (_STRING_INLINE_unaligned): This.
8510         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8511         to ...
8512         (_STRING_INLINE_unaligned): This.
8514 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8515             H.J. Lu  <hongjiu.lu@intel.com>
8517         [BZ #19590]
8518         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8519         relocation.
8521 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8523         [BZ #18665]
8524         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8525         *herrno_p.
8526         (gaih_getanswer): Document functional behviour. Return tryagain
8527         if any result is tryagain.
8528         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8529         when freed.
8530         * resolv/res_send.c: Add copyright text.
8531         (__libc_res_nsend): Document that MAXPACKET is expected.
8532         (send_vc): Document. Remove buffer reuse.
8533         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8534         size of the buffer. Add Dprint for truncated UDP buffer.
8536 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8538         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8539         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8540         * INSTALL: Regenerate.
8542 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8543             Jonathan Wakely  <jwakely@redhat.com>
8544             Carlos O'Donell  <carlos@redhat.com>
8546         [BZ 19439]
8547         * math/Makefile (tests): Add test-math-isinff.
8548         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8549         * math/bits/mathcalls.h [__USE_MISC]: Use
8550         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8551         functions not in C++11 and which don't conflict e.g. isinff,
8552         isinfl etc.
8553         * math/test-math-isinff.cc: New file.
8555 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8557         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8559 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8561         [BZ #19529]
8562         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8564 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8566         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8568 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8570         [BZ #19550]
8571         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8572         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8573         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8574         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8575         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8576         New syscall entry.
8577         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8578         New syscall entry.
8579         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8580         syscall entry.
8582 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8584         [BZ #18240]
8585         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8586         unsigned int wraparound.
8588 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8590         [BZ #18240]
8591         * misc/bug18240.c: New test.
8592         * misc/Makefile (tests): Add it.
8594 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8595             Joseph Myers  <joseph@codesourcery.com>
8597         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8598         load in branch delay slot when less than a word of input left.
8600 2016-01-27  Andreas Schwab  <schwab@suse.de>
8602         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8603         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8604         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8605         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8607 2016-01-26  David S. Miller  <davem@davemloft.net>
8609         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8611 2016-01-25  David S. Miller  <davem@davemloft.net>
8613         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8614         __sqrtl_finite.
8615         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8616         instead using versioned_symbol.
8617         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8618         of entries.
8620         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8621         __sqrtl_finite to GLIBC_2.23
8623 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8625         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8627 2016-01-25  Andreas Schwab  <schwab@suse.de>
8629         [BZ #17514]
8630         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8631         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8632         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8633         * nptl/tst-mutex-errorcheck.c: New file.
8635 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8637         [BZ #18560]
8638         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8639         (IPCOP_semop): Likewise.
8640         (IPCOP_semget): Likewise.
8641         (IPCOP_semctl): Likewise.
8642         (IPCOP_msgsnd): Likewise.
8643         (IPCOP_msgrcv): Likewise.
8644         (IPCOP_msgget): Likewise.
8645         (IPCOP_msgctl): Likewise.
8646         (IPCOP_shmat): Likewise.
8647         (IPCOP_shmdt): Likewise.
8648         (IPCOP_shmget): Likewise.
8649         (IPCOP_shmctl): Likewise.
8651 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8653         * string/tst-endian.c: Include <libc-internal.h>.
8654         (do_test): Ignore tautological-compare warnings around
8655         "htobeXX (beXXtoh (i)) != i" and
8656         "htoleXX (leXXtoh (i)) != i" if-statements.
8658 2016-01-24  David S. Miller  <davem@davemloft.net>
8660         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8661         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8662         alias.
8663         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8664         __sqrtl_finite.
8666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8668 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8670         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8671         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8672         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8674 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8676         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8677         (thread_func): Use new function to simplify barrier check.
8678         (do_test): Use new function to simplify checking barrier exit
8679         code, and actually join the child thread.
8681 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8683         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8684         semicolon.
8685         (__libc_tend): Likewise.
8686         (__libc_tabort): Likewise.
8688 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8690         * sysdeps/nios2/libm-test-ulps: Update.
8691         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8692         (__gtsf2): Likewise.
8693         (__unorddf2): Likewise.
8694         (__unordsf2): Likewise.
8695         (__ledf2): Likewise.
8697 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8699         * nis/nis_table.c (__follow_path): Disable diagnostic for
8700         uninitialized variable that is a false positive for gcc 4.7.
8701         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8703 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8705         * sysdeps/nacl/lowlevellock-futex.h
8706         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8707         Always evaluate PRIVATE argument.
8709 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8711         [BZ #19490]
8712         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8713         (pthread_cond_broadcast): Use ENTRY/END
8714         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8715         (pthread_cond_signal): Likewise.
8716         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8717         Likewise.
8718         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8719         Likewise.
8720         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8721         Likewise.
8723 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8725         * sysdeps/ieee754/dbl-64/s_finite.c
8726         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8727         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8728         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8729         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8730         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8733         (__gtsf2): Add as optional for libc.so.
8734         (__unordsf2): Likewise.
8735         (__signbit): Remove for libc.so.
8736         (__signbitl): Likewise.
8738 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8740         * iconvdata/bug-iconv11.c (test_ibm93x):
8741         Use %zu printf format specifier for size_t argument.
8743 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8745         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8746         already-recorded ulps.
8747         * sysdeps/arm/libm-test-ulps: Regenerated.
8748         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8749         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8750         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8752 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8753             Paul Pluzhnikov  <ppluzhnikov@google.com>
8755         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8756         assembler not supporting AVX-512.
8758 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8760         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8762 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8764         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8765         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8767         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8769         * sysdeps/arm/libm-test-ulps: Regenerated.
8771 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8773         [BZ #19451]
8774         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8776 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8778         [BZ #19486]
8779         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8780         * sysdeps/generic/fix-fp-int-convert-overflow.h
8781         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8782         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8783         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8784         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8785         Likewise.
8786         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8787         Avoid conversions to long int where inexact exceptions
8788         could be raised.
8789         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8790         Likewise.
8791         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8792         Avoid conversions to long long int where inexact exceptions
8793         could be raised.
8794         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8795         Likewise.
8797 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8799         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8800         * configure: Regenerated.
8802 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8804         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8806 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8808         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8809         outside of comment.
8811 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8813         * nptl/tst-barrier1.c: Add description on first line.
8814         * nptl/tst-barrier2.c: Likewise.
8815         * nptl/tst-barrier3.c: Likewise.
8816         * nptl/tst-barrier4.c: Likewise.
8817         * nptl/tst-barrier5.c: Likewise.
8819 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8821         [BZ #18868]
8822         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8824 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8828         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8829         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8830         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8831         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8832         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8833         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8834         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8835         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8836         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8838 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8840         [BZ #13065]
8841         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8842         new implementation.
8843         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8844         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8845         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8846         (BARRIER_IN_THRESHOLD): New macro.
8847         * nptl/pthread_barrierattr_setpshared.c
8848         (pthread_barrierattr_setpshared): Clean up.
8849         * nptl/tst-barrier4.c: Correct comment.
8850         * nptl/tst-barrier5.c: New file.
8851         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8852         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8853         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8854         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8855         * nptl/lowlevelbarrier.sym: Remove.
8856         * nptl/DESIGN-barrier.txt: Remove.
8857         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8858         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8859         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8860         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8861         error.
8862         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8863         implementation.
8865 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8867         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8868         (do_child): Mask SIGRTMIN while thr is running.
8870 2016-01-15  Martin Sebor  <msebor@redhat.com>
8872         [BZ #19432]
8873         * iconvdata/Makefile: Add bug-iconv11.
8874         * iconvdata/bug-iconv11.c: New test.
8875         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8876         * iconvdata/ibm933.c: Same.
8877         * iconvdata/ibm935.c: Same.
8878         * iconvdata/ibm937.c: Same.
8879         * iconvdata/ibm939.c: Same.
8881 2016-01-15  Martin Sebor  <msebor@redhat.com>
8883         [BZ #19443]
8884         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8885         [DEBUG] (_ufc_set_bits): Declare used.
8886         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8887         [DEBUG] (print_all): Declare used.
8888         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8889         operands of the ternary ?: expression to target type.
8890         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8891         calling the undeclared abort.
8892         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8894 2016-01-15  Martin Sebor  <msebor@redhat.com>
8896         [BZ #18755]
8897         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8898         warnings.
8899         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8900         (__gai_create_helper_thread): Same.
8901         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8902         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8903         to suppress -Wmaybe-uninitialized warnings.
8905 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8907         [BZ #19465]
8908         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8909         inside if.
8910         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8911         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8912         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8914 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8916         [BZ #19466]
8917         * time/tst-mktime2.c (time_t_max): Removed.
8918         (time_t_min): Likewise.
8919         (TYPE_SIGNED): New.
8920         (TYPE_MINIMUM): Likewise.
8921         (TYPE_MAXIMUM): Likewise.
8922         (TIME_T_MIN): Likewise.
8923         (TIME_T_MAX): Likewise.
8924         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8925         and TIME_T_MIN.
8926         (do_test): Likewise.
8928 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8930         [BZ #19467]
8931         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8932         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8934 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8936         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8938 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8940         * benchtests/Makefile (PYTHON): Define.
8941         (bench-func): Use $(PYTHON) to run python scripts.
8942         ($(objpfx)bench-%.c): Likewise.
8944 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8946         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8947         leading slash when `file_name' is "/".
8949 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8951         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8952         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8953         Likewise.
8954         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8955         Likewise.
8956         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8957         Likewise.
8958         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8959         enum constant and macro.
8960         (PTRACE_SETSIGMASK): Likewise.
8961         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8962         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8963         (PTRACE_GETSIGMASK): Likewise.
8964         (PTRACE_SETSIGMASK): Likewise.
8965         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8966         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8967         Likewise.
8968         (PTRACE_SETSIGMASK): Likewise.
8969         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8970         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8971         (PTRACE_GETSIGMASK): Likewise.
8972         (PTRACE_SETSIGMASK): Likewise.
8973         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8974         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8975         Likewise.
8976         (PTRACE_SETSIGMASK): Likewise.
8977         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8978         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8979         Likewise.
8980         (PTRACE_SETSIGMASK): Likewise.
8981         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8982         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8983         Likewise.
8984         (PTRACE_SETSIGMASK): Likewise.
8985         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8987 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8988             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8990         [BZ #19439]
8991         * math/bits/mathcalls.h
8992         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8993         prototype.
8994         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8996 2016-01-11  Andreas Schwab  <schwab@suse.de>
8998         [BZ #19253]
8999         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9000         cache when TZDEFRULES was used.
9001         * time/tst-tzname.c: New file.
9002         * time/Makefile (test): Add tst-tzname.
9003         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9004         * timezone/Makefile (test-zones): Add $(posixrules-file).
9005         ($(testdata)/$(posixrules-file)): New rule.
9007 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9009         Fix doc quoting problems with Texinfo 5
9010         Without this change, in the info file output, Texinfo 5 quotes code
9011         in text with undirected single quotes 'like this' and generates
9012         code examples that with many PDF readers cannot be cut out of PDFs
9013         and pasted into code.
9014         * manual/libc.texinfo: Configure the libc manual like the GNU
9015         Emacs manual, by using @documentencoding and setting
9016         txicodequoteundirected and txicodequotebacktick.  This way,
9017         Texinfo 5 quotes code in text with directed single quotes ‘like
9018         this’ and produces examples that can be cut out of PDFs.  This
9019         change causes Texinfo 5 to generate info files that contain UTF-8
9020         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9021         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9023 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9025         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9026         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9027         barriers to their respective compiler built-ins.
9028         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9029         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9030         * sysdeps/powerpc/sysdep.h: Likewise.
9031         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9032         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9033         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9035 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9037         * scripts/config.guess: Revert previous shebang change.
9038         * scripts/config.sub: Likewise.
9039         * scripts/mkinstalldirs: Likewise.
9041 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9043         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9044         PPC_FEATURE2_HAS_IEEE128.
9045         * sysdeps/powerpc/dl-procinfo.c:
9046         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9048 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9050         [BZ #19415]
9051         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9052         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9053         (_dl_lookup_address): Rewrite using function resolver trampoline.
9054         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9055         two bits in address.
9057 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9059         * longlong.h: Change !__SHMEDIA__ to
9060         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9061         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9063 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9064             Joseph Myers  <joseph@codesourcery.com>
9065             Mark Shinwell  <shinwell@codesourcery.com>
9066             Andrew Stubbs  <ams@codesourcery.com>
9067             Rich Felker <dalias@libc.org>
9069         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9071 2016-01-07  Richard Henderson  <rth@redhat.com>
9073         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9075 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9077         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9078         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9079         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9080         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9081         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9083 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9084             Joseph Myers  <joseph@codesourcery.com>
9086         * timezone/private.h: Update from tzcode 2015g.
9087         * timezone/tzfile.h: Likewise.
9088         * timezone/tzselect.ksh: Likewise.
9089         * timezone/zdump.c: Likewise.
9090         * timezone/zic.c: Likewise.
9091         * timezone/ialloc.c: Remove file.
9092         * timezone/scheck.c: Likewise.
9093         * timezone/Makefile (extra-objs): Remove variable.
9094         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9095         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9096         -Wno-maybe-uninitialized.
9097         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9098         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9099         (CFLAGS-ialloc.c): Remove variable.
9100         (CFLAGS-scheck.c): Likewise.
9101         * timezone/README: Update list of files from tzcode.
9103 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9105         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9106         instead of __fxprintf when _LIBC is undefined.
9108 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9110         * catgets/test-gencat.sh: Remove space after shebang.
9111         * conform/GlibcConform.pm: Likewise.
9112         * conform/check-header-lists.sh: Likewise.
9113         * conform/conformtest.pl: Likewise.
9114         * conform/linknamespace.pl: Likewise.
9115         * conform/list-header-symbols.pl: Likewise.
9116         * debug/catchsegv.sh: Likewise.
9117         * elf/genrtldtbl.awk: Likewise.
9118         * elf/tst-pathopt.sh: Likewise.
9119         * elf/tst-rtld-load-self.sh: Likewise.
9120         * grp/tst_fgetgrent.sh: Likewise.
9121         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9122         * iconvdata/gen-8bit-gap.sh: Likewise.
9123         * iconvdata/gen-8bit.sh: Likewise.
9124         * iconvdata/run-iconv-test.sh: Likewise.
9125         * intl/tst-gettext.sh: Likewise.
9126         * intl/tst-gettext2.sh: Likewise.
9127         * intl/tst-gettext4.sh: Likewise.
9128         * intl/tst-gettext6.sh: Likewise.
9129         * intl/tst-translit.sh: Likewise.
9130         * io/ftwtest-sh: Likewise.
9131         * libio/test-freopen.sh: Likewise.
9132         * locale/gen-translit.pl: Likewise.
9133         * malloc/tst-mtrace.sh: Likewise.
9134         * manual/check-safety.sh: Likewise.
9135         * manual/libc-texinfo.sh: Likewise.
9136         * manual/tsort.awk: Likewise.
9137         * manual/xtract-typefun.awk: Likewise.
9138         * nptl/tst-cancel-wrappers.sh: Likewise.
9139         * nptl/tst-tls6.sh: Likewise.
9140         * posix/globtest.sh: Likewise.
9141         * posix/tst-getconf.sh: Likewise.
9142         * posix/wordexp-tst.sh: Likewise.
9143         * scripts/check-c++-types.sh: Likewise.
9144         * scripts/check-local-headers.sh: Likewise.
9145         * scripts/config.guess: Likewise.
9146         * scripts/config.sub: Likewise.
9147         * scripts/cpp: Likewise.
9148         * scripts/cross-test-ssh.sh: Likewise.
9149         * scripts/documented.sh: Likewise.
9150         * scripts/evaluate-test.sh: Likewise.
9151         * scripts/gen-libc-abis: Likewise.
9152         * scripts/gen-sorted.awk: Likewise.
9153         * scripts/list-fixed-bugs.py: Likewise.
9154         * scripts/merge-test-results.sh: Likewise.
9155         * scripts/mkinstalldirs: Likewise.
9156         * scripts/rellns-sh: Likewise.
9157         * scripts/test-installation.pl: Likewise.
9158         * scripts/update-copyrights: Likewise.
9159         * stdio-common/tst-printf.sh: Likewise.
9160         * stdio-common/tst-unbputc.sh: Likewise.
9161         * stdlib/tst-fmtmsg.sh: Likewise.
9162         * stdlib/tst-setcontext3.sh: Likewise.
9163         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9164         * sysdeps/unix/make-syscalls.sh: Likewise.
9166 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9168         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9169         asm stw with atomic_exchange_rel.  Add explanatory comment.
9170         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9171         Likewise.
9173 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9175         [BZ #19122]
9176         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9177         * sysdeps/generic/dl-unistd.h: New file.
9178         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9180 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9182          [BZ #19122]
9183          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9184          * sysdeps/generic/dl-mman.h: New file.
9185          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9187 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9189         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9190         trailing whitespace removed.
9191         * scripts/config.guess: Update to version 2016-01-01.
9192         * scripts/config.sub: Update to version 2016-01-01.
9193         * scripts/move-if-change: Update from gnulib.
9195 2016-01-04  Anton Blanchard  <anton@samba.org>
9197         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9198         for array indices.
9199         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9201 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9203         * NEWS: Update copyright dates.
9204         * catgets/gencat.c (print_version): Likewise.
9205         * csu/version.c (banner): Likewise.
9206         * debug/catchsegv.sh: Likewise.
9207         * debug/pcprofiledump.c (print_version): Likewise.
9208         * debug/xtrace.sh (do_version): Likewise.
9209         * elf/ldconfig.c (print_version): Likewise.
9210         * elf/ldd.bash.in: Likewise.
9211         * elf/pldd.c (print_version): Likewise.
9212         * elf/sotruss.sh: Likewise.
9213         * elf/sprof.c (print_version): Likewise.
9214         * iconv/iconv_prog.c (print_version): Likewise.
9215         * iconv/iconvconfig.c (print_version): Likewise.
9216         * locale/programs/locale.c (print_version): Likewise.
9217         * locale/programs/localedef.c (print_version): Likewise.
9218         * login/programs/pt_chown.c (print_version): Likewise.
9219         * malloc/memusage.sh (do_version): Likewise.
9220         * malloc/memusagestat.c (print_version): Likewise.
9221         * malloc/mtrace.pl: Likewise.
9222         * manual/libc.texinfo: Likewise.
9223         * nptl/version.c (banner): Likewise.
9224         * nscd/nscd.c (print_version): Likewise.
9225         * nss/getent.c (print_version): Likewise.
9226         * nss/makedb.c (print_version): Likewise.
9227         * posix/getconf.c (main): Likewise.
9228         * scripts/test-installation.pl: Likewise.
9229         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9231         * All files with FSF copyright notices: Update copyright dates
9232         using scripts/update-copyrights.
9233         * intl/plural.c: Regenerated.
9234         * locale/programs/charmap-kw.h: Likewise.
9235         * locale/programs/locfile-kw.h: Likewise.
9237 2016-01-02  Helge Deller  <deller@gmx.de>
9239         [BZ #19285]
9240         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9241         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9242         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9243         (MADV_xxK_PAGES): Remove.
9245 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9247         [BZ #15421]
9248         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9249         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9250         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9251         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9253 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9255         [BZ #19408]
9256         * sysdeps/unix/sysv/linux/personality.c: New file.
9257         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9258         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9259         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9260         (sysdep_routines): Add personality.
9261         (tests): Add tst-personality.
9262         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9263         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9264         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9265         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9266         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9267         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9268         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9269         Likewise.
9270         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9271         Likewise.
9272         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9273         Likewise.
9274         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9275         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9276         Likewise.
9278 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9280         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9281         (PATH_ARM_SYSTYPE): Remove.
9282         (PATH_CPUINFO): Likewise.
9283         (IO_BASE_FOOTBRIDGE): Likewise.
9284         (IO_SHIFT_FOOTBRIDGE): Likewise.
9285         (struct platform): Likewise.
9286         (init_iosys): Remove compatibility code for 2.4 kernels.
9287         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9289 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9291         * malloc/tst-malloc-thread-fail.c: New file.
9292         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9293         (tst-malloc-thread-fail): Link against libpthread.
9295 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9297         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9298         (get_parser): New function.
9299         (main): New function.
9301 2015-12-29  Rob Wu  <rob@robwu.nl>
9303         [BZ #19369]
9304         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9306 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9308         [BZ #19270]
9309         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9311 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9313         [BZ #15421]
9314         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9316 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9318         [BZ #13690]
9319         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9320         after releasing it.
9321         (__lll_robust_unlock): Likewise.
9322         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9323         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9324         (lll_robust_unlock): Likewise.
9325         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9326         Prevent warnings in callers.
9328 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9330         * malloc/arena.c (list_lock): Update comment.
9332 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9334         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9335         __parse_hwcap_and_convert_at_platform to libc.a.
9337 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9339         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9340         platform and feature support for POWER9.
9341         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9342         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9343         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9344         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9345         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9346         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9347         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9348         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9350 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9352         Harmonize generic stdio-lock support with nptl
9354         This fixes build when _IO_funlockfile is a macro, fixes build where
9355         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9356         stack unwind.
9358         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9359         _IO_release_lock ): Use cleanup attribute on new
9360         _IO_acquire_lock_file variable instead of assuming that
9361         _IO_release_lock will be called.
9362         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9363         _IO_acquire_lock_needs_exceptions_enabled.
9364         (_IO_acquire_lock_clear_flags2): New macro.
9366 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9368         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9370 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9372         [BZ #19182]
9373         * malloc/arena.c (list_lock): Document lock ordering requirements.
9374         (free_list_lock): New lock.
9375         (ptmalloc_lock_all): Comment on free_list_lock.
9376         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9377         (detach_arena): Update comment.  free_list_lock is now needed.
9378         (_int_new_arena): Use free_list_lock around detach_arena call.
9379         Acquire arena lock after list_lock.  Add comment, including FIXME
9380         about incorrect synchronization.
9381         (get_free_list): Switch to free_list_lock.
9382         (reused_arena): Acquire free_list_lock around detach_arena call
9383         and attached threads counter update.  Add two FIXMEs about
9384         incorrect synchronization.
9385         (arena_thread_freeres): Switch to free_list_lock.
9386         * malloc/malloc.c (struct malloc_state): Update comments to
9387         mention free_list_lock.
9389 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9391         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9392         Remove functions.
9393         (sloww, sloww1): Accept argument to offset quadrant.
9394         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9395         quadrant.
9396         (__sin, __cos): Consolidate common code into new functions.
9397         (reduce_sincos_1, do_sincos_1): New functions.
9398         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9400         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9401         code to new functions.
9402         (reduce_sincos_2, do_sincos_2): New functions.
9403         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9406         common code for sincos.
9407         (__cos) [!IN_SINCOS]: Likewise.
9408         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9409         New function.
9410         (__sincos): Use it.
9412 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9414         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9415         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9416         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9418 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9420         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9423         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9424         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9425         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9426         index_Prefer_No_VZEROUPPER): New feature.
9427         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9428         Prefer_No_VZEROUPPER for Knights Landing.
9430 015-12-18  Torvald Riegel  <triegel@redhat.com>
9432         * math/atest-exp2.c (mp_exp_m1): Remove.
9434 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9436         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9437         syscalls.
9438         (__SYSCALL0): New macro.
9439         (__SYSCALL1): Likewise.
9440         (__SYSCALL2): Likewise.
9441         (__SYSCALL3): Likewise.
9442         (__SYSCALL4): Likewise.
9443         (__SYSCALL5): Likewise.
9444         (__SYSCALL6): Likewise.
9445         (__SYSCALL_CONCAT_X): Likewise.
9446         (__SYSCALL_CONCAT): Likewise.
9447         (__SYSCALL_DIST): Likewise.
9448         (__SYSCALL_CALL): Likewise.
9450 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9452         [BZ #19363]
9453         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9455 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9457         [BZ #19375]
9458         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9459         negative subnormals.
9461 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9464         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9465         (INTERNAL_SYSCALL_NCS): Use it.
9466         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9468 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9470         [BZ #19243]
9471         * malloc/arena.c (get_free_list): Remove assert and adjust
9472         reference count handling.  Add comment about reused_arena
9473         interaction.
9474         (reused_arena): Add comments abount get_free_list interaction.
9475         * malloc/tst-malloc-thread-exit.c: New file.
9476         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9477         (tst-malloc-thread-exit): Link against libpthread.
9479 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9481         [BZ #19367]
9482         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9483         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9484         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9485         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9486         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9488 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9490         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9491         Silvermont optimizations for Knights Landing.
9493 2015-12-15  Andreas Schwab  <schwab@suse.de>
9495         [BZ #17197]
9496         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9497         immediately after emitting SI.
9498         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9499         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9500         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9501         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9502         * iconvdata/bug-iconv10.c: New file.
9503         * iconvdata/Makefile (tests): Add bug-iconv10.
9504         ($(objpfx)bug-iconv10.out): New rule.
9506 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9508         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9509         aliasing violation.
9511 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9513         [BZ #18472]
9514         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9515         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9516         conditionals for them.
9517         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9518         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9520         sys/kdaemon.h.
9521         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9522         compat-only syscall, obsoleted in glibc 2.23.
9523         (create_module): Likewise.
9524         (get_kernel_syms): Likewise.
9525         (query_module): Likewise.
9526         (uselib): Likewise.
9527         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9529 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9531         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9532         <linux/version.h>.
9533         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9534         conditional code.
9535         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9536         and ioshift_name initialization.
9538 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9540         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9541         Fix indentation.
9543 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9545         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9547 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9549         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9551 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9552             Jakub Wilk  <jwilk@debian.org>
9554         [BZ #19347]
9555         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9556         to change the group of the device to the tty group.
9558 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9560         Split large string section; add truncation advice
9561         * manual/examples/strncat.c: Remove.
9562         This example was misleading, as the code would have undefined
9563         behavior if "hello" was longer than SIZE.  Anyway, the manual
9564         shouldn't encourage strncpy+strncat for this sort of thing.
9565         * manual/string.texi (Copying Strings and Arrays): Split into
9566         three sections Copying Strings and Arrays, Concatenating Strings,
9567         and Truncating Strings, as this section was way too long.  All
9568         cross-referenced changed.  Add advice about string-truncation
9569         functions.  Remove misleading strncat example.
9571 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9573         * manual/nss.texi (NSS Modules Interface): Document
9574         NSS_STATUS_NOTFOUND and SUCCESS.
9576 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9578         [BZ 18568]
9579         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9580         201505L, for Unicode 8.
9582 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9584         * locale/C-translit.h: Regenerate.
9586 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9588         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9589         and U+0153.
9591 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9593         [BZ #19351]
9594         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9595         expanding log(1+z), compare z rather than its square with epsilon
9596         to determine when to avoid evaluating the expansion.
9598         [BZ #19350]
9599         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9600         Increase overflow threshold.
9602         [BZ #19349]
9603         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9604         when small.
9606         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9607         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9608         New macro.
9609         [__LINUX_KERNEL_VERSION >= 0x040300]
9610         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9611         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9612         Likewise.
9613         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9614         Likewise.
9615         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9616         Likewise.
9617         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9618         Likewise.
9619         [__LINUX_KERNEL_VERSION >= 0x040300]
9620         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9621         [__LINUX_KERNEL_VERSION >= 0x040300]
9622         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9623         [__LINUX_KERNEL_VERSION >= 0x040300]
9624         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9625         [__LINUX_KERNEL_VERSION >= 0x040300]
9626         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9627         [__LINUX_KERNEL_VERSION >= 0x040300]
9628         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9629         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9630         Likewise.
9631         [__LINUX_KERNEL_VERSION >= 0x040300]
9632         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9633         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9634         Likewise.
9635         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9636         Likewise.
9637         [__LINUX_KERNEL_VERSION >= 0x040300]
9638         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9639         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9640         Likewise.
9641         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9642         Likewise.
9643         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9644         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9645         Likewise.
9646         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9647         Likewise.
9648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9649         Likewise.
9650         [__LINUX_KERNEL_VERSION >= 0x040300]
9651         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9652         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9653         Likewise.
9654         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9655         Likewise.
9656         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9657         Likewise.
9658         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9659         Likewise.
9660         [__LINUX_KERNEL_VERSION >= 0x040300]
9661         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9662         [__LINUX_KERNEL_VERSION >= 0x040300]
9663         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9664         [__LINUX_KERNEL_VERSION >= 0x040300]
9665         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9666         [__LINUX_KERNEL_VERSION >= 0x040300]
9667         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9668         [__LINUX_KERNEL_VERSION >= 0x040300]
9669         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9670         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9671         Likewise.
9672         [__LINUX_KERNEL_VERSION >= 0x040300]
9673         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9674         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9675         Likewise.
9676         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9677         Likewise.
9678         [__LINUX_KERNEL_VERSION >= 0x040300]
9679         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9680         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9681         Likewise.
9682         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9683         Likewise.
9684         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9685         (__ASSUME_SOCKET_SYSCALL): Likewise.
9686         (__ASSUME_BIND_SYSCALL): Likewise.
9687         (__ASSUME_CONNECT_SYSCALL): Likewise.
9688         (__ASSUME_LISTEN_SYSCALL): Likewise.
9689         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9690         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9691         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9692         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9693         (__ASSUME_SEND_SYSCALL): Likewise.
9694         (__ASSUME_SENDTO_SYSCALL): Likewise.
9695         (__ASSUME_RECV_SYSCALL): Likewise.
9696         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9697         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9698         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9699         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9700         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9701         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9702         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9703         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9704         Likewise.
9705         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9706         Likewise.
9707         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9708         Likewise.
9709         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9710         Likewise.
9711         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9712         Likewise.
9713         [__LINUX_KERNEL_VERSION >= 0x020625]
9714         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9715         [__LINUX_KERNEL_VERSION >= 0x020625]
9716         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9717         [__LINUX_KERNEL_VERSION >= 0x020625]
9718         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9719         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9720         Likewise.
9721         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9722         Likewise.
9723         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9724         Likewise.
9725         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9726         Likewise.
9727         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9728         Likewise.
9729         [__LINUX_KERNEL_VERSION >= 0x020625]
9730         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9731         [__LINUX_KERNEL_VERSION >= 0x020625]
9732         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9733         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9734         Likewise.
9735         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9736         Likewise.
9738 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9740         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9741         record the current if the current ABI and CPU support the FP64
9742         extension.
9743         (has-modd-spreg): Define to record the current if the current ABI and
9744         CPU support 32-bit floating point values in odd FPU registers.
9745         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9746         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9747         $(has-modd-spreg) equals yes.
9748         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9749         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9750         $(has-modd-spreg) equal yes.
9752 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9754         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9755         basename.
9757 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9759         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9760         (bench-string): ... here.
9761         (bench): Add bench-string.
9762         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9763         to *-benchset to reflect what they are.
9764         (benchset): Adjust.
9766         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9767         cos-inputs.
9769 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9771         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9772         __attribute__ ((__simd__)) for vector math function declarations.
9774 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9776         Fix typo in strncat, wcsncat manual entries
9777         * manual/string.texi (Copying and Concatenation): Fix typos in
9778         sample implementations of strncat and wcsncat, by having them use
9779         the old value of the destination length, not the new one.
9781 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9783         [BZ #16961]
9784         [BZ #16962]
9785         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9786         string on the stack for strtod.
9787         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9788         a string on the stack for strtof.
9789         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9790         constructing a string on the stack for strtold.
9791         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9792         __strtold_nan to GLIBC_PRIVATE.
9793         * math/test-nan-overflow.c: New file.
9794         * math/test-nan-payload.c: Likewise.
9795         * math/Makefile (tests): Add test-nan-overflow and
9796         test-nan-payload.
9798 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9800         Consistency about byte vs character in string.texi
9801         * manual/string.texi (String and Array Utilities):
9802         Distinguish more carefully among bytes, multibyte characters,
9803         and wide characters.  Use "byte" when talking about C 'char',
9804         to distinguish it more clearly from multibyte characters.
9805         Say "wide character" or "multibyte character" instead of
9806         "character", when a wide or multibyte character is intended.
9807         Similarly for "multibyte string" versus "string".
9808         Define these terms more carefully.
9810 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9812         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9813         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9814         Likewise.
9815         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9816         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9817         * sysdeps/sh/math_private.h: New file.
9818         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9819         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9820         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9821         long double function name.
9822         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9823         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9824         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9825         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9826         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9828         Remove __finitel, __isinfl, and __isnanl.
9829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9830         Likewise.
9831         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9833         Remove __finitel.
9834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9835         Likewise.
9836         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9838 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9840         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9841         installed libmvec_nonshared.a.
9843 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9845         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9846         (sysdep_routines): Likewise.
9847         (sysdep-rtld-routines): Likewise.
9848         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9849         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9850         * sysdeps/powerpc/Versions: Added new
9851         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9852         * sysdeps/powerpc/hwcapinfo.c: New file.
9853         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9854         and parse hwcap, hwcap2 and platform number information.
9855         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9856         to store HWCAP+HWCAP2 and platform number.
9857         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9858         for HWCAP+HWCAP2 and platform number in the TCB.
9859         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9860         the HWCAP, HWCAP2 and platform number in the TCB.
9861         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9862         (TLS_INIT_TP): Included calls to add the hwcap and
9863         at_platform values in the TCB in TP initialization.
9864         (TLS_DEFINE_INIT_TP): Likewise.
9865         (THREAD_GET_HWCAP): New macro.
9866         (THREAD_SET_HWCAP): Likewise.
9867         (THREAD_GET_AT_PLATFORM): Likewise.
9868         (THREAD_SET_AT_PLATFORM): Likewise.
9869         * sysdeps/powerpc/powerpc32/dl-machine.h:
9870         (dl_platform_init): New function that calls
9871         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9872         powerpc32.
9873         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9874         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9875         this functionality, static linking case.
9876         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9877         linking case.
9878         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9879         __parse_hwcap_and_convert_at_platform for the static linking case.
9880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9881         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9882         ABI list for GLIBC 2.23.
9883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9884         Likewise.
9885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9886         Likewise.
9888 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9890         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9891         * configure: Regenerate.
9892         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9893         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9895 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9897         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9898         * iconvdata/ibm933.c: Likewise.
9899         * iconvdata/ibm935.c: Likewise.
9900         * iconvdata/ibm937.c: Likewise.
9901         * iconvdata/ibm939.c: Likewise.
9903 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9905         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9906         pthread_join.
9907         * nptl/tst-cancel21.c (tf): Likewise.
9909 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9911         [BZ #19313]
9912         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9913         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9914         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9915         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9916         Likewise.
9917         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9918         Likewise.
9919         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9920         Likewise.
9921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9922         Likewise.
9923         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9924         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9925         unsigned long int with __CPU_MASK_TYPE.
9927 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9929         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9931 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9933         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9934         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9935         t512.x.
9936         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9938 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9940         [BZ #19214]
9941         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9942         argument to return extended model.  Update family and model
9943         with extended family and model when family == 0x0f.
9944         (init_cpu_features): Updated.
9946 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9948         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9949         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9951         * sysdeps/mach/hurd/mmap64.c: New file.
9953 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9955         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9956         rights for its main user thread in NEWTASK.
9958 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9960         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9961         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9963 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9965         [BZ #14259]
9966         * Makeconfig: Rename localedir to complocaledir.
9967         Rename inst_localedir to inst_complocaledir.
9968         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9969         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9970         * configure.ac: Use libc_cv_complocaledir.
9971         * configure: Regenerate.
9972         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9973         -DCOMPLOCALEDIR.
9974         * locale/findlocale.c: Use COMPLOCALEDIR.
9975         * locale/loadarchive.c: Likewise.
9976         * locale/programs/locale.c: Likewise.
9977         * locale/programs/localedef.c: Likewise.
9978         * locale/programs/locarchive.c: Likewise.
9979         * localedata/Makefile: Use inst_complocaledir.
9980         * sysdeps/gnu/configure: Regenerate.
9981         * sysdeps/hppa/configure: Regenerate.
9982         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9983         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9985         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9986         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9987         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9988         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9990 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9992         [BZ #19058]
9993         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9994         AS_NEEDED.
9995         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9996         workaround.
9997         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9998         libmvec-static-only-routines): Added new file.
9999         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10001 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10003         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10004         of interrupted RPC instead of restoring it.
10006         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10007         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10008         libc_hidden_def.
10009         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10010         into initialized data instead of common. Define rtld_hidden_data_def.
10011         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10012         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10013         libc_hidden_def.
10014         (if_freenameindex): Add libc_hidden_weak.
10015         (if_nameindex): Add libc_hidden_weak.
10016         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10017         __open64.
10018         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10019         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10020         * sysdeps/mach/nanosleep.c: Include <time.h>
10021         (__nanosleep): Rename to __libc_nanosleep.
10022         (__nanosleep): Add weak_alias.
10023         (nanosleep): Update alias.
10025 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10027         * stdlib/strtod_nan.c: New file.
10028         * stdlib/strtod_nan_double.h: Likewise.
10029         * stdlib/strtod_nan_float.h: Likewise.
10030         * stdlib/strtod_nan_main.c: Likewise.
10031         * stdlib/strtod_nan_narrow.h: Likewise.
10032         * stdlib/strtod_nan_wide.h: Likewise.
10033         * stdlib/strtof_nan.c: Likewise.
10034         * stdlib/strtold_nan.c: Likewise.
10035         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10036         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10037         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10038         * wcsmbs/wcstod_nan.c: Likewise.
10039         * wcsmbs/wcstof_nan.c: Likewise.
10040         * wcsmbs/wcstold_nan.c: Likewise.
10041         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10042         strtold_nan.
10043         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10044         wcstof_nan.
10045         * include/stdlib.h (__strtof_nan): Declare and use
10046         libc_hidden_proto.
10047         (__strtod_nan): Likewise.
10048         (__strtold_nan): Likewise.
10049         (__wcstof_nan): Likewise.
10050         (__wcstod_nan): Likewise.
10051         (__wcstold_nan): Likewise.
10052         * include/wchar.h (____wcstoull_l_internal): Declare.
10053         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10054         (____strtoull_l_internal): Remove declaration.
10055         (STRTOF_NAN): Define macro.
10056         (SET_MANTISSA): Remove macro.
10057         (STRTOULL): Likewise.
10058         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10059         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10060         (STRTOF_NAN): Define macro.
10061         (SET_MANTISSA): Remove macro.
10062         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10063         (SET_MANTISSA): Remove macro.
10064         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10065         macro.
10066         (SET_MANTISSA): Remove macro.
10067         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10068         macro.
10069         (SET_MANTISSA): Remove macro.
10070         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10071         (SET_MANTISSA): Remove macro.
10072         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10073         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10074         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10076         [BZ #19266]
10077         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10078         upper case and lower case letters inside NAN(), not using TOLOWER.
10079         * stdlib/tst-strtod-nan-locale-main.c: New file.
10080         * stdlib/tst-strtod-nan-locale.c: Likewise.
10081         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10082         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10083         Depend on $(gen-locales).
10084         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10085         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10086         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10087         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10088         Depend on $(gen-locales).
10089         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10091 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10093         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10095         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10097         __finitel, __isinfl, and __isnanl.
10098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10099         Likewise.
10100         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10102         __finitel.
10103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10104         Likewise.
10105         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10107 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10109         * malloc/memusage.c (me): Remove redundant getenv call.
10111 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10113         [BZ #19143]
10114         [BZ #19164]
10115         * nptl/check-cpuset.h: Remove.
10116         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10117         Remove CPU set size check.
10118         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10119         Likewise.
10120         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10121         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10122         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10123         (__pthread_setaffinity_new): Remove CPU set size check.
10124         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10125         (__kernel_cpumask_size): Remove.
10126         (__sched_setaffinity_new): Remove CPU set size check.
10127         * manual/threads.texi (Default Thread Attributes): Remove stale
10128         reference to check_cpuset_attr, determine_cpumask_size in comment.
10129         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10130         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10131         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10132         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10133         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10134         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10135         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10136         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10137         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10138         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10139         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10140         skeleton test file.
10141         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10142         tst-affinity-pid.
10144 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10146         * scripts/update-abilist.sh: New file.
10147         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10148         * Makerules (update-all-abi-%, update-all-abi)
10149         (subdir_update-all-abi): New targets.
10150         * elf/Makefile (update-all-abi): New target.
10152 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10154         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10155         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10156         (__libc_lock_define_initialized): Use it.
10157         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10158         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10159         * malloc/malloc.c (main_arena): Likewise.
10160         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10161         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10163 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10165         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10166         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10167         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10168         (PTRACE_O_MASK): Update value.
10169         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10170         New value in enum __ptrace_setoptions.
10171         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10172         (PTRACE_O_MASK): Update value.
10173         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10174         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10175         (PTRACE_O_MASK): Update value.
10176         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10177         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10178         (PTRACE_O_MASK): Update value.
10179         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10180         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10181         (PTRACE_O_MASK): Update value.
10182         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10183         New value in enum __ptrace_setoptions.
10184         (PTRACE_O_MASK): Update value.
10185         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10186         New value in enum __ptrace_setoptions.
10187         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10188         (PTRACE_O_MASK): Update value.
10190         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10191         New macro.
10192         (PACKET_AUXDATA): Likewise.
10193         (PACKET_ORIGDEV): Likewise.
10194         (PACKET_VERSION): Likewise.
10195         (PACKET_HDRLEN): Likewise.
10196         (PACKET_RESERVE): Likewise.
10197         (PACKET_TX_RING): Likewise.
10198         (PACKET_LOSS): Likewise.
10199         (PACKET_VNET_HDR): Likewise.
10200         (PACKET_TX_TIMESTAMP): Likewise.
10201         (PACKET_TIMESTAMP): Likewise.
10202         (PACKET_FANOUT): Likewise.
10203         (PACKET_TX_HAS_OFF): Likewise.
10204         (PACKET_QDISC_BYPASS): Likewise.
10205         (PACKET_ROLLOVER_STATS): Likewise.
10206         (PACKET_FANOUT_DATA): Likewise.
10207         (PACKET_MR_UNICAST): Likewise.
10209         [BZ #19242]
10210         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10211         (TOUPPER): Likewise.
10212         * stdlib/tst-strtol-locale-main.c: New file.
10213         * stdlib/tst-strtol-locale.c: Likewise.
10214         * stdlib/Makefile (tests): Add tst-strtol-locale.
10215         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10216         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10217         Depend on $(gen-locales).
10218         * wcsmbs/tst-wcstol-locale.c: New file.
10219         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10220         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10221         tr_TR.ISO-8859-9.
10222         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10223         Depend on $(gen-locales).
10225 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10227         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10228         __glibc_likely instead of __builtin_expect.  After falling back to
10229         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10230         system interface to register the code pages as occupied.
10232 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10234         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10235         [!ARM_MATH_PRIVATE_H].
10236         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10237         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10238         [!HPPA_MATH_PRIVATE_H].
10239         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10240         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10241         to [!I386_MATH_PRIVATE_H].
10242         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10243         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10244         Change guard to [!M68K_MATH_PRIVATE_H].
10245         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10246         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10247         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10248         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10249         macro.
10250         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10251         [!MIPS_MATH_PRIVATE_H].
10252         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10253         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10254         [!NIO2_MATH_PRIVATE_H].
10255         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10256         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10257         [!TILE_MATH_PRIVATE_H].
10258         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10260         [BZ #15421]
10261         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10262         initialize with 0 and define as weak alias of __signgam.
10263         * include/math.h [!_ISOMAC] (__signgam): Declare.
10264         * math/Makefile (libm-calls): Add w_lgamma_compat.
10265         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10266         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10267         test-signgam-ullong-init.
10268         (tests-static): Add test-signgam-uchar-static,
10269         test-signgam-uchar-init-static, test-signgam-uint-static,
10270         test-signgam-uint-init-static, test-signgam-ullong-static and
10271         test-signgam-ullong-init-static.
10272         (CFLAGS-test-signgam-uchar.c): New variable.
10273         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10274         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10275         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10276         (CFLAGS-test-signgam-uint.c): Likewise.
10277         (CFLAGS-test-signgam-uint-init.c): Likewise.
10278         (CFLAGS-test-signgam-uint-static.c): Likewise.
10279         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10280         (CFLAGS-test-signgam-ullong.c): Likewise.
10281         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10282         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10283         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10284         * math/Versions (libm): Add GLIBC_2.23.
10285         * math/lgamma-compat.h: New file.
10286         * math/test-signgam-main.c: Likewise.
10287         * math/test-signgam-uchar-init-static.c: Likewise.
10288         * math/test-signgam-uchar-init.c: Likewise.
10289         * math/test-signgam-uchar-static.c: Likewise.
10290         * math/test-signgam-uchar.c: Likewise.
10291         * math/test-signgam-uint-init-static.c: Likewise.
10292         * math/test-signgam-uint-init.c: Likewise.
10293         * math/test-signgam-uint-static.c: Likewise.
10294         * math/test-signgam-uint.c: Likewise.
10295         * math/test-signgam-ullong-init-static.c: Likewise.
10296         * math/test-signgam-ullong-init.c: Likewise.
10297         * math/test-signgam-ullong-static.c: Likewise.
10298         * math/test-signgam-ullong.c: Likewise.
10299         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10300         wrapper of w_lgamma_main.c.
10301         * math/w_lgamma_compat.c: New file.
10302         * math/w_lgamma_compatf.c: Likewise.
10303         * math/w_lgamma_compatl.c: Likewise.
10304         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10305         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10306         defining compatibility symbols.
10307         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10308         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10309         wrapper of w_lgammaf_main.c.
10310         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10311         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10312         defining compatibility symbols.
10313         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10314         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10315         wrapper of w_lgammal_main.c.
10316         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10317         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10318         defining compatibility symbols.
10319         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10320         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10321         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10322         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10323         <lgamma-compat.h>.
10324         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10325         (__ieee754_gamma): Define as alias.
10326         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10327         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10328         <lgamma-compat.h>.
10329         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10330         (__ieee754_gammaf): Define as alias.
10331         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10332         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10333         <lgamma-compat.h>.
10334         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10335         (__ieee754_gammal): Define as alias.
10336         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10337         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10338         <math/w_lgamma_compat.c>.
10339         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10340         Define as alias of __lgamma_compat and use in defining lgammal.
10341         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10342         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10343         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10344         (USE_AS_COMPAT): New macro.
10345         (LGAMMA_OLD_VER): Undefine and redefine.
10346         (lgammal): Do not define here.
10347         (gammal): Only define here if [GAMMA_ALIAS].
10348         * conform/linknamespace.pl (@whitelist): Remove signgam.
10349         * sysdeps/nacl/libm.abilist: Update.
10350         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10352         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10353         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10354         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10355         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10356         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10357         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10358         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10359         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10360         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10361         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10363         Likewise.
10364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10365         Likewise.
10366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10367         Likewise.
10368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10369         Likewise.
10370         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10371         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10372         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10373         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10374         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10376         Likewise.
10377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10378         Likewise.
10379         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10380         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10381         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10383 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10385         [BZ #16364]
10386         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10387         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10389 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10391         * sysdeps/s390/fpu/bits/mathinline.h:
10392         Use __asm__ [__volatile__] instead of asm [volatile].
10393         * sysdeps/s390/abort-instr.h: Likewise.
10394         * sysdeps/s390/atomic-machine.h: Likewise.
10395         * sysdeps/s390/bits/string.h: Likewise.
10396         * sysdeps/s390/dl-tls.h: Likewise.
10397         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10398         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10399         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10400         * sysdeps/s390/fpu/fesetround.c: Likewise.
10401         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10402         * sysdeps/s390/fpu/s_fma.c: Likewise.
10403         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10404         * sysdeps/s390/memusage.h: Likewise.
10405         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10406         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10407         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10408         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10409         * sysdeps/s390/nptl/tls.h: Likewise.
10410         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10411         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10412         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10413         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10414         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10415         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10416         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10417         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10418         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10419         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10420         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10421         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10422         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10423         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10424         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10425         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10426         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10427         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10428         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10430         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10431         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10432         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10434 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10435             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10437         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10438         Add lwarx hint, and use macro for acquire instruction.
10439         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10440         Likewise.
10441         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10442         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10443         update to use new atomic macros.
10445 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10447         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10448         (__lll_trylock_elision): Fix setting of adapt_count.
10449         * sysdeps/unix/sysv/linux/powerpc/htm.h
10450         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10451         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10452         (_ABORT_SYSCALL): Renumber, and clarify definition.
10453         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10455 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10457         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10458         after system headers to prevent MIN/MAX redefinition.  Define
10459         HAVE_ALLOCA to preserve builtin alloca usage.
10461 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10463         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10464         static and don't set or restore rounding.
10465         (__cos)[IN_SINCOS]: Likewise.
10466         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10467         (__sincos): Set and restore rounding mode.  Remove check for infinite
10468         or NaN input.
10470         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10472         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10473         as used.
10475 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10477         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10479 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10481         * config.make.in (have-glob-dat-reloc): New.
10482         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10483         target supports GLOB_DAT relocaton. AC_SUBST.
10484         * configure: Regenerated.
10485         * elf/Makefile (tests): Add tst-prelink.
10486         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10487         (tst-prelink-ENV): New.
10488         ($(objpfx)tst-prelink-conflict.out): Likewise.
10489         ($(objpfx)tst-prelink-cmp.out): Likewise.
10490         * sysdeps/x86/tst-prelink.c: Moved to ...
10491         * elf/tst-prelink.c: Here.
10492         * sysdeps/x86/tst-prelink.exp: Moved to ...
10493         * elf/tst-prelink.exp: Here.
10494         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10495         (tst-prelink-ENV): Removed.
10496         ($(objpfx)tst-prelink-conflict.out): Likewise.
10497         ($(objpfx)tst-prelink-cmp.out): Likewise.
10498         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10500 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10502         [BZ #14551]
10503         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10504         (__mpn_construct_long_double): If high part overflows to infinity,
10505         set errno and recompute overflowed result of the correct sign.
10506         * sysdeps/ieee754/ldbl-128ibm/Makefile
10507         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10508         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10509         $(libm).
10510         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10512 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10514         [BZ #15479]
10515         [BZ #19238]
10516         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10517         floating-point state after first operation on input.  Restore full
10518         state rather than just rounding mode.
10519         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10520         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10521         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10523         [BZ #19235]
10524         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10525         add 0.5 to integer arguments.
10526         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10527         Likewise.
10528         (.LC2): New object.
10530 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10532         * scripts/pylintrc (reports): Set to no.
10534 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10536         * elf/dl-load.c (open_verify): Take new argument FD.
10537         Skip __open call if passed FD is not -1.
10538         (_dl_map_object, open_path): Update callers.
10539         * elf/dl-sysdep-open.h: New file.
10540         * elf/dl-load.c: Include it.
10541         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10542         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10543         * sysdeps/nacl/dl-sysdep-open.h: New file.
10544         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10545         from libc to rtld.
10547 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10549         [BZ #19228]
10550         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10551         and restore full floating-point state.
10552         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10553         Likewise.
10554         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10555         Likewise.
10556         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10557         Likewise.
10558         * math/test-nearbyint-except-2.c: New file.
10559         * math/Makefile (tests): Add test-nearbyint-except-2.
10561 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10563         [BZ #19178]
10564         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10565         (tst-prelink-ENV): New.
10566         ($(objpfx)tst-prelink-conflict.out): Likewise.
10567         ($(objpfx)tst-prelink-cmp.out): Likewise.
10568         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10569         * sysdeps/x86/tst-prelink.c: New file.
10570         * sysdeps/x86/tst-prelink.exp: Likewise.
10572 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10574         * math/auto-libm-test-in: Add another test of pow.
10575         * math/auto-libm-test-out: Regenerated.
10576         * math/libm-test.inc (pow_test_data): Add another test.
10578 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10580         [BZ #19219]
10581         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10582         weak_alias to nearbyintl.
10584 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10586         * sysdeps/aarch64/bits/string.h: New file.
10587         (_STRING_ARCH_unaligned): Define.
10589 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10591         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10592         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10593         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10594         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10597 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10599         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10600         for original name of the DSO.  Add it to the name list of the DSO
10601         if it is actually given.
10602         (_dl_map_object): Keep track of whether an audit module rewrote
10603         the file name.  If yes, pass the original name to
10604         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10605         debugging is enabled, log the change of the file name.
10606         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10607         _dl_map_object_from_fd.
10608         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10609         * elf/tst-audit11.c: New file
10610         * elf/tst-auditmod11.c: New file.
10611         * elf/tst-audit11mod1.c: New file.
10612         * elf/tst-audit11mod2.c: New file.
10613         * elf/tst-audit11mod2.map: New file.
10614         * elf/tst-audit12.c: New file
10615         * elf/tst-auditmod12.c: New file.
10616         * elf/tst-audit12mod1.c: New file.
10617         * elf/tst-audit12mod2.c: New file.
10618         * elf/tst-audit12mod2.map: New file.
10619         * elf/tst-audit12mod3.c: New file.
10621 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10623         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10624         Don't create weak aliases,
10625         because versioned symbols are created later.
10626         * sysdeps/s390/s390-32/setjmp.S
10627         (setjmp, _setjmp): Remove weak and rename to an unique name
10628         in SHARED case due to existing versioned symbols.
10629         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10630         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10631         (getcontext): Create weak alias only in non SHARED case.
10632         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10634 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10636         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10637         (__ASSUME_*_SYSCALL) Define new macros.
10638         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10639         Remove socketcall syscalls.
10640         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10641         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10642         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10643         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10644         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10645         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10647 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10649         [BZ #12926]
10650         Terminate process on invalid netlink response.
10651         * sysdeps/unix/sysv/linux/netlinkaccess.h
10652         (__netlink_assert_response): Declare.
10653         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10654         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10655         (sysdep_routines): Add netlink_assert_response.
10656         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10657         __netlink_assert_response.
10658         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10659         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10660         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10661         __netlink_assert_response.
10663 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10665         [BZ #19178]
10666         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10667         (RTYPE_CLASS_PLT): Likewise.
10668         (RTYPE_CLASS_COPY): Likewise.
10669         (RTYPE_CLASS_TLS): Likewise.
10670         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10671         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10672         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10673         DL_DEBUG_PRELINK.
10675 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10677         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10678         calls with argument -0.5.
10679         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10681         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10682         (libc_cv_z_nodlopen): Likewise.
10683         (libc_cv_z_initfirst): Likewise.
10684         * configure: Regenerated.
10686 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10688         Simplify abilist format to be line-based.
10689         * scripts/abilist.awk: Collect descriptors in the descs variable.
10690         (emit): Write descs variable and sort it
10691         externally, with sort.
10692         * sysdeps/**/*.abilist: Convert to new format.
10694 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10696         [BZ #11460]
10697         * io/Makefile (routines): Add fts64.
10698         (tests): Add tst-fts and tst-fts-lfs.
10699         (CFLAGS-fts64.c): New.
10700         * io/Versions (GLIBC_2.23): New.
10701         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10702         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10703         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10704         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10705         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10706         (FTSENT64): Likewise.
10707         (fts64_children): Likewise.
10708         (fts64_close): Likewise.
10709         (fts64_open): Likewise.
10710         (fts64_read): Likewise.
10711         (fts64_set): Likewise.
10712         * io/fts64.c: New file.
10713         * io/tst-fts.c: New test.
10714         * io/tst-fts-lfs.c: Likewise.
10715         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10716         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10717         fts64_set.
10718         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10719         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10720         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10721         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10722         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10723         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10724         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10725         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10726         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10727         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10728         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10729         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10730         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10732         Likewise.
10733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10734         Likewise.
10735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10737         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10738         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10739         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10740         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10741         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10744         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10745         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10746         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10747         * sysdeps/wordsize-64/fts.c: New file.
10748         * sysdeps/wordsize-64/fts64.c: Likewise.
10749         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10750         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10751         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10752         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10754 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10756         * math/libm-test.inc (NON_FINITE): New macro.
10757         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10758         * math/gen-libm-test.pl (show_exceptions): Add argument
10759         $non_finite.
10760         (parse_args): Update call to show_exceptions.
10761         * math/test-math-finite.h: New file.
10762         * math/test-math-no-finite.h: Likewise.
10763         * math/test-double-finite.c: Likewise.
10764         * math/test-float-finite.c: Likewise.
10765         * math/test-ldouble-finite.c: Likewise.
10766         * math/test-double.c: Include "test-math-no-finite.h".
10767         * math/test-float.c: Include "test-math-no-finite.h".
10768         * math/test-ldouble.c: Include "test-math-no-finite.h".
10769         * math/test-math-inline.h (TEST_FINITE): New macro.
10770         * math/test-math-vector.h (TEST_FINITE): Likewise.
10771         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10772         (libm-tests): Add test-float-finite and test-double-finite.
10773         ($(objpfx)test-float-finite.o): New dependency on
10774         $(objpfx)libm-test.stmp.
10775         ($(objpfx)test-double-finite.o): Likewise.
10776         ($(objpfx)test-ldouble-finite.o): Likewise.
10777         (libm-test-no-inline-cflags): New variable.
10778         (libm-test-finite-cflags): Likewise.
10779         (CFLAGS-test-float-finite.c): Likewise.
10780         (CFLAGS-test-double-finite.c): Likewise.
10781         (CFLAGS-test-ldouble-finite.c): Likewise.
10782         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10783         (CFLAGS-test-double.c): Likewise.
10784         (CFLAGS-test-ldouble.c): Likewise.
10786 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10788         * io/fcntl.c (__fcntl): Add ... to prototype.
10789         * misc/ioctl.c (__ioctl): Likewise.
10790         * misc/syscall.c (syscall): Likewise.
10792 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10794         * scripts/list-fixed-bugs.py: New file.
10796         [BZ #19213]
10797         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10798         returned for argument 1.
10799         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10800         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10801         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10802         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10803         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10804         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10806         [BZ #19211]
10807         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10808         __USE_XOPEN], not if [!__USE_ISOC99].
10809         (lgammaf): Likewise.
10810         (lgammal): Likewise.
10811         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10812         (gammaf): Likewise.
10813         (gammal): Likewise.
10814         * math/test-signgam-finite-c11.c: New file.
10815         * math/test-signgam-finite-c99.c: Likewise.
10816         * math/test-signgam-finite.c: Likewise.
10817         * math/Makefile (tests): Add test-signgam-finite,
10818         test-signgam-finite-c99 and test-signgam-finite-c11.
10819         (CFLAGS-test-signgam-finite.c): New variable.
10820         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10821         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10823         [BZ #19212]
10824         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10825         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10826         500].
10827         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10828         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10829         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10830         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10831         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10832         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10833         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10834         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10835         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10836         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10838         [BZ #19209]
10839         * math/bits/math-finite.h (ldexp): Remove declaration.
10840         (ldexpf): Likewise.
10841         (ldexpl): Likewise.
10843         [BZ #19205]
10844         * math/bits/math-finite.h (acosf): Condition declaration on
10845         [__USE_ISOC99].
10846         (acosl): Likewise.
10847         (acoshf): Likewise.
10848         (acoshl): Likewise.
10849         (asinf): Likewise.
10850         (asinl): Likewise.
10851         (atan2f): Likewise.
10852         (atan2l): Likewise.
10853         (atanhf): Likewise.
10854         (atanhl): Likewise.
10855         (coshf): Likewise.
10856         (coshl): Likewise.
10857         (expf): Likewise.
10858         (expl): Likewise.
10859         (fmodf): Likewise.
10860         (fmodl): Likewise.
10861         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10862         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10863         (j0l): Likewise.
10864         (y0f): Likewise.
10865         (y0l): Likewise.
10866         (j1f): Likewise.
10867         (j1l): Likewise.
10868         (y1f): Likewise.
10869         (y1l): Likewise.
10870         (jnf): Likewise.
10871         (jnl): Likewise.
10872         (ynf): Likewise.
10873         (ynl): Likewise.
10874         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10875         (lgammal_r): Likewise.
10876         (__lgamma_r_finite): New declaration.
10877         (__lgammaf_r_finite): Likewise.
10878         (__lgammal_r_finite): Likewise.
10879         (lgamma): Use __lgamma_r_finite.
10880         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10881         __lgammaf_r_finite.
10882         (lgammal): Condition definition on [__USE_ISOC99].  Use
10883         __lgammal_r_finite.
10884         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10885         __lgamma_r_finite.
10886         (gammaf): Condition definition on [__USE_ISOC99].  Use
10887         __lgammaf_r_finite.
10888         (gammal): Condition definition on [__USE_ISOC99].  Use
10889         __lgammal_r_finite.
10890         (logf): Condition declaration on [__USE_ISOC99].
10891         (logl): Likewise.
10892         (log10f): Likewise.
10893         (log10l): Likewise.
10894         (ldexpf): Likewise.
10895         (ldexpl): Likewise.
10896         (powf): Likewise.
10897         (powl): Likewise.
10898         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10899         __USE_ISOC99].
10900         (remainderf): Condition declaration on [__USE_ISOC99].
10901         (remainderl): Likewise.
10902         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10903         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10904         (scalbl): Likewise.
10905         (sinhf): Condition declaration on [__USE_ISOC99].
10906         (sinhl): Likewise.
10907         (sqrtf): Likewise.
10908         (sqrtl): Likewise.
10910 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10912         * sysdeps/arm/atomic-machine.h
10913         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10914         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10915         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10916         Remove conditional code.
10917         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10918         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10919         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10920         Change conditional to [__ASSEMBLER__].
10921         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10922         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10923         [!__ASSEMBLER__].
10924         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10925         code.
10926         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10927         conditional macro definitions.
10928         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10929         (__arch_compare_and_exchange_val_16_acq): Likewise.
10930         (__arch_compare_and_exchange_val_32_acq): Likewise.
10931         (atomic_exchange_and_add): Likewise.
10932         (atomic_add): Likewise.
10933         (atomic_add_negative): Likewise.
10934         (atomic_add_zero): Likewise.
10935         (atomic_bit_set): Likewise.
10936         (atomic_bit_test_set): Likewise.
10937         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10938         code unconditional.
10939         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10941         * math/test-math-errno.h: New file.
10942         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10943         empty.
10944         (TEST_ERRNO): New macro.
10945         (TEST_EXCEPTIONS): Likewise.
10946         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10947         (TEST_EXCEPTIONS): Likewise.
10948         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10949         * math/test-double.c: Include "test-math-errno.h".
10950         * math/test-float.c: Likewise.
10951         * math/test-ldouble.c: Likewise.
10952         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10953         code unconditional.
10954         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10955         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10956         unconditional.
10957         (test_errno): Only run code if TEST_ERRNO.
10958         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10960 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10962         * nptl/tst-once5.cc: Remove attribution.
10964 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10966         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10967         sqrt, tan, tanh, y0, y1 and yn.
10968         * math/auto-libm-test-out: Regenerated.
10969         * math/libm-test.inc (scalb_test_data): Add more tests.
10970         (scalbn_test_data): Likewise.
10971         (scalbln_test_data): Likewise.
10972         (signbit_test_data): Likewise.
10973         (sin_test_data): Likewise.
10974         (sincos_test_data): Likewise.
10975         (sinh_test_data): Likewise.
10976         (sqrt_test_data): Likewise.
10977         (tan_test_data): Likewise.
10978         (tanh_test_data): Likewise.
10979         (tgamma_test_data): Likewise.
10980         (y0_test_data): Likewise.
10981         (y1_test_data): Likewise.
10982         (yn_test_data): Likewise.
10983         (significand_test_data): Likewise.
10984         * sysdeps/i386/fpu/libm-test-ulps: Update.
10986 2015-11-03  David Kastrup  <dak@gnu.org>
10988         [BZ #18604]
10989         * assert/assert.h (assert): Don't macro-expand failed assertion
10990         expression in error message.
10991         * malloc/malloc.c (assert): Likewise.
10993 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10995         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10996         test.
10997         * configure: Regenerated.
10999 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11001         * math/libm-test.inc (modf_test_data): Add more tests.
11002         (nearbyint_test_data): Likewise.
11003         (nextafter_test_data): Likewise.
11004         (nexttoward_test_data): Likewise.
11005         (pow_test_data): Likewise.
11006         (remainder_test_data): Likewise.
11007         (remquo_test_data): Likewise.
11008         (rint_test_data): Likewise.
11010         [BZ #19201]
11011         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11012         Check for zero remainder in case of large exponents and ensure
11013         correct sign of result in that case.
11014         * math/libm-test.inc (remainder_test_data): Add more tests.
11016         [BZ #6799]
11017         * math/s_nextafter.c: Include <errno.h>.
11018         (__nextafter): Set errno on overflow and underflow.
11019         * math/s_nexttowardf.c: Include <errno.h>.
11020         (__nexttowardf): Set errno on overflow and underflow.
11021         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11022         (__nextafterl): Set errno on overflow and underflow.
11023         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11024         (__nexttoward): Set errno on overflow and underflow.
11025         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11026         (__nexttowardf): Set errno on overflow and underflow.
11027         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11028         (__nextafterf): Set errno on overflow and underflow.
11029         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11030         (__nextafterl): Set errno on overflow and underflow.
11031         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11032         (__nexttoward): Set errno on overflow and underflow.
11033         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11034         (__nexttowardf): Set errno on overflow and underflow.
11035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11036         (__nextafterl): Set errno on overflow and underflow.
11037         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11038         (__nexttoward): Set errno on overflow and underflow.
11039         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11040         (__nexttowardf): Set errno on overflow and underflow.
11041         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11042         (__nexttoward): Set errno on overflow and underflow.
11043         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11044         (__nexttowardf): Set errno on overflow and underflow.
11045         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11046         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11047         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11048         (__nextafterl): Set errno on overflow and underflow.
11049         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11050         setting to be missing on overflow.  Add more tests.
11051         (nexttoward_test_data): Likewise.
11053         * configure.ac (libc_cv_initfini_array): Remove configure test.
11054         * configure: Regenerated.
11056 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11058         [BZ #19189]
11059         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11060         non-finite argument handle arguments with negative sign.
11062         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11063         result from infinite argument.
11064         (j1_test_data): Likewise.
11065         (jn_test_data): Likewise.
11066         (y0_test_data): Likewise.
11067         (y1_test_data): Likewise.
11068         (yn_test_data): Likewise.
11070         [BZ #16171]
11071         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11072         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11073         * math/w_remainderf.c (dremf): Define as weak alias of
11074         __remainderf.
11075         * math/w_remainderl.c (dreml): Define as weak alias of
11076         __remainderl.
11077         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11078         __remainder.
11079         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11080         __remainderf.
11081         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11082         __remainderl.
11083         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11084         weak alias of remainderl.
11085         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11086         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11087         alias of __remainder.
11088         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11089         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11090         strong alias of __remainderl.
11091         (dreml): Use long_double_symbol.
11092         * math/Makefile (libm-calls): Remove w_drem.
11093         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11094         (CFLAGS-nldbl-drem.c): Remove variable.
11095         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11096         * math/w_drem.c: Remove file.
11097         * math/w_dremf.c: Likewise.
11098         * math/w_dreml.c: Likewise.
11099         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11100         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11101         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11103         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11104         * sysdeps/i386/configure: Regenerated.
11105         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11106         * sysdeps/x86_64/configure: Regenerated.
11108         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11109         test.
11110         (libc_cv_visibility_attribute): Likewise.
11111         (libc_cv_protected_data): Test unconditionally.
11112         (libc_cv_broken_visibility_attribute): Remove configure test.
11113         (libc_cv_have_sdata_section): Test unconditionally.
11114         * configure: Regenerated.
11116         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11117         * include/scratch_buffer.h: Include <stddef.h> instead of
11118         <libc-internal.h>.
11119         (struct scratch_buffer): Use max_align_t instead of
11120         libc_max_align_t.
11122 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11124         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11125         instead of extend_alloca.  Change control flow to avoid a goto.
11126         Remove assert which is trivially always true.
11128 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11130         [BZ #16068]
11131         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11132         (FE_ALL_EXCEPT_X86): New macro.
11133         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11134         FE_ALL_EXCEPT.  Ensure precision control is included in
11135         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11136         handle "denormal operand exception" and clear FZ and DAZ bits.
11137         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11138         (FE_ALL_EXCEPT_X86): New macro.
11139         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11140         FE_ALL_EXCEPT.  Ensure precision control is included in
11141         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11142         handle "denormal operand exception" and clear FZ and DAZ bits.
11143         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11144         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11145         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11146         test-fenv-x87 and test-fenv-sse-2.
11147         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11149         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11150         * math/test-double.h (BUILD_COMPLEX): New macro.
11151         * math/test-float.h (BUILD_COMPLEX): Likewise.
11152         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11154         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11155         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11156         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11158         instead of DBL_DENORM_MIN in comment.
11159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11160         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11161         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11162         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11164         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11166 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11168         [BZ# 19048]
11169         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11170         attached_threads member.
11171         (main_arena): Initialize attached_threads.
11172         * malloc/arena.c (list_lock): Update comment.
11173         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11174         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11175         (deattach_arena): New function.
11176         (_int_new_arena): Initialize arena reference count and deattach
11177         replaced arena.
11178         (get_free_list, reused_arena): Update reference count and deattach
11179         replaced arena.
11180         (arena_thread_freeres): Update arena reference count and only put
11181         unreferenced arenas on the free list.
11183 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11185         [BZ #19181]
11186         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11187         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11188         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11189         * math/test-fenv-clear-main.c: New file.
11190         * math/test-fenv-clear.c: Likewise.
11191         * math/Makefile (tests): Add test-fenv-clear.
11192         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11193         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11194         test-fenv-clear-sse.
11195         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11197         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11198         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11199         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11201 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11203         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11204         static libc.
11206 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11208         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11209         test.
11210         * sysdeps/i386/configure: Regenerated.
11211         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11212         test.
11213         * sysdeps/x86_64/configure: Regenerated.
11214         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11216         memset-avx2 unconditionally instead of conditionally on
11217         [$(config-cflags-avx2) = yes].
11218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11219         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11220         unconditional.
11221         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11222         * sysdeps/x86_64/multiarch/memset_chk.S
11223         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11224         to [IS_IN (libc) && SHARED].
11226 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11228         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11229         configure test.
11230         * sysdeps/arm/configure: Regenerated.
11231         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11232         Define variable if not already defined.
11234         [BZ #17404]
11235         * sysdeps/mips/atomic-machine.h
11236         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11237         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11238         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11240         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11241         unconditional.
11242         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11243         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11244         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11245         unconditional.
11246         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11247         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11248         unconditional.
11249         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11250         * stdlib/setenv.c
11251         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11252         code unconditional.
11253         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11254         Remove conditional code.
11255         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11256         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11257         unconditional.
11258         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11259         code.
11260         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11261         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11262         unconditional.
11263         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11264         code.
11265         * sysdeps/ieee754/ldbl-128/k_tanl.c
11266         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11267         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11269         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11270         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11271         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11272         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11273         unconditional.
11274         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11275         code.
11276         * sysdeps/ieee754/ldbl-96/k_tanl.c
11277         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11278         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11280         * nptl/tst-initializers1-c11.c: New file.
11281         * nptl/tst-initializers1-gnu11.c: Likewise.
11282         * nptl/Makefile (tests): Add these new tests.
11283         (CFLAGS-tst-initializers1-c11.c): New variable.
11284         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11286         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11287         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11288         instead of -std=gnu99.
11289         * configure.ac (systemtap): Test with -std=gnu11 instead of
11290         -std=gnu99.
11291         * configure: Regenerated.
11292         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11293         in compilation command in comment.
11295         * sysdeps/nptl/configure.ac: Remove file.
11296         * sysdeps/nptl/configure: Remove generated file.
11297         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11298         * configure: Regenerated.
11299         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11300         * config.make.in (have-forced-unwind): Remove variable.
11301         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11302         unconditional.
11303         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11304         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11305         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11306         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11307         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11308         unconditional.
11310 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11312         [BZ #19174]
11313         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11314         .skip_lock_out_of_tbegin_retries.
11315         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11316         (__lll_lock_elision): Likewise, and respect a value of
11317         try_tbegin <= 0.
11319 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11321         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11322         statement.
11324 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11326         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11327         variable.
11328         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11329         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11331         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11332         of -std=c1x -D_ISOC11_SOURCE.
11334         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11335         * configure: Regenerated.
11336         * manual/install.texi (Tools for Compilation): Document
11337         requirement for GCC 4.7 or later.
11338         * INSTALL: Regenerated.
11340 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11342         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11343         on CNT to a conditional jump to 'puntdata'.
11345 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11347         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11348         (libc_cv_gcc_tls_model_attr): Likewise.
11349         * configure: Regenerated.
11351         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11352         * configure: Regenerated.
11353         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11355 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11357         * configure.ac (old_glibc_headers): Remove configure test.
11358         * configure: Regenerated.
11359         * config.make.in (old-glibc-headers): Remove variable.
11360         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11361         (install): Remove dependency on remove-old-headers.
11362         (headers2_0): Remove variable.
11363         (remove-old-headers): Remove rule.
11365         * configure.ac (libc_cv_dot_text): Remove configure test.
11366         (libc_cv_asm_set_directive): Use .text instead of
11367         ${libc_cv_dot_text} in configure test.
11368         * configure: Regenerated.
11370 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11372         [BZ #19168]
11373         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11375 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11377         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11378         not support static linking.
11379         * configure: Regenerate.
11381 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11383         * math/libm-test.inc (check_float_internal): Do not special-case
11384         errors up to 0.5 ulp.
11386         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11387         log2.
11388         * math/auto-libm-test-out: Regenerated.
11389         * math/libm-test.inc (MAX_EXP): New macro.
11390         (ilogb_test_data): Add more tests.
11391         (isfinite_test_data): Likewise.
11392         (isgreater_test_data): Likewise.
11393         (isgreaterequal_test_data): Likewise.
11394         (isinf_test_data): Likewise.
11395         (isless_test_data): Likewise.
11396         (islessequal_test_data): Likewise.
11397         (islessgreater_test_data): Likewise.
11398         (isnan_test_data): Likewise.
11399         (isnormal_test_data): Likewise.
11400         (issignaling_test_data): Likewise.
11401         (isunordered_test_data): Likewise.
11402         (j0_test_data): Likewise.
11403         (j1_test_data): Likewise.
11404         (jn_test_data): Likewise.
11405         (lgamma_test_data): Likewise.
11406         (log_test_data): Likewise.
11407         (log10_test_data): Likewise.
11408         (log1p_test_data): Likewise.
11409         (log2_test_data): Likewise.
11410         (logb_test_data): Likewise.
11411         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11413         [BZ #18611]
11414         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11415         avoid excess range and precision on underflow.
11416         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11417         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11418         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11419         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11420         underflow.
11421         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11422         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11423         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11424         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11425         * math/auto-libm-test-in: Do not allow missing errno setting for
11426         tests of j1 and jn.
11427         * math/auto-libm-test-out: Regenerated.
11429 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11431         [BZ #15491]
11432         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11433         floating-point environment instead of clearing all exceptions.
11434         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11435         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11436         merging in "invalid" exceptions from frndint.
11437         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11438         * math/test-nearbyint-except.c: New file.
11439         * math/Makefile (tests): Add test-nearbyint-except.
11441 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11443         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11445         * sysdeps/tile/libm-test-ulps: Regenerated.
11447 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11450         (__NR_sync_file_range2): Assume it is always defined.
11451         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11452         (__NR_sync_file_range): Assume it is always defined.
11454 2015-10-22  Andreas Schwab  <schwab@suse.de>
11456         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11457         INTERNAL_SYSCALL_ERRNO.
11458         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11459         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11460         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11461         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11462         Likewise.
11463         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11465 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11467         * io/tst-fcntl.c (fd): New static variable.
11468         (do_prepare): Open temporary file here....
11469         (do_test): ...not here.
11471         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11473 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11475         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11476         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11477         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11478         Moved before "#ifdef __ASSEMBLER__".
11480 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11482         [BZ #19156]
11483         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11484         arguments very close to 0.
11486 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11488         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11489         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11491 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11493         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11494         New.  Defined for GCC 5 and above when not compiling for
11495         profiling.
11496         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11498         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11499         Renamed to ...
11500         (CFLAGS-epoll_pwait.o): This.
11501         (CFLAGS-mmap.c): Renamed to ...
11502         (CFLAGS-mmap.o): This.
11503         (CFLAGS-mmap64.c): Renamed to ...
11504         (CFLAGS-mmap64.o): This.
11505         (CFLAGS-epoll_pwait.os): New.
11506         (CFLAGS-mmap.os): Likewise.
11507         (CFLAGS-mmap64.os): Likewise.
11508         (CFLAGS-semtimedop.os): Likewise.
11509         (CFLAGS-semtimedop.c): Renamed to ...
11510         (CFLAGS-semtimedop.o): This.
11512 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11514         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11515         warning message.
11517 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11519         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11520         * Makefile ($(objpfx)c++-types-check.out): Filter out
11521         $(+gccwarn-c) instead of -Wstrict-prototypes.
11523         * io/fts.c (fts_open): Convert to prototype-style function
11524         definition.
11525         * malloc/mcheck.c (mcheck): Likewise.
11526         (mcheck_pedantic): Likewise.
11527         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11528         internal_function.
11529         (re_search_internal): Likewise.
11530         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11531         prototype-style function definition.
11532         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11533         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11534         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11535         (xdr_utmpptr): Likewise.
11536         (xdr_utmparr): Likewise.
11537         (xdr_utmpidle): Likewise.
11538         (xdr_utmpidleptr): Likewise.
11539         (xdr_utmpidlearr): Likewise.
11541         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11542         log, log10 and log2.
11543         * math/auto-libm-test-out: Regenerated.
11544         * math/libm-test.inc (fmod_test_data): Add more tests.
11545         (fpclassify_test_data): Likewise.
11546         (frexp_test_data): Likewise.
11547         (hypot_test_data): Likewise.
11548         (ilogb_test_data): Likewise.
11550 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11552         * debug/fortify_fail.c (__fortify_fail): Convert to
11553         prototype-style function definition.  Use internal_function.
11554         * libio/genops.c (save_for_backup): Convert to prototype-style
11555         function definition.
11556         * libio/wgenops.c (save_for_wbackup): Likewise.
11557         * login/grantpt.c (grantpt): Likewise.
11558         * login/ptsname.c (ptsname): Likewise.
11559         (__ptsname_r): Likewise.
11560         * login/unlockpt.c (unlockpt): Likewise.
11561         * mach/msgserver.c (__mach_msg_server): Likewise.
11562         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11563         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11564         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11565         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11566         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11567         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11568         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11569         Likewise.
11570         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11571         internal_function.
11572         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11573         prototype-style function definition.
11574         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11575         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11576         (__pthread_create_2_0): Likewise.
11577         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11578         * nptl/register-atfork.c (__register_atfork): Likewise.
11579         * posix/glob.c (glob): Likewise.
11580         * posix/regcomp.c (re_comp): Likewise.
11581         * posix/regexec.c (re_exec): Likewise.
11582         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11583         [!__STDC__]: Remove conditional code.
11584         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11585         [!__STDC__]: Remove conditional code.
11586         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11587         [!__STDC__]: Remove conditional code.
11588         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11589         [!__STDC__]: Remove conditional code.
11590         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11591         [!__STDC__]: Remove conditional code.
11592         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11593         [!__STDC__]: Remove conditional code.
11594         * stdlib/mul.c [__STDC__]: Make code unconditional.
11595         [!__STDC__]: Remove conditional code.
11596         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11597         [!__STDC__]: Remove conditional code.
11598         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11599         [!__STDC__]: Remove conditional code.
11600         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11601         function definition.
11602         (STRTOF): Likewise.
11603         * stdlib/strtod_l.c (__STRTOF): Likewise.
11604         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11605         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11606         (__strtol_l): Likewise.
11607         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11608         [!__STDC__]: Remove conditional code.
11609         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11610         definition.
11611         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11612         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11613         type.
11614         (__strcasecmp): Convert to prototype-style function definition.
11615         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11616         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11617         type.
11618         (__strncasecmp): Convert to prototype-style function definition.
11619         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11620         * sunrpc/xdr.c (xdr_union): Likewise.
11621         * sunrpc/xdr_array.c (xdr_array): Likewise.
11622         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11623         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11624         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11625         Likewise.
11626         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11627         Likewise.
11628         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11629         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11630         Likewise.
11631         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11632         (LOCALE_PARAM_PROTO): Likewise.
11633         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11634         argument type.
11635         (ut_argument_spec): Remove macro.
11636         (ut_argument_spec_iso): Rename to ut_argument_spec.
11637         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11638         prototype-style function definition.
11639         (memcpy_uppcase): Likewise.
11640         (__strftime_internal): Likewise.
11641         (my_strftime): Likewise.
11642         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11643         (LOCALE_PARAM_DECL): Likewise.
11644         [_LIBC] (LOCALE_PARAM): Include argument type.
11645         (__strptime_internal): Convert to prototype-style function
11646         definition.
11647         (strptime): Likewise.
11648         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11649         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11650         type.
11651         (__wcscasecmp): Convert to prototype-style function definition.
11652         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11653         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11654         type.
11655         (__wcsncasecmp): Convert to prototype-style function definition.
11657         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11658         function definition.
11659         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11660         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11661         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11662         * elf/dl-minimal.c (_itoa): Likewise.
11663         * hurd/hurdmalloc.c (malloc): Likewise.
11664         (free): Likewise.
11665         (realloc): Likewise.
11666         * inet/inet6_option.c (inet6_option_space): Likewise.
11667         (inet6_option_init): Likewise.
11668         (inet6_option_append): Likewise.
11669         (inet6_option_alloc): Likewise.
11670         (inet6_option_next): Likewise.
11671         (inet6_option_find): Likewise.
11672         * io/ftw.c (FTW_NAME): Likewise.
11673         (NFTW_NAME): Likewise.
11674         (NFTW_NEW_NAME): Likewise.
11675         (NFTW_OLD_NAME): Likewise.
11676         * libio/iofwide.c (_IO_fwide): Likewise.
11677         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11678         (_IO_str_init_static): Likewise.
11679         (_IO_str_init_readonly): Likewise.
11680         (_IO_str_overflow): Likewise.
11681         (_IO_str_underflow): Likewise.
11682         (_IO_str_count): Likewise.
11683         (_IO_str_seekoff): Likewise.
11684         (_IO_str_pbackfail): Likewise.
11685         (_IO_str_finish): Likewise.
11686         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11687         (_IO_wstr_overflow): Likewise.
11688         (_IO_wstr_underflow): Likewise.
11689         (_IO_wstr_count): Likewise.
11690         (_IO_wstr_seekoff): Likewise.
11691         (_IO_wstr_pbackfail): Likewise.
11692         (_IO_wstr_finish): Likewise.
11693         * locale/programs/localedef.c (normalize_codeset): Likewise.
11694         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11695         (add_locales_to_archive): Likewise.
11696         (delete_locales_from_archive): Likewise.
11697         * malloc/malloc.c (__libc_mallinfo): Likewise.
11698         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11699         * misc/tsearch.c (__tfind): Likewise.
11700         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11701         * nptl/pthread_attr_getdetachstate.c
11702         (__pthread_attr_getdetachstate): Likewise.
11703         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11704         Likewise.
11705         * nptl/pthread_attr_getinheritsched.c
11706         (__pthread_attr_getinheritsched): Likewise.
11707         * nptl/pthread_attr_getschedparam.c
11708         (__pthread_attr_getschedparam): Likewise.
11709         * nptl/pthread_attr_getschedpolicy.c
11710         (__pthread_attr_getschedpolicy): Likewise.
11711         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11712         Likewise.
11713         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11714         Likewise.
11715         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11716         Likewise.
11717         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11718         Likewise.
11719         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11720         (__pthread_attr_init_2_0): Likewise.
11721         * nptl/pthread_attr_setdetachstate.c
11722         (__pthread_attr_setdetachstate): Likewise.
11723         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11724         Likewise.
11725         * nptl/pthread_attr_setinheritsched.c
11726         (__pthread_attr_setinheritsched): Likewise.
11727         * nptl/pthread_attr_setschedparam.c
11728         (__pthread_attr_setschedparam): Likewise.
11729         * nptl/pthread_attr_setschedpolicy.c
11730         (__pthread_attr_setschedpolicy): Likewise.
11731         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11732         Likewise.
11733         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11734         Likewise.
11735         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11736         Likewise.
11737         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11738         Likewise.
11739         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11740         Likewise.
11741         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11742         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11743         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11744         use internal_function.
11745         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11746         prototype-style function definition.
11747         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11748         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11749         internal_function.
11750         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11751         Convert to prototype-style function definition.
11752         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11753         Likewise.
11754         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11755         Likewise.
11756         (__pthread_mutex_unlock): Likewise.
11757         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11758         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11759         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11760         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11761         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11762         * nss/makedb.c (process_input): Likewise.
11763         * posix/fnmatch.c (__strchrnul): Likewise.
11764         (__wcschrnul): Likewise.
11765         (fnmatch): Likewise.
11766         * posix/fnmatch_loop.c (FCT): Likewise.
11767         * posix/glob.c (globfree): Likewise.
11768         (__glob_pattern_type): Likewise.
11769         (__glob_pattern_p): Likewise.
11770         * posix/regcomp.c (re_compile_pattern): Likewise.
11771         (re_set_syntax): Likewise.
11772         (re_compile_fastmap): Likewise.
11773         (regcomp): Likewise.
11774         (regerror): Likewise.
11775         (regfree): Likewise.
11776         * posix/regexec.c (regexec): Likewise.
11777         (re_match): Likewise.
11778         (re_search): Likewise.
11779         (re_match_2): Likewise.
11780         (re_search_2): Likewise.
11781         (re_search_stub): Likewise.  Use internal_function
11782         (re_copy_regs): Likewise.
11783         (re_set_registers): Convert to prototype-style function
11784         definition.
11785         (prune_impossible_nodes): Likewise.  Use internal_function.
11786         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11787         prototype-style function definition.
11788         (inet_net_pton_ipv4): Likewise.
11789         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11790         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11791         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11792         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11793         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11794         Make variadic.
11795         * time/strptime_l.c (localtime_r): Convert to prototype-style
11796         function definition.
11797         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11798         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11799         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11800         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11802         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11803         definition.
11804         (_ufc_doit_r): Likewise.
11805         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11806         (_ufc_output_conversion_r): Likewise.
11807         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11808         * inet/rcmd.c (rcmd_af): Likewise.
11809         (rcmd): Likewise.
11810         (ruserok_af): Likewise.
11811         (ruserok): Likewise.
11812         (ruserok2_sa): Likewise.
11813         (ruserok_sa): Likewise.
11814         (iruserok_af): Likewise.
11815         (iruserok): Likewise.
11816         (__ivaliduser): Likewise.
11817         (__validuser2_sa): Likewise.
11818         * inet/rexec.c (rexec_af): Likewise.
11819         (rexec): Likewise.
11820         * inet/ruserpass.c (ruserpass): Likewise.
11821         * locale/programs/xmalloc.c (xcalloc): Likewise.
11822         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11823         * math/w_drem.c (__drem): Likewise.
11824         * math/w_dremf.c (__dremf): Likewise.
11825         * math/w_dreml.c (__dreml): Likewise.
11826         * misc/daemon.c (daemon): Likewise.
11827         * resolv/res_debug.c (p_fqnname): Likewise.
11828         * stdlib/div.c (div): Likewise.
11829         * string/memcmp.c (memcmp_bytes): Likewise.
11830         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11831         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11833         * crypt/cert.c (main): Convert to prototype-style function
11834         definition.
11835         * io/pipe.c (__pipe): Likewise.
11836         * io/pipe2.c (__pipe2): Likewise.
11837         * misc/futimesat.c (futimesat): Likewise.
11838         * misc/utimes.c (__utimes): Likewise.
11839         * posix/execve.c (__execve): Likewise.
11840         * posix/execvp.c (execvp): Likewise.
11841         * posix/execvpe.c (__execvpe): Likewise.
11842         * posix/fexecve.c (fexecve): Likewise.
11843         * socket/socketpair.c (socketpair): Likewise.
11844         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11845         * stdlib/erand48.c (erand48): Likewise.
11846         * stdlib/erand48_r.c (__erand48_r): Likewise.
11847         * stdlib/jrand48.c (jrand48): Likewise.
11848         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11849         * stdlib/lcong48.c (lcong48): Likewise.
11850         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11851         * stdlib/nrand48.c (nrand48): Likewise.
11852         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11853         * stdlib/seed48.c (seed48): Likewise.
11854         * stdlib/seed48_r.c (__seed48_r): Likewise.
11855         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11856         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11857         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11859 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11861         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11862         * configure: Regenerated.
11863         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11864         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11865         unconditional.
11866         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11867         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11868         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11869         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11870         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11871         unconditional.
11872         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11874         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11875         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11877         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11878         function definition.
11879         * crypt/crypt_util.c (__encrypt_r): Likewise.
11880         * libio/genops.c (_IO_no_init): Likewise.
11881         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11882         (_IO_old_fopencookie): Likewise.
11883         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11884         * libio/iogetline.c (_IO_getline): Likewise.
11885         (_IO_getline_info): Likewise.
11886         * libio/iogetwline.c (_IO_getwline): Likewise.
11887         (_IO_getwline_info): Likewise.
11888         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11889         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11890         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11891         (find_entry): Likewise.
11892         (iterate_table): Likewise.
11893         (lookup): Likewise.
11894         * login/forkpty.c (forkpty): Likewise.
11895         * misc/hsearch_r.c (__hsearch_r): Likewise.
11896         * misc/select.c (__select): Likewise.
11897         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11898         Likewise.
11899         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11900         Likewise.
11901         * nptl/old_pthread_cond_timedwait.c
11902         (__pthread_cond_timedwait_2_0): Likewise.
11903         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11904         * nptl/pthread_barrierattr_getpshared.c
11905         (pthread_barrierattr_getpshared): Likewise.
11906         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11907         Likewise.
11908         * nptl/pthread_mutex_setprioceiling.c
11909         (pthread_mutex_setprioceiling): Likewise.
11910         * nptl/pthread_mutexattr_getprioceiling.c
11911         (pthread_mutexattr_getprioceiling): Likewise.
11912         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11913         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11914         Likewise.
11915         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11916         Likewise.
11917         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11918         Likewise.
11919         * socket/recvfrom.c (__recvfrom): Likewise.
11920         * socket/sendto.c (__sendto): Likewise.
11921         * socket/setsockopt.c (__setsockopt): Likewise.
11922         * stdio-common/_itoa.c (_itoa): Likewise.
11923         * stdio-common/_itowa.c (_itowa): Likewise.
11924         * stdio-common/reg-printf.c (__register_printf_specifier):
11925         Likewise.
11926         (__register_printf_function): Likewise.
11927         * stdio-common/tempname.c (__path_search): Likewise.
11928         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11929         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11930         * stdlib/random_r.c (__initstate_r): Likewise.
11931         * stdlib/setenv.c (__add_to_environ): Likewise.
11932         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11933         * streams/getpmsg.c (getpmsg): Likewise.
11934         * streams/putmsg.c (putmsg): Likewise.
11935         * streams/putpmsg.c (putpmsg): Likewise.
11936         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11937         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11938         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11939         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11940         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11941         * sunrpc/svc_udp.c (cache_get): Likewise.
11942         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11943         * sysdeps/mach/hurd/getcwd.c
11944         (__canonicalize_directory_name_internal): Likewise.
11945         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11946         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11947         * sysdeps/mach/hurd/select.c (__select): Likewise.
11948         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11949         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11950         * sysdeps/sparc/nptl/pthread_barrier_init.c
11951         (__pthread_barrier_init): Likewise.
11952         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11953         (__pthread_cond_timedwait): Likewise.
11954         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11955         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11956         Likewise.
11957         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11958         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11959         Likewise.
11960         * sysvipc/semtimedop.c (semtimedop): Likewise.
11961         * time/setitimer.c (__setitimer): Likewise.
11962         * time/strftime_l.c (emacs_strftime): Likewise.
11964 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11966         * config.make.in (have-ssp): Delete.
11967         (stack-protector): New variable.
11968         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11969         cache test for -fstack-protector-strong.  Export stack_protector to
11970         the best ssp flag.
11971         * configure: Regenerated.
11972         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11973         * nscd/Makefile (CFLAGS-nscd): Likewise.
11974         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11976 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11978         [BZ #19122]
11979         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11980         attribute_hidden.
11982 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11984         [BZ #18743]
11985         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11986         code to...
11987         (ELIDE_LOCK): ...here.
11988         (__get_new_count): New function with part of the code from
11989         __elide_lock that updates the value of adapt_count after a
11990         transaction abort.
11991         (__elided_trylock): Moved this code to...
11992         (ELIDE_TRYLOCK): ...here.
11994 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11996         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11997         * configure: Regenerate.
11998         * INSTALL: Regenerate.
11999         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12000         and tweak grammar.
12002 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12004         * login/programs/pt_chown.c: Include signal.h
12005         (main): Clear any signal mask from the parent process.
12007 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12009         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12010         * configure: Regenerated.
12011         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12012         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12013         $(gnu89-inline-CFLAGS).
12015         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12016         test.
12017         (libc_cv_asm_weakext_directive): Likewise.
12018         * configure: Regenerated.
12019         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12020         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12021         * include/libc-symbols.h
12022         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12023         #error.
12024         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12025         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12027         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12028         prototype-style function definition.
12029         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12030         * sysdeps/i386/ffs.c (__ffs): Likewise.
12031         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12032         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12033         Likewise.
12034         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12035         Likewise.
12036         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12037         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12038         Likewise.
12039         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12040         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12041         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12042         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12043         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12044         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12045         * sysdeps/mach/hurd/access.c (__access): Likewise.
12046         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12047         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12048         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12049         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12050         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12051         (cthread_getspecific): Likewise.
12052         (cthread_setspecific): Likewise.
12053         (__libc_getspecific): Likewise.
12054         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12055         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12056         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12057         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12058         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12059         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12060         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12061         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12062         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12063         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12064         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12065         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12066         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12067         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12068         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12069         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12070         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12071         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12072         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12073         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12074         * sysdeps/mach/hurd/link.c (__link): Likewise.
12075         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12076         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12077         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12078         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12079         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12080         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12081         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12082         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12083         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12084         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12085         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12086         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12087         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12088         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12089         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12090         * sysdeps/mach/hurd/send.c (__send): Likewise.
12091         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12092         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12093         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12094         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12095         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12096         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12097         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12098         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12099         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12100         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12101         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12102         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12103         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12104         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12105         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12106         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12107         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12108         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12109         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12110         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12111         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12112         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12113         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12114         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12115         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12116         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12117         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12118         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12119         * sysdeps/posix/alarm.c (alarm): Likewise.
12120         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12121         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12122         * sysdeps/posix/dup.c (__dup): Likewise.
12123         * sysdeps/posix/dup2.c (__dup2): Likewise.
12124         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12125         (main): Likewise.
12126         * sysdeps/posix/flock.c (__flock): Likewise.
12127         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12128         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12129         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12130         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12131         * sysdeps/posix/isatty.c (__isatty): Likewise.
12132         * sysdeps/posix/killpg.c (killpg): Likewise.
12133         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12134         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12135         * sysdeps/posix/raise.c (raise): Likewise.
12136         * sysdeps/posix/remove.c (remove): Likewise.
12137         * sysdeps/posix/rename.c (rename): Likewise.
12138         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12139         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12140         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12141         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12142         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12143         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12144         * sysdeps/posix/sigset.c (sigset): Likewise.
12145         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12146         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12147         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12148         * sysdeps/posix/time.c (time): Likewise.
12149         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12150         (ttyname): Likewise.
12151         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12152         * sysdeps/posix/utime.c (utime): Likewise.
12153         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12154         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12155         Likewise.
12156         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12157         (pthread_spin_trylock): Likewise.
12158         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12159         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12160         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12161         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12162         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12163         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12164         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12165         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12166         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12167         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12168         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12169         * sysdeps/s390/ffs.c (__ffs): Likewise.
12170         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12171         Likewise.
12172         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12173         Likewise.
12174         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12175         Likewise.
12176         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12177         (pthread_barrier_destroy): Likewise.
12178         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12179         (__pthread_barrier_wait): Likewise.
12180         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12181         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12182         (__pthread_barrier_wait): Likewise.
12183         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12184         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12185         (memcmp_not_common_alignment): Likewise.
12186         (MEMCMP): Likewise.
12187         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12188         (_wordcopy_fwd_dest_aligned): Likewise.
12189         (_wordcopy_bwd_aligned): Likewise.
12190         (_wordcopy_bwd_dest_aligned): Likewise.
12191         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12192         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12193         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12194         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12195         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12196         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12197         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12198         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12199         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12200         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12201         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12202         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12203         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12204         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12205         * sysdeps/unix/stime.c (stime): Likewise.
12206         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12207         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12208         Likewise.  Use internal_function.
12209         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12210         Convert to prototype-style function definition.
12211         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12212         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12213         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12214         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12215         Likewise.  Use internal_function.
12216         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12217         prototype-style function definition
12218         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12219         Likewise.
12220         (__getlogin_r): Likewise.
12221         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12222         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12223         (__pthread_cond_broadcast): Likewise.
12224         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12225         (__pthread_cond_destroy): Likewise.
12226         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12227         (__pthread_cond_init): Likewise.
12228         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12229         (__pthread_cond_signal): Likewise.
12230         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12231         (__pthread_cond_wait): Likewise.
12232         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12233         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12234         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12235         Likewise.
12236         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12237         Likewise.
12238         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12239         Likewise.
12240         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12241         Likewise.
12242         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12244         (__ftruncate64): Likewise.
12245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12246         (truncate64): Likewise.
12247         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12248         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12249         (pthread_getcpuclockid): Likewise.
12250         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12251         Likewise.
12252         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12253         Likewise.
12254         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12255         Likewise.
12256         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12257         Likewise.
12258         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12259         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12260         (__libc_sigaction): Likewise.
12261         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12262         Likewise.
12263         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12264         (__sigprocmask): Likewise.
12265         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12266         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12267         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12268         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12269         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12270         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12271         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12272         Likewise.
12273         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12274         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12275         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12276         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12277         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12278         Likewise.
12279         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12280         (__sigprocmask): Likewise.
12281         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12282         (cfgetispeed): Likewise.
12283         (cfsetospeed): Likewise.
12284         (cfsetispeed): Likewise.
12285         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12286         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12287         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12288         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12289         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12290         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12291         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12292         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12293         Likewise.
12294         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12295         Likewise.
12296         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12297         Likewise.
12298         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12299         Likewise.
12300         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12302 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12304         sunrpc: Rewrite with explicit TLS access using __thread.
12305         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12306         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12307         directly.
12308         (__rpc_thread_variables): Access thread_rpc_vars directly.
12309         Eliminate redundant assignment of the tvp variable.
12311 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12313         malloc: Rewrite with explicit TLS access using __thread.
12314         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12315         (tsd_setspecific, tsd_getspecific): Remove.
12316         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12317         (tsd_setspecific, tsd_getspecific): Likewise.
12318         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12319         (tsd_setspecific, tsd_getspecific): Likewise.
12320         * malloc/arena.c (thread_arena): New TLS variable.
12321         (arena_key): Remove variable.
12322         (arena_get): Use thread_arena.
12323         (arena_lookup): Remove macro.
12324         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12325         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12326         (_int_new_arena, get_free_list, reused_arena)
12327         (arena_thread_freeres): Use thread_arena.
12328         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12329         tsd_getspecific, tsd_setspecific from safety annotations.
12330         (Allocating Cleared Space): Remove arena_lookup from safety
12331         annotations.
12333 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12335         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12336         struct scratch_buffer instead of extend_alloca.
12338 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12340         * sysdeps/unix/sysv/linux/kernel-features.h
12341         (__ASSUME_SOCK_CLOEXEC): Remove.
12342         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12343         (__have_paccept): Remove unused macro.
12344         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12345         * misc/syslog.c (openlog_internal): Remove fallback code for
12346         !__ASSUME_SOCK_CLOEXEC.
12347         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12348         missing SOCK_CLOEXEC.
12349         * nscd/connections.c (have_sock_cloexec): Remove definition.
12350         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12351         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12352         !__ASSUME_SOCK_CLOEXEC.
12353         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12354         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12355         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12356         definition.
12357         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12358         code for !__ASSUME_SOCK_CLOEXEC.
12360 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12362         [BZ #18982]
12363         * manual/stdio.texi (Variable Arguments Output): Add portability
12364         note, explaining that vfprintf clobbers the va_list pointer.
12366 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12368         * math/libm-test.inc (fabs_test_data): Add more tests.
12369         (fdim_test_data): Likewise.
12370         (fma_test_data): Likewise.
12371         (fmax_test_data): Likewise.
12372         (fmin_test_data): Likewise.
12373         (fmod_test_data): Likewise.
12375 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12377         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12378         data.
12380 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12382         * math/libm-test.inc (ceil_test_data): Add more tests and more
12383         expectations for "inexact".
12384         (floor_test_data): Add more tests.
12385         (round_test_data): Likewise.
12386         (trunc_test_data): Likewise.
12388         * crypt/cert.c (good_bye): Convert to prototype-style function
12389         definition.
12390         (get8): Likewise.
12391         (put8): Likewise.
12392         * crypt/crypt-entry.c (crypt): Likewise.
12393         (__fcrypt): Likewise.
12394         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12395         (_ufc_set_bits): Likewise.
12396         (_ufc_clearmem): Likewise.
12397         (__init_des_r): Likewise.
12398         (shuffle_sb): Likewise.
12399         (shuffle_sb): Likewise.
12400         (_ufc_setup_salt_r): Likewise.
12401         (_ufc_mk_keytab_r): Likewise.
12402         (_ufc_dofinalperm_r): Likewise.
12403         (encrypt): Likewise.
12404         (__setkey_r): Likewise.
12405         (setkey): Likewise.
12406         * crypt/md5.c (md5_init_ctx): Likewise.
12407         (md5_read_ctx): Likewise.
12408         (md5_finish_ctx): Likewise.
12409         (md5_stream): Likewise.
12410         (md5_buffer): Likewise.
12411         (md5_process_bytes): Likewise.
12412         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12413         (__sha256_finish_ctx): Likewise.
12414         (__sha256_process_bytes): Likewise.
12415         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12416         (__sha512_finish_ctx): Likewise.
12417         (__sha512_process_bytes): Likewise.
12418         * ctype/isctype.c (__isctype): Likewise.
12419         * debug/backtrace.c (__backtrace): Likewise.
12420         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12421         * debug/fgets_chk.c (__fgets_chk): Likewise.
12422         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12423         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12424         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12425         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12426         * debug/memset_chk.c (__memset_chk): Likewise.
12427         * debug/strcat_chk.c (__strcat_chk): Likewise.
12428         * debug/strncat_chk.c (__strncat_chk): Likewise.
12429         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12430         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12431         * dirent/dirfd.c (dirfd): Likewise.
12432         * dirent/getdents.c (__getdirentries): Likewise.
12433         * dirent/getdents64.c (getdirentries64): Likewise.
12434         * dirent/rewinddir.c (__rewinddir): Likewise.
12435         * dirent/seekdir.c (seekdir): Likewise.
12436         * dirent/telldir.c (telldir): Likewise.
12437         * elf/sln.c (makesymlinks): Likewise.
12438         (makesymlink): Likewise.
12439         * gmon/gmon.c (__moncontrol): Likewise.
12440         (__monstartup): Likewise.
12441         (write_hist): Likewise.
12442         (write_call_graph): Likewise.
12443         (write_bb_counts): Likewise.
12444         * grp/setgroups.c (setgroups): Likewise.
12445         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12446         * inet/inet_net.c (inet_network): Likewise.
12447         * inet/inet_netof.c (inet_netof): Likewise.
12448         * inet/rcmd.c (rresvport_af): Likewise.
12449         (rresvport): Likewise.
12450         * io/access.c (__access): Likewise.
12451         * io/chdir.c (__chdir): Likewise.
12452         * io/chmod.c (__chmod): Likewise.
12453         * io/chown.c (__chown): Likewise.
12454         * io/close.c (__close): Likewise.
12455         * io/creat.c (creat): Likewise.
12456         * io/creat64.c (creat64): Likewise.
12457         * io/dup.c (__dup): Likewise.
12458         * io/dup2.c (__dup2): Likewise.
12459         * io/dup3.c (__dup3): Likewise.
12460         * io/euidaccess.c (__euidaccess): Likewise.
12461         * io/faccessat.c (faccessat): Likewise.
12462         * io/fchmod.c (__fchmod): Likewise.
12463         * io/fchmodat.c (fchmodat): Likewise.
12464         * io/fchown.c (__fchown): Likewise.
12465         * io/fchownat.c (fchownat): Likewise.
12466         * io/fcntl.c (__fcntl): Likewise.
12467         * io/flock.c (__flock): Likewise.
12468         * io/fts.c (fts_load): Likewise.
12469         (fts_close): Likewise.
12470         (fts_read): Likewise.
12471         (fts_set): Likewise.
12472         (fts_children): Likewise.
12473         (fts_build): Likewise.
12474         (fts_stat): Likewise.
12475         (fts_sort): Likewise.
12476         (fts_alloc): Likewise.
12477         (fts_lfree): Likewise.
12478         (fts_palloc): Likewise.
12479         (fts_padjust): Likewise.
12480         (fts_maxarglen): Likewise.
12481         (fts_safe_changedir): Likewise.
12482         * io/getwd.c (getwd): Likewise.
12483         * io/isatty.c (__isatty): Likewise.
12484         * io/lchown.c (__lchown): Likewise.
12485         * io/link.c (__link): Likewise.
12486         * io/linkat.c (linkat): Likewise.
12487         * io/lseek.c (__libc_lseek): Likewise.
12488         * io/mkdir.c (__mkdir): Likewise.
12489         * io/mkdirat.c (mkdirat): Likewise.
12490         * io/mkfifo.c (mkfifo): Likewise.
12491         * io/mkfifoat.c (mkfifoat): Likewise.
12492         * io/open.c (__libc_open): Likewise.
12493         * io/open64.c (__libc_open64): Likewise.
12494         * io/readlink.c (__readlink): Likewise.
12495         * io/readlinkat.c (readlinkat): Likewise.
12496         * io/rmdir.c (__rmdir): Likewise.
12497         * io/symlink.c (__symlink): Likewise.
12498         * io/symlinkat.c (symlinkat): Likewise.
12499         * io/ttyname.c (ttyname): Likewise.
12500         * io/ttyname_r.c (__ttyname_r): Likewise.
12501         * io/umask.c (__umask): Likewise.
12502         * io/unlink.c (__unlink): Likewise.
12503         * io/unlinkat.c (unlinkat): Likewise.
12504         * io/utime.c (utime): Likewise.
12505         * libio/clearerr.c (clearerr): Likewise.
12506         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12507         * libio/feof.c (_IO_feof): Likewise.
12508         * libio/feof_u.c (feof_unlocked): Likewise.
12509         * libio/ferror.c (_IO_ferror): Likewise.
12510         * libio/ferror_u.c (ferror_unlocked): Likewise.
12511         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12512         * libio/fileno.c (__fileno): Likewise.
12513         * libio/fputc.c (fputc): Likewise.
12514         * libio/fputc_u.c (fputc_unlocked): Likewise.
12515         * libio/fputwc.c (fputwc): Likewise.
12516         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12517         * libio/freopen.c (freopen): Likewise.
12518         * libio/freopen64.c (freopen64): Likewise.
12519         * libio/fseek.c (fseek): Likewise.
12520         * libio/fseeko.c (fseeko): Likewise.
12521         * libio/fseeko64.c (fseeko64): Likewise.
12522         * libio/ftello.c (__ftello): Likewise.
12523         * libio/ftello64.c (ftello64): Likewise.
12524         * libio/fwide.c (fwide): Likewise.
12525         * libio/genops.c (_IO_un_link): Likewise.
12526         (_IO_link_in): Likewise.
12527         (_IO_least_marker): Likewise.
12528         (_IO_switch_to_main_get_area): Likewise.
12529         (_IO_switch_to_backup_area): Likewise.
12530         (_IO_switch_to_get_mode): Likewise.
12531         (_IO_free_backup_area): Likewise.
12532         (_IO_switch_to_put_mode): Likewise.
12533         (__overflow): Likewise.
12534         (__underflow): Likewise.
12535         (__uflow): Likewise.
12536         (_IO_setb): Likewise.
12537         (_IO_doallocbuf): Likewise.
12538         (_IO_default_underflow): Likewise.
12539         (_IO_default_uflow): Likewise.
12540         (_IO_default_xsputn): Likewise.
12541         (_IO_sgetn): Likewise.
12542         (_IO_default_xsgetn): Likewise.
12543         (_IO_sync): Likewise.
12544         (_IO_default_setbuf): Likewise.
12545         (_IO_default_seekpos): Likewise.
12546         (_IO_default_doallocate): Likewise.
12547         (_IO_init): Likewise.
12548         (_IO_old_init): Likewise.
12549         (_IO_default_sync): Likewise.
12550         (_IO_default_finish): Likewise.
12551         (_IO_default_seekoff): Likewise.
12552         (_IO_sputbackc): Likewise.
12553         (_IO_sungetc): Likewise.
12554         (_IO_set_column): Likewise.
12555         (_IO_set_column): Likewise.
12556         (_IO_adjust_column): Likewise.
12557         (_IO_get_column): Likewise.
12558         (_IO_init_marker): Likewise.
12559         (_IO_remove_marker): Likewise.
12560         (_IO_marker_difference): Likewise.
12561         (_IO_marker_delta): Likewise.
12562         (_IO_seekmark): Likewise.
12563         (_IO_unsave_markers): Likewise.
12564         (_IO_nobackup_pbackfail): Likewise.
12565         (_IO_default_pbackfail): Likewise.
12566         (_IO_default_seek): Likewise.
12567         (_IO_default_stat): Likewise.
12568         (_IO_default_read): Likewise.
12569         (_IO_default_write): Likewise.
12570         (_IO_default_showmanyc): Likewise.
12571         (_IO_default_imbue): Likewise.
12572         (_IO_iter_next): Likewise.
12573         (_IO_iter_file): Likewise.
12574         * libio/getc.c (_IO_getc): Likewise.
12575         * libio/getwc.c (_IO_getwc): Likewise.
12576         * libio/iofclose.c (_IO_new_fclose): Likewise.
12577         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12578         * libio/iofflush.c (_IO_fflush): Likewise.
12579         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12580         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12581         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12582         * libio/iofgets.c (_IO_fgets): Likewise.
12583         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12584         * libio/iofgetws.c (fgetws): Likewise.
12585         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12586         * libio/iofopen64.c (_IO_fopen64): Likewise.
12587         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12588         (_IO_cookie_write): Likewise.
12589         (_IO_cookie_seek): Likewise.
12590         (_IO_cookie_close): Likewise.
12591         (_IO_cookie_seekoff): Likewise.
12592         (_IO_old_cookie_seek): Likewise.
12593         * libio/iofputs.c (_IO_fputs): Likewise.
12594         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12595         * libio/iofputws.c (fputws): Likewise.
12596         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12597         * libio/iofread.c (_IO_fread): Likewise.
12598         * libio/iofread_u.c (__fread_unlocked): Likewise.
12599         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12600         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12601         * libio/ioftell.c (_IO_ftell): Likewise.
12602         * libio/iofwrite.c (_IO_fwrite): Likewise.
12603         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12604         * libio/iogets.c (_IO_gets): Likewise.
12605         * libio/iopadn.c (_IO_padn): Likewise.
12606         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12607         (_IO_new_popen): Likewise.
12608         (_IO_new_proc_close): Likewise.
12609         * libio/ioputs.c (_IO_puts): Likewise.
12610         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12611         (_IO_seekoff): Likewise.
12612         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12613         (_IO_seekpos): Likewise.
12614         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12615         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12616         * libio/ioungetc.c (_IO_ungetc): Likewise.
12617         * libio/ioungetwc.c (ungetwc): Likewise.
12618         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12619         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12620         * libio/iowpadn.c (_IO_wpadn): Likewise.
12621         * libio/libc_fatal.c (__libc_fatal): Likewise.
12622         * libio/memstream.c (__open_memstream): Likewise.
12623         (_IO_mem_sync): Likewise.
12624         (_IO_mem_finish): Likewise.
12625         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12626         (_IO_old_file_close_it): Likewise.
12627         (_IO_old_file_finish): Likewise.
12628         (_IO_old_file_fopen): Likewise.
12629         (_IO_old_file_attach): Likewise.
12630         (_IO_old_file_setbuf): Likewise.
12631         (_IO_old_do_write): Likewise.
12632         (old_do_write): Likewise.
12633         (_IO_old_file_underflow): Likewise.
12634         (_IO_old_file_overflow): Likewise.
12635         (_IO_old_file_sync): Likewise.
12636         (_IO_old_file_seekoff): Likewise.
12637         (_IO_old_file_write): Likewise.
12638         (_IO_old_file_xsputn): Likewise.
12639         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12640         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12641         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12642         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12643         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12644         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12645         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12646         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12647         (_IO_old_popen): Likewise.
12648         (_IO_old_proc_close): Likewise.
12649         * libio/oldpclose.c (__old_pclose): Likewise.
12650         * libio/pclose.c (__new_pclose): Likewise.
12651         * libio/peekc.c (_IO_peekc_locked): Likewise.
12652         * libio/putc.c (_IO_putc): Likewise.
12653         * libio/putc_u.c (putc_unlocked): Likewise.
12654         * libio/putchar.c (putchar): Likewise.
12655         * libio/putchar_u.c (putchar_unlocked): Likewise.
12656         * libio/putwc.c (putwc): Likewise.
12657         * libio/putwc_u.c (putwc_unlocked): Likewise.
12658         * libio/putwchar.c (putwchar): Likewise.
12659         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12660         * libio/rewind.c (rewind): Likewise.
12661         * libio/setbuf.c (setbuf): Likewise.
12662         * libio/setlinebuf.c (setlinebuf): Likewise.
12663         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12664         * libio/vscanf.c (_IO_vscanf): Likewise.
12665         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12666         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12667         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12668         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12669         (_IO_switch_to_main_wget_area): Likewise.
12670         (_IO_switch_to_wbackup_area): Likewise.
12671         (_IO_wsetb): Likewise.
12672         (_IO_wdefault_pbackfail): Likewise.
12673         (_IO_wdefault_finish): Likewise.
12674         (_IO_wdefault_uflow): Likewise.
12675         (__woverflow): Likewise.
12676         (__wuflow): Likewise.
12677         (__wunderflow): Likewise.
12678         (_IO_wdefault_xsputn): Likewise.
12679         (_IO_wdefault_xsgetn): Likewise.
12680         (_IO_wdoallocbuf): Likewise.
12681         (_IO_wdefault_doallocate): Likewise.
12682         (_IO_switch_to_wget_mode): Likewise.
12683         (_IO_free_wbackup_area): Likewise.
12684         (_IO_switch_to_wput_mode): Likewise.
12685         (_IO_sputbackwc): Likewise.
12686         (_IO_sungetwc): Likewise.
12687         (_IO_adjust_wcolumn): Likewise.
12688         (_IO_init_wmarker): Likewise.
12689         (_IO_wmarker_delta): Likewise.
12690         (_IO_seekwmark): Likewise.
12691         (_IO_unsave_wmarkers): Likewise.
12692         * libio/wmemstream.c (open_wmemstream): Likewise.
12693         (_IO_wmem_sync): Likewise.
12694         (_IO_wmem_finish): Likewise.
12695         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12696         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12697         * locale/programs/simple-hash.c (init_hash): Likewise.
12698         (delete_hash): Likewise.
12699         (insert_entry): Likewise.
12700         (set_entry): Likewise.
12701         (next_prime): Likewise.
12702         (is_prime): Likewise.
12703         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12704         (xmalloc): Likewise.
12705         (xrealloc): Likewise.
12706         * locale/programs/xstrdup.c (xstrdup): Likewise.
12707         * localedata/collate-test.c (xstrcoll): Likewise.
12708         * localedata/xfrm-test.c (xstrcmp): Likewise.
12709         * login/getlogin_r.c (__getlogin_r): Likewise.
12710         * login/getpt.c (__posix_openpt): Likewise.
12711         * login/login_tty.c (login_tty): Likewise.
12712         * login/setlogin.c (setlogin): Likewise.
12713         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12714         (mach_msg_destroy_port): Likewise.
12715         (mach_msg_destroy_memory): Likewise.
12716         * malloc/mcheck.c (flood): Likewise.
12717         * misc/acct.c (acct): Likewise.
12718         * misc/brk.c (__brk): Likewise.
12719         * misc/chflags.c (chflags): Likewise.
12720         * misc/chroot.c (chroot): Likewise.
12721         * misc/fchflags.c (fchflags): Likewise.
12722         * misc/fstab.c (getfsspec): Likewise.
12723         (getfsfile): Likewise.
12724         * misc/fsync.c (fsync): Likewise.
12725         * misc/ftruncate.c (__ftruncate): Likewise.
12726         * misc/ftruncate64.c (__ftruncate64): Likewise.
12727         * misc/getdomain.c (getdomainname): Likewise.
12728         (getdomainname): Likewise.
12729         * misc/gethostname.c (__gethostname): Likewise.
12730         * misc/getpass.c (getpass): Likewise.
12731         * misc/getttyent.c (skip): Likewise.
12732         (value): Likewise.
12733         * misc/gtty.c (gtty): Likewise.
12734         * misc/hsearch.c (hsearch): Likewise.
12735         (hcreate): Likewise.
12736         * misc/hsearch_r.c (__hcreate_r): Likewise.
12737         (__hdestroy_r): Likewise.
12738         * misc/ioctl.c (__ioctl): Likewise.
12739         * misc/mkdtemp.c (mkdtemp): Likewise.
12740         * misc/mkostemp.c (mkostemp): Likewise.
12741         * misc/mkostemp64.c (mkostemp64): Likewise.
12742         * misc/mkostemps.c (mkostemps): Likewise.
12743         * misc/mkostemps64.c (mkostemps64): Likewise.
12744         * misc/mkstemp.c (mkstemp): Likewise.
12745         * misc/mkstemp64.c (mkstemp64): Likewise.
12746         * misc/mkstemps.c (mkstemps): Likewise.
12747         * misc/mkstemps64.c (mkstemps64): Likewise.
12748         * misc/mktemp.c (__mktemp): Likewise.
12749         * misc/preadv.c (preadv): Likewise.
12750         * misc/preadv64.c (preadv64): Likewise.
12751         * misc/pwritev.c (pwritev): Likewise.
12752         * misc/pwritev64.c (pwritev64): Likewise.
12753         * misc/readv.c (__readv): Likewise.
12754         * misc/revoke.c (revoke): Likewise.
12755         * misc/setdomain.c (setdomainname): Likewise.
12756         * misc/setegid.c (setegid): Likewise.
12757         * misc/seteuid.c (seteuid): Likewise.
12758         * misc/sethostid.c (sethostid): Likewise.
12759         * misc/sethostname.c (sethostname): Likewise.
12760         * misc/setregid.c (__setregid): Likewise.
12761         * misc/setreuid.c (__setreuid): Likewise.
12762         * misc/sstk.c (sstk): Likewise.
12763         * misc/stty.c (stty): Likewise.
12764         * misc/syscall.c (syscall): Likewise.
12765         * misc/syslog.c (setlogmask): Likewise.
12766         * misc/truncate.c (__truncate): Likewise.
12767         * misc/truncate64.c (truncate64): Likewise.
12768         * misc/ualarm.c (ualarm): Likewise.
12769         * misc/usleep.c (usleep): Likewise.
12770         * misc/ustat.c (ustat): Likewise.
12771         * misc/writev.c (__writev): Likewise.
12772         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12773         * nptl/old_pthread_cond_broadcast.c
12774         (__pthread_cond_broadcast_2_0): Likewise.
12775         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12776         Likewise.
12777         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12778         Likewise.
12779         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12780         Likewise.
12781         * nptl/pt-raise.c (raise): Likewise.
12782         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12783         Likewise.
12784         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12785         * nptl/pthread_barrierattr_destroy.c
12786         (pthread_barrierattr_destroy): Likewise.
12787         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12788         Likewise.
12789         * nptl/pthread_barrierattr_setpshared.c
12790         (pthread_barrierattr_setpshared): Likewise.
12791         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12792         Likewise.
12793         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12794         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12795         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12796         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12797         Likewise.
12798         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12799         Likewise.
12800         * nptl/pthread_condattr_getpshared.c
12801         (pthread_condattr_getpshared): Likewise.
12802         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12803         Likewise.
12804         * nptl/pthread_condattr_setpshared.c
12805         (pthread_condattr_setpshared): Likewise.
12806         * nptl/pthread_detach.c (pthread_detach): Likewise.
12807         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12808         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12809         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12810         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12811         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12812         Likewise.
12813         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12814         Likewise.
12815         * nptl/pthread_mutex_getprioceiling.c
12816         (pthread_mutex_getprioceiling): Likewise.
12817         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12818         Likewise.
12819         * nptl/pthread_mutexattr_getprotocol.c
12820         (pthread_mutexattr_getprotocol): Likewise.
12821         * nptl/pthread_mutexattr_getpshared.c
12822         (pthread_mutexattr_getpshared): Likewise.
12823         * nptl/pthread_mutexattr_getrobust.c
12824         (pthread_mutexattr_getrobust): Likewise.
12825         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12826         Likewise.
12827         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12828         Likewise.
12829         * nptl/pthread_mutexattr_setprioceiling.c
12830         (pthread_mutexattr_setprioceiling): Likewise.
12831         * nptl/pthread_mutexattr_setprotocol.c
12832         (pthread_mutexattr_setprotocol): Likewise.
12833         * nptl/pthread_mutexattr_setpshared.c
12834         (pthread_mutexattr_setpshared): Likewise.
12835         * nptl/pthread_mutexattr_setrobust.c
12836         (pthread_mutexattr_setrobust): Likewise.
12837         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12838         Likewise.
12839         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12840         Likewise.
12841         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12842         Likewise.
12843         * nptl/pthread_rwlockattr_getkind_np.c
12844         (pthread_rwlockattr_getkind_np): Likewise.
12845         * nptl/pthread_rwlockattr_getpshared.c
12846         (pthread_rwlockattr_getpshared): Likewise.
12847         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12848         Likewise.
12849         * nptl/pthread_rwlockattr_setkind_np.c
12850         (pthread_rwlockattr_setkind_np): Likewise.
12851         * nptl/pthread_rwlockattr_setpshared.c
12852         (pthread_rwlockattr_setpshared): Likewise.
12853         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12854         Likewise.
12855         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12856         Likewise.
12857         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12858         Likewise.
12859         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12860         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12861         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12862         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12863         * nptl/sem_close.c (sem_close): Likewise.
12864         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12865         * nptl/sem_init.c (__old_sem_init): Likewise.
12866         * nptl/sigaction.c (__sigaction): Likewise.
12867         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12868         * posix/_exit.c (_exit): Likewise.
12869         * posix/alarm.c (alarm): Likewise.
12870         * posix/confstr.c (confstr): Likewise.
12871         * posix/fpathconf.c (__fpathconf): Likewise.
12872         * posix/getgroups.c (__getgroups): Likewise.
12873         * posix/getpgid.c (__getpgid): Likewise.
12874         * posix/group_member.c (__group_member): Likewise.
12875         * posix/pathconf.c (__pathconf): Likewise.
12876         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12877         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12878         * posix/setgid.c (__setgid): Likewise.
12879         * posix/setpgid.c (__setpgid): Likewise.
12880         * posix/setuid.c (__setuid): Likewise.
12881         * posix/sleep.c (__sleep): Likewise.
12882         * posix/sysconf.c (__sysconf): Likewise.
12883         * posix/times.c (__times): Likewise.
12884         * posix/uname.c (__uname): Likewise.
12885         * posix/waitid.c (__waitid): Likewise.
12886         * pwd/getpw.c (__getpw): Likewise.
12887         * resolv/base64.c (b64_pton): Likewise.
12888         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12889         * resolv/gethnamaddr.c (Dprintf): Likewise.
12890         (gethostbyname): Likewise.
12891         (gethostbyname2): Likewise.
12892         (gethostbyaddr): Likewise.
12893         (_sethtent): Likewise.
12894         (_gethtbyname): Likewise.
12895         (_gethtbyname2): Likewise.
12896         (_gethtbyaddr): Likewise.
12897         (map_v4v6_address): Likewise.
12898         (map_v4v6_hostent): Likewise.
12899         (addrsort): Likewise.
12900         (ht_sethostent): Likewise.
12901         (ht_gethostbyname): Likewise.
12902         (ht_gethostbyaddr): Likewise.
12903         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12904         (inet_net_ntop_ipv4): Likewise.
12905         * resolv/inet_neta.c (inet_neta): Likewise.
12906         * resolv/inet_ntop.c (inet_ntop): Likewise.
12907         (inet_ntop4): Likewise.
12908         (inet_ntop6): Likewise.
12909         * resolv/inet_pton.c (__inet_pton): Likewise.
12910         (inet_pton4): Likewise.
12911         (inet_pton6): Likewise.
12912         * resolv/res_debug.c (loc_aton): Likewise.
12913         (loc_ntoa): Likewise.
12914         * resource/getpriority.c (__getpriority): Likewise.
12915         * resource/getrusage.c (__getrusage): Likewise.
12916         * resource/nice.c (nice): Likewise.
12917         * resource/setpriority.c (__setpriority): Likewise.
12918         * resource/setrlimit64.c (setrlimit64): Likewise.
12919         * resource/vlimit.c (vlimit): Likewise.
12920         * resource/vtimes.c (vtimes): Likewise.
12921         * rt/aio_error.c (aio_error): Likewise.
12922         * rt/aio_return.c (aio_return): Likewise.
12923         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12924         * signal/kill.c (__kill): Likewise.
12925         * signal/killpg.c (killpg): Likewise.
12926         * signal/raise.c (raise): Likewise.
12927         * signal/sigaction.c (__sigaction): Likewise.
12928         * signal/sigaddset.c (sigaddset): Likewise.
12929         * signal/sigaltstack.c (sigaltstack): Likewise.
12930         * signal/sigandset.c (sigandset): Likewise.
12931         * signal/sigblock.c (__sigblock): Likewise.
12932         * signal/sigdelset.c (sigdelset): Likewise.
12933         * signal/sigempty.c (sigemptyset): Likewise.
12934         * signal/sigfillset.c (sigfillset): Likewise.
12935         * signal/sighold.c (sighold): Likewise.
12936         * signal/sigignore.c (sigignore): Likewise.
12937         * signal/sigintr.c (siginterrupt): Likewise.
12938         * signal/sigisempty.c (sigisemptyset): Likewise.
12939         * signal/sigismem.c (sigismember): Likewise.
12940         * signal/signal.c (signal): Likewise.
12941         * signal/sigorset.c (sigorset): Likewise.
12942         * signal/sigpause.c (__sigpause): Likewise.
12943         * signal/sigpending.c (sigpending): Likewise.
12944         * signal/sigprocmask.c (__sigprocmask): Likewise.
12945         * signal/sigrelse.c (sigrelse): Likewise.
12946         * signal/sigreturn.c (__sigreturn): Likewise.
12947         * signal/sigset.c (sigset): Likewise.
12948         * signal/sigsetmask.c (__sigsetmask): Likewise.
12949         * signal/sigstack.c (sigstack): Likewise.
12950         * signal/sigsuspend.c (__sigsuspend): Likewise.
12951         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12952         * signal/sysv_signal.c (__sysv_signal): Likewise.
12953         * socket/accept.c (accept): Likewise.
12954         * socket/accept4.c (__libc_accept4): Likewise.
12955         * socket/bind.c (__bind): Likewise.
12956         * socket/connect.c (__connect): Likewise.
12957         * socket/getpeername.c (getpeername): Likewise.
12958         * socket/getsockname.c (__getsockname): Likewise.
12959         * socket/getsockopt.c (getsockopt): Likewise.
12960         * socket/listen.c (__listen): Likewise.
12961         * socket/recv.c (__recv): Likewise.
12962         * socket/recvmsg.c (__recvmsg): Likewise.
12963         * socket/send.c (__send): Likewise.
12964         * socket/sendmsg.c (__sendmsg): Likewise.
12965         * socket/shutdown.c (shutdown): Likewise.
12966         * socket/sockatmark.c (sockatmark): Likewise.
12967         * socket/socket.c (__socket): Likewise.
12968         * stdio-common/ctermid.c (ctermid): Likewise.
12969         * stdio-common/cuserid.c (cuserid): Likewise.
12970         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12971         * stdio-common/remove.c (remove): Likewise.
12972         * stdio-common/rename.c (rename): Likewise.
12973         * stdio-common/renameat.c (renameat): Likewise.
12974         * stdio-common/tempname.c (__gen_tempname): Likewise.
12975         * stdio-common/xbug.c (InitBuffer): Likewise.
12976         (AppendToBuffer): Likewise.
12977         (ReadFile): Likewise.
12978         * stdlib/a64l.c (a64l): Likewise.
12979         * stdlib/drand48_r.c (drand48_r): Likewise.
12980         * stdlib/getcontext.c (getcontext): Likewise.
12981         * stdlib/getenv.c (getenv): Likewise.
12982         * stdlib/l64a.c (l64a): Likewise.
12983         * stdlib/llabs.c (llabs): Likewise.
12984         * stdlib/lldiv.c (lldiv): Likewise.
12985         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12986         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12987         * stdlib/putenv.c (putenv): Likewise.
12988         * stdlib/random.c (__srandom): Likewise.
12989         (__initstate): Likewise.
12990         (__setstate): Likewise.
12991         * stdlib/random_r.c (__srandom_r): Likewise.
12992         (__setstate_r): Likewise.
12993         (__random_r): Likewise.
12994         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12995         * stdlib/setcontext.c (setcontext): Likewise.
12996         * stdlib/setenv.c (setenv): Likewise.
12997         (unsetenv): Likewise.
12998         * stdlib/srand48.c (srand48): Likewise.
12999         * stdlib/srand48_r.c (__srand48_r): Likewise.
13000         * stdlib/swapcontext.c (swapcontext): Likewise.
13001         * stdlib/system.c (__libc_system): Likewise.
13002         * stdlib/tst-strtod.c (expand): Likewise.
13003         * stdlib/tst-strtol.c (expand): Likewise.
13004         * stdlib/tst-strtoll.c (expand): Likewise.
13005         * streams/fattach.c (fattach): Likewise.
13006         * streams/fdetach.c (fdetach): Likewise.
13007         * streams/getmsg.c (getmsg): Likewise.
13008         * streams/isastream.c (isastream): Likewise.
13009         * string/ffs.c (__ffs): Likewise.
13010         * string/ffsll.c (ffsll): Likewise.
13011         * string/memcmp.c (memcmp_common_alignment): Likewise.
13012         (memcmp_not_common_alignment): Likewise.
13013         (MEMCMP): Likewise.
13014         * string/memcpy.c (memcpy): Likewise.
13015         * string/memmove.c (MEMMOVE): Likewise.
13016         * string/memset.c (memset): Likewise.
13017         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13018         * string/strchrnul.c (STRCHRNUL): Likewise.
13019         * string/strerror.c (strerror): Likewise.
13020         * string/strndup.c (__strndup): Likewise.
13021         * string/strverscmp.c (__strverscmp): Likewise.
13022         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13023         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13024         (clnttcp_freeres): Likewise.
13025         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13026         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13027         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13028         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13029         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13030         (xdr_callhdr): Likewise.
13031         * sunrpc/rpcinfo.c (udpping): Likewise.
13032         (tcpping): Likewise.
13033         (pstatus): Likewise.
13034         (pmapdump): Likewise.
13035         (brdcst): Likewise.
13036         (deletereg): Likewise.
13037         (getprognum): Likewise.
13038         (getvers): Likewise.
13039         (get_inet_address): Likewise.
13040         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13041         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13042         (svcudp_stat): Likewise.
13043         (svcudp_recv): Likewise.
13044         (svcudp_reply): Likewise.
13045         (svcudp_getargs): Likewise.
13046         (svcudp_freeargs): Likewise.
13047         (svcudp_destroy): Likewise.
13048         * sunrpc/xdr.c (xdr_bytes): Likewise.
13049         (xdr_netobj): Likewise.
13050         (xdr_string): Likewise.
13051         (xdr_wrapstring): Likewise.
13052         * sunrpc/xdr_float.c (xdr_float): Likewise.
13053         (xdr_double): Likewise.
13054         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13055         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13056         * sysvipc/ftok.c (ftok): Likewise.
13057         * sysvipc/msgctl.c (msgctl): Likewise.
13058         * sysvipc/msgget.c (msgget): Likewise.
13059         * sysvipc/msgrcv.c (msgrcv): Likewise.
13060         * sysvipc/msgsnd.c (msgsnd): Likewise.
13061         * sysvipc/semget.c (semget): Likewise.
13062         * sysvipc/semop.c (semop): Likewise.
13063         * sysvipc/shmat.c (shmat): Likewise.
13064         * sysvipc/shmctl.c (shmctl): Likewise.
13065         * sysvipc/shmdt.c (shmdt): Likewise.
13066         * sysvipc/shmget.c (shmget): Likewise.
13067         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13068         * termios/speed.c (cfgetospeed): Likewise.
13069         (cfgetispeed): Likewise.
13070         (cfsetospeed): Likewise.
13071         (cfsetispeed): Likewise.
13072         * termios/tcflow.c (tcflow): Likewise.
13073         * termios/tcflush.c (tcflush): Likewise.
13074         * termios/tcgetattr.c (__tcgetattr): Likewise.
13075         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13076         * termios/tcgetsid.c (tcgetsid): Likewise.
13077         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13078         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13079         * time/adjtime.c (__adjtime): Likewise.
13080         * time/dysize.c (dysize): Likewise.
13081         * time/ftime.c (ftime): Likewise.
13082         * time/getitimer.c (__getitimer): Likewise.
13083         * time/gettimeofday.c (__gettimeofday): Likewise.
13084         * time/gmtime.c (__gmtime_r): Likewise.
13085         (gmtime): Likewise.
13086         * time/localtime.c (__localtime_r): Likewise.
13087         (localtime): Likewise.
13088         * time/offtime.c (__offtime): Likewise.
13089         * time/settimeofday.c (__settimeofday): Likewise.
13090         * time/stime.c (stime): Likewise.
13091         * time/strftime_l.c (tm_diff): Likewise.
13092         (iso_week_days): Likewise.
13093         * time/strptime.c (strptime): Likewise.
13094         * time/time.c (time): Likewise.
13095         * time/timespec_get.c (timespec_get): Likewise.
13096         * time/tzset.c (tzset_internal): Likewise.
13097         (compute_change): Likewise.
13098         (__tz_compute): Likewise.
13099         * wcsmbs/btowc.c (__btowc): Likewise.
13100         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13101         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13102         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13103         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13104         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13105         * wcsmbs/wcscat.c (__wcscat): Likewise.
13106         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13107         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13108         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13109         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13110         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13111         * wcsmbs/wcslen.c (__wcslen): Likewise.
13112         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13113         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13114         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13115         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13116         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13117         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13118         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13119         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13120         * wcsmbs/wcstok.c (wcstok): Likewise.
13121         * wcsmbs/wctob.c (wctob): Likewise.
13122         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13123         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13124         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13125         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13126         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13127         * wcsmbs/wmemset.c (__wmemset): Likewise.
13128         * wctype/wcfuncs.c (__towlower): Likewise.
13129         (__towupper): Likewise.
13131         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13132         (lll_unlock_elision): Add adapt_count parameter.
13134 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13136         * sysdeps/nptl/configure.ac: Do not give errors based on the
13137         results of top-level configure tests.
13138         * sysdeps/nptl/configure: Regenerated.
13140         * configure.ac (libc_cv_Bgroup): Remove configure test.
13141         * configure: Regenerated.
13142         * config.make.in (have-Bgroup): Remove variable.
13144         * configure.ac (sizeof_long_double): Remove configure test.
13145         * configure: Regenerated.
13146         * config.make.in (sizeof-long-double): Remove variable.
13148         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13149         * configure: Regenerated.
13150         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13151         variable.
13152         (exceptions): Likewise.
13153         * sysdeps/arm/configure: Regenerated.
13154         * config.make.in (exceptions): Remove variable.
13155         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13156         $(exceptions).
13157         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13158         (CFLAGS-vdprintf_chk.c): Likewise.
13159         (CFLAGS-printf_chk.c): Likewise.
13160         (CFLAGS-fprintf_chk.c): Likewise.
13161         (CFLAGS-vprintf_chk.c): Likewise.
13162         (CFLAGS-vfprintf_chk.c): Likewise.
13163         (CFLAGS-gets_chk.c): Likewise.
13164         (CFLAGS-fgets_chk.c): Likewise.
13165         (CFLAGS-fgets_u_chk.c): Likewise.
13166         (CFLAGS-fread_chk.c): Likewise.
13167         (CFLAGS-fread_u_chk.c): Likewise.
13168         (CFLAGS-wprintf_chk.c): Likewise.
13169         (CFLAGS-fwprintf_chk.c): Likewise.
13170         (CFLAGS-vwprintf_chk.c): Likewise.
13171         (CFLAGS-vfwprintf_chk.c): Likewise.
13172         (CFLAGS-fgetws_chk.c): Likewise.
13173         (CFLAGS-fgetws_u_chk.c): Likewise.
13174         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13175         (CFLAGS-fputc.c): Likewise.
13176         (CFLAGS-fputwc.c): Likewise.
13177         (CFLAGS-freopen64.c): Likewise.
13178         (CFLAGS-freopen.c): Likewise.
13179         (CFLAGS-fseek.c): Likewise.
13180         (CFLAGS-fseeko64.c): Likewise.
13181         (CFLAGS-fseeko.c): Likewise.
13182         (CFLAGS-ftello64.c): Likewise.
13183         (CFLAGS-ftello.c): Likewise.
13184         (CFLAGS-fwide.c): Likewise.
13185         (CFLAGS-genops.c): Likewise.
13186         (CFLAGS-getc.c): Likewise.
13187         (CFLAGS-getchar.c): Likewise.
13188         (CFLAGS-getwc.c): Likewise.
13189         (CFLAGS-getwchar.c): Likewise.
13190         (CFLAGS-iofclose.c): Likewise.
13191         (CFLAGS-iofflush.c): Likewise.
13192         (CFLAGS-iofgetpos64.c): Likewise.
13193         (CFLAGS-iofgetpos.c): Likewise.
13194         (CFLAGS-iofgets.c): Likewise.
13195         (CFLAGS-iofgetws.c): Likewise.
13196         (CFLAGS-iofputs.c): Likewise.
13197         (CFLAGS-iofputws.c): Likewise.
13198         (CFLAGS-iofread.c): Likewise.
13199         (CFLAGS-iofsetpos64.c): Likewise.
13200         (CFLAGS-iofsetpos.c): Likewise.
13201         (CFLAGS-ioftell.c): Likewise.
13202         (CFLAGS-iofwrite.c): Likewise.
13203         (CFLAGS-iogetdelim.c): Likewise.
13204         (CFLAGS-iogetline.c): Likewise.
13205         (CFLAGS-iogets.c): Likewise.
13206         (CFLAGS-iogetwline.c): Likewise.
13207         (CFLAGS-ioputs.c): Likewise.
13208         (CFLAGS-ioseekoff.c): Likewise.
13209         (CFLAGS-ioseekpos.c): Likewise.
13210         (CFLAGS-iosetbuffer.c): Likewise.
13211         (CFLAGS-iosetvbuf.c): Likewise.
13212         (CFLAGS-ioungetc.c): Likewise.
13213         (CFLAGS-ioungetwc.c): Likewise.
13214         (CFLAGS-oldfileops.c): Likewise.
13215         (CFLAGS-oldiofclose.c): Likewise.
13216         (CFLAGS-oldiofgetpos64.c): Likewise.
13217         (CFLAGS-oldiofgetpos.c): Likewise.
13218         (CFLAGS-oldiofsetpos64.c): Likewise.
13219         (CFLAGS-oldiofsetpos.c): Likewise.
13220         (CFLAGS-peekc.c): Likewise.
13221         (CFLAGS-putc.c): Likewise.
13222         (CFLAGS-putchar.c): Likewise.
13223         (CFLAGS-putwc.c): Likewise.
13224         (CFLAGS-putwchar.c): Likewise.
13225         (CFLAGS-rewind.c): Likewise.
13226         (CFLAGS-wfileops.c): Likewise.
13227         (CFLAGS-wgenops.c): Likewise.
13228         (CFLAGS-oldiofopen.c): Likewise.
13229         (CFLAGS-iofopen.c): Likewise.
13230         (CFLAGS-iofopen64.c): Likewise.
13231         (CFLAGS-oldtmpfile.c): Likewise.
13232         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13233         (CFLAGS-fprintf.c): Likewise.
13234         (CFLAGS-printf.c): Likewise.
13235         (CFLAGS-vfwprintf.c): Likewise.
13236         (CFLAGS-vfscanf.c): Likewise.
13237         (CFLAGS-vfwscanf.c): Likewise.
13238         (CFLAGS-fscanf.c): Likewise.
13239         (CFLAGS-scanf.c): Likewise.
13240         (CFLAGS-isoc99_vfscanf.c): Likewise.
13241         (CFLAGS-isoc99_vscanf.c): Likewise.
13242         (CFLAGS-isoc99_fscanf.c): Likewise.
13243         (CFLAGS-isoc99_scanf.c): Likewise.
13244         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13245         (CFLAGS-isoc99_fwscanf.c): Likewise.
13246         (CFLAGS-isoc99_vwscanf.c): Likewise.
13247         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13249         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13250         after mkstemp64.
13251         * login/tst-utmp.c (do_prepare): Likewise.
13252         * rt/tst-aio.c (do_prepare): Likewise.
13253         * rt/tst-aio64.c (do_prepare): Likewise.
13255 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13257         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13258         (__lll_lock_elision): Remove adapt_count decrement...
13259         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13260         (__lll_trylock_elision): Likewise.
13261         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13262         (__lll_unlock_elision): ... to here. And utilize
13263         new adapt_count parameter.
13264         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13265         (__lll_unlock_elision): Update to include adapt_count
13266         parameter.
13267         (lll_unlock_elision): Pass pointer to adapt_count
13268         variable.
13270 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13272         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13273         Add elision adapt_count parameter to list of arguments.
13274         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13275         (lll_unlock_elision): Update with new parameter list
13276         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13277         (lll_unlock_elision): Likewise.
13278         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13279         (lll_unlock_elision): Likewise.
13281 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13283         [BZ #19122]
13284         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13285         attribute_hidden.
13287         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13288         attribute_hidden.
13289         [IS_IN (rtld)] (__strdup): Likewise.
13290         [IS_IN (rtld)] (__strerror_r): Likewise.
13291         [IS_IN (rtld)] (__strsep_g): Likewise.
13292         [IS_IN (rtld)] (memchr): Likewise.
13293         [IS_IN (rtld)] (memcmp): Likewise.
13294         [IS_IN (rtld)] (memcpy): Likewise.
13295         [IS_IN (rtld)] (memmove): Likewise.
13296         [IS_IN (rtld)] (memset): Likewise.
13297         [IS_IN (rtld)] (rawmemchr): Likewise.
13298         [IS_IN (rtld)] (stpcpy): Likewise.
13299         [IS_IN (rtld)] (strchr): Likewise.
13300         [IS_IN (rtld)] (strcmp): Likewise.
13301         [IS_IN (rtld)] (strlen): Likewise.
13302         [IS_IN (rtld)] (strnlen): Likewise.
13303         [IS_IN (rtld)] (strsep): Likewise.
13305         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13306         attribute_hidden.
13307         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13309         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13310         attribute_hidden.
13311         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13313         * include/setjmp.h (__longjmp): Add attribute_hidden.
13314         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13316         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13317         Add attribute_hidden.
13319         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13320         [IS_IN (rtld)] (__open): Likewise.
13321         [IS_IN (rtld)] (__fcntl): Likewise.
13323         * include/dirent.h (__opendirat): Add attribute_hidden.
13324         (__getdents): Likewise.
13325         (__getdents64): Likewise.
13326         (__alloc_dir): Likewise.
13327         [IS_IN (rtld)] (__closedir): Likewise.
13328         [IS_IN (rtld)] (__fdopendir): Likewise.
13329         [IS_IN (rtld)] (__readdir): Likewise.
13330         [IS_IN (rtld)] (__readdir64): Likewise.
13331         [IS_IN (rtld)] (__rewinddir): Likewise.
13333         * include/dlfcn.h (_dl_catch_error): Moved to ...
13334         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13335         attribute_hidden.
13337         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13338         (_itoa_word): Likewise.
13340         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13341         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13342         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13343         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13344         (_dl_higher_prime_number): Likewise.
13345         (_dl_debug_printf_c): Likewise.
13346         (_dl_signal_cerror): Likewise.
13347         (_dl_receive_error): Likewise.
13348         (_dl_reloc_bad_type): Likewise.
13349         (_dl_resolve_conflicts): Likewise.
13350         (_dl_check_all_versions): Likewise.
13351         (_dl_check_map_versions): Likewise.
13352         (_dl_sort_fini): Likewise.
13353         (_dl_debug_initialize): Likewise.
13354         (_dl_init_paths): Likewise.
13355         (_dl_show_auxv): Likewise.
13356         (_dl_next_ld_env_entry): Likewise.
13357         (_dl_important_hwcaps): Likewise.
13358         (_dl_load_cache_lookup): Likewise.
13359         (_dl_update_slotinfo): Likewise.
13360         (_dl_show_scope): Likewise.
13362         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13363         attribute_hidden.
13364         (_wordcopy_fwd_dest_aligned): Likewise.
13365         (_wordcopy_bwd_aligned): Likewise.
13366         (_wordcopy_bwd_dest_aligned): Likewise.
13368         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13369         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13370         Likewise.
13371         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13372         Likewise.
13373         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13375 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13377         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13378         GCC 5 requirement.
13380 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13382         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13383         test.
13384         * sysdeps/i386/configure: Regenerated.
13385         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13386         code unconditional.
13388         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13389         test.
13390         (libc_cv_asm_popsection_directive): Likewise.
13391         * configure: Regenerated.
13392         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13393         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13394         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13395         (__make_section_unallocated): Make definition unconditional.
13396         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13397         Remove conditional definition.
13398         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13399         (__make_section_unallocated): Likewise.
13401         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13402         * configure: Regenerated.
13403         * config.make.in (static-libgcc): Remove variable.
13404         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13405         $(static-libgcc).
13406         (build-module-helper): Likewise.
13408         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13409         * configure: Regenerated.
13411 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13413         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13414         (struct char_buffer): New type.
13415         (char_buffer_start, char_buffer_size, char_buffer_error)
13416         (char_buffer_rewind, char_buffer_add): New functions.
13417         (ADDW): Remove macro, replaced by the char_buffer_add function.
13418         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13419         of extend_alloca.  Make control flow more explicit.
13421 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13423         [BZ #19137]
13424         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13425         Add -fomit-frame-pointer.
13426         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13428 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13430         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13431         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13432         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13433         only if !__GNUC_PREREQ (5,0).
13434         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13435         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13436         (INTERNAL_SYSCALL_NCS): Likewise.
13437         (LOADREGS_0): New macro for GCC 5.
13438         (ASMARGS_0): Likewise.
13439         (LOADREGS_1): Likewise.
13440         (ASMARGS_1): Likewise.
13441         (LOADREGS_2): Likewise.
13442         (ASMARGS_2): Likewise.
13443         (LOADREGS_3): Likewise.
13444         (ASMARGS_3): Likewise.
13445         (LOADREGS_4): Likewise.
13446         (ASMARGS_4): Likewise.
13447         (LOADREGS_5): Likewise.
13448         (ASMARGS_5): Likewise.
13449         (LOADREGS_6): Likewise.
13450         (ASMARGS_6): Likewise.
13452 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13454         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13455         -fomit-frame-pointer.
13456         (CFLAGS-mmap64.c): Likewise.
13457         (CFLAGS-semtimedop.c): Likewise.
13458         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13459         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13460         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13461         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13463 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13465         [BZ #18928]
13466         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13467         _dl_pointer_guard member.
13468         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13469         initializer.
13470         (security_init): Always set up pointer guard.
13471         (process_envvars): Do not process LD_POINTER_GUARD.
13473 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13475         [BZ #19134]
13476         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13477         (.LC2): Likewise.
13478         (.LC3): Likewise.
13479         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13481 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13483         [BZ #19129]
13484         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13485         r0 and r1.
13487 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13489         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13491 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13493         * include/stap-probe.h: Fix macro definition formatting.
13495 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13497         [BZ #19074]
13498         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13499         load and store num_ifs.
13501 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13503         [BZ #18822]
13504         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13505         (__sched_getaffinity_new): Add libc_hidden_proto and
13506         libc_hidden_def.
13508 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13510         [BZ #19007]
13511         * scripts/localplt.awk: Also allow GOT references.
13512         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13513         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13514         with "+ REL R_386_GLOB_DAT".
13515         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13516         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13518 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13520         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13521         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13522         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13523         Likewise.
13524         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13525         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13526         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13527         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13528         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13529         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13530         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13531         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13532         Likewise.
13533         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13535 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13537         [BZ #19125]
13538         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13539         <math_private.h> and <stdint.h>.
13540         (__llround): Avoid conversions to and from long long int, and
13541         subtractions, where those might raise spurious exceptions.
13542         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13543         <math_private.h> and <stdint.h>.
13544         (__llroundf): Avoid conversions to and from long long int, and
13545         subtractions, where those might raise spurious exceptions.
13547 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13549         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13550         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13551         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13552         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13553         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13554         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13555         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13556         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13557         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13558         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13559         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13560         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13561         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13562         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13563         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13564         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13565         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13566         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13567         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13568         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13569         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13570         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13571         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13572         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13573         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13574         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13575         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13576         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13577         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13578         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13579         (__xstat64_conv): Likewise.
13580         (__xstat32_conv): Likewise.
13582 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13584         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13585         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13586         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13587         <sysdeps/unix/sysv/linux/sysdep.h>.
13588         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13589         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13590         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13591         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13592         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13593         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13594         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13595         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13596         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13599         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13600         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13601         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13602         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13603         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13604         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13605         (sysdep-dl-routines): Add sysdep.
13606         [$(subdir) == nptl] (libpthread-routines): Likewise.
13607         [$(subdir) == rt] (librt-routines): Likewise.
13608         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13609         PIC when branching to SYSCALL_ERROR_LABEL.
13610         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13611         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13612         <sysdeps/unix/sysv/linux/sysdep.h>.
13613         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13614         (SYSCALL_ERROR_ERRNO): Removed.
13615         (SYSCALL_ERROR_HANDLER): Changed to empty.
13616         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13617         (__syscall_error): New prototype.
13618         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13619         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13621 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13623         [BZ #19124]
13624         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13625         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13626         _dl_runtime_resolve_avx.
13627         (_dl_runtime_profile_avx512): Make it a hidden alias of
13628         _dl_runtime_profile_avx.
13630 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13632         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13633         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13634         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13635         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13637         [BZ #16422]
13638         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13639         New configure test.
13640         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13641         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13642         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13643         <math_private.h> and <stdint.h>.
13644         (__llrint): Avoid conversions to long long int where those might
13645         raise spurious exceptions.
13646         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13647         <math_private.h> and <stdint.h>.
13648         (__llrintf): Avoid conversions to long long int where those might
13649         raise spurious exceptions.
13651 2015-10-12  Andreas Schwab  <schwab@suse.de>
13653         [BZ #18969]
13654         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13655         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13656         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13657         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13658         $(gen-locales).
13659         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13660         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13661         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13662         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13663         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13664         $(gen-locales).
13665         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13666         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13667         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13668         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13669         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13670         ($(objpfx)tst-ftell-active-handler.out)
13671         ($(objpfx)tst-ftell-append.out)
13672         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13673         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13674         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13675         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13676         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13677         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13678         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13679         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13680         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13681         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13682         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13683         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13684         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13685         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13686         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13687         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13688         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13689         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13690         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13691         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13692         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13693         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13694         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13695         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13696         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13697         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13698         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13699         $(gen-locales).
13700         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13701         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13702         $(gen-locales).
13703         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13704         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13705         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13706         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13707         $(gen-locales).
13708         * libio/tst_wprintf2.c (main): Use explicit locale.
13709         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13711 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13713         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13714         __msg_sig_post.
13715         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13717 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13719         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13720         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13722         * sysdeps/arm/libm-test-ulps: Regenerated.
13724         [BZ #15470]
13725         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13727         [BZ #16399]
13728         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13729         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13730         and <fix-fp-int-convert-overflow.h>.
13731         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13732         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13733         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13734         and <fix-fp-int-convert-overflow.h>.
13735         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13736         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13737         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13738         <fix-fp-int-convert-overflow.h>.
13739         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13740         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13741         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13742         <fix-fp-int-convert-overflow.h>.
13743         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13744         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13745         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13746         and <fix-fp-int-convert-overflow.h>.
13747         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13748         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13749         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13750         <limits.h> and <fix-fp-int-convert-overflow.h>.
13751         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13752         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13753         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13754         and <fix-fp-int-convert-overflow.h>.
13755         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13756         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13757         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13758         and <fix-fp-int-convert-overflow.h>.
13759         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13760         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13761         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13763 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13765         [BZ #18589]
13766         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13767         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13768         $(gen-locales).
13770 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13771             Phil Blundell <pb@pbcl.net>
13773         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13774         * nptl/tst-cancel26.c: New file.
13775         * nptl/tst-cancel27.c: Likewise.
13777 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13779         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13780         __ILP32__ isn't defined.
13781         (lrint): Likewise.
13782         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13783         (lrintf): Likewise.
13784         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13785         (lrintl): Likewise.
13786         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13787         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13788         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13790 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13792         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13793         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13795         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13796         file.
13797         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13798         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13800 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13802         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13803         configure test.
13804         * sysdeps/i386/configure: Regenerated.
13805         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13806         configure test.
13807         * sysdeps/x86_64/configure: Regenerated.
13808         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13809         Make code unconditional.
13811         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13812         test.
13813         * sysdeps/i386/configure: Regenerated.
13814         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13815         test.
13816         * sysdeps/x86_64/configure: Regenerated.
13817         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13818         Make code unconditional.
13819         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13820         Likewise.
13821         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13822         Likewise.
13823         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13824         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13825         code unconditional.
13826         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13827         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13828         code unconditional.
13829         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13830         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13831         code unconditional.
13832         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13833         code unconditional.
13834         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13835         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13836         code unconditional.
13837         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13838         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13839         code unconditional.
13840         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13841         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13842         code unconditional.
13843         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13844         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13845         code unconditional.
13846         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13847         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13849         [BZ #19095]
13850         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13851         mantissa to long int before shifting left.
13853 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13855         [BZ #19094]
13856         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13857         <limits.h>.
13858         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13859         when result overflows but exception would not result from cast.
13860         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13861         <limits.h>.
13862         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13863         when result overflows but exception would not result from cast.
13864         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13865         <limits.h>.
13866         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13867         when result overflows but exception would not result from cast.
13868         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13869         <limits.h>.
13870         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13871         when result overflows but exception would not result from cast.
13872         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13873         <limits.h>.
13874         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13875         when result overflows but exception would not result from cast.
13876         * math/libm-test.inc (lrint_test_data): Add more tests.
13877         (llrint_test_data): Likewise.
13879 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13881         [BZ #18872]
13882         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13883         Move out from under [$(run-built-tests) = yes] conditional.
13884         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13885         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13887 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13889         [BZ #18589]
13890         * string/Makefile (tests): Add bug-strcoll2.
13891         (LOCALES): Add cs_CZ.UTF-8.
13892         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13894         [BZ #18589]
13895         * string/bug-strcoll2.c: New file.
13896         * locale/categories.def: Revert commit
13897         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13898         * locale/langinfo.h: Likewise.
13899         * locale/localeinfo.h: Likewise.
13900         * locale/C-collate.c: Likewise.
13901         * locale/programs/ld-collate.c (collate_output): Likewise.
13902         * string/strcoll_l.c (STRDIFF): Likewise.
13903         (STRCOLL): Likewise.
13904         * wcsmbs/wcscoll_l.c: Likewise.
13906 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13908         * math/libm-test.inc (lround_test_data): Do not expect the absence
13909         of "inexact" for some tests with non-integer arguments.
13910         (llround_test_data): Likewise.
13912         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13913         test.
13914         (libc_cv_cc_sse2avx): Likewise.
13915         * sysdeps/i386/configure: Regenerated.
13916         * sysdeps/i386/i686/multiarch/Makefile
13917         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13918         [$(subdir) = math].
13919         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13920         code unconditional.
13921         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13922         Likewise.
13923         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13924         Likewise.
13925         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13926         Likewise.
13927         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13928         test.
13929         (libc_cv_cc_sse2avx): Likewise.
13930         * sysdeps/x86_64/configure: Regenerated.
13931         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13932         unconditional.
13933         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13934         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13935         unconditional.
13936         (_dl_runtime_profile)
13937         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13938         conditional code.
13939         * sysdeps/x86_64/fpu/multiarch/Makefile
13940         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13941         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13942         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13943         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13944         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13945         * sysdeps/x86_64/fpu/multiarch/e_log.c
13946         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13947         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13948         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13949         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13950         Likewise.
13951         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13952         Likewise.
13953         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13954         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13955         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13956         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13957         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13958         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13959         (HAVE_SSE2AVX_SUPPORT): Likewise.
13961 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13963         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13964         instead of #pragma optimize.
13966 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13968         [BZ #17195]
13969         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13970         as is similarly done in systrim and _int_free already.
13972 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13974         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13976 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13978         [BZ #19088]
13979         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13980         <limits.h>.
13981         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13982         overflows but exception would not result from cast.
13983         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13984         and <limits.h>.
13985         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13986         overflows but exception would not result from cast.
13987         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13988         <limits.h>.
13989         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13990         overflows but exception would not result from cast.
13991         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13992         <limits.h>.
13993         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13994         overflows but exception would not result from cast.
13995         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13996         <limits.h>.
13997         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13998         overflows but exception would not result from cast.
13999         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14000         <limits.h>.
14001         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14002         overflows but exception would not result from cast.
14003         * math/libm-test.inc (lround_test_data): Add more tests.
14004         (llround_test_data): Likewise.
14006 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14008         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14009         (CFLAGS-ialloc.c): Ditto.
14010         (CFLAGS-scheck.c): Ditto.
14012 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14014         [BZ #19086]
14015         * manual/filesys.texi (Storage Allocation): Fix argument order for
14016         posix_fallocate64.
14018 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14020         [BZ #19085]
14021         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14022         exponent below 48 inside case for non-overflowing exponent.
14023         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14025 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14027         * iconvdata/cp737.h (from_idx): Add const.
14028         * iconvdata/cp775.h (from_idx): Likewise.
14030 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14032         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14033         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14034         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14036         [BZ #19079]
14037         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14038         file, conditioned on [!_LP64].
14039         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14040         [!_LP64] (__lround): Do not define as function or alias.
14041         [!_LP64] (lround): Likewise.
14042         [!_LP64] (__lroundl): Likewise.
14043         [!_LP64] (lroundl): Likewise.
14044         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14045         macro.
14046         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14047         Likewise.
14049 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14051         * math/libm-test.inc (lrint_test_data): Add more tests.
14052         (llrint_test_data): Likewise.
14053         (lround_test_data): Likewise.
14054         (llround_test_data): Likewise.
14056         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14057         (llrint_test_data): Add tests used for lrint.
14059         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14060         test.
14061         * sysdeps/i386/configure: Regenerated.
14062         * sysdeps/i386/i686/multiarch/Makefile
14063         [$(config-cflags-sse4) = yes]: Make code unconditional.
14064         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14065         Likewise.
14066         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14067         Likewise.
14068         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14069         test.
14070         * sysdeps/x86_64/configure: Regenerated.
14071         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14072         Make code unconditional.
14073         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14074         Likewise.
14075         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14076         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14078         * scripts/rpm2dynsym.sh: Remove file.
14080 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14082         * configure.ac (libc_cv_cxx_thread_local): Define.
14083         * configure: Regenerate.
14084         * config.make.in (have-cxx-thread_local): Define.
14085         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14086         (LDLIBS-tst-thread_local1): Define.
14087         (tests): Add tst-thread_local1.
14088         [have-cxx-thread_local != yes] (tests-unsupported): Add
14089         tst-thread_local1.
14090         * nptl/tst-thread_local1.cc: New file.
14092 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14094         [BZ #19078]
14095         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14096         (u_thres): Likewise.
14097         (__expl): Determine whether to call __kernel_standard_l based on
14098         value of result, not argument.
14100         * math/libm-test.inc (scalb_test_data): Add more expectations for
14101         the "inexact" exception.
14103         [BZ #19077]
14104         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14105         0.0L for argument 1.0L.
14107         [BZ #19076]
14108         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14109         constant 0.0L when computing infinite result.
14111 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14113         [BZ #10432]
14114         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14115         malloc_usable_size.
14117 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14119         [BZ #19018]
14120         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14121         Mangle function pointer before storing it.
14122         (__call_tls_dtors): Demangle function pointer before calling it.
14124 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14126         [BZ #19012]
14127         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14128         Clean up on failure.
14130 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14132         [BZ #19071]
14133         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14134         long int variable to store possibly incremented high part of
14135         mantissa.
14136         * math/libm-test.inc (lround_test_data): Add tests used for
14137         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14138         for tests requiring 64-bit long.  Do not condition tests on
14139         [TEST_FLOAT] unnecessarily.
14140         (llround_test_data): Add tests used for lround.  Add another
14141         expectation for the "inexact" exception.  Do not condition tests
14142         on [TEST_FLOAT] unnecessarily.
14144         [BZ #887]
14145         [BZ #19049]
14146         [BZ #19050]
14147         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14148         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14149         <fix-int-fp-convert-zero.h>.
14150         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14151         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14152         <fix-int-fp-convert-zero.h>.
14153         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14154         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14155         <fix-int-fp-convert-zero.h>.
14156         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14157         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14158         <fix-int-fp-convert-zero.h>.
14159         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14160         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14161         <fix-int-fp-convert-zero.h>.
14162         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14163         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14164         <fix-int-fp-convert-zero.h>.
14165         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14166         * sysdeps/ieee754/flt-32/s_erff.c: Include
14167         <fix-int-fp-convert-zero.h>.
14168         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14169         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14170         <fix-int-fp-convert-zero.h>.
14171         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14172         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14173         <fix-int-fp-convert-zero.h>.
14174         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14175         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14176         <fix-int-fp-convert-zero.h>.
14177         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14178         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14179         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14180         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14181         file.
14182         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14184 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14186         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14188 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14190         [BZ #19059]
14191         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14192         overflowing computation.
14193         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14194         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14195         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14196         Likewise.
14197         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14198         Likewise.
14199         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14200         Likewise.
14201         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14202         Likewise.
14203         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14204         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14205         Likewise.
14206         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14207         Likewise.
14208         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14210         * nss/rewrite_field.c (__nss_rewrite_field): Use
14211         internal_function.
14212         * nss/valid_field.c (__nss_valid_field): Likewise.
14213         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14215 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14217         [BZ #18724]
14218         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14219         (__nss_invalid_field_characters, __nss_valid_field)
14220         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14221         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14222         tst-field.c: New file.
14223         * nss/Makefile (routines): Add valid_field, rewrite_field.
14224         (tests-static): Define unconditionally.
14225         (tests): Include tests-static.
14226         [build-static-nss] (tests-static): Use append.
14227         [build-static-nss] (tests): Remove modification.
14228         * nss/getent.c (print_group): Call putgrent.  Report error.
14229         (print_gshadow): Call putsgent.  Report error.
14230         (print_passwd): Call putpwent.  Report error.
14231         (print_shadow): Call putspent.  Report error.
14232         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14233         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14234         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14235         name, password, directory, shell fields for valid syntax.  Rewrite
14236         GECOS field to match syntax.
14237         * pwd/Makefile (tests): Add tst-putpwent.
14238         * pwd/tst-putpwent.c: New file.
14239         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14240         Check grName, grpasswd, gr_mem fields for valid syntax.
14241         Change loop variable i to size_t.
14242         * grp/Makefile (tests): Add tst-putgrent.
14243         * grp/tst-putgrent.c: New file.
14244         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14245         valid syntax.
14246         * shadow/Makefile (tests): Add tst-putspent.
14247         * shadow/tst-putspent.c: New file.
14248         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14249         sg_mem fields for valid syntax.
14250         * gshadow/Makefile (tests): Add tst-putsgent.
14251         * gshadow/tst-putsgent.c: New file.
14253 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14255         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14256         assembly instructions.
14258 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14260         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14261         prefix from operands.
14263 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14265         [BZ #16347]
14266         [BZ #19046]
14267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14268         <libc-internal.h>.
14269         (MAXLGM): Do not use diagnostic control macros.
14270         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14271         threshold for ldbl-128ibm.
14272         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14273         instead of multiplying by log then subtracting.
14274         * math/auto-libm-test-in: Add more tests of lgamma.
14275         * math/auto-libm-test-out: Regenerated.
14277         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14278         (TYPE_HEX_DIG): Likewise.
14279         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14280         precisions when printing floating-point numbers.
14281         (check_float_internal): Likewise.
14283 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14285         [BZ #16620]
14286         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14287         of log (10) rounded downward to 48 bits.
14288         (log10_low): Use corresponding low part of log (10).
14290         [BZ #19032]
14291         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14292         compute result as (x - x) / (x - x) not as 0 / 0.
14293         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14294         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14296         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14297         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14298         and expm1.
14299         * math/auto-libm-test-out: Regenerated.
14300         * math/libm-test.inc (acos_test_data): Add more tests.
14301         (asin_test_data): Likewise.
14302         (asinh_test_data): Likewise.
14303         (atan_test_data): Likewise.
14304         (atanh_test_data): Likewise.
14305         (atan2_test_data): Likewise.
14306         (cbrt_test_data): Likewise.
14307         (ceil_test_data): Likewise.
14308         (copysign_test_data): Likewise.
14309         (cos_test_data): Likewise.
14310         (cosh_test_data): Likewise.
14311         (erf_test_data): Likewise.
14312         (erfc_test_data): Likewise.
14313         (exp_test_data): Likewise.
14314         (exp10_test_data): Likewise.
14315         (exp2_test_data): Likewise.
14316         (expm1_test_data): Likewise.
14317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14319 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14321         [BZ #19006]
14322         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14323         to ...
14324         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14325         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14326         to ...
14327         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14328         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14329         to ...
14330         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14331         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14332         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14333         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14334         to ...
14335         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14336         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14337         Moved to ...
14338         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14339         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14340         Moved to ...
14341         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14342         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14343         to ...
14344         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14345         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14346         Moved to ...
14347         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14348         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14349         to ...
14350         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14351         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14352         Removed.
14353         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14354         Likewise.
14355         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14356         Likewise.
14357         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14358         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14359         Likewise.
14360         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14361         Likewise.
14362         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14363         Likewise.
14364         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14365         Likewise.
14366         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14367         Likewise.
14368         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14369         Likewise.
14370         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14371         Likewise.
14372         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14373         Likewise.
14374         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14375         Likewise.
14376         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14377         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14378         Likewise.
14379         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14380         Likewise.
14381         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14382         Likewise.
14383         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14384         Likewise.
14385         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14386         Likewise.
14387         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14388         Replace ../i486/pthread_cond_timedwait.S with
14389         ../pthread_cond_timedwait.S.
14391 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14393         * math/libm-test.inc (acos_test_data): Refine expectations for
14394         errno and "inexact" exceptions.
14395         (acosh_test_data): Likewise.
14396         (asin_test_data): Likewise.
14397         (asinh_test_data): Likewise.
14398         (atan_test_data): Likewise.
14399         (atanh_test_data): Likewise.
14400         (atan2_test_data): Likewise.
14401         (cbrt_test_data): Likewise.
14402         (ceil_test_data): Likewise.
14403         (copysign_test_data): Likewise.
14404         (cosh_test_data): Likewise.
14405         (erf_test_data): Likewise.
14406         (erfc_test_data): Likewise.
14407         (exp_test_data): Likewise.
14408         (exp10_test_data): Likewise.
14409         (exp2_test_data): Likewise.
14410         (expm1_test_data): Likewise.
14411         (fabs_test_data): Likewise.
14412         (floor_test_data): Likewise.
14413         (fma_test_data): Likewise.
14414         (fmax_test_data): Likewise.
14415         (fmin_test_data): Likewise.
14416         (fmod_test_data): Likewise.
14417         (fpclassify_test_data): Likewise.
14418         (frexp_test_data): Likewise.
14419         (hypot_test_data): Likewise.
14420         (ilogb_test_data): Likewise.
14421         (isgreater_test_data): Likewise.
14422         (isgreaterequal_test_data): Likewise.
14423         (isinf_test_data): Likewise.
14424         (isless_test_data): Likewise.
14425         (islessequal_test_data): Likewise.
14426         (islessgreater_test_data): Likewise.
14427         (isnan_test_data): Likewise.
14428         (isnormal_test_data): Likewise.
14429         (issignaling_test_data): Likewise.
14430         (isunordered_test_data): Likewise.
14431         (j0_test_data): Likewise.
14432         (j1_test_data): Likewise.
14433         (jn_test_data): Likewise.
14434         (lgamma_test_data): Likewise.
14435         (lrint_test_data): Likewise.
14436         (llrint_test_data): Likewise.
14437         (log_test_data): Likewise.
14438         (log10_test_data): Likewise.
14439         (log1p_test_data): Likewise.
14440         (log2_test_data): Likewise.
14441         (logb_test_data): Likewise.
14442         (lround_test_data): Likewise.
14443         (llround_test_data): Likewise.
14444         (modf_test_data): Likewise.
14445         (nearbyint_test_data): Likewise.
14446         (nextafter_test_data): Likewise.
14447         (nexttoward_test_data): Likewise.
14448         (pow_test_data): Likewise.
14449         (remainder_test_data): Likewise.
14450         (remquo_test_data): Likewise.
14451         (rint_test_data): Likewise.
14452         (round_test_data): Likewise.
14453         (signbit_test_data): Likewise.
14454         (sinh_test_data): Likewise.
14455         (sqrt_test_data): Likewise.
14456         (tanh_test_data): Likewise.
14457         (tgamma_test_data): Likewise.
14458         (trunc_test_data): Likewise.
14459         (y0_test_data): Likewise.
14460         (y1_test_data): Likewise.
14461         (yn_test_data): Likewise.
14462         (significand_test_data): Likewise.
14464 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14466         * manual/filesys.texi (Storage Allocation): Document that
14467         posix_fallocate emulation fails when fd is open with O_WRONLY.
14469 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14471         [BZ #19016]
14472         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14473         allow more cases with X^2 + Y^2 >= 0.5.
14474         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14475         normal element in sum instead of special-casing based on values of
14476         arguments.
14477         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14478         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14479         -1 as normal element in sum instead of special-casing based on
14480         values of arguments.
14481         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14482         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14483         (__x2y2m1): Update comment.
14484         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14485         as normal element in sum instead of special-casing based on values
14486         of arguments.
14487         * math/s_clog.c (__clog): Handle more cases using log1p without
14488         hypot.
14489         * math/s_clog10.c (__clog10): Likewise.
14490         * math/s_clog10f.c (__clog10f): Likewise.
14491         * math/s_clog10l.c (__clog10l): Likewise.
14492         * math/s_clogf.c (__clogf): Likewise.
14493         * math/s_clogl.c (__clogl): Likewise.
14494         * math/auto-libm-test-in: Add more tests of clog and clog10.
14495         * math/auto-libm-test-out: Regenerated.
14496         * sysdeps/i386/fpu/libm-test-ulps: Update.
14497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14499 2015-09-28  Martin Sebor  <msebor@redhat.com>
14501         [BZ #18969]
14502         * string/Makefile (LOCALES): Define.
14503         (gen-locales.mk): Include.
14504         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14505         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14506         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14507         on setlocale failure.
14509 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14511         [BZ #18985]
14512         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14513         (__strftime_internal): Likewise.
14514         * time/tst-strftime.c (do_bz18985): New test.
14515         (do_test): Call it.
14517 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14519         [BZ #18956]
14520         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14521         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14522         extracting high part.
14523         * math/auto-libm-test-in: Add another test of pow.
14524         * math/auto-libm-test-out: Regenerated.
14525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14527 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14529         [BZ #18825]
14530         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14531         New macro.
14532         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14533         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14534         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14535         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14536         DBL_NARROW_EVAL, reloading the PIC register as needed.
14537         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14538         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14539         FLT_NARROW_EVAL.  Use separate return path for case when first
14540         argument is NaN.
14541         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14542         DEFINE_LDBL_MIN.
14543         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14544         PIC register.
14545         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14546         math_check_force_underflow_nonneg.
14547         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14548         underflow for subnormal result.
14549         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14550         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14551         math_check_force_underflow_nonneg.
14552         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14553         math_check_force_underflow.
14554         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14555         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14556         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14557         DEFINE_LDBL_MIN.
14558         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14559         * math/auto-libm-test-in: Add more tests of pow.
14560         * math/auto-libm-test-out: Regenerated.
14562 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14564         * nss/bug17079.c (init_test_items): Add diagnostic for
14565         inconsistent entries.
14566         (test_buffer_size): Skip inconsistent entries.
14568 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14570         [BZ #13304]
14571         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14572         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14573         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14575         [BZ #13304]
14576         * sysdeps/microblaze/s_fma.c: New file.
14577         * sysdeps/microblaze/s_fmaf.c: Likewise.
14578         * sysdeps/microblaze/sfp-machine.h: Likewise.
14580 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14582         [BZ #17250]
14583         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14584         member.
14586 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14588         [BZ #18803]
14589         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14590         (MO): New macro.
14591         (__ieee754_hypot) [PIC]: Load PIC register.
14592         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14593         DBL_NARROW_EVAL.
14594         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14595         math_check_force_underflow_nonneg in case where result might be
14596         tiny.
14597         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14598         Likewise.
14599         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14600         Likewise.
14601         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14602         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14603         * math/auto-libm-test-in: Add more tests of hypot.
14604         * math/auto-libm-test-out: Regenerated.
14606 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14608         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14610 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14612         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14613         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14614         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14615         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14616         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14617         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14618         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14620         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14621         LOAD_PIC_REG.
14623         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14624         (FLT_CHECK_FORCE_UFLOW): Likewise.
14625         (DBL_CHECK_FORCE_UFLOW): Likewise.
14626         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14627         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14628         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14629         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14630         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14631         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14632         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14633         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14634         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14635         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14636         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14637         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14638         (flt_min): Replace with use of DEFINE_FLT_MIN.
14639         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14640         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14641         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14642         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14643         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14644         (flt_min): Replace with use of DEFINE_FLT_MIN.
14645         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14646         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14647         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14648         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14649         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14650         (flt_min): Replace with use of DEFINE_FLT_MIN.
14651         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14652         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14653         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14654         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14655         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14656         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14657         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14658         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14659         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14660         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14661         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14662         (flt_min): Replace with use of DEFINE_FLT_MIN.
14663         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14664         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14665         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14666         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14667         main computation.
14668         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14669         (flt_min): Replace with use of DEFINE_FLT_MIN.
14670         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14671         main computation.
14672         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14673         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14674         (MO): New macro.
14675         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14676         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14677         (flt_min): Replace with use of DEFINE_FLT_MIN.
14678         (MO): New macro.
14679         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14680         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14681         (__log1pl): Use MO.
14683         [BZ #19003]
14684         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14685         $(config-cflags-nofma).
14687 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14689         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14691 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14693         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14694         (TWO127): Likewise.
14696         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14697         (min_of_type): Likewise.
14698         (math_check_force_underflow): Likewise.
14699         (math_check_force_underflow_nonneg): Likewise.
14700         (math_check_force_underflow_complex): Likewise.
14701         * math/e_exp2l.c (__ieee754_exp2l): Use
14702         math_check_force_underflow_nonneg.
14703         * math/k_casinh.c (__kernel_casinh): Likewise.
14704         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14705         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14706         * math/s_catan.c (__catan): Use
14707         math_check_force_underflow_complex.
14708         * math/s_catanf.c (__catanf): Likewise.
14709         * math/s_catanh.c (__catanh): Likewise.
14710         * math/s_catanhf.c (__catanhf): Likewise.
14711         * math/s_catanhl.c (__catanhl): Likewise.
14712         * math/s_catanl.c (__catanl): Likewise.
14713         * math/s_ccosh.c (__ccosh): Likewise.
14714         * math/s_ccoshf.c (__ccoshf): Likewise.
14715         * math/s_ccoshl.c (__ccoshl): Likewise.
14716         * math/s_cexp.c (__cexp): Likewise.
14717         * math/s_cexpf.c (__cexpf): Likewise.
14718         * math/s_cexpl.c (__cexpl): Likewise.
14719         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14720         * math/s_clog10.c (__clog10): Likewise.
14721         * math/s_clog10f.c (__clog10f): Likewise.
14722         * math/s_clog10l.c (__clog10l): Likewise.
14723         * math/s_clogf.c (__clogf): Likewise.
14724         * math/s_clogl.c (__clogl): Likewise.
14725         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14726         * math/s_csinf.c (__csinf): Likewise.
14727         * math/s_csinh.c (__csinh): Likewise.
14728         * math/s_csinhf.c (__csinhf): Likewise.
14729         * math/s_csinhl.c (__csinhl): Likewise.
14730         * math/s_csinl.c (__csinl): Likewise.
14731         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14732         * math/s_csqrtf.c (__csqrtf): Likewise.
14733         * math/s_csqrtl.c (__csqrtl): Likewise.
14734         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14735         * math/s_ctanf.c (__ctanf): Likewise.
14736         * math/s_ctanh.c (__ctanh): Likewise.
14737         * math/s_ctanhf.c (__ctanhf): Likewise.
14738         * math/s_ctanhl.c (__ctanhl): Likewise.
14739         * math/s_ctanl.c (__ctanl): Likewise.
14740         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14741         instead of volatile.
14742         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14743         math_check_force_underflow.
14744         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14745         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14746         volatile when forcing underflow.
14747         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14748         math_check_force_underflow_nonneg.
14749         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14750         Likewise.
14751         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14752         math_check_force_underflow.
14753         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14754         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14755         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14756         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14757         math_check_force_underflow_nonneg.
14758         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14759         math_check_force_underflow.
14760         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14762         instead of volatile.
14763         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14764         math_check_force_underflow.
14765         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14766         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14767         math_check_force_underflow_nonneg.
14768         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14769         math_check_force_underflow.
14770         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14771         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14772         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14773         math_check_force_underflow_nonneg.
14774         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14775         Likewise.
14776         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14777         math_check_force_underflow.
14778         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14779         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14780         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14781         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14782         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14783         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14784         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14785         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14786         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14787         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14788         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14789         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14790         Likewise.
14791         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14792         math_check_force_underflow_nonneg.
14793         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14794         Likewise.
14795         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14796         math_check_force_underflow.
14797         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14798         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14799         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14800         Likewise.
14801         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14802         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14803         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14804         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14805         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14806         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14807         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14808         instead of volatile.
14809         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14810         math_check_force_underflow.
14811         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14812         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14813         math_check_force_underflow.
14814         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14815         Likewise.
14816         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14817         Use math_check_force_underflow_nonneg.
14818         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14819         math_check_force_underflow.
14820         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14821         Likewise.
14822         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14823         Likewise.
14824         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14825         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14826         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14827         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14828         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14829         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14830         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14831         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14832         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14833         math_check_force_underflow_nonneg.
14834         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14835         math_check_force_underflow.
14836         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14837         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14838         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14839         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14840         math_check_force_underflow_nonneg.
14841         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14842         math_check_force_underflow.
14843         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14844         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14845         instead of volatile.
14846         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14847         math_check_force_underflow.
14849         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14850         * stdlib/strtod_l.c: Include <math_private.h>.
14851         (overflow_value): Use math_narrow_eval.
14852         (underflow_value): Likewise.
14853         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14854         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14855         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14856         (__ieee754_gamma_r): Likewise.
14857         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14858         Likewise.
14859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14860         Likewise.
14861         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14862         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14863         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14864         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14865         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14866         (__ieee754_gammaf_r): Likewise.
14867         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14868         Likewise.
14869         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14870         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14871         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14872         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14873         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14874         volatile.
14875         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14876         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14877         math_narrow_eval.
14878         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14879         Likewise.
14880         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14881         Likewise.
14882         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14883         Likewise.
14884         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14885         volatile.
14886         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14887         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14888         math_narrow_eval.
14889         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14890         Likewise.
14891         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14892         Likewise.
14894 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14896         * nptl/Versions: Remove ignored symbols.
14898 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14900         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14901         * nss/Makefile (tests): Update.
14903 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14905         * nss/bug18287.c: New file.
14906         * nss/Makefile (tests): Add bug18287.
14908 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14910         * mach/Versions (__mach_host_self_): Add symbol.
14912 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14914         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14915         vm_page_size.
14917 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14919         Really fix sysdeps/i386/fpu/s_scalbn.S build
14921         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14922         (libc: GLIBC_2_22): Remove unused version set.
14924 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14926         * config.make.in (enable-timezone-tools): New variable.
14927         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14928         (enable_timezone_tools): Export to generated files.
14929         * configure: Regenerate.
14930         * INSTALL: Regenerate.
14931         * manual/install.texi (--disable-timezone-tools): Document new flag.
14932         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14933         ifeq ($(enable-timezone-tools),yes) check.
14935 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14937         * timezone/Makefile: Revert previous change.
14939         [BZ #18980]
14940         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14941         (DEFINE_DBL_MIN): Likewise.
14942         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14943         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14944         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14945         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14946         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14947         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14948         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14949         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14950         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14951         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14952         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14953         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14954         (flt_min): Replace with use of DEFINE_FLT_MIN.
14955         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14956         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14957         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14958         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14959         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14960         (flt_min): Replace with use of DEFINE_FLT_MIN.
14961         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14962         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14963         (flt_min): Replace with use of DEFINE_FLT_MIN.
14964         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14965         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14966         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14967         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14968         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14969         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14970         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14971         (__ieee754_pow): Use DBL_NARROW_EVAL.
14972         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14973         (__ieee754_powf): Use FLT_NARROW_EVAL.
14974         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14975         (__ieee754_expf_sse2): Convert double-precision result to single
14976         precision.
14977         * sysdeps/i386/fpu/libm-test-ulps: Update.
14979 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14981         * timezone/Makefile: Ignore unused variable errors due to private.h
14982         (time_t_min) and (time_t_max).
14983         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14984         Likewise.
14986 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14988         [BZ #18981]
14989         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14990         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14991         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14992         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14993         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14994         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14995         (__scalbn): Use DBL_NARROW_EVAL.
14996         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14997         (__scalbnf): Use FLT_NARROW_EVAL.
14999 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15001         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15002         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15003         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15004         * stdio-common/printf_fp.c (___printf_fp):
15005         Use signbit to get the sign. Use isinf macro to allow inlining.
15006         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15007         * stdio-common/printf_size.c (__printf_size): Likewise.
15009 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15011         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15013 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15015         [BZ #18980]
15016         * sysdeps/generic/math_private.h: Include <float.h>.
15017         (math_narrow_eval): New macro.
15018         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15019         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15020         math_narrow_eval on overflowing return value.
15021         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15022         Likewise.
15023         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15024         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15025         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15026         Likewise.
15027         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15029 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15031         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15032         * math/Makefile: Remove isinf_ns.c.
15033         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15034         * math/multc3.c (__multc3): Likewise.
15035         * math/s_casin.c (__casin): Likewise.
15036         * math/s_casinf.c (__casinf): Likewise.
15037         * math/s_casinl.c (__casinl): Likewise.
15038         * math/s_cproj.c (__cproj): Likewise.
15039         * math/s_cprojf.c (__cprojf): Likewise.
15040         * math/s_cprojl.c (__cprofl): Likewise.
15041         * math/s_ctan.c (__ctan): Likewise.
15042         * math/s_ctanf.c (__ctanf): Likewise.
15043         * math/s_ctanh.c (__ctanh): Likewise.
15044         * math/s_ctanhf.c (__ctanhf): Likewise.
15045         * math/s_ctanhl.c (__ctanhl): Likewise.
15046         * math/s_ctanl.c (__ctanl): Likewise.
15047         * math/w_fmod.c (__fmod): Likewise.
15048         * math/w_fmodf.c (__fmodf): Likewise.
15049         * math/w_fmodl.c (_fmodl): Likewise.
15050         * math/w_remainder.c (__remainder): Likewise.
15051         * math/w_remainderf.c (__remainderf): Likewise.
15052         * math/w_remainderl.c (__remainderl): Likewise.
15053         * math/w_scalb.c (__scalb): Likewise.
15054         * math/w_scalbf.c (__scalbf): Likewise.
15055         * math/w_scalbl.c (__scalbl): Likewise.
15056         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15057         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15058         with isinf.
15059         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15060         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15061         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15062         __isinf_nsf with isinf.
15063         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15064         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15065         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15066         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15067         with isinf.
15068         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15069         __isinf_nsl with isinf.
15070         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15071         with isinf.
15072         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15073         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15074         __isinf_nsl with isinf.
15075         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15076         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15077         with isinf.
15079 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15081         * resolv/base64.c (rcsid): Remove unused static.
15082         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15083         static.  (tqpi1): Likewise.
15084         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15085         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15086         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15087         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15088         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15089         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15090         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15091         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15092         Likewise.
15094 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15096         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15097         <nptl/pthreadP.h>.
15098         (_longjmp_unwind): Use __libc_ptf_call.
15099         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15101 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15103         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15104         * sysdeps/arm/__longjmp.S: Likewise.
15106 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15108         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15109         Use __builtin_signbit.
15110         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15111         Use __builtin_signbitf.
15112         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15113         Use __builtin_signbitl.
15114         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15115         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15117 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15119         [BZ #15367]
15120         [BZ #17441]
15122         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15123         * math/math.h (fpclassify): Use __builtin_fpclassify when
15124         available.  (signbit): Use __builtin_signbit(f/l).
15125         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15126         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15127         (isinf): Use __builtin_isinf_sign.
15129 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15131         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15132         * benchtests/bench-math-inlines.c: New benchmark.
15133         * benchtests/bench-util.h: New file.
15134         * benchtests/bench-util.c: New file.
15135         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15137 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15139         * elf/tst-dlmopen1.c: Define TEST_SO.
15140         (do_test): Use TEST_SO.
15142         * elf/dl-load.c: Include libc-internal.h.
15143         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15145 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15147         [BZ #17887]
15148         * time/strptime_l.c (__strptime_internal): Make %z accept
15149         [+-]HH:MM time zones.
15151 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15153         [BZ #17886]
15154         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15155         valid time zone.
15157 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15159         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15160         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15161         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15162         (__ASSUME_FDATASYNC): Delete.
15164 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15166         * conform/linknamespace.pl: Require weak undefined symbols to be
15167         in the standard namespace.
15168         (%strong_syms): Rename to %seen_syms.
15169         (%strong_seen): Rename to %seen_where.
15171 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15173         [BZ #18970]
15174         * misc/error.c (error): Replace pthread_setcancelstate with
15175         __pthread_setcancelstate.
15176         (error_at_line): Likewise.
15177         * posix/wordexp.c (parse_comm): Likewise.
15178         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15179         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15180         (__pthread_setcancelstate): This.
15181         (pthread_setcancelstate): Add an alias.
15182         * nptl/nptl-init.c (pthread_functions): Replace
15183         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15184         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15185         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15186         hidden_proto.
15187         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15188         it with hidden_def.
15189         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15190         (pthread_setcancelstate): Renamed to ...
15191         (__pthread_setcancelstate): This.
15192         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15193         __libc_ptf_call with __pthread_setcancelstate.
15195 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15196             Andreas Schwab  <schwab@suse.de>
15198         [BZ #17118]
15199         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15200         result when imaginary part of argument is infinite using sine and
15201         cosine.
15202         * math/s_ctanf.c (__ctanf): Likewise.
15203         * math/s_ctanl.c (__ctanl): Likewise.
15204         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15205         of result when real part of argument is infinite using sine and
15206         cosine.
15207         * math/s_ctanhf.c (__ctanhf): Likewise.
15208         * math/s_ctanhl.c (__ctanhl): Likewise.
15209         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15210         (ctanh_test_data): Add more tests of ctanh.
15212 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15214         [BZ #15384]
15215         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15216         bit-mask as in subtraction.
15217         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15218         Likewise.
15219         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15220         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15221         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15223         [BZ #18951]
15224         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15225         underflow exception for small results.
15226         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15227         Likewise.
15228         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15229         Likewise.
15230         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15231         Likewise.
15232         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15233         Likewise.
15234         * math/auto-libm-test-in: Add more tests of tgamma.
15235         * math/auto-libm-test-out: Regenerated.
15237 2015-09-17  Andreas Schwab  <schwab@suse.de>
15239         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15241 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15243         [BZ #18977]
15244         * math/bits/mathcalls.h
15245         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15246         not declare.
15247         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15248         Likewise.
15249         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15250         Likewise.
15251         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15252         Likewise.
15253         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15254         Likewise.
15255         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15256         Likewise.
15257         * conform/data/math.h-data
15258         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15259         function.
15260         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15261         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15262         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15263         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15264         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15265         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15266         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15267         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15268         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15269         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15270         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15272         [BZ #6803]
15273         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15274         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15275         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15276         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15277         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15278         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15279         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15280         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15281         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15283         Likewise.
15284         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15285         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15286         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15287         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15288         long_double_symbol calls.
15289         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15290         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15291         strong alias of __ldexpl.
15292         (scalbnl): Define using long_double_symbol.
15293         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15294         Remove alias.
15295         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15296         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15297         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15298         (scalbln_test_data): Add more errno expectations.
15300 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15302         Cache the host port like we cache the task port.  This way we do not
15303         need to call the kernel just to get the port.  Furthermore, we no
15304         longer increase the reference count on every invocation of
15305         `mach_host_self'.
15307         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15308         Protect declarations against the macro expansion.
15309         * mach/mach_init.c (__mach_host_self_): New variable.
15310         (mach_init): Initialize `__mach_host_self_'.
15311         * mach/mach_init.h (__mach_host_self_): New declaration.
15312         (__mach_host_self, mach_host_self): New macros.
15313         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15314         Release reference.
15316 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15318         [BZ #4404]
15319         * po/de.po: Update from Translation Project.
15321         [BZ #16415]
15322         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15323         (__expm1l): Remove code to handle positive infinity and overflow.
15324         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15325         variable.
15326         (__expm1l): Remove code to handle positive infinity and overflow.
15328 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15329             Paul Pluzhnikov  <ppluzhnikov@google.com>
15331         [BZ #18872]
15332         * stdio-common/Makefile (tst-printf-bz18872): New test.
15333         (tst-printf-bz18872-mem.out): Likewise.
15334         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15335         * stdio-common/vfprintf.c: Fix memory leaks.
15337 2015-09-16  Andreas Schwab  <schwab@suse.de>
15339         [BZ #17244]
15340         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15341         Remove extra va_start/va_end calls.
15343         [BZ #17243]
15344         * posix/execl.c (execl): Add missing va_end.
15345         * posix/execle.c (execle): Likewise.
15346         * posix/execlp.c (execlp): Likewise.
15348 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15350         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15351         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15353 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15355         [BZ #18967]
15356         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15357         undefine around includes of <bits/mathcalls.h>.
15358         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15359         not declare function.
15360         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15361         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15362         (scalb): Likewise.
15363         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15364         not define macro.
15365         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15366         variable.
15367         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15368         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15369         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15371         [BZ #18857]
15372         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15373         return non-finite argument without doing ordered comparisons on
15374         it.
15376         [BZ #16296]
15377         * math/fenv.h (fegetround): Use __attribute_pure__.
15378         * include/fenv.h (__fegetround): Likewise.
15380         [BZ #18595]
15381         * math/s_ctan.c (__ctan): Force underflow exception for results
15382         whose real or imaginary part has small absolute value.
15383         * math/s_ctanf.c (__ctanf): Likewise.
15384         * math/s_ctanh.c (__ctanh): Likewise.
15385         * math/s_ctanhf.c (__ctanhf): Likewise.
15386         * math/s_ctanhl.c (__ctanhl): Likewise.
15387         * math/s_ctanl.c (__ctanl): Likewise.
15388         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15389         and ctanh.  Add more tests of ctan and ctanh.
15391         [BZ #15918]
15392         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15393         handling of cases where one argument is an infinity.
15395         [BZ #18875]
15396         [BZ #18966]
15397         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15398         (MO): New macro.
15399         (__ieee754_exp10): For small results, force underflow exception
15400         and remove excess range and precision from return value.
15401         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15402         (MO): New macro.
15403         (__ieee754_exp10f): For small results, force underflow exception
15404         and remove excess range and precision from return value.
15405         * math/auto-libm-test-in: Add more tests of exp10.
15406         * math/auto-libm-test-out: Regenerated.
15408 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15410         [BZ #18875]
15411         [BZ #18961]
15412         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15413         (MO): New macro.
15414         (__ieee754_exp): For small results, force underflow exception and
15415         remove excess range and precision from return value.
15416         (__exp_finite): Likewise.
15417         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15418         (MO): New macro.
15419         (__ieee754_expf): For small results, force underflow exception and
15420         remove excess range and precision from return value.
15421         (__expf_finite): Likewise.
15422         * math/auto-libm-test-in: Add more tests of exp.
15423         * math/auto-libm-test-out: Regenerated.
15425         [BZ #16521]
15426         [BZ #18875]
15427         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15428         small results.
15429         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15430         (MO): New macro.
15431         (__ieee754_exp2): For small results, force underflow exception and
15432         remove excess range and precision from return value.
15433         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15434         (MO): New macro.
15435         (__ieee754_exp2f): For small results, force underflow exception
15436         and remove excess range and precision from return value.
15437         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15438         (MO): New macro.
15439         (__ieee754_exp2l): Force underflow exception for small results.
15440         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15441         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15442         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15443         (MO): New macro.
15444         (__ieee754_exp2l): Force underflow exception for small results.
15445         * math/auto-libm-test-in: Add more tests or exp2.
15446         * math/auto-libm-test-out: Regenerated.
15448 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15450         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15452         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15453         /dev/null.
15455 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15457         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15458         io fs process)): Drop spurious backslash.
15460 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15462         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15463         Use sysinfo system call instead of parsing /proc/meminfo.
15464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15465         Likewise.
15467 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15469         [BZ #16985]
15470         * programs/localedef.c (main): Display argv[remaining] when
15471         output_path is NULL.
15473 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15475         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15476         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15477         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15478         tanh.
15479         * math/auto-libm-test-out: Regenerated.
15480         * sysdeps/i386/fpu/libm-test-ulps: Update.
15481         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15482         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15485 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15487         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15488         Use 'override' keyword to freeze the value here, preventing
15489         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15491 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15493         [BZ #14912]
15494         * sysdeps/aarch64/bits/atomic.h: Move to ...
15495         * sysdeps/aarch64/atomic-machine.h: ...here.
15496         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15497         _AARCH64_ATOMIC_MACHINE_H.
15498         * sysdeps/alpha/bits/atomic.h: Move to ...
15499         * sysdeps/alpha/atomic-machine.h: ...here.
15500         * sysdeps/arm/bits/atomic.h: Move to ...
15501         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15502         * bits/atomic.h: Move to ...
15503         * sysdeps/generic/atomic-machine.h: ...here.
15504         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15505         * sysdeps/i386/bits/atomic.h: Move to ...
15506         * sysdeps/i386/atomic-machine.h: ...here.
15507         * sysdeps/ia64/bits/atomic.h: Move to ...
15508         * sysdeps/ia64/atomic-machine.h: ...here.
15509         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15510         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15511         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15512         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15513         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15514         * sysdeps/microblaze/bits/atomic.h: Move to ...
15515         * sysdeps/microblaze/atomic-machine.h: ...here.
15516         * sysdeps/mips/bits/atomic.h: Move to ...
15517         * sysdeps/mips/atomic-machine.h: ...here.
15518         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15519         * sysdeps/powerpc/bits/atomic.h: Move to ...
15520         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15521         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15522         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15523         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15524         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15525         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15526         <atomic-machine.h> instead of <bits/atomic.h>.
15527         * sysdeps/s390/bits/atomic.h: Move to ...
15528         * sysdeps/s390/atomic-machine.h: ...here.
15529         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15530         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15531         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15532         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15533         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15534         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15535         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15536         * sysdeps/tile/bits/atomic.h: Move to ...
15537         * sysdeps/tile/atomic-machine.h: ...here.
15538         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15539         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15540         <sysdeps/tile/atomic-machine.h> instead of
15541         <sysdeps/tile/bits/atomic.h>.
15542         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15543         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15544         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15545         <sysdeps/tile/atomic-machine.h> instead of
15546         <sysdeps/tile/bits/atomic.h>.
15547         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15548         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15549         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15550         <sysdeps/arm/atomic-machine.h> instead of
15551         <sysdeps/arm/bits/atomic.h>.
15552         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15553         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15554         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15555         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15556         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15557         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15558         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15559         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15560         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15561         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15562         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15563         * sysdeps/x86_64/bits/atomic.h: Move to ...
15564         * sysdeps/x86_64/atomic-machine.h: ...here.
15565         * include/atomic.h: Include <atomic-machine.h> instead of
15566         <bits/atomic.h>.
15568         * sysdeps/mips/mips32/libm-test-ulps: Update.
15569         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15571         [BZ #18952]
15572         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15573         not convert non-integer negative arguments to int to determine the
15574         value of signgam.
15575         * math/auto-libm-test-in: Add more tests of lgamma.
15576         * math/auto-libm-test-out: Regenerated.
15578         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15579         cosh, csqrt, erfc, expm1 and lgamma.
15580         * math/auto-libm-test-out: Regenerated.
15581         * sysdeps/i386/fpu/libm-test-ulps: Update.
15582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15584 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15586         [BZ #2542]
15587         [BZ #2543]
15588         [BZ #2558]
15589         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15590         __lgamma_neg for arguments from -28.0 to -2.0.
15591         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15592         __lgamma_negf for arguments from -15.0 to -2.0.
15593         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15594         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15595         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15596         Call __lgamma_negl for arguments from -33.0 to -2.0.
15597         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15598         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15599         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15600         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15601         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15602         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15603         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15604         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15605         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15606         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15607         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15608         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15609         (__lgamma_neg): Likewise.
15610         (__lgamma_negl): Likewise.
15611         (__lgamma_product): Likewise.
15612         (__lgamma_productl): Likewise.
15613         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15614         * math/auto-libm-test-in: Add more tests of lgamma.
15615         * math/auto-libm-test-out: Regenerated.
15616         * sysdeps/i386/fpu/libm-test-ulps: Update.
15617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15619 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15621         [BZ #18675]
15622         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15624 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15626         [BZ #14912]
15627         * bits/libc-lock.h: Move to ...
15628         * sysdeps/generic/libc-lock.h: ...here.
15629         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15630         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15631         * sysdeps/mach/hurd/libc-lock.h: ...here.
15632         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15633         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15634         * sysdeps/mach/bits/libc-lock.h: Move to ...
15635         * sysdeps/mach/libc-lock.h: ...here.
15636         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15637         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15638         * sysdeps/nptl/libc-lock.h: ...here.
15639         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15640         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15641         * sysdeps/nptl/libc-lockP.h: ...here.
15642         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15643         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15644         <bits/libc-lock.h>.
15645         * dirent/scandir-tail.c: Likewise.
15646         * dlfcn/dlerror.c: Likewise.
15647         * elf/dl-close.c: Likewise.
15648         * elf/dl-iteratephdr.c: Likewise.
15649         * elf/dl-lookup.c: Likewise.
15650         * elf/dl-open.c: Likewise.
15651         * elf/dl-support.c: Likewise.
15652         * elf/dl-writev.h: Likewise.
15653         * elf/rtld.c: Likewise.
15654         * grp/fgetgrent.c: Likewise.
15655         * gshadow/fgetsgent.c: Likewise.
15656         * gshadow/sgetsgent.c: Likewise.
15657         * iconv/gconv_conf.c: Likewise.
15658         * iconv/gconv_db.c: Likewise.
15659         * iconv/gconv_dl.c: Likewise.
15660         * iconv/gconv_int.h: Likewise.
15661         * iconv/gconv_trans.c: Likewise.
15662         * include/link.h: Likewise.
15663         * inet/getnameinfo.c: Likewise.
15664         * inet/getnetgrent.c: Likewise.
15665         * inet/getnetgrent_r.c: Likewise.
15666         * intl/bindtextdom.c: Likewise.
15667         * intl/dcigettext.c: Likewise.
15668         * intl/finddomain.c: Likewise.
15669         * intl/gettextP.h: Likewise.
15670         * intl/loadmsgcat.c: Likewise.
15671         * intl/localealias.c: Likewise.
15672         * intl/textdomain.c: Likewise.
15673         * libidn/idn-stub.c: Likewise.
15674         * libio/libioP.h: Likewise.
15675         * locale/duplocale.c: Likewise.
15676         * locale/freelocale.c: Likewise.
15677         * locale/newlocale.c: Likewise.
15678         * locale/setlocale.c: Likewise.
15679         * login/getutent_r.c: Likewise.
15680         * login/getutid_r.c: Likewise.
15681         * login/getutline_r.c: Likewise.
15682         * login/utmp-private.h: Likewise.
15683         * login/utmpname.c: Likewise.
15684         * malloc/mtrace.c: Likewise.
15685         * misc/efgcvt.c: Likewise.
15686         * misc/error.c: Likewise.
15687         * misc/fstab.c: Likewise.
15688         * misc/getpass.c: Likewise.
15689         * misc/mntent.c: Likewise.
15690         * misc/syslog.c: Likewise.
15691         * nis/nis_call.c: Likewise.
15692         * nis/nis_callback.c: Likewise.
15693         * nis/nss-default.c: Likewise.
15694         * nis/nss_compat/compat-grp.c: Likewise.
15695         * nis/nss_compat/compat-initgroups.c: Likewise.
15696         * nis/nss_compat/compat-pwd.c: Likewise.
15697         * nis/nss_compat/compat-spwd.c: Likewise.
15698         * nis/nss_nis/nis-alias.c: Likewise.
15699         * nis/nss_nis/nis-ethers.c: Likewise.
15700         * nis/nss_nis/nis-grp.c: Likewise.
15701         * nis/nss_nis/nis-hosts.c: Likewise.
15702         * nis/nss_nis/nis-network.c: Likewise.
15703         * nis/nss_nis/nis-proto.c: Likewise.
15704         * nis/nss_nis/nis-pwd.c: Likewise.
15705         * nis/nss_nis/nis-rpc.c: Likewise.
15706         * nis/nss_nis/nis-service.c: Likewise.
15707         * nis/nss_nis/nis-spwd.c: Likewise.
15708         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15709         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15710         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15711         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15712         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15713         * nis/nss_nisplus/nisplus-network.c: Likewise.
15714         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15715         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15716         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15717         * nis/nss_nisplus/nisplus-service.c: Likewise.
15718         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15719         * nis/ypclnt.c: Likewise.
15720         * nptl/libc_pthread_init.c: Likewise.
15721         * nss/getXXbyYY.c: Likewise.
15722         * nss/getXXent.c: Likewise.
15723         * nss/getXXent_r.c: Likewise.
15724         * nss/nss_db/db-XXX.c: Likewise.
15725         * nss/nss_db/db-netgrp.c: Likewise.
15726         * nss/nss_db/nss_db.h: Likewise.
15727         * nss/nss_files/files-XXX.c: Likewise.
15728         * nss/nss_files/files-alias.c: Likewise.
15729         * nss/nsswitch.c: Likewise.
15730         * posix/regex_internal.h: Likewise.
15731         * posix/wordexp.c: Likewise.
15732         * pwd/fgetpwent.c: Likewise.
15733         * resolv/res_hconf.c: Likewise.
15734         * resolv/res_libc.c: Likewise.
15735         * shadow/fgetspent.c: Likewise.
15736         * shadow/lckpwdf.c: Likewise.
15737         * shadow/sgetspent.c: Likewise.
15738         * socket/opensock.c: Likewise.
15739         * stdio-common/reg-modifier.c: Likewise.
15740         * stdio-common/reg-printf.c: Likewise.
15741         * stdio-common/reg-type.c: Likewise.
15742         * stdio-common/vfprintf.c: Likewise.
15743         * stdio-common/vfscanf.c: Likewise.
15744         * stdlib/abort.c: Likewise.
15745         * stdlib/cxa_atexit.c: Likewise.
15746         * stdlib/fmtmsg.c: Likewise.
15747         * stdlib/random.c: Likewise.
15748         * stdlib/setenv.c: Likewise.
15749         * string/strsignal.c: Likewise.
15750         * sunrpc/auth_none.c: Likewise.
15751         * sunrpc/bindrsvprt.c: Likewise.
15752         * sunrpc/create_xid.c: Likewise.
15753         * sunrpc/key_call.c: Likewise.
15754         * sunrpc/rpc_thread.c: Likewise.
15755         * sysdeps/arm/backtrace.c: Likewise.
15756         * sysdeps/generic/ldsodefs.h: Likewise.
15757         * sysdeps/generic/stdio-lock.h: Likewise.
15758         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15759         * sysdeps/i386/backtrace.c: Likewise.
15760         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15761         * sysdeps/m68k/backtrace.c: Likewise.
15762         * sysdeps/mach/hurd/cthreads.c: Likewise.
15763         * sysdeps/mach/hurd/dirstream.h: Likewise.
15764         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15765         * sysdeps/nptl/malloc-machine.h: Likewise.
15766         * sysdeps/nptl/stdio-lock.h: Likewise.
15767         * sysdeps/posix/dirstream.h: Likewise.
15768         * sysdeps/posix/getaddrinfo.c: Likewise.
15769         * sysdeps/posix/system.c: Likewise.
15770         * sysdeps/pthread/aio_suspend.c: Likewise.
15771         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15772         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15773         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15774         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15775         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15776         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15777         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15778         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15779         * sysdeps/unix/sysv/linux/system.c: Likewise.
15780         * sysdeps/x86_64/backtrace.c: Likewise.
15781         * time/alt_digit.c: Likewise.
15782         * time/era.c: Likewise.
15783         * time/tzset.c: Likewise.
15784         * wcsmbs/wcsmbsload.c: Likewise.
15785         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15786         instead of <bits/libc-lock.h> in comment.
15788 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15790         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15791         Only use .set mips2 if the current ISA is below mips2.
15792         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15793         Likewise.
15794         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15795         mips32r2 if the current ISA is below mips32r2.
15796         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15797         (TLS_IE): Updated to use the TLD_RDHWR macro.
15798         (TLS_LE): Likewise.
15799         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15800         __ASSEMBLER__ condition.
15802 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15804         Fix parallel build of before-compile targets.
15806         * sysdeps/mach/Makefile ($(patsubst
15807         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15808         mach-before-compile target.
15809         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15810         io fs process)): Move rule to dedicated hurd-before-compile target.
15812 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15814         Fix rules generating headers in hurd/ and mach/ when initial make call
15815         has subdir= explicitly set.
15817         * sysdeps/mach/Makefile ($(patsubst
15818         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15819         calling $(MAKE).
15820         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15821         io fs process)): Force subdir to hurd when calling $(MAKE).
15822         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15823         subdir to mach when calling $(MAKE).
15825 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15827         Check sysheaders when looking for Mach and Hurd headers
15829         * sysdeps/mach/configure.ac: Add sysheaders check.
15830         * sysdeps/mach/configure: Regenerate.
15831         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15832         * sysdeps/mach/hurd/configure: Regenerate.
15834 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15836         [BZ #18921]
15837         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15838         Fix inverted sense of test of 'o_directory_works' value.
15839         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15840         Bernhard Voelker <mail@bernhard-voelker.de>.
15842 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15844         [BZ #14912]
15845         * bits/linkmap.h: Move to ...
15846         * sysdeps/generic/linkmap.h: ...here.
15847         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15848         * sysdeps/aarch64/linkmap.h: ...here.
15849         * sysdeps/arm/bits/linkmap.h: Move to ...
15850         * sysdeps/arm/linkmap.h: ...here.
15851         * sysdeps/hppa/bits/linkmap.h: Move to ...
15852         * sysdeps/hppa/linkmap.h: ...here.
15853         * sysdeps/ia64/bits/linkmap.h: Move to ...
15854         * sysdeps/ia64/linkmap.h: ...here.
15855         * sysdeps/mips/bits/linkmap.h: Move to ...
15856         * sysdeps/mips/linkmap.h: ...here.
15857         * sysdeps/s390/bits/linkmap.h: Move to ...
15858         * sysdeps/s390/linkmap.h: ...here.
15859         * sysdeps/sh/bits/linkmap.h: Move to ...
15860         * sysdeps/sh/linkmap.h: ...here.
15861         * sysdeps/x86/bits/linkmap.h: Move to ...
15862         * sysdeps/x86/linkmap.h: ...here.
15863         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15865 2015-09-04  Andreas Schwab  <schwab@suse.de>
15867         [BZ #18635]
15868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15869         (__makecontext): Terminate FDE before return label.
15870         (__novec_makecontext): Likewise.
15872 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15874         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15875         first member of struct sv in syscall macro.
15877 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15879         [BZ #14912]
15880         * bits/stdio-lock.h: Move to ...
15881         * sysdeps/generic/stdio-lock.h: ...here.
15882         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15883         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15884         * sysdeps/nptl/stdio-lock.h: ...here.
15885         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15886         * include/libio.h: Include <stdio-lock.h> instead of
15887         <bits/stdio-lock.h>.
15888         * sysdeps/nptl/fork.c: Likewise.
15889         * sysdeps/pthread/flockfile.c: Likewise.
15890         * sysdeps/pthread/ftrylockfile.c: Likewise.
15891         * sysdeps/pthread/funlockfile.c: Likewise.
15893         [BZ #14912]
15894         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15895         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15896         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15897         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15898         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15899         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15900         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15902 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15904         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15905         (test-xfail-tst-protected1b): New variable.
15907 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15909         [BZ #14912]
15910         * bits/libc-tsd.h: Move to ...
15911         * sysdeps/generic/libc-tsd.h: ...here.
15912         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15913         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15914         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15915         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15916         * include/ctype.h: Include <libc-tsd.h> instead of
15917         <bits/libc-tsd.h>.
15918         * include/rpc/rpc.h: Likewise.
15919         * locale/localeinfo.h: Likewise.
15920         * sunrpc/rpc_thread.c: Likewise.
15921         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15922         * sysdeps/nptl/malloc-machine.h: Likewise.
15924         * Makefile (headers): Remove bits/libc-lock.h.
15925         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15927         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15928         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15929         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15930         <bits/stdio-lock.h>.
15931         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15932         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15934 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15936         [BZ #18757]
15937         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15938         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15939         BZ #18757.
15941 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15943         * malloc/mtrace.pl: Filter out NULL entries.
15945 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15947         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15948         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15949         macro.
15951         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15952         (TCP_CC_INFO): Likewise.
15953         (TCP_SAVE_SYN): Likewise.
15954         (TCP_SAVED_SYN): Likewise.
15956 2015-08-31  Brett Neumeier <brett@neumeier.us>
15958         [BZ #18870]
15959         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15961 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15963         [BZ #18873]
15964         Fix broken overflow check in posix_fallocate
15965         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15966         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15967         Fix parenthesization typo.
15969 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15971         [BZ #18887]
15972         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15973         tst-mntent-blank-passno.
15974         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15975         * misc/tst-mntent-blank-corrupt.c: New test.
15976         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15977         * misc/tst-mntent.c (do_test): ... here.
15979 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15981         [BZ #4404]
15982         * po/de.po: Fix SIGALRM typo.
15984 2015-08-28  James Perkins  <james@loowit.net>
15986         * time/tst-strptime2.c (tests): Replace short list of test
15987         strings for strptime %z specifier with code which exhaustively
15988         tests every combination of sign and 0 to 5 digits. Tests for
15989         rejection of invalid strings.
15991 2015-08-28  James Perkins  <james@loowit.net>
15993         [BZ #16141]
15994         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15995         calculation, removing incorrect decimal time rounding, so that
15996         all minute values result in a valid seconds value.
15997         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15998         offset range limits to UTC-99:59 through UTC+99:59 to parse
15999         current and historical use cases.
16000         * time/tst-strptime2.c (tests): Modify and add tests for the
16001         strptime %z input field descriptor, specifically conversion of
16002         minutes to seconds and validating an offset range of -9959 to
16003         +9959.
16005 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16006             Dmitry V. Levin  <ldv@altlinux.org>
16008         [BZ #18877]
16009         * posix/Makefile (tests): Add tst-mmap-offset.
16010         * posix/tst-mmap.c: New file.
16011         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16012         offset calculation for negative values.
16014 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16016         * sysdeps/i386/init-arch.h: New file.
16017         * sysdeps/i386/i586/init-arch.h: Likewise.
16018         * sysdeps/i386/i686/init-arch.h: Likewise.
16019         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16020         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16021         * sysdeps/x86/cpu-features.h (bit_I586): New.
16022         (bit_I686): Likewise.
16023         (bit_CX8): Likewise.
16024         (bit_CMOV): Likewise.
16025         (index_CX8): Likewise.
16026         (index_CMOV): Likewise.
16027         (index_I586): Likewise.
16028         (index_I686): Likewise.
16029         (reg_CX8): Likewise.
16030         (reg_CMOV): Likewise.
16031         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16032         available at compile-time.
16033         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16034         available at compile-time.
16035         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16036         (USE_I686): Likewise.
16038 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16040         * sysdeps/i386/bcopy.S: New file.
16041         * sysdeps/i386/bzero.S: Likewise.
16042         * sysdeps/i386/memcpy.S: Likewise.
16043         * sysdeps/i386/memmove.S: Likewise.
16044         * sysdeps/i386/mempcpy.S: Likewise.
16045         * sysdeps/i386/memset.S: Likewise.
16046         * sysdeps/i386/bzero.c: Removed.
16047         * sysdeps/i386/memset.c: Likewise.
16048         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16049         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16050         * sysdeps/i386/i586/memset_chk.S: Likewise.
16051         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16052         * sysdeps/i386/memcpy_chk.S: Here.
16053         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16054         * sysdeps/i386/memmove_chk.S: Here.
16055         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16056         * sysdeps/i386/mempcpy_chk.S: Likewise.
16057         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16058         * sysdeps/i386/memset_chk.S: Likewise.
16060 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16062         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16063         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16064         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16065         * soft-fp/fmadf4.c: Ditto.
16066         * soft-fp/fmatf4.c: Ditto.
16068 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16070         * sysdeps/i386/i586/Implies: Removed.
16071         * sysdeps/i386/i686/Implies: Likewise.
16073 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16075         * sysdeps/i386/i486/strlen.S: Moved to ...
16076         * sysdeps/i386/strlen.S: Here.
16078 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16080         * sysdeps/i386/i486/strcat.S: Moved to ...
16081         * sysdeps/i386/strcat.S: Here.
16083 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16085         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16086         * sysdeps/i386/pthread_spin_trylock.S: Here.
16087         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16088         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16090 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16092         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16093         * sysdeps/i386/string-inlines.c: Here.
16095 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16097         * sysdeps/i386/i486/htonl.S: Moved ...
16098         * sysdeps/i386/htonl.S: here.
16100 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16102         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16103         * sysdeps/i386/bits/atomic.h: Here.
16105 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16107         * sysdeps/i386/i486/Versions: Removed.
16109 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16111         [BZ #2898]
16112         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16113         Based on patch by Aurelien Jarno.
16115 2015-08-26  Stan Shebs  <stanshebs@google.com>
16117         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16118         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16120 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16122         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16123         * sysdeps/powerpc/dl-procinfo.c:
16124         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16125         feature so it shows when LD_SHOW_AUXV=1.
16127 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16129         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16130         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16131         definition.  ISA 2.07B no longer requires full sync.
16133 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16135         [BZ #18863]
16136         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16137         (si_call_addr): Define.
16138         (si_syscall): Define.
16139         (si_arch): Define.
16141 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16143         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16144         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16145         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16146         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16147         (__memset_zero_constant_len_parameter): New.
16148         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16149         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16150         (__memset_zero_constant_len_parameter): Don't define if
16151         __memset_chk or USE_AS_BZERO are defined.
16153         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16154         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16155         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16157         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16158         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16159         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16160         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16161         comments.
16162         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16163         -mno-mmx for $(all-rtld-routines).
16164         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16165         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16166         i386.
16168 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16170         * sysdeps/generic/unwind.h
16171         (_Unwind_Word): Use __mode__(__unwind_word__)
16172         instead of __mode__(__word__).
16173         (_Unwind_Sword): Likewise.
16175         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16176         (MAX_NEEDED_INPUT): New define.
16177         (MAX_NEEDED_OUTPUT): New define.
16179         * NEWS: New item for IBM z13 string optimizations.
16181         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16182         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16183         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16184         * sysdeps/s390/multiarch/Makefile
16185         (sysdep_routines): Add memrchr functions.
16186         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16187         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16189         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16190         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16191         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16192         * sysdeps/s390/multiarch/Makefile
16193         (sysdep_routines): Add wmemcmp functions.
16194         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16195         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16196         * benchtests/bench-wmemcmp.c: New File.
16197         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16199         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16200         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16201         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16202         * sysdeps/s390/multiarch/Makefile
16203         (sysdep_routines): Add wmemset functions.
16204         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16205         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16206         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16207         * string/test-memset.c: Add wmemset support.
16208         * wcsmbs/test-wmemset.c: New File.
16209         * wcsmbs/Makefile (strop-tests): Add wmemset.
16210         * benchtests/bench-memset.c: Add wmemset support.
16211         * benchtests/bench-wmemset.c: New File.
16212         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16214         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16215         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16216         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16217         * sysdeps/s390/multiarch/Makefile
16218         (sysdep_routines): Add memccpy functions.
16219         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16220         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16221         * string/memccpy.c: Use MEMCCPY if defined.
16223         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16224         * sysdeps/s390/multiarch/memchr.c: Likewise.
16225         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16226         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16227         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16228         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16229         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16230         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16231         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16232         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16233         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16234         and rawmemchr functions.
16235         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16236         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16237         and wmemchr.
16238         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16239         * string/test-memchr.c: Add wmemchr support.
16240         * wcsmbs/test-wmemchr.c: New File.
16241         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16242         * benchtests/bench-memchr.c: Add wmemchr support.
16243         * benchtests/bench-wmemchr.c: New File.
16244         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16246         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16247         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16248         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16249         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16250         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16251         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16252         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16253         wcscspn functions.
16254         * sysdeps/s390/multiarch/ifunc-impl-list.c
16255         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16256         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16257         * string/test-strcspn.c: Add wcscspn support.
16258         * wcsmbs/test-wcscspn.c: New File.
16259         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16260         * benchtests/bench-strcspn.c: Add wcscspn support.
16261         * benchtests/bench-wcscspn.c: New File.
16262         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16264         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16265         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16266         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16267         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16268         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16269         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16270         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16271         wcspbrk functions.
16272         * sysdeps/s390/multiarch/ifunc-impl-list.c
16273         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16274         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16275         * string/test-strpbrk.c: Add wcspbrk support.
16276         * wcsmbs/test-wcspbrk.c: New File.
16277         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16278         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16279         * benchtests/bench-wcspbrk.c: New File.
16280         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16282         * sysdeps/s390/multiarch/strspn-c.c: New File.
16283         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16284         * sysdeps/s390/multiarch/strspn.c: Likewise.
16285         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16286         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16287         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16288         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16289         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16290         wcsspn functions.
16291         * sysdeps/s390/multiarch/ifunc-impl-list.c
16292         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16293         * string/test-strspn.c: Add wcsspn support.
16294         * wcsmbs/test-wcsspn.c: New File.
16295         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16296         * benchtests/bench-strspn.c: Add wcsspn support.
16297         * benchtests/bench-wcsspn.c: New File.
16298         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16300         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16301         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16302         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16303         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16304         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16305         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16306         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16307         wcsrchr functions.
16308         * sysdeps/s390/multiarch/ifunc-impl-list.c
16309         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16310         * benchtests/bench-wcsrchr.c: New File.
16311         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16313         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16314         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16315         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16316         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16317         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16318         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16319         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16320         wcschrnul functions.
16321         * sysdeps/s390/multiarch/ifunc-impl-list.c
16322         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16323         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16324         * string/test-strchr.c: Add wcschrnul support.
16325         * wcsmbs/test-wcschrnul.c: New File.
16326         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16327         * benchtests/bench-strchr.c: Add wcschrnul support.
16328         * benchtests/bench-wcschrnul.c: New File.
16329         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16331         * sysdeps/s390/multiarch/strchr-c.c: New File.
16332         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16333         * sysdeps/s390/multiarch/strchr.c: Likewise.
16334         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16335         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16336         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16337         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16338         wcschr functions.
16339         * sysdeps/s390/multiarch/ifunc-impl-list.c
16340         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16341         * string/strchr.c (STRCHR): Define and use macro.
16342         * benchtests/bench-wcschr.c: New File.
16343         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16345         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16346         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16347         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16348         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16349         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16350         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16351         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16352         wcsncmp functions.
16353         * sysdeps/s390/multiarch/ifunc-impl-list.c
16354         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16355         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16356         * benchtests/bench-strncmp.c: Add wcsncmp support.
16357         * benchtests/bench-wcsncmp.c: New File.
16358         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16360         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16361         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16362         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16363         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16364         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16365         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16366         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16367         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16368         wcscmp functions.
16369         * sysdeps/s390/multiarch/ifunc-impl-list.c
16370         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16371         * string/strcmp.c (STRCMP): Define and use macro.
16372         * benchtests/bench-wcscmp.c: New File.
16373         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16374         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16375         instead of _HAVE_STRING_ARCH_memchr.
16377         * sysdeps/s390/multiarch/strncat-c.c: New File.
16378         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16379         * sysdeps/s390/multiarch/strncat.c: Likewise.
16380         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16381         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16382         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16383         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16384         wcsncat functions.
16385         * sysdeps/s390/multiarch/ifunc-impl-list.c
16386         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16387         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16388         * string/test-strncat.c: Add wcsncat support.
16389         * wcsmbs/test-wcsncat.c: New File.
16390         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16391         * benchtests/bench-strncat.c: Add wcsncat support.
16392         * benchtests/bench-wcsncat.c: New File.
16393         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16395         * sysdeps/s390/multiarch/strcat-c.c: New File.
16396         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16397         * sysdeps/s390/multiarch/strcat.c: Likewise.
16398         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16399         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16400         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16401         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16402         wcscat functions.
16403         * sysdeps/s390/multiarch/ifunc-impl-list.c
16404         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16405         * string/strcat.c (STRCAT): Define and use macro.
16406         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16407         * string/test-strcat.c: Add wcscat support.
16408         * wcsmbs/test-wcscat.c: New File.
16409         * wcsmbs/Makefile (strop-tests): Add wcscat.
16410         * benchtests/bench-strcat.c: Add wcscat support.
16411         * benchtests/bench-wcscat.c: New File.
16412         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16414         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16415         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16416         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16417         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16418         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16419         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16420         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16421         wcpncpy functions.
16422         * sysdeps/s390/multiarch/ifunc-impl-list.c
16423         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16424         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16425         * string/test-stpncpy.c: Add wcpncpy support.
16426         * wcsmbs/test-wcpncpy.c: New File.
16427         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16428         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16429         * benchtests/bench-wcpncpy.c: New File.
16430         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16432         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16433         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16434         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16435         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16436         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16437         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16438         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16439         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16440         wcsncpy functions.
16441         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16442         * sysdeps/s390/multiarch/ifunc-impl-list.c
16443         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16444         * string/test-strncpy.c: Add wcsncpy support.
16445         * wcsmbs/test-wcsncpy.c: New File.
16446         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16447         * benchtests/bench-strncpy.c: Add wcsncpy support.
16448         * benchtests/bench-wcsncpy.c: New File.
16449         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16451         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16452         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16453         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16454         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16455         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16456         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16457         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16458         wcpcpy functions.
16459         * string/stpcpy.c: Use STPCPY if defined.
16460         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16461         * sysdeps/s390/multiarch/ifunc-impl-list.c
16462         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16463         * string/test-stpcpy.c: Add wcpcpy support.
16464         * wcsmbs/test-wcpcpy.c: New File.
16465         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16466         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16467         * benchtests/bench-wcpcpy.c: New File.
16468         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16470         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16471         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16472         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16473         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16474         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16475         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16476         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16477         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16478         wcscpy functions.
16479         * sysdeps/s390/multiarch/ifunc-impl-list.c
16480         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16481         * benchtests/bench-wcscpy.c: New File.
16482         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16484         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16485         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16486         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16487         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16488         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16489         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16490         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16491         wcsnlen functions.
16492         * sysdeps/s390/multiarch/ifunc-impl-list.c
16493         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16494         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16495         * string/test-strnlen.c: Add wcsnlen support.
16496         * wcsmbs/test-wcsnlen.c: New File.
16497         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16498         * benchtests/bench-strnlen.c: Add wcsnlen support.
16499         * benchtests/bench-wcsnlen.c: New File.
16500         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16502         * sysdeps/s390/multiarch/Makefile: New File.
16503         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16504         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16505         * sysdeps/s390/multiarch/strlen.c: Likewise.
16506         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16507         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16508         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16509         * string/strlen.c (STRLEN): Define and use macro.
16510         * sysdeps/s390/multiarch/ifunc-impl-list.c
16511         (IFUNC_VX_IMPL): New macro function.
16512         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16513         * benchtests/Makefile (wcsmbs-bench): New variable.
16514         (string-bench-all): Added wcsmbs-bench.
16515         * benchtests/bench-wcslen.c: New File.
16517         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16518         s390_vx_libc_ifunc2): New macro function.
16520         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16521         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16522         assembler support.
16523         * sysdeps/s390/configure: Regenerated.
16525         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16526         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16528         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16529         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16530         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16532         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16533         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16534         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16535         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16536         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16537         (memcmp, bcmp): Use __memcmp_default as alias source.
16538         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16539         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16540         Rename to __memcmp_default.
16541         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16542         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16543         (memcpy): Use __memcpy_default as alias source.
16544         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16545         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16546         Rename to __memcpy_default.
16547         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16548         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16549         (memset): Use __memset_default as alias source.
16550         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16551         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16552         Rename to __memset_default.
16553         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16554         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16555         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16556         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16557         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16558         (memcmp, bcmp): Use __memcmp_default as alias source.
16559         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16560         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16561         Rename to __memcmp_default.
16562         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16563         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16564         (memcpy): Use __memcpy_default as alias source.
16565         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16566         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16567         Rename to __memcpy_default.
16568         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16569         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16570         (memset): Use __memset_default as alias source.
16571         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16572         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16573         Rename to __memset_default.
16574         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16575         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16577         [BZ #18610]
16578         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16579         __ieee_instruction_pointer to __unused.
16580         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16581         __ieee_instruction_pointer.
16582         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16583         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16584         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16585         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16586         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16587         Mark dxc-field as reserved.
16589 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16591         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16592         if the weak reference is not null.
16594 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16596         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16598         [BZ #11214]
16599         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16601 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16603         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16604         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16605         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16606         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16607         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16608         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16609         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16610         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16611         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16612         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16613         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16614         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16615         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16616         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16617         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16618         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16619         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16620         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16622 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16624         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16625         register other than r0 for tabort, it has special meaning.
16626         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16627         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16628         transaction before starting syscall.
16630 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16632         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16634 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16636         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16638         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16639         * sysdeps/x86_64/rtld-memset.S: Likewise.
16640         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16641         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16642         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16643         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16645         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16647 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16649         * debug/strcpy_chk.c: Improve performance.
16650         * debug/stpcpy_chk.c: Likewise.
16651         * sysdeps/x86_64/strcpy_chk.S: Remove.
16652         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16654         [BZ #18240]
16655         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16657 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16659         [BZ #15128]
16660         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16661         ifuncmain8.
16662         (modules-names): Add ifuncmod8.
16663         ($(objpfx)ifuncmain8): New rule.
16664         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16665         <cpuid.h>.
16666         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16667         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16668         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16669         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16670         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16671         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16672         * sysdeps/x86_64/ifuncmain8.c: New file.
16673         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16674         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16675         Removed.
16676         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16677         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16678         Change rtld_savespace_sse to __glibc_unused2.
16679         (RTLD_CHECK_FOREIGN_CALL): Removed.
16680         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16681         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16682         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16684 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16686         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16688 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16690         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16691         Unconditionally set __fpcr to avoid uninialized warning.
16692         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16694 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16696         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16697         is corrupt.
16699         * malloc/arena.c (arena_get2): Drop unused argument.
16700         (arena_lock): Adjust.
16701         (arena_get_retry): Likewise.
16703 2015-08-24  Andreas Schwab  <schwab@suse.de>
16705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16706         Don't define.
16707         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16708         (__ASSUME_IPC64): Don't undef.
16709         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16710         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16711         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16712         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16713         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16714         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16715         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16716         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16717         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16718         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16719         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16720         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16721         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16722         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16723         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16724         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16725         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16726         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16727         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16728         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16729         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16731 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16733         * manual/Makefile (install): Only build manual when perl is available.
16735 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16737         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16738         '#undef memcpy' by '#undef memchr'.
16740 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16742         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16743         memchr not point to the internal __GI_memchr implementation.
16745 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16747         * timezone/Makefile (CFLAGS-zdump.c): Remove
16748         -Wno-strict-prototypes.
16749         (CFLAGS-zic.c): Likewise.
16750         (CFLAGS-ialloc.c): Likewise.
16751         (CFLAGS-scheck.c): Likewise.
16753         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16754         -Wno-error=undef.
16756 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16758         * i386/i686/multiarch/strcasestr-c.c: Removed.
16759         * x86_64/multiarch/strcasestr.c: Likewise.
16760         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16761         Remove strcasestr.
16763 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16765         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16767         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16768         variables for high and low parts before possibly modifying them.
16770 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16772         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16773         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16774         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16775         of "multiarch/init-arch.h".
16776         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16777         * sysdeps/x86/init-arch.h: This.
16779 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16781         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16782         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16784 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16786         [BZ #17787]
16787         * manual/macros.texi: Add twoexp macro.
16788         * manual/filesys.texi: Fix exponents.
16789         * manual/llio.texi: Likewise.
16790         * manual/stdio.texi: Likewise.
16792 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16794         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16795         incorrect use.
16797 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16799         [BZ #18370]
16800         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16801         whose real or imaginary part has small absolute value.
16802         * math/s_csqrtf.c (__csqrtf): Likewise.
16803         * math/s_csqrtl.c (__csqrtl): Likewise.
16804         * math/auto-libm-test-in: Add more tests of csqrt.
16805         * math/auto-libm-test-out: Regenerated.
16806         * sysdeps/i386/fpu/libm-test-ulps: Update.
16808 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16810         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16811         __ppc_set_ppr_very_low): New functions.
16812         * manual/platform.texi: Add documentation about
16813         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16815 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16817         * string/stpncpy.c (stpncpy): Improve performance using
16818         __strnlen/memcpy/memset.
16820 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16822         [BZ #18796]
16823         * scripts/test-installation.pl: Don't add -lmvec to build options if
16824         libmvec wasn't built.
16826 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16828         [BZ #14341]
16829         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16830         case when there is a gap between DT_REL and DT_JMPREL sections.
16831         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16832         (LDFLAGS-tst-split-dynreloc): New.
16833         (tst-split-dynreloc-ENV): Likewise.
16834         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16835         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16837 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16839         [BZ #18822]
16840         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16841         attribute_hidden.
16842         (__xstat64_conv): Likewise.
16843         (__xstat32_conv): Likewise.
16845 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16847         [BZ #18822]
16848         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16849         Don't load %ebx when calling __setcontext.  Call __setcontext
16850         with HIDDEN_JUMPTARGET.
16851         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16852         libc_hidden_def.
16854 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16856         * sysdeps/i386/i686/Makefile
16857         [$(subdir) == string] (sysdep_routines): Moved to ...
16858         * sysdeps/i386/Makefile: Here.
16859         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16860         * sysdeps/i386/cacheinfo.c: Here.
16861         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16862         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16863         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16864         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16866 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16868         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16869         __i586__ is defined.
16870         (HAS_I686): Defined to 1 if __i686__ is defined.
16872 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16874         * elf/Makefile [$(have-z-execstack) = yes]
16875         (CPPFLAGS-tst-execstack.c): New variable.
16877         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16878         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16879         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16880         UTMPX || _HAVE_UT_TV].
16881         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16882         UTMPX || _HAVE_UT_TV - 0].
16884 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16886         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16887         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16888         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16890 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16892         * sysdeps/powerpc/dl-procinfo.c:
16893         (_dl_powerpc_cap_flags): Added missing strings for some
16894         hwcap features.
16895         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16897 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16899         Port the 0x7efe...feff pattern to GCC 6.
16900         See Steve Ellcey's bug report in:
16901         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16902         * string/memrchr.c (MEMRCHR):
16903         * string/rawmemchr.c (RAWMEMCHR):
16904         * string/strchr.c (strchr):
16905         * string/strchrnul.c (STRCHRNUL):
16906         Rewrite code to avoid issues with signed shift overflow.
16908 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16910         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16911         whether cpuid is available only if HAS_CPUID is 0.
16912         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16913         (HAS_I586): Likewise.
16914         (HAS_I686): Likewise.
16916 2015-08-18  Zack Weinberg  <zackw@panix.com>
16918         * misc/Versions (libc): Add GLIBC_2.23.
16920 2015-08-18  Alan Modra  <amodra@gmail.com>
16922         [BZ #18421]
16923         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16924         .Lp__global.
16925         (_start): Load %dp via .Lp__global.
16926         [!SHARED]: Use .section .rodata.
16928 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16930         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16931         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16933 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16935         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16936         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16938 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16940         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16941         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16943 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16945         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16946         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16948 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16950         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16951         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16953 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16955         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16956         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16958 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16960         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16962 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16964         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16965         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16966         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16967         (__ASSUME_LWS_CAS): Delete.
16969 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16971         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16972         * sysdeps/hppa/configure: Regenerated.
16973         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16974         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16975         * sysdeps/hppa/nptl/tls.h: Likewise.
16977 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16979         [BZ #18823]
16980         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16981         for scaling up small arguments.
16982         * math/s_csqrtf.c (__csqrtf): Likewise.
16983         * math/s_csqrtl.c (__csqrtl): Likewise.
16984         * math/auto-libm-test-in: Add more tests of csqrt.
16985         * math/auto-libm-test-out: Regenerated.
16987 2015-08-17  Andreas Schwab  <schwab@suse.de>
16989         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16990         version set GLIBC_2.19.
16992 2015-08-16  Zack Weinberg  <zackw@panix.com>
16994         [BZ #18681]
16995         * misc/regexp.h: This interface is no longer supported.
16996         Remove all contents, leaving only an #error directive.
16997         * misc/regexp.c (loc1, loc2, locs, step, advance):
16998         Demote to compatibility symbols.
17000 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17002         [BZ #18084]
17003         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17004         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17005         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17006         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17007         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17008         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17009         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17010         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17011         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17013 2015-08-15  Zack Weinberg  <zackw@panix.com>
17015         [BZ #18795]
17016         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17017         buffer length is known to be too large, not if it's known to be
17018         small enough.
17019         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17020         overflow at runtime, involving a length parameter, twice: once
17021         with a compile-time constant length parameter, once without.
17023 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17025         [BZ #18824]
17026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17027         scaling x * y up instead of down.
17028         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17029         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17030         * math/auto-libm-test-in: Add more tests of fma.
17031         * math/auto-libm-test-out: Regenerated.
17033 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17035         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17037 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17039         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17040         unnecessary movq.
17041         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17042         Likewise.
17044 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17046         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17047         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17048         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17049         and tgamma.
17050         * math/auto-libm-test-out: Regenerated.
17051         * sysdeps/i386/fpu/libm-test-ulps: Update.
17052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17054         [BZ #16520]
17055         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17056         (__tanh): Force underflow exception for arguments with small
17057         absolute value.
17058         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17059         (__tanhf): Force underflow exception for arguments with small
17060         absolute value.
17061         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17062         (__tanhl): Force underflow exception for arguments with small
17063         absolute value.
17064         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17065         (__tanhl): Force underflow exception for arguments with small
17066         absolute value.
17067         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17068         (__tanhl): Force underflow exception for arguments with small
17069         absolute value.
17070         * math/auto-libm-test-in: Add more tests of tanh.
17071         * math/auto-libm-test-out: Regenerated.
17072         * sysdeps/i386/fpu/libm-test-ulps: Update.
17074 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17076         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17077         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17079 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17081         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17082         <cpuid.h>.
17084 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17086         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17087         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17089 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17091         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17092         Remove $(objpfx)init-arch.o.
17093         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17094         init-arch.
17095         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17096         (INIT_ARCH_EXT): Defined as empty.
17097         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17098         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17099         __init_cpu_features call.  Replace HAS_XXX with
17100         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17101         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17102         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17103         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17104         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17105         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17106         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17107         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17108         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17109         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17110         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17111         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17112         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17113         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17114         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17115         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17116         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17117         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17118         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17119         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17120         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17121         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17122         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17123         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17124         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17125         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17126         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17127         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17128         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17129         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17130         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17131         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17132         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17133         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17134         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17135         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17137 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17139         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17140         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17141         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17142         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17143         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17144         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17145         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17146         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17147         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17148         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17149         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17150         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17151         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17152         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17153         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17154         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17155         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17156         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17157         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17158         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17159         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17160         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17161         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17162         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17163         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17164         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17165         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17166         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17167         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17168         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17169         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17170         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17171         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17172         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17173         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17174         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17175         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17176         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17177         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17178         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17179         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17180         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17181         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17183 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17185         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17186         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17187         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17188         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17189         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17190         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17191         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17192         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17193         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17194         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17195         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17196         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17197         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17198         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17199         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17200         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17201         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17202         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17203         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17204         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17206         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17207         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17208         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17209         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17210         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17211         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17212         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17213         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17214         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17215         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17216         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17217         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17218         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17219         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17220         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17221         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17222         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17223         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17224         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17225         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17226         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17227         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17229 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17231         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17232         (dl_platform_init): Call init_cpu_features.
17233         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17234         * sysdeps/i386/i686/cacheinfo.c
17235         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17236         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17237         * sysdeps/i386/i686/multiarch/Versions: Removed.
17238         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17239         Removed.
17240         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17241         * sysdeps/unix/sysv/linux/x86/Makefile
17242         (libpthread-sysdep_routines): Remove init-arch.
17243         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17244         <sysdeps/x86_64/dl-procinfo.c> instead of
17245         sysdeps/generic/dl-procinfo.c>.
17246         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17247         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17248         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17249         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17250         [$(subdir) == elf] (tests-static): Add
17251         tst-get-cpu-features-static.
17252         * sysdeps/x86/Versions: New file.
17253         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17254         * sysdeps/x86/cpu-features.c: Likewise.
17255         * sysdeps/x86/cpu-features.h: Likewise.
17256         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17257         * sysdeps/x86/libc-start.c: Likewise.
17258         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17259         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17260         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17261         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17262         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17263         Assume USE_MULTIARCH is defined and don't check it.
17264         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17265         (is_amd): Likewise.
17266         (max_cpuid): Likewise.
17267         (intel_check_word): Likewise.
17268         (__cache_sysconf): Don't call __init_cpu_features.
17269         (__x86_preferred_memory_instruction): Removed.
17270         (init_cacheinfo): Don't call __init_cpu_features. Replace
17271         __cpu_features with GLRO(dl_x86_cpu_features).
17272         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17273         (dl_platform_init): Call init_cpu_features.
17274         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17275         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17276         * sysdeps/x86_64/multiarch/Versions: Removed.
17277         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17278         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17279         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17280         Removed.
17281         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17283 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17285         [BZ #18820]
17286         * libio/Makefile (test-fmemopen-mem): New test.
17287         * libio/test-fmemopen.c (do_bz18820): New test.
17288         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17289         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17291 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17293         [BZ #16734]
17294         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17295         (FREE_BUF): Delete.
17296         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17297         * libio/genops.c (_IO_setb): Use malloc and free directly.
17298         (_IO_default_doallocate, _IO_default_finish): Likewise.
17299         ( _IO_unbuffer_all): Likewise.
17300         ( libc_freeres_fn): Likewise.
17301         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17302         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17303         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17304         (_IO_wdefault_doallocate): Likewise.
17306 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17308         [BZ #18086]
17309         * sysdeps/posix/nice.c (nice): Restore old errno.
17310         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17312 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17314         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17316 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17318         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17319         __bcopy and add a weak_alias to bcopy.
17320         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17321         for static build.
17323         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17324         cleanup macro usage.
17325         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17327         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17328         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17329         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17330         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17331         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17332         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17333         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17334         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17335         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17336         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17337         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17338         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17340         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17341         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17342         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17343         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17345         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17346         libc_hidden_def.
17347         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17349         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17350         (sysdep_routines): Add strstr-ppc64.
17351         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17353 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17355         [BZ #18778]
17356         * elf/Makefile (tests): Add Add tst-nodelete2.
17357         (modules-names): Add tst-nodelete2mod.
17358         (tst-nodelete2mod.so-no-z-defs): New.
17359         ($(objpfx)tst-nodelete2): Likewise.
17360         ($(objpfx)tst-nodelete2.out): Likewise.
17361         (LDFLAGS-tst-nodelete2): Likewise.
17362         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17363         out of loop through all loaded libraries.
17364         * elf/tst-nodelete2.c: New file.
17365         * elf/tst-nodelete2mod.c: Likewise.
17366         * elf/tst-znodelete-zlib.cc: Delete.
17368 2015-08-11  Andreas Schwab  <schwab@suse.de>
17370         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17371         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17372         (__openat64_nocancel): Likewise.
17374 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17376         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17377         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17378         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17379         * math/auto-libm-test-out: Regenerated.
17380         * sysdeps/i386/fpu/libm-test-ulps: Update.
17381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17383 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17385         [BZ #18790]
17386         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17387         threshold for returning +/- 1.
17388         * math/auto-libm-test-in: Add more tests of tanh.
17389         * math/auto-libm-test-out: Regenerated.
17390         * sysdeps/i386/fpu/libm-test-ulps: Update.
17392 2015-08-10  Andreas Schwab  <schwab@suse.de>
17394         [BZ #18781]
17395         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17396         MORE_OFLAGS to oflag.
17397         * io/test-lfs.c (do_test): Test openat64.
17399 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17401         [BZ #18789]
17402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17403         smaller threshold for returning the argument.
17404         * math/auto-libm-test-in: Add more tests of sinh.
17405         * math/auto-libm-test-out: Regenerated.
17406         * sysdeps/i386/fpu/libm-test-ulps: Update.
17408 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17410         [BZ #18674]
17411         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17412         break.
17414 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17416         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17417         (generated): Don't add $(addprefix z.,$(tzfiles)).
17419 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17421         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17422         * scripts/sysd-rules.awk: Likewise.
17424 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17426         * iconvdata/tst-tables.sh: Change echo -n to printf.
17427         * nss/db-Makefile: Likewise.
17428         * posix/tst-getconf.sh: Likewise.
17429         * stdio-common/tst-unbputc.sh: Likewise.
17431 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17433         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17434         MADV_*_PAGES defines behind this feature check.
17436 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17438         [BZ #18480]
17439         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17440         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17441         Define.
17442         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17443         LOAD_REGS_5, LOAD_REGS_6): Update.
17444         (INTERNAL_SYSCALL): Update using new LOAD defines.
17445         (INTERNAL_SYSCALL_NCS): Likewise.
17446         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17448 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17450         [BZ #16734]
17451         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17453 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17455         [BZ #17905]
17456         * catgets/Makefile (tst-catgets-mem): New test.
17457         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17458         * catgets/open_catalog.c (__open_catalog): Likewise.
17459         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17461 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17463         [BZ #18787]
17464         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17465         clobber registers.
17466         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17467         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17468         Cast return to __typeof (oldval).
17470 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17472         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17473         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17474         and delete sys/syscall.h include.
17476 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17478         [BZ #16517]
17479         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17480         (tan): Force underflow exception for arguments with small absolute
17481         value.
17482         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17483         (__kernel_tanf): Force underflow exception for arguments with
17484         small absolute value.
17485         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17486         (__kernel_tanl): Force underflow exception for arguments with
17487         small absolute value.
17488         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17489         (__kernel_tanl): Force underflow exception for arguments with
17490         small absolute value.
17491         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17492         (__kernel_tanl): Force underflow exception for arguments with
17493         small absolute value.
17494         * math/auto-libm-test-in: Add more tests of tan.
17495         * math/auto-libm-test-out: Regenerated.
17497 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17499         Fix sysdeps/i386/fpu/s_scalbn.S build
17501         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17503 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17505         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17507 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17509         Fix gcrt0.o compilation
17511         When static-start-installed-name is different from
17512         start-installed-name, we must not use the shared objects.
17514         * csu/Makefile
17515         (extra-objs): Add gmon-start.o when building shared library and
17516         $(static-start-installed-name) is different from
17517         $(start-installed-name).
17518         $(objpfx)g$(static-start-installed-name): When building shared
17519         library and $(static-start-installed-name) is different from
17520         $(static-start-installed-name), revert to non-shared rule,
17521         i.e. using $(objpfx)% and gmon-start.o.
17523 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17525         [BZ #16519]
17526         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17527         (__ieee754_sinh): Force underflow exception for arguments with
17528         small absolute value.
17529         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17530         (__ieee754_sinhf): Force underflow exception for arguments with
17531         small absolute value.
17532         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17533         (__ieee754_sinhl): Force underflow exception for arguments with
17534         small absolute value.
17535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17536         (__ieee754_sinhl): Force underflow exception for arguments with
17537         small absolute value.
17538         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17539         (__ieee754_sinhl): Force underflow exception for arguments with
17540         small absolute value.
17541         * math/auto-libm-test-in: Add more tests of sinh.
17542         * math/auto-libm-test-out: Regenerated.
17543         * sysdeps/i386/fpu/libm-test-ulps: Update.
17545 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17547         * libio/oldfileops.c: Include unistd.h.
17549 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17551         * stdlib/isomac.c: Include ctype.h.
17553 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17555         * dirent/tst-seekdir.c (main): Converted to ...
17556         (do_test): ... this.
17557         (TEST_FUNCTION): New macro.
17558         Include test-skeleton.c.
17559         * elf/tst-dlmodcount.c (main): Converted to ...
17560         (do_test): ... this.
17561         (TEST_FUNCTION): New macro.
17562         Include test-skeleton.c.
17563         * elf/tst-order-main.c (main): Converted to ...
17564         (do_test): ... this.
17565         (TEST_FUNCTION): New macro.
17566         Include test-skeleton.c.
17567         * elf/tst-pie2.c (main): Converted to ...
17568         (do_test): ... this.
17569         (TEST_FUNCTION): New macro.
17570         Include test-skeleton.c.
17571         * inet/tst-ether_aton.c (main): Converted to ...
17572         (do_test): ... this.
17573         (TEST_FUNCTION): New macro.
17574         Include test-skeleton.c.
17575         * misc/tst-mntent.c (main): Converted to ...
17576         (do_test): ... this.
17577         (TEST_FUNCTION): New macro.
17578         Include test-skeleton.c.
17579         * misc/tst-tsearch.c (main): Converted to ...
17580         (do_test): ... this.
17581         (TEST_FUNCTION): New macro.
17582         Include test-skeleton.c.
17583         * posix/tst-regexloc.c (main): Converted to ...
17584         (do_test): ... this.
17585         (TEST_FUNCTION): New macro.
17586         Include test-skeleton.c.
17587         * resolv/tst-aton.c (main): Converted to ...
17588         (do_test): ... this.
17589         (TEST_FUNCTION): New macro.
17590         Include test-skeleton.c.
17591         * stdio-common/test-fwrite.c (main): Converted to ...
17592         (do_test): ... this.
17593         (TEST_FUNCTION): New macro.
17594         Include test-skeleton.c.
17595         * stdio-common/tst-ferror.c (main): Converted to ...
17596         (do_test): ... this.
17597         (TEST_FUNCTION): New macro.
17598         Include test-skeleton.c.
17599         * stdio-common/tst-printf.c (main): Converted to ...
17600         (do_test): ... this.
17601         (TEST_FUNCTION): New macro.
17602         Include test-skeleton.c.
17603         * stdio-common/tst-printfsz.c (main): Converted to ...
17604         (do_test): ... this.
17605         (TEST_FUNCTION): New macro.
17606         Include test-skeleton.c.
17607         * stdlib/tst-strtod.c (main): Converted to ...
17608         (do_test): ... this.
17609         (TEST_FUNCTION): New macro.
17610         Include test-skeleton.c.
17611         * string/tst-strlen.c (main): Converted to ...
17612         (do_test): ... this.
17613         (TEST_FUNCTION): New macro.
17614         Include test-skeleton.c.
17615         * string/tst-svc.c (main): Converted to ...
17616         (do_test): ... this.
17617         (TEST_FUNCTION): New macro.
17618         Include test-skeleton.c.
17619         * time/tst-strptime.c (main): Converted to ...
17620         (do_test): ... this.
17621         (TEST_FUNCTION): New macro.
17622         Include test-skeleton.c.
17623         * timezone/tst-timezone.c (main): Converted to ...
17624         (do_test): ... this.
17625         (TEST_FUNCTION): New macro.
17626         Include test-skeleton.c.
17628 2015-08-05  Zack Weinberg  <zackw@panix.com>
17630         * misc/regexp.h: Update comments.
17632 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17634         [BZ #18635]
17635         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17636         before return label.
17638 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17640         [BZ #18661]
17641         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17642         when calling __errno_location.
17643         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17644         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17646 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17648         [BZ #18661]
17649         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17650         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17651         __gettimeofday.
17653 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17655         [BZ #18661]
17656         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17657         (__start_context): Don't use pop to restore %rdi so that stack
17658         is aligned to 16 bytes when calling __setcontext.
17660 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17662         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17663         only for libc.
17664         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17666 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17668         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17669         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17670         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17672 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17674         * string/memccpy.c (memccpy):
17675         Improve performance by using memchr/memcpy/__mempcpy.
17677 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17679         * string/strncpy.c (strncpy):
17680         Improve performance by using __strnlen/memcpy.
17682 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17684         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17685         Optimize to avoid an unnecessary FPCR read.
17687 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17689         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17690         Optimize to reduce FPCR/FPSR accesses.
17692 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17694         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17695         dead->data[category] != NULL.
17697 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17699         [BZ #18647]
17700         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17701         and |x| close to 1, use absolute value of x when computing log.
17702         * math/auto-libm-test-in: Add more tests of pow.
17703         * math/auto-libm-test-out: Regenerated.
17705 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17707         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17708         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17709         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17711 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17713         [BZ #18525]
17714         * locales/km_KH: Remove timezone definition.
17715         * locales/lo_LA: Likewise.
17716         * locales/my_MM: Likewise.
17717         * locales/nan_TW@latin: Likewise.
17718         * locales/th_TH: Likewise.
17719         * locales/uk_UA: Likewise.
17721 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17723         [BZ #18265]
17724         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17725         (wcsncat): Likewise.
17726         (wcscmp): Likewise.
17727         (wcsncmp): Likewise.
17729 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17731         * test-skeleton.c (usage): New function.
17732         (main): Call usage when opt is '?'.
17734 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17736         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17737         before first use.
17739 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17741         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17742         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17743         in there too.
17745 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17747         * version.h (RELEASE): Set to "development".
17748         (VERSION): Set to "2.22.90"
17750         * version.h (RELEASE): Set to "stable".
17751         (VERSION): Set to "2.22"
17752         * include/features.h (__GLIBC_MINOR__): Set to 22.
17754 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17756         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17757         Restructure macro to avoid "value computed is not used" warning.
17758         (atomic_compare_and_exchange_val_acq): Likewise.
17760 2015-08-04  Andreas Schwab  <schwab@suse.de>
17762         [BZ #18635]
17763         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17764         ret.
17765         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17767 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17769         * po/pl.po: Updated translation.
17770         * po/uk.po: Likewise.
17771         * po/fi.po: Likewise.
17772         * po/ko.po: Likewise.
17773         * po/ru.po: Likewise.
17774         * po/vi.po: Likewise.
17776 2015-07-31  Zack Weinberg  <zackw@panix.com>
17778         [BZ #18681]
17779         * regexp.h: Add unconditional #warning stating that this header
17780         will be removed soon.  Revise banner comment to match.
17781         (compile): Consistently use ERROR instead of RETURN to report
17782         errors (partial fix for bz#18681).
17783         * regexp.c: Don't include regexp.h. Remove some unnecessary
17784         declarations.
17786 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17788         * po/libc.pot: Regenerated.
17790 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17792         [BZ #18740]
17793         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17794         float-vlen4-arch-ext-cflags): Removed.
17795         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17796         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17798 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17800         [BZ #14113]
17801         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17802         aligned to __aligned__.
17803         (pthread_cond_t, pthread_rwlock_t): Likewise.
17805 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17807         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17809 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17811         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17812         (struct sigaction): Change sa_flags from a long to an int, and add
17813         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17815 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17817         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17818         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17819         sysdeps/generic/sysdep.h include.
17820         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17821         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17822         sysdeps/hppa/sysdep.h.
17823         (ENTRY, PSEUDO): Undefine before defining.
17825 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17827         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17828         from scratch to use INTERNAL_SYSCALL.
17830 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17832         [BZ #18078]
17833         * scripts/check-localplt.awk: Support alternate relocations.
17834         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17835         sections.
17836         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17837         malloc entries with + REL R_386_GLOB_DAT.
17838         * sysdeps/x86_64/localplt.data: New file.
17840 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17842         [BZ #18731]
17843         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17844         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17845         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17847 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17849         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17851 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17853         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17854         directly in terms of __sync_fetch_and_add and delete (int) cast.
17856 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17858         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17859         the -D_ASM_IA64_CURRENT_H flag.
17861 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17863         [BZ #18641]
17864         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17866 2015-07-27  Andreas Schwab  <schwab@suse.de>
17868         * conform/conformtest.pl (checknamespace): Filter out string
17869         literals while tokenizing.
17871 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17873         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17874         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17875         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17877 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17879         * nptl/tst-join7mod.c: Add #include <string.h>.
17881 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17883         * sysdeps/nios2/libm-test-ulps: Update.
17885 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17887         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17888         Fix order of arguments to the rt_sigprocmask syscall.
17889         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17890         Likewise.
17892 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17894         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17896 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17898         [BZ #18457]
17899         * nptl/Makefile (tests): New test case tst-join7.
17900         (modules-names): New test case module tst-join7mod.
17901         * nptl/tst-join7.c: New file.
17902         * nptl/tst-join7mod.c: New file.
17903         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17904         all translation units in libc.so, libpthread.so and rtld.
17906 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17910 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17912         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17913         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17914         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17915         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17916         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17917         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17918         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17919         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17920         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17921         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17922         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17923         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17924         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17925         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17926         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17927         implementation.
17929 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17931         [BZ #17711]
17932         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17933         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17934         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17935         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17936         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17937         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17939 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17941         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17942         instead of just saying load lock in the comments.
17944 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17946         * sysdeps/unix/Subdirs: Moved ...
17947         * sysdeps/posix/Subdirs: ... here.
17948         * login/pty.h (struct termios, struct winsize): Add forward decls.
17949         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17950         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17951         * sysdeps/arm/nacl/libc.abilist: Updated.
17952         * sysdeps/nacl/libutil.abilist: New file.
17954         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17955         (SIGWINCH): New macro.
17957         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17958         * sysdeps/arm/nacl/libc.abilist: Add it.
17960 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17962         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17964 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17966         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17967         Swap __glibc_reserved0 and sa_flags order.
17969 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17971         [BZ #18657]
17972         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17973         are pending TLS destructor calls.
17974         * include/link.h (struct link_map): Add concurrency note for
17975         L_TLS_DTOR_COUNT.
17976         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17977         Don't touch the link map flag.  Atomically increment
17978         l_tls_dtor_count.
17979         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17980         Avoid taking the load lock and don't touch the link map flag.
17981         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17982         * stdlib/Makefile (tests): Use it.
17983         * stdlib/tst-tls-atexit.c (do_test): dlopen
17984         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17985         to allow tst-tls-atexit-nodelete test case to use it.
17987 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17989         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17990         to bits/types.h.
17991         (msgqnum_t): New typedef.
17992         (msglen_t): Likewise.
17993         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17994         and msg_qbytes type to msglen_t.
17996 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17998         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17999         pad0 to __glibc_reserved0.
18000         (struct stat64): Likewise.
18002 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18004         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18005         Change sa_flags from a long to an int and add __glibc_reserved0 before
18006         it for padding.
18008 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18010         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18011         anonymous by deleting "siginfo" name.
18013 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18015         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18016         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18017         rather than __nacl_irt_filename.
18018         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18020         * NEWS: New item for arm-nacl port.
18021         * sysdeps/arm/nacl/libc.abilist: New file.
18022         * sysdeps/nacl/ld.abilist: New file.
18023         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18024         * sysdeps/nacl/libanl.abilist: New file.
18025         * sysdeps/nacl/libcrypt.abilist: New file.
18026         * sysdeps/nacl/libdl.abilist: New file.
18027         * sysdeps/nacl/libm.abilist: New file.
18028         * sysdeps/nacl/libpthread.abilist: New file.
18029         * sysdeps/nacl/libresolv.abilist: New file.
18030         * sysdeps/nacl/librt.abilist: New file.
18032 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18034         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18035         __startcontext to initialize the new context.
18036         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18037         up CFI directive to forbid further backtracing.
18039 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18041         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18042         reference.
18043         * charmaps/ANSI_X3.4-1968: Likewise.
18044         * charmaps/BS_4730: Likewise.
18045         * charmaps/BS_VIEWDATA: Likewise.
18046         * charmaps/CP1250: Likewise.
18047         * charmaps/CP1251: Likewise.
18048         * charmaps/CP1252: Likewise.
18049         * charmaps/CP1253: Likewise.
18050         * charmaps/CP1254: Likewise.
18051         * charmaps/CP1255: Likewise.
18052         * charmaps/CP1256: Likewise.
18053         * charmaps/CSN_369103: Likewise.
18054         * charmaps/EBCDIC-DK-NO: Likewise.
18055         * charmaps/GB_1988-80: Likewise.
18056         * charmaps/GREEK-CCITT: Likewise.
18057         * charmaps/GREEK7: Likewise.
18058         * charmaps/INIS-8: Likewise.
18059         * charmaps/ISIRI-3342: Likewise.
18060         * charmaps/ISO_2033-1983: Likewise.
18061         * charmaps/ISO_5427-EXT: Likewise.
18062         * locales/POSIX: Likewise.
18063         * locales/ar_SA: Likewise.
18064         * locales/be_BY: Likewise.
18065         * locales/be_BY@latin: Likewise.
18066         * locales/ca_ES: Likewise.
18067         * locales/cs_CZ: Likewise.
18068         * locales/da_DK: Likewise.
18069         * locales/de_BE: Likewise.
18070         * locales/de_CH: Likewise.
18071         * locales/de_LU: Likewise.
18072         * locales/en_AU: Likewise.
18073         * locales/en_BW: Likewise.
18074         * locales/en_CA: Likewise.
18075         * locales/en_DK: Likewise.
18076         * locales/en_GB: Likewise.
18077         * locales/en_IE: Likewise.
18078         * locales/en_NZ: Likewise.
18079         * locales/en_ZA: Likewise.
18080         * locales/en_ZW: Likewise.
18081         * locales/es_AR: Likewise.
18082         * locales/es_BO: Likewise.
18083         * locales/es_CL: Likewise.
18084         * locales/es_CO: Likewise.
18085         * locales/es_DO: Likewise.
18086         * locales/es_EC: Likewise.
18087         * locales/es_ES: Likewise.
18088         * locales/es_HN: Likewise.
18089         * locales/es_MX: Likewise.
18090         * locales/es_PA: Likewise.
18091         * locales/es_PE: Likewise.
18092         * locales/es_PY: Likewise.
18093         * locales/es_SV: Likewise.
18094         * locales/es_US: Likewise.
18095         * locales/es_UY: Likewise.
18096         * locales/es_VE: Likewise.
18097         * locales/et_EE: Likewise.
18098         * locales/fa_IR: Likewise.
18099         * locales/fo_FO: Likewise.
18100         * locales/fr_CA: Likewise.
18101         * locales/fr_CH: Likewise.
18102         * locales/gv_GB: Likewise.
18103         * locales/he_IL: Likewise.
18104         * locales/hr_HR: Likewise.
18105         * locales/id_ID: Likewise.
18106         * locales/is_IS: Likewise.
18107         * locales/it_CH: Likewise.
18108         * locales/iw_IL: Likewise.
18109         * locales/kl_GL: Likewise.
18110         * locales/ko_KR: Likewise.
18111         * locales/kw_GB: Likewise.
18112         * locales/lg_UG: Likewise.
18113         * locales/lt_LT: Likewise.
18114         * locales/lv_LV: Likewise.
18115         * locales/mi_NZ: Likewise.
18116         * locales/nhn_MX: Likewise.
18117         * locales/nl_BE: Likewise.
18118         * locales/pl_PL: Likewise.
18119         * locales/sk_SK: Likewise.
18120         * locales/sl_SI: Likewise.
18121         * locales/sv_FI: Likewise.
18122         * locales/tl_PH: Likewise.
18123         * locales/tr_TR: Likewise.
18124         * locales/vi_VN: Likewise.
18126 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18128         [BZ #17475]
18129         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18130         of tu_IN and bh_IN.
18132 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18134         [BZ #18694]
18135         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18136         bits/wordsize.h.
18137         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18139 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18141         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18142         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18143         (spawn_thread): New function.
18144         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18145         (do_test): ... here.  Use IS_LOADED to test for its
18146         availability.
18148 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18150         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18152 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18154         [BZ #18696]
18155         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18156         si_addr_bnd.
18157         (si_lower): New.
18158         (si_upper): Likewise.
18160 2015-07-16  David S. Miller  <davem@davemloft.net>
18162         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18164 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18166         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18167         buffer.
18168         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18169         fail output information.
18171 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18174         and strstr-ppc64..
18175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18176         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18177         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18178         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18179         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18181 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18183         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18184         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18185         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18186         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18188 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18190         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18191         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18192         rtld_hidden_proto.
18193         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18195 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18197         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18198         the test can fail.
18200         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18202         [BZ #18676]
18203         * elf/tst-nodelete-opened.c: New test case.
18204         * elf/tst-nodelete-opened-lib.c: New test case module.
18205         * elf/Makefile (tests, modules-names): Use them.
18206         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18207         early.
18209 2015-07-15  David S. Miller  <davem@davemloft.net>
18211         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18212         futex-intenal.h
18213         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18214         * sysdeps/sparc/sparc64/Makefile: Likewise.
18215         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18216         Remove space from macro define.
18217         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18219 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18221         [BZ #17475]
18222         * locale/iso-639.def: Update Bhili and Tulu language codes as
18223         per iso639-3.
18225 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18227         * elf/tst-leaks1.c (main): Converted to ...
18228         (do_test): ... this.
18229         (TEST_FUNCTION): New macro.
18230         Include test-skeleton.c.
18231         * localedata/tst-langinfo.c (main): Converted to ...
18232         (do_test): ... this.
18233         (TEST_FUNCTION): New macro.
18234         Include test-skeleton.c.
18235         * math/test-fpucw.c (main): Converted to ...
18236         (do_test): ... this.
18237         (TEST_FUNCTION): New macro.
18238         Include test-skeleton.c.
18239         * math/test-tgmath.c (main): Converted to ...
18240         (do_test): ... this.
18241         (TEST_FUNCTION): New macro.
18242         Include test-skeleton.c.
18243         * math/test-tgmath2.c (main): Converted to ...
18244         (do_test): ... this.
18245         (TEST_FUNCTION): New macro.
18246         Include test-skeleton.c.
18247         * setjmp/tst-setjmp.c (main): Converted to ...
18248         (do_test): ... this.
18249         (TEST_FUNCTION): New macro.
18250         Include test-skeleton.c.
18251         * stdio-common/tst-sscanf.c (main): Converted to ...
18252         (do_test): ... this.
18253         (TEST_FUNCTION): New macro.
18254         Include test-skeleton.c.
18255         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18256         (do_test): ... this.
18257         (TEST_FUNCTION): New macro.
18258         Include test-skeleton.c.
18260         * elf/tst-audit9.c (main): Converted to ...
18261         (do_test): ... this.
18262         (TEST_FUNCTION): New macro.
18263         Include test-skeleton.c.
18265 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18267         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18269 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18271         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18272         New variable.
18274 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18276         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18278 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18280         * sysdeps/generic/dl-fileid.h: New file.
18281         * sysdeps/posix/dl-fileid.h: New file.
18282         * sysdeps/nacl/dl-fileid.h: New file.
18283         * include/link.h: Include <dl-fileid.h>.
18284         (struct link_map): Replace l_dev and l_ino with l_file_id.
18285         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18286         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18287         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18289 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18291         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18293 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18295         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18296         Add iff $CXX is set.
18297         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18298         Likewise.
18299         (tst-nodelete-zmodiff): Likewise.
18300         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18302 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18304         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18306 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18308         * sysdeps/aarch64/fpu/math_private.h
18309         (define math_opt_barrier): Add AArch64 version.
18310         (math_force_eval): Likewise.
18312 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18314         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18316 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18318         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18319         %ld with %jd and cast to intmax_t.
18320         (do_test_length_zero): Likewise.
18322 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18324         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18326 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18328         * sysdeps/tile/libm-test-ulps: Regenerated.
18330         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18331         Comment out the whole function, not just its body.
18333 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18335         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18336         locks.
18338         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18340 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18342         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18343         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18345 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18347         * sysdeps/nptl/futex-internal.h: New file.
18348         * sysdeps/nacl/futex-internal.h: New file.
18349         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18350         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18351         error checking.
18352         (setxid_unmark_thread): Likewise.
18353         (__nptl_setxid): Likewise.
18354         (__wait_lookup_done): Likewise.
18355         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18356         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18357         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18358         * nptl/pthread_once.c (clear_once_control): Likewise.
18359         (__pthread_once_slow): Likewise.
18360         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18361         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18362         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18363         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18364         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18365         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18366         Likewise.
18367         (__pthread_rwlock_rdlock): Likewise.
18368         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18369         Likewise.
18370         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18371         Likewise.
18372         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18373         Likewise.
18374         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18375         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18376         Likewise.
18377         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18378         __ASSUME_PRIVATE_FUTEX check.
18379         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18380         Check that shared futexes are supported.
18381         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18382         wrappers with error checking.
18383         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18384         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18385         * nptl/pthread_barrierattr_setpshared.c
18386         (pthread_barrierattr_setpshared): Check that shared futexes are
18387         supported.
18388         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18389         Likewise.
18390         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18391         Likewise.
18392         * nptl/sem_init.c (futex_private_if_supported): Remove.
18393         (__new_sem_init): Adapt and check that shared futexes are supported.
18394         * nptl/sem_open.c (sem_open): Likewise.
18395         * nptl/sem_post.c (futex_wake): Remove.
18396         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18397         (do_futex_wait): Use futex wrappers with error checking.
18398         * nptl/sem_wait.c: Include lowlevellock.h.
18399         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18400         Use futex_supports_pshared.
18401         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18402         Use futex wrappers with error checking.
18403         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18404         Likewise.
18405         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18406         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18407         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18408         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18409         (futex_wake): Likewise.
18410         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18411         (do_futex_wait): Use futex wrappers with error checking.
18412         (__new_sem_wait_slow): Update EINTR handling.
18413         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18415 2015-07-09  Martin Sebor  <msebor@redhat.com>
18417         [BZ #18435]
18418         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18419         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18420         * nptl/Makefile (test-xfail-tst-once5): Define.
18422 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18424         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18425         * elf/dl-minimal.c: For readability, reorder some definitions and
18426         introduce more page breaks.  Include <stdio.h>.
18427         (__libc_fatal): New function.
18429         * include/unistd.h: Add rtld_hidden_proto for _exit.
18430         * posix/_exit.c: Add rtld_hidden_def.
18431         * sysdeps/mach/hurd/_exit.c: Likewise.
18432         * sysdeps/nacl/_exit.c: Likewise.
18433         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18434         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18436 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18438         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18439         bndmov encoding with zero displacement.
18441 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18442             H.J. Lu  <hongjiu.lu@intel.com>
18444         [BZ #18134]
18445         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18446         * sysdeps/i386/configure: Regenerated.
18447         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18448         (_dl_runtime_profile): Save and restore Intel MPX return bound
18449         registers when calling _dl_call_pltexit.  Add
18450         PRESERVE_BND_REGS_PREFIX before return.
18451         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18452         (LRV_BND1_OFFSET): Likewise.
18453         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18454         lrv_bnd1.
18455         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18456         typo in bndmov encoding.
18457         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18458         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18459         branch instructions to preserve bounds.
18461 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18464         [GLIBC_2.22]: Add fmemopen.
18466 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18468         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18469         returns an error, also try to use host port from __mach_host_self for
18470         the __vm_wire call.
18471         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18473 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18475         [BZ #18400]
18476         [BZ #18648]
18477         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18478         Fix pr_uid and pr_gid members.
18479         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18480         definition to elf_greg_t.
18482 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18484         [BZ #18383]
18485         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18486         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18487         * sysdeps/arm/configure: Regenerated.
18488         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18489         (test-xfail-tst-tlsalign-static): Variable removed.
18491         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18492         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18493         rather than explicit 'ln -s'.
18495         * resolv/rpc/netdb.h: New file.
18496         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18498 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18500         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18501         length buffers.
18502         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18503         test-skeleton.c.
18505         [BZ #6544]
18506         [BZ #11216]
18507         [BZ #12836]
18508         [BZ #13151]
18509         [BZ #13152]
18510         [BZ #14292]
18511         * include/stdio.h (fmemopen): Remove hidden prototype.
18512         (__fmemopen): Add new hidden prototype.
18513         * libio/Makefile: Add oldfmemopen object.
18514         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18515         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18516         compliance.
18517         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18518         symbol compatibility.
18519         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18520         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18521         fmemopen.
18522         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18523         on append and read mode.
18524         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18525         fmemopen.
18526         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18527         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18528         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18529         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18530         Likewise.
18531         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18532         [GLIBC_2.22]: Likewise.
18533         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18534         Likewise.
18535         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18536         Likewise.
18537         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18538         [GLIBC_2.22]: Likewise.
18539         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18540         [GLIBC_2.22]: Likewise.
18541         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18542         [GLIBC_2.22]: Likewise.
18543         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18544         [GLIBC_2.22]: Likewise.
18545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18546         [GLIBC_2.22]: Likewise.
18547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18548         [GLIBC_2.22]: Likewise.
18549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18550         [GLIBC_2.22]: Likewise.
18551         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18552         Likewise.
18553         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18554         Likewise.
18555         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18556         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18557         [GLIBC_2.22]: Likewise.
18558         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18559         [GLIBC_2.22]: Likewise.
18560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18561         [GLIBC_2.22]: Likewise.
18562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18563         [GLIBC_2.22]: Likewise.
18564         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18565         Likewise.
18566         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18567         Likewise.
18568         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18569         Likewise.
18570         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18571         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18573 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18575         [BZ #18643]
18576         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18577         IPV6_PATHMTU, and IPV6_DONTFRAG.
18579 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18581         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18582         and _IO_UNBUFFERED.
18583         * libio/oldfileops.c: Likewise.
18584         * libio/wfileops.c: Likewise.
18586 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18588         * nscd/selinux.c: Delete selinux/flask.h include.
18590 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18592         [BZ #18641]
18593         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18594         (putpwent): Likewise.
18595         (getpwnam): Likewise.
18596         (getpwent_r): Likewise.
18597         (getpwuid_r): Likewise.
18598         (getpwnam_r): Likewise.
18599         (fgetpwent_r): Likewise.
18601 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18603         [BZ #18557]
18604         * inet/rcmd.c (__validuser2_sa): Check user first to
18605         short-circuit host check.
18607 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18608             Mikhail Ilin  <m.ilin@samsung.com>
18610         [BZ #17833]
18611         * elf/Makefile (tests): Add tst-nodelete.
18612         (modules-names): Add tst-nodelete-uniquemod.
18613         (tst-nodelete-uniquemod.so-no-z-defs): New.
18614         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18615         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18616         ($(objpfx)tst-nodelete): Likewise.
18617         ($(objpfx)tst-nodelete.out): Likewise.
18618         (LDFLAGS-tst-nodelete): Likewise.
18619         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18620         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18621         implement forced object deletion.
18622         (_dl_close): Pass false to _dl_close_worker.
18623         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18624         * elf/tst-nodelete.cc: New file.
18625         * elf/tst-nodeletelib.cc: Likewise.
18626         * elf/tst-znodeletelib.cc: Likewise.
18627         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18629 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18631         [BZ #18508]
18632         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18633         Depend on $(libdl).
18634         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18635         is not called infinitely times.
18636         (backtrace_helper): New function.
18637         (trace_arg): New struct.
18638         (st1): Enlarge stack size.
18639         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18640         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18641         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18642         Likewise.
18644 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18646         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18648 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18650         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18651         Include sys/types.h instead of bits/types.h.
18652         Remove inclusion of bits/wordsize.h.
18654 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18656         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18657         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18658         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18659         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18660         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18661         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18663 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18665         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18666         link-defines.sym.
18667         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18668         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18669         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18670         and LR_SIZE.
18671         * sysdeps/i386/link-defines.sym: New file.
18673 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18675         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18676         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18677         ($(objpfx)tst-audit3): New rule.
18678         ($(objpfx)tst-audit3.out): Likewise.
18679         * sysdeps/i386/tst-audit3.c: New file.
18680         * sysdeps/i386/tst-audit3.h: Likewise.
18681         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18682         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18684 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18686         [BZ #18633]
18687         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18688         pointer in C code.
18689         (__strcat_c): Likewise.
18690         (__strcat_g): Likewise.
18692 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18694         [BZ #18592]
18695         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18697 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18699         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18700         New function.  (__ieee754_sqrtf): New function.
18701         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18702         New function.
18703         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18704         New function.
18706 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18708         * sysdeps/ieee754/support.c: Remove unused file.
18710 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18712         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18713         registers instead of d ones so the layout is kernel abi compatible.
18714         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18715         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18716         Likewise.
18718 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18720         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18722 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18724         [BZ #18619]
18725         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18726         and return argument in case of subnormal argument.
18728 2015-07-01  Martin Sebor  <msebor@redhat.com>
18730         [BZ #18435]
18731         * nptl/Makefile: Add tst-once5.cc.
18732         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18733         Remove macro redefinitions.
18734         * nptl/tst-once5.cc: New test.
18736 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18738         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18740         * sysdeps/arm/libm-test-ulps: Regenerated.
18742         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18743         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18745 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18747         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18748         lll_lock_wait_private and lll_futex_wake probes.
18750         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18751         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18752         Likewise.
18753         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18754         atomic_spin_nop.
18755         * sysdeps/x86_64/bits/atomic.h: Likewise.
18756         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18757         to atomic_spin_nop and move ...
18758         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18759         ... here and ...
18760         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18761         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18762         atomic_spin_nop instead of BUSY_WAIT_NOP.
18763         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18764         Likewise.
18765         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18766         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18767         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18768         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18769         instead of atomic_delay.
18771 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18773         [BZ #18613]
18774         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18775         X_ADJ not X when adjusting exponent.
18776         (__ieee754_gamma_r): Do intermediate computations in
18777         round-to-nearest then adjust overflowing and underflowing results
18778         as needed.
18779         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18780         of X_ADJ not X when adjusting exponent.
18781         (__ieee754_gammaf_r): Do intermediate computations in
18782         round-to-nearest then adjust overflowing and underflowing results
18783         as needed.
18784         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18785         log of X_ADJ not X when adjusting exponent.
18786         (__ieee754_gammal_r): Do intermediate computations in
18787         round-to-nearest then adjust overflowing and underflowing results
18788         as needed.  Use 1.0L not 1.0f as numerator of division.
18789         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18790         log of X_ADJ not X when adjusting exponent.
18791         (__ieee754_gammal_r): Do intermediate computations in
18792         round-to-nearest then adjust overflowing and underflowing results
18793         as needed.  Use 1.0L not 1.0f as numerator of division.
18794         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18795         of X_ADJ not X when adjusting exponent.
18796         (__ieee754_gammal_r): Do intermediate computations in
18797         round-to-nearest then adjust overflowing and underflowing results
18798         as needed.  Use 1.0L not 1.0f as numerator of division.
18799         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18800         to auto-libm-test-in.
18801         (tgamma_test): Use ALL_RM_TEST.
18802         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18803         tests of tgamma with spurious-overflow.
18804         * math/auto-libm-test-out: Regenerated.
18805         * math/gen-libm-have-vector-test.sh: Do not check for START.
18806         * sysdeps/i386/fpu/libm-test-ulps: Update.
18807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18809         [BZ #18612]
18810         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18811         arguments, just return 0.5 times the argument, with underflow
18812         forced as needed.
18813         * math/auto-libm-test-in: Add more tests of j1.
18814         * math/auto-libm-test-out: Regenerated.
18816         [BZ #16559]
18817         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18818         (__ieee754_j1): Force underflow exception for small results.
18819         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18820         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18821         (__ieee754_j1f): Force underflow exception for small results.
18822         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18823         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18824         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18825         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18826         (__ieee754_j1l): Force underflow exception for small results.
18827         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18828         * math/auto-libm-test-in: Add more tests of j1 and jn.
18829         * math/auto-libm-test-out: Regenerated.
18831         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18832         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18833         (PF_MPLS): Likewise.
18834         (AF_IB): Likewise.
18835         (AF_MPLS): Likewise.
18836         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18837         value and macro.
18838         (MS_RMT_MASK): Include MS_LAZYTIME.
18840 2015-06-26  Mel Gorman  <mgorman@suse.de>
18842         [BZ #18502]
18843         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18844         already minimal.
18846 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18848         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18849         (DT_MIPS_NUM): Update.
18850         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18851         DT_MIPS_RLD_MAP_REL.
18853 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18855         [BZ #16559]
18856         [BZ #18602]
18857         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18858         round-to-nearest internally then recompute results that
18859         underflowed to zero in the original rounding mode.
18860         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18861         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18862         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18863         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18864         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18865         * sysdeps/i386/fpu/libm-test-ulps: Update.
18866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18868 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18870         * NEWS: Fixed description of link with vector math library.
18872 2015-06-25  Andreas Schwab  <schwab@suse.de>
18874         [BZ #18549]
18875         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18876         * libio/test-fmemopen.c (do_test): Add test for it.
18878 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18880         [BZ #17841]
18881         * Makeconfig (no-pie-ldflag): New.
18882         (+link): Set to $(+link-pie) if default to PIE.
18883         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18884         * config.make.in (build-pie-default): New.
18885         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18886         is default.  AC_SUBST.
18887         * configure: Regenerated.
18888         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18890 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18892         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18893         to 'unsigned int'.
18895         * resolv/gai_misc.h (struct waitlist): Change type of field
18896         counterp to 'volatile unsigned int *'.
18897         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18898         FUTEXADDR and OLDVAL.
18899         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18900         Give local variable TOTAL type 'volatile unsigned int'.
18901         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18902         * resolv/gai_suspend.c (gai_suspend):
18903         Give local variable CNTR type 'unsigned int'.
18905         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18906         counterp to 'volatile unsigned int *'.
18907         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18908         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18909         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18910         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18911         Give local variable TOTAL type 'volatile unsigned int'.
18912         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18914 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18916         [BZ #18383]
18917         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18918         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18919         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18920         comment for i386/x86-64.
18921         (test-xfail-tst-tlsalign-extern-static): Removed.
18923 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18925         * math/test-double.h: New file.
18926         * math/test-float.h: Likewise.
18927         * math/test-ldouble.h: Likewise.
18928         * math/test-math-inline.h: Likewise.
18929         * math/test-math-no-inline.h: Likewise.
18930         * math/test-math-scalar.h: Likewise.
18931         * math/test-math-vector.h: Likewise.
18932         * math/test-vec-loop.h: Remove file.  Contents moved into
18933         test-math-vector.h.
18934         * math/libm-test.inc (MATHCONST): Do not document macro.
18935         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18936         and test-math-scalar.h.
18937         (FUNC): Remove macro.
18938         (FUNC_TEST): Likewise.
18939         (FLOAT): Likewise.
18940         (MATHCONST): Likewise.
18941         (PRINTF_EXPR): Likewise.
18942         (PRINTF_XEXPR): Likewise.
18943         (PRINTF_NEXPR): Likewise.
18944         (TEST_DOUBLE): Likewise.
18945         (TEST_MATHVEC): Likewise.
18946         (__NO_MATH_INLINES): Likewise.
18947         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18948         and test-math-scalar.h.
18949         (FUNC): Remove macro.
18950         (FUNC_TEST): Likewise.
18951         (FLOAT): Likewise.
18952         (MATHCONST): Likewise.
18953         (PRINTF_EXPR): Likewise.
18954         (PRINTF_XEXPR): Likewise.
18955         (PRINTF_NEXPR): Likewise.
18956         (TEST_FLOAT): Likewise.
18957         (TEST_MATHVEC): Likewise.
18958         (__NO_MATH_INLINES): Likewise.
18959         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18960         and test-math-scalar.h.
18961         (FUNC): Remove macro.
18962         (FUNC_TEST): Likewise.
18963         (FLOAT): Likewise.
18964         (MATHCONST): Likewise.
18965         (PRINTF_EXPR): Likewise.
18966         (PRINTF_XEXPR): Likewise.
18967         (PRINTF_NEXPR): Likewise.
18968         (TEST_DOUBLE): Likewise.
18969         (TEST_MATHVEC): Likewise.
18970         (TEST_INLINE): Likewise.
18971         (__NO_MATH_INLINES): Likewise.
18972         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18973         test-math-scalar.h.
18974         (FUNC): Remove macro.
18975         (FUNC_TEST): Likewise.
18976         (FLOAT): Likewise.
18977         (MATHCONST): Likewise.
18978         (PRINTF_EXPR): Likewise.
18979         (PRINTF_XEXPR): Likewise.
18980         (PRINTF_NEXPR): Likewise.
18981         (TEST_FLOAT): Likewise.
18982         (TEST_MATHVEC): Likewise.
18983         (TEST_INLINE): Likewise.
18984         (__NO_MATH_INLINES): Likewise.
18985         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18986         and test-math-scalar.h.
18987         (FUNC): Remove macro.
18988         (FUNC_TEST): Likewise.
18989         (FLOAT): Likewise.
18990         (MATHCONST): Likewise.
18991         (PRINTF_EXPR): Likewise.
18992         (PRINTF_XEXPR): Likewise.
18993         (PRINTF_NEXPR): Likewise.
18994         (TEST_LDOUBLE): Likewise.
18995         (TEST_MATHVEC): Likewise.
18996         (TEST_INLINE): Likewise.
18997         (__NO_MATH_INLINES): Likewise.
18998         * math/test-ldouble.c: Include test-ldouble.h,
18999         test-math-no-inline.h and test-math-scalar.h.
19000         (FUNC): Remove macro.
19001         (FUNC_TEST): Likewise.
19002         (FLOAT): Likewise.
19003         (MATHCONST): Likewise.
19004         (PRINTF_EXPR): Likewise.
19005         (PRINTF_XEXPR): Likewise.
19006         (PRINTF_NEXPR): Likewise.
19007         (TEST_LDOUBLE): Likewise.
19008         (TEST_MATHVEC): Likewise.
19009         (__NO_MATH_INLINES): Likewise.
19010         * math/test-double-vlen2.h: Include test-double.h,
19011         test-math-no-inline.h and test-math-vector.h.
19012         (FLOAT): Remove macro.
19013         (FUNC): Likewise.
19014         (MATHCONST): Likewise.
19015         (PRINTF_EXPR): Likewise.
19016         (PRINTF_XEXPR): Likewise.
19017         (PRINTF_NEXPR): Likewise.
19018         (TEST_DOUBLE): Likewise.
19019         (TEST_MATHVEC): Likewise.
19020         (__NO_MATH_INLINES): Likewise.
19021         (CNCT): Likewise.
19022         (CONCAT): Likewise.
19023         (WRAPPER_NAME): Likewise.
19024         (WRAPPER_DECL): Likewise.
19025         (WRAPPER_DECL_ff): Likewise.
19026         (WRAPPER_DECL_fFF): Likewise.
19027         (VECTOR_WRAPPER): Likewise.
19028         (VECTOR_WRAPPER_ff): Likewise.
19029         (VECTOR_WRAPPER_fFF): Likewise.
19030         (VEC_LEN): New macro.
19031         * math/test-double-vlen4.h: Include test-double.h,
19032         test-math-no-inline.h and test-math-vector.h.
19033         (FLOAT): Remove macro.
19034         (FUNC): Likewise.
19035         (MATHCONST): Likewise.
19036         (PRINTF_EXPR): Likewise.
19037         (PRINTF_XEXPR): Likewise.
19038         (PRINTF_NEXPR): Likewise.
19039         (TEST_DOUBLE): Likewise.
19040         (TEST_MATHVEC): Likewise.
19041         (__NO_MATH_INLINES): Likewise.
19042         (CNCT): Likewise.
19043         (CONCAT): Likewise.
19044         (WRAPPER_NAME): Likewise.
19045         (WRAPPER_DECL): Likewise.
19046         (WRAPPER_DECL_ff): Likewise.
19047         (WRAPPER_DECL_fFF): Likewise.
19048         (VECTOR_WRAPPER): Likewise.
19049         (VECTOR_WRAPPER_ff): Likewise.
19050         (VECTOR_WRAPPER_fFF): Likewise.
19051         (VEC_LEN): New macro.
19052         * math/test-double-vlen8.h: Include test-double.h,
19053         test-math-no-inline.h and test-math-vector.h.
19054         (FLOAT): Remove macro.
19055         (FUNC): Likewise.
19056         (MATHCONST): Likewise.
19057         (PRINTF_EXPR): Likewise.
19058         (PRINTF_XEXPR): Likewise.
19059         (PRINTF_NEXPR): Likewise.
19060         (TEST_DOUBLE): Likewise.
19061         (TEST_MATHVEC): Likewise.
19062         (__NO_MATH_INLINES): Likewise.
19063         (CNCT): Likewise.
19064         (CONCAT): Likewise.
19065         (WRAPPER_NAME): Likewise.
19066         (WRAPPER_DECL): Likewise.
19067         (WRAPPER_DECL_ff): Likewise.
19068         (WRAPPER_DECL_fFF): Likewise.
19069         (VECTOR_WRAPPER): Likewise.
19070         (VECTOR_WRAPPER_ff): Likewise.
19071         (VECTOR_WRAPPER_fFF): Likewise.
19072         (VEC_LEN): New macro.
19073         * math/test-float-vlen4.h: Include test-float.h,
19074         test-math-no-inline.h and test-math-vector.h.
19075         (FLOAT): Remove macro.
19076         (FUNC): Likewise.
19077         (MATHCONST): Likewise.
19078         (PRINTF_EXPR): Likewise.
19079         (PRINTF_XEXPR): Likewise.
19080         (PRINTF_NEXPR): Likewise.
19081         (TEST_FLOAT): Likewise.
19082         (TEST_MATHVEC): Likewise.
19083         (__NO_MATH_INLINES): Likewise.
19084         (CNCT): Likewise.
19085         (CONCAT): Likewise.
19086         (WRAPPER_NAME): Likewise.
19087         (WRAPPER_DECL): Likewise.
19088         (WRAPPER_DECL_ff): Likewise.
19089         (WRAPPER_DECL_fFF): Likewise.
19090         (VECTOR_WRAPPER): Likewise.
19091         (VECTOR_WRAPPER_ff): Likewise.
19092         (VECTOR_WRAPPER_fFF): Likewise.
19093         (VEC_LEN): New macro.
19094         * math/test-float-vlen8.h: Include test-float.h,
19095         test-math-no-inline.h and test-math-vector.h.
19096         (FLOAT): Remove macro.
19097         (FUNC): Likewise.
19098         (MATHCONST): Likewise.
19099         (PRINTF_EXPR): Likewise.
19100         (PRINTF_XEXPR): Likewise.
19101         (PRINTF_NEXPR): Likewise.
19102         (TEST_FLOAT): Likewise.
19103         (TEST_MATHVEC): Likewise.
19104         (__NO_MATH_INLINES): Likewise.
19105         (CNCT): Likewise.
19106         (CONCAT): Likewise.
19107         (WRAPPER_NAME): Likewise.
19108         (WRAPPER_DECL): Likewise.
19109         (WRAPPER_DECL_ff): Likewise.
19110         (WRAPPER_DECL_fFF): Likewise.
19111         (VECTOR_WRAPPER): Likewise.
19112         (VECTOR_WRAPPER_ff): Likewise.
19113         (VECTOR_WRAPPER_fFF): Likewise.
19114         (VEC_LEN): New macro.
19115         * math/test-float-vlen16.h: Include test-float.h,
19116         test-math-no-inline.h and test-math-vector.h.
19117         (FLOAT): Remove macro.
19118         (FUNC): Likewise.
19119         (MATHCONST): Likewise.
19120         (PRINTF_EXPR): Likewise.
19121         (PRINTF_XEXPR): Likewise.
19122         (PRINTF_NEXPR): Likewise.
19123         (TEST_FLOAT): Likewise.
19124         (TEST_MATHVEC): Likewise.
19125         (__NO_MATH_INLINES): Likewise.
19126         (CNCT): Likewise.
19127         (CONCAT): Likewise.
19128         (WRAPPER_NAME): Likewise.
19129         (WRAPPER_DECL): Likewise.
19130         (WRAPPER_DECL_ff): Likewise.
19131         (WRAPPER_DECL_fFF): Likewise.
19132         (VECTOR_WRAPPER): Likewise.
19133         (VECTOR_WRAPPER_ff): Likewise.
19134         (VECTOR_WRAPPER_fFF): Likewise.
19135         (VEC_LEN): New macro.
19136         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19137         test-vec-loop.h.
19138         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19139         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19140         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19141         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19142         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19143         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19144         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19146 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19148         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19149         (__getlogin_r): ... this.
19151 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19153         [BZ #18594]
19154         * math/s_ccosh.c (__ccosh): Compare with least normal value
19155         instead of comparing class with FP_SUBNORMAL.
19156         * math/s_ccoshf.c (__ccoshf): Likewise.
19157         * math/s_ccoshl.c (__ccoshl): Likewise.
19158         * math/s_cexp.c (__cexp): Likewise.
19159         * math/s_cexpf.c (__cexpf): Likewise.
19160         * math/s_cexpl.c (__cexpl): Likewise.
19161         * math/s_csin.c (__csin): Likewise.
19162         * math/s_csinf.c (__csinf): Likewise.
19163         * math/s_csinh.c (__csinh): Likewise.
19164         * math/s_csinhf.c (__csinhf): Likewise.
19165         * math/s_csinhl.c (__csinhl): Likewise.
19166         * math/s_csinl.c (__csinl): Likewise.
19167         * math/s_ctan.c (__ctan): Likewise.
19168         * math/s_ctanf.c (__ctanf): Likewise.
19169         * math/s_ctanh.c (__ctanh): Likewise.
19170         * math/s_ctanhf.c (__ctanhf): Likewise.
19171         * math/s_ctanhl.c (__ctanhl): Likewise.
19172         * math/s_ctanl.c (__ctanl): Likewise.
19173         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19174         csin, csinh, ctan and ctanh.
19175         * math/auto-libm-test-out: Regenerated.
19176         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19177         * sysdeps/i386/fpu/libm-test-ulps: Update.
19178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19180 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19182         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19183         return value is wrong, print the expected value too.
19185 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19187         [BZ #18585]
19188         * elf/readlib.c (is_gdb_python_file): New.
19189         (process_file): Don't issue errors on filenames with -gdb.py
19190         suffix.
19192 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19194         * math/auto-libm-test-in: Add more tests of csin and csinh.
19195         * math/auto-libm-test-out: Regenerated.
19196         * math/libm-test.inc (csin_test_data): Remove tests moved to
19197         auto-libm-test-in.
19198         (csinh_test_data): Likewise.
19200         [BZ #18593]
19201         * math/s_csin.c (__csin): Negate before rather than after possibly
19202         overflowing multiplication.
19203         * math/s_csinf.c (__csinf): Likewise.
19204         * math/s_csinh.c (__csinh): Likewise.
19205         * math/s_csinhf.c (__csinhf): Likewise.
19206         * math/s_csinhl.c (__csinhl): Likewise.
19207         * math/s_csinl.c (__csinl): Likewise.
19208         * math/auto-libm-test-in: Add some tests of csin and csinh.
19209         * math/auto-libm-test-out: Regenerated.
19210         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19211         (csinh_test_data): Likewise.
19212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19214         [BZ #18586]
19215         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19216         underflow exception for small results.
19218 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19220         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19221         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19222         variable and included header.
19223         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19224         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19225         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19226         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19227         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19228         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19229         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19230         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19231         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19232         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19233         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19234         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19235         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19236         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19237         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19238         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19240 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19242         [BZ #16526]
19243         [BZ #16538]
19244         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19245         (__sin): Force underflow exception for arguments with small
19246         absolute value.
19247         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19248         (__kernel_sinf): Force underflow exception for arguments with
19249         small absolute value.
19250         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19251         (__kernel_sincosl): Force underflow exception for arguments with
19252         small absolute value.
19253         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19254         (__kernel_sinl): Force underflow exception for arguments with
19255         small absolute value.
19256         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19257         (__kernel_sincosl): Force underflow exception for arguments with
19258         small absolute value.
19259         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19260         (__kernel_sinl): Force underflow exception for arguments with
19261         small absolute value.
19262         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19263         (__kernel_sinl): Force underflow exception for arguments with
19264         small absolute value.
19265         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19266         (__kernel_sinf): Force underflow exception for arguments with
19267         small absolute value.
19268         * math/auto-libm-test-in: Add more tests of sin and sincos.
19269         * math/auto-libm-test-out: Regenerated.
19271         [BZ #18245]
19272         [BZ #18583]
19273         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19274         (__kernel_standard_l): Use feholdexcept and fesetenv around
19275         conversion to double instead of special-casing overflow and
19276         underflow.
19277         * math/libm-test.inc (fmod_test_data): Add more tests.
19278         (remainder_test_data): Likewise.
19279         (sqrt_test_data): Likewise.
19281 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19283         [BZ #17403]
19284         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19285         atomic_read_barrier, atomic_write_barrier): Define.
19286         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19287         atomic_read_barrier, atomic_write_barrier): Define.
19289 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19291         * math/Makefile [$(PERL) != no]
19292         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19293         dependency on libm-test.stmp below the inclusion of Rules.
19295 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19297         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19298         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19299         and included header.
19300         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19301         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19302         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19303         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19304         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19305         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19306         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19308         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19309         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19310         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19311         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19312         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19313         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19314         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19315         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19316         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19317         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19318         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19320 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19322         [BZ #18371]
19323         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19324         intermediate but not final result might underflow.
19325         * math/s_csqrtf.c (__csqrtf): Likewise.
19326         * math/s_csqrtl.c (__csqrtl): Likewise.
19327         * math/auto-libm-test-in: Add more tests of csqrt.
19328         * math/auto-libm-test-out: Regenerated.
19329         * sysdeps/i386/fpu/libm-test-ulps: Update.
19331         [BZ #18219]
19332         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19333         threshold on absolute value of exponent for which scaling is used.
19334         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19335         * math/auto-libm-test-in: Add more tests of exp2.
19336         * math/auto-libm-test-out: Regenerated.
19338 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19340         [BZ #17977]
19341         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19342         when initializing interface list, based on the bug analysis
19343         and the patch proposed by Eric Newton.
19344         * resolv/tst-res_hconf_reorder.c: New test.
19345         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19346         tst-res_hconf_reorder.
19347         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19348         and $(shared-thread-library).
19349         (tst-res_hconf_reorder-ENV): New variable.
19351         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19352         in comment.
19354 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19356         [BZ #16353]
19357         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19358         (__expm1): Force underflow exception for arguments with small
19359         absolute value.
19360         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19361         (__expm1f): Force underflow exception for arguments with small
19362         absolute value.
19363         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19364         (__expm1): Force underflow exception for arguments with small
19365         absolute value.
19366         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19367         (__expm1f): Force underflow exception for arguments with small
19368         absolute value.
19369         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19370         Check for small arguments before calling __expm1.
19371         * math/auto-libm-test-in: Do not mark underflow exceptions as
19372         possibly missing for bug 16353.
19373         * math/auto-libm-test-out: Regenerated.
19375 2015-06-22  Andreas Schwab  <schwab@suse.de>
19377         [BZ #18513]
19378         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19379         PTR queries.
19381 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19383         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19385         * string/strcoll_l.c: Remove unused struct element idxnow.
19387 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19389         [BZ #18569]
19390         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19391         underflow and return argument in case of subnormal argument.
19392         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19393         Likewise.
19394         * math/auto-libm-test-in: Add more tests of expm1.
19395         * math/auto-libm-test-out: Regenerated.
19397         [BZ #16361]
19398         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19399         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19400         tiny results.
19401         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19402         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19403         tiny results.
19404         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19405         mark underflow exceptions as possibly missing for bug 16361.
19406         * math/auto-libm-test-out: Regenerated.
19408 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19410         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19411         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19412         Remove variable.
19413         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19414         (test-xfail-XOPEN2K8/utmpx.h/conform).
19416         * conform/conformtest.pl ($xerrors): New variable.
19417         (note_error): New function.
19418         (compiletest): New argument $xfail.  Use not_error.
19419         (runtest): Likewise.
19420         (top level): Handle xfail- lines.  Update calls to compiletest and
19421         runtest.  Handle xfail- and optional- in headers listed with
19422         allow-header.
19423         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19424         (O_EXEC): Likewise.
19425         (O_SEARCH): Likewise.
19426         * conform/data/stropts.h-data (ioctl): Likewise.
19427         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19428         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19429         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19430         (msghdr.msg_controllen): Likewise.
19431         (cmsghdr.cmsg_len): Likewise.
19432         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19433         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19434         variable.
19435         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19436         (test-xfail-XPG4/stropts.h/conform): Likewise.
19437         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19438         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19439         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19440         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19441         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19442         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19443         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19444         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19445         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19446         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19447         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19448         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19449         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19450         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19451         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19452         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19453         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19454         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19455         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19457 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19459         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19460         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19461         definitions for proper unfolding of __MATHDECL_VEC.
19463 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19465         * benchtests/bench-strcoll.c:
19466         Include string.h.
19467         (main): Remove unused variable res.
19469 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19471         * timezone/Makefile (%/UTC %/Universal):
19472         Generate test-result files for UTC and Universal.
19474 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19476         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19478 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19480         [BZ #16350]
19481         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19482         for arguments with small absolute value.
19483         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19484         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19485         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19486         (__asinh): Force underflow exception for arguments with small
19487         absolute value.
19488         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19489         (__asinhf): Force underflow exception for arguments with small
19490         absolute value.
19491         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19492         (__asinhl): Force underflow exception for arguments with small
19493         absolute value.
19494         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19495         (__asinhl): Force underflow exception for arguments with small
19496         absolute value.
19497         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19498         (__asinhl): Force underflow exception for arguments with small
19499         absolute value.
19500         * math/auto-libm-test-in: Do not mark underflow exceptions as
19501         possibly missing for bug 16350.
19502         * math/auto-libm-test-out: Regenerated.
19504         * include/bits/ipc.h: Remove file.
19505         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19506         variable.
19507         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19508         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19509         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19510         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19511         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19512         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19513         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19514         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19515         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19517         * math/auto-libm-test-in: Remove spurious underflow allowance for
19518         tests of cexp.
19519         * math/auto-libm-test-out: Regenerated.
19521         [BZ #18558]
19522         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19523         unconditional definition.
19524         (MCAST_BLOCK_SOURCE): Likewise.
19525         (MCAST_UNBLOCK_SOURCE): Likewise.
19526         (MCAST_LEAVE_GROUP): Likewise.
19527         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19528         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19529         (MCAST_MSFILTER): Likewise.
19530         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19531         Remove variable.
19532         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19533         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19534         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19535         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19536         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19538 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19540         * NEWS: Mention addition of x86_64 vector sincosf.
19541         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19542         * math/test-float-vlen4.h: Likewise.
19543         * math/test-float-vlen8.h: Likewise.
19544         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19545         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19546         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19547         * sysdeps/x86_64/fpu/Versions: New versions added.
19548         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19549         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19550         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19552         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19553         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19554         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19555         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19556         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19557         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19558         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19559         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19560         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19561         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19562         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19563         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19564         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19565         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19566         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19567         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19568         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19569         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19570         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19571         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19573         * NEWS: Mention addition of x86_64 vector sincos.
19574         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19575         * math/math.h (__MATHDECL_VEC): New macro.
19576         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19577         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19578         declaration under condition.
19579         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19580         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19581         TEST_VEC_LOOP change.
19582         * math/test-double-vlen4.h: Likewise.
19583         * math/test-double-vlen8.h: Likewise.
19584         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19585         * math/test-float-vlen4.h: Likewise.
19586         * math/test-float-vlen8.h: Likewise.
19587         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19588         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19590         * sysdeps/x86_64/fpu/Versions: New versions added.
19591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19592         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19593         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19596         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19598         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19599         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19600         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19601         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19602         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19603         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19604         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19605         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19606         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19607         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19608         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19609         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19611         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19612         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19613         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19614         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19616         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19617         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19618         redirections for powf.
19619         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19620         * sysdeps/x86_64/fpu/Versions: New versions added.
19621         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19622         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19623         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19624         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19625         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19626         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19627         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19628         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19629         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19630         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19631         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19632         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19633         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19634         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19635         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19636         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19637         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19638         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19639         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19640         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19641         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19642         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19643         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19644         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19645         * math/test-float-vlen16.h: Fixed 2 argument macro.
19646         * math/test-float-vlen4.h: Likewise.
19647         * math/test-float-vlen8.h: Likewise.
19648         * NEWS: Mention addition of x86_64 vector powf.
19650 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19652         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19653         and redefine.
19654         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19655         and redefine.
19656         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19657         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19658         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19660         [BZ #18553]
19661         * resource/getpriority.c (getpriority): Rename to __getpriority
19662         and define as weak alias of __getpriority.
19663         * resource/setpriority.c (setpriority): Rename to __setpriority
19664         and define as weak alias of __setpriority.
19665         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19666         __getpriority and define as weak alias of __getpriority.
19667         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19668         __setpriority and define as weak alias of __setpriority.
19669         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19670         strong name.
19671         (setpriority): Use __setpriority as strong name.
19672         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19673         __getpriority and define as weak alias of __getpriority.
19674         * include/sys/resource.h (__getpriority): Declare.  Use
19675         libc_hidden_proto.
19676         (__setpriority): Likewise.
19677         (getpriority): Don't use libc_hidden_proto.
19678         (setpriority): Likewise.
19679         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19680         getpriority.  Call __setpriority instead of setpriority.
19681         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19682         Remove variable.
19684         [BZ #18547]
19685         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19686         as weak alias of __getttynam.  Use prototype function definition.
19687         Call __setttyent, __getttyent and __endttyent instead of
19688         setttyent, getttyent and endttyent.
19689         (getttyent): Rename to __getttyent and define as weak alias of
19690         __getttyent.  Call __setttyent instead of setttyent.  Call
19691         __fgets_unlocked instead of fgets_unlocked.
19692         (setttyent): Rename to __setttyent and define as weak alias of
19693         __setttyent.
19694         (endttyent): Rename to __endttyent and define as weak alias of
19695         __endttyent.
19696         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19697         (__setttyent): Likewise.
19698         (__endttyent): Likewise.
19699         (getttyent): Don't use libc_hidden_proto.
19700         (setttyent): Likewise.
19701         (endttyent): Likewise.
19702         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19703         __endttyent instead of setttyent, getttyent and endttyent.
19704         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19705         Remove variable.
19707         [BZ #18546]
19708         * socket/recv.c (__recv): Use libc_hidden_def.
19709         * socket/socket.c (__socket): Likewise.
19710         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19711         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19712         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19713         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19714         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19715         libc_hidden_def.
19716         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19717         libc_hidden_weak.
19718         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19719         Use libc_hidden_proto.
19720         (__recv): Likewise.
19721         * socket/Versions (libc): Export __recv and __socket at version
19722         GLIBC_PRIVATE.
19723         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19724         instead of recv.
19725         (init_mq_netlink): Call __socket instead of socket.
19726         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19727         Remove variable.
19729         [BZ #18545]
19730         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19731         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19732         hidden_weak.
19733         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19734         define as alias of __mq_timedsend.  Use hidden_weak.
19735         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19736         __mq_timedsend as strong name.
19737         (mq_timedreceive): Use __mq_timedreceive as strong name.
19738         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19739         (__mq_timedreceive): Likewise.
19740         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19741         __mq_timedreceive instead of mq_timedreceive.
19742         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19743         instead of mq_timedsend.
19744         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19745         Remove variable.
19747         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19748         hidden_def and hidden_weak instead of libc_hidden_def and
19749         libc_hidden_weak.
19750         (top level): Refer to hidden_def in comment.
19751         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19752         macro.  Use it instead of libc_hidden_def.
19753         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19754         specify __GI_* name explicitly.
19755         (mq_timedreceive): Likewise.
19756         (mq_setattr): Likewise.
19758         [BZ #18544]
19759         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19760         __pthread_barrier_init and define as weak alias of
19761         __pthread_barrier_init.
19762         * sysdeps/sparc/nptl/pthread_barrier_init.c
19763         (pthread_barrier_init): Likewise.
19764         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19765         __pthread_barrier_wait and define as weak alias of
19766         __pthread_barrier_wait.
19767         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19768         (pthread_barrier_wait): Likewise.
19769         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19770         (pthread_barrier_wait): Likewise.
19771         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19772         (pthread_barrier_wait): Likewise.
19773         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19774         (pthread_barrier_wait): Likewise.
19775         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19776         __pthread_barrier_wait at version GLIBC_PRIVATE.
19777         * include/pthread.h (__pthread_barrier_init): Declare.
19778         (__pthread_barrier_wait): Likewise.
19779         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19780         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19781         (helper_thread): Likewise.
19782         (init_mq_netlink): Call __pthread_barrier_init instead of
19783         pthread_barrier_init.
19785         [BZ #18542]
19786         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19787         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19788         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19789         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19790         vswscanf.
19791         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19792         Remove variable.
19794         [BZ #18540]
19795         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19796         strong alias of _IO_fflush.  Use libc_hidden_def.
19797         * libio/iofflush_u.c (fflush_unlocked): Rename to
19798         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19799         Use libc_hidden_weak.
19800         * include/stdio.h (__fflush_unlocked): Declare.  Use
19801         libc_hidden_proto.
19802         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19803         fflush_unlocked.
19804         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19805         Remove variable.
19807         [BZ #18539]
19808         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19809         define as weak alias of __addseverity.
19810         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19811         Remove variable.
19812         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19813         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19814         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19816         [BZ #18536]
19817         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19818         (__tfind): Likewise.
19819         (__tdelete): Likewise.
19820         (__twalk): Likewise.
19821         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19822         __twalk to GLIBC_PRIVATE.
19823         * include/search.h (__tsearch): Use libc_hidden_proto.
19824         (__tfind): Likewise.
19825         (__tdelete): Likewise.
19826         (__twalk): Likewise.
19827         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19828         Call __tdelete instead of tdelete.
19829         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19830         tfind.  Call __tsearch instead of tsearch.
19831         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19832         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19833         Remove variable.
19834         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19836         [BZ #18534]
19837         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19838         (dprintf): Define as a weak alias of __dprintf, not a strong
19839         alias.
19840         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19841         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19842         dprintf.
19843         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19844         Remove variable.
19845         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19846         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19848         [BZ #18533]
19849         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19850         not a strong alias.
19851         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19852         Remove variable.
19854         [BZ #18532]
19855         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19856         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19857         (in6addr_loopback): Rename to __in6addr_loopback and define as
19858         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19859         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19860         libc_hidden_proto.
19861         (__in6addr_any): Likewise.
19862         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19863         in6addr_any.
19864         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19865         variable.
19866         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19868 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19870         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19871         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19872         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19873         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19874         redirections for pow.
19875         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19876         * sysdeps/x86_64/fpu/Versions: New versions added.
19877         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19878         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19879         build of SSE, AVX2 and AVX512 IFUNC versions.
19880         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19881         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19882         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19883         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19884         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19885         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19886         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19887         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19888         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19889         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19890         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19891         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19892         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19893         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19894         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19895         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19896         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19897         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19898         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19899         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19900         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19901         * NEWS: Mention addition of x86_64 vector pow.
19903         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19904         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19905         redirections for expf.
19906         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19907         * sysdeps/x86_64/fpu/Versions: New versions added.
19908         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19909         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19910         build of SSE, AVX2 and AVX512 IFUNC versions.
19911         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19912         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19913         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19914         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19915         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19916         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19917         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19918         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19919         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19920         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19921         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19922         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19923         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19924         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19925         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19926         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19927         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19928         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19929         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19930         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19931         * NEWS: Mention addition of x86_64 vector expf.
19933         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19934         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19935         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19936         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19937         redirections for exp.
19938         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19939         * sysdeps/x86_64/fpu/Versions: New versions added.
19940         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19941         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19942         build of SSE, AVX2 and AVX512 IFUNC versions.
19943         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19944         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19945         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19946         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19947         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19948         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19949         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19950         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19951         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19952         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19953         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19954         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19955         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19956         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19957         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19958         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19959         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19960         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19961         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19962         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19963         * NEWS: Mention addition of x86_64 vector exp.
19965         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19966         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19967         redirections for logf.
19968         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19969         * sysdeps/x86_64/fpu/Versions: New versions added.
19970         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19971         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19972         build of SSE, AVX2 and AVX512 IFUNC versions.
19973         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19974         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19975         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19976         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19977         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19978         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19979         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19980         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19981         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19982         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19983         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19984         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19985         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19986         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19987         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19988         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19989         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19990         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19991         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19992         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19993         * NEWS: Mention addition of x86_64 vector logf.
19995         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19996         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19997         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19998         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19999         redirections for log.
20000         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20001         * sysdeps/x86_64/fpu/Versions: New versions added.
20002         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20003         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20004         build of SSE, AVX2 and AVX512 IFUNC versions.
20005         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20006         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20007         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20008         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20009         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20010         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20011         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20012         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20013         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20014         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20015         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20016         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20017         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20018         test.
20019         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20020         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20021         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20022         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20023         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20024         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20025         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20026         * NEWS: Mention addition of x86_64 vector log.
20028 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20030         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20031         cfi_adjust_cfa_offset argument.
20032         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20033         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20035         [BZ #18034]
20036         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20037         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20038         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20039         ordering using ldar.
20040         (_dl_tlsdesc_dynamic): Likewise.
20041         (_dl_tlsdesc_return_lazy): Likewise.
20042         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20043         relaxed atomics instead of volatile and synchronize with release store.
20044         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20045         volatile.
20046         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20048 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20050         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20051         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20052         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20053         * sysdeps/x86_64/fpu/Versions: New versions added.
20054         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20055         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20056         build of SSE, AVX2 and AVX512 IFUNC versions.
20057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20058         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20059         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20060         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20061         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20062         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20063         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20064         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20065         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20066         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20067         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20068         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20069         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20070         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20071         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20072         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20073         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20074         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20075         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20076         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20077         * NEWS: Mention addition of x86_64 vector sinf.
20079 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20081         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20082         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20083         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20084         Remove variable.
20085         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20086         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20088 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20090         [BZ #18530]
20091         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20092         strong alias of _IO_fputs.  Use libc_hidden_def.
20093         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20094         and define as weak alias of __fputs_unlocked.  Use
20095         libc_hidden_weak.
20096         * include/stdio.h (__fputs_unlocked): Declare.  Use
20097         libc_hidden_proto.
20098         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20099         fputs_unlocked.
20101         [BZ #18529]
20102         * resolv/netdb.h [__USE_POSIX]: Change condition to
20103         [__USE_XOPEN2K].
20104         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20105         not expect.
20106         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20107         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20108         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20109         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20110         [XPG4 || UNIX98] (AI_ALL): Likewise.
20111         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20112         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20113         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20114         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20115         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20116         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20117         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20118         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20119         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20120         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20121         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20122         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20123         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20124         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20125         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20126         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20127         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20128         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20129         [XPG4 || UNIX98] (gai_strerror): Likewise.
20130         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20131         [XPG4 || UNIX98] (getnameinfo): Likewise.
20133         [BZ #18528]
20134         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20135         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20136         __USE_XOPEN2K8].
20137         (getgrent): Likewise.
20138         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20139         expect.
20140         [XPG3 || POSIX2008] (endgrent): Likewise.
20141         [XPG3] (setgrent): Likewise.
20142         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20143         variable.
20144         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20146         [BZ #18527]
20147         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20148         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20149         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20150         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20151         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20152         * include/unistd.h (__getlogin_r): Declare.  Use
20153         libc_hidden_proto.
20154         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20155         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20156         variable.
20157         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20158         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20159         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20161 2015-06-12  Martin Sebor  <msebor@redhat.com>
20163         [BZ #18512]
20164         * Makerules (check-install-supported): New target.
20165         (install): Add check-install-supported as a dependency.
20166         * manual/install.texi (Installing the C Library): Document
20167         that overriding prefix and exec_prefix is not supported.
20168         Mention DESTDIR.
20169         * INSTALL: Regenerate from the above.
20171 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20173         [BZ #18519]
20174         * posix/Versions (libc): Export __libc_pread at version
20175         GLIBC_PRIVATE.
20176         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20177         instead of pread.
20178         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20179         variable.
20181         [BZ #18522]
20182         * misc/efgcvt_r.c
20183         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20184         (cvt_symbol): Use weak_alias instead of strong_alias.
20185         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20186         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20187         Remove variable.
20188         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20189         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20191         [BZ #18520]
20192         * inet/herrno.c (h_errno): Rename to __h_errno.
20193         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20194         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20195         to __h_errno instead of h_errno.
20196         * nptl/herrno.c (h_errno): Rename to __h_errno.
20197         (__h_errno_location): Refer to __h_errno not h_errno.
20198         * resolv/Versions (h_errno): Rename to __h_errno.
20199         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20200         Remove variable.
20201         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20203 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20205         * configure.ac: More strict check for AVX512 assembler support.
20206         * configure: Regenerated.
20208         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20209         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20210         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20211         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20212         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20213         * sysdeps/x86_64/fpu/Versions: New versions added.
20214         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20215         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20216         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20217         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20218         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20219         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20220         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20221         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20222         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20223         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20224         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20225         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20226         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20227         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20228         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20229         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20230         test.
20231         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20232         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20233         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20234         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20235         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20236         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20237         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20238         * NEWS: Mention addition of x86_64 vector sin.
20240 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20242         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20243         comment.
20245 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20247         [BZ #18479]
20248         * nptl/pt-interp.c: New file.
20249         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20250         Add pt-interp.
20251         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20252         $(common-objpfx)runtime-linker.h.
20254 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20256         * Makeconfig (+interp): Remove unused variable.
20257         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20258         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20259         $(elf-objpfx)runtime-linker.h.
20260         ($(elf-objpfx)runtime-linker.h): Rename to
20261         $(common-objpfx)runtime-linker.h and move ...
20262         * Makerules [$(build-shared) = yes]: ... here.
20263         * elf/interp.c: Include <runtime-linker.h> instead of
20264         <elf/runtime-linker.h>.
20266 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20268         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20269         (__gettimeofday_syscall): Remove vsyscall fallback.
20270         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20271         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20272         Add syscall fallback function.
20273         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20274         if vDSO is not present.
20275         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20276         fallback function.
20277         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20278         present.
20279         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20280         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20282 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20284         [BZ #18497]
20285         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20286         of wcscmp.
20287         (wcscmp): Define as weak alias of WCSCMP.
20288         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20289         wcscoll.
20290         (USE_HIDDEN_DEF): Define.
20291         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20292         __wcscoll.  Don't use libc_hidden_weak.
20293         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20294         wcscmp.
20295         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20296         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20297         __GI_wcscmp.
20298         (weak_alias): Undefine and redefine.
20299         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20300         __wcscmp and define as weak alias of __wcscmp.
20301         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20302         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20303         (__wcscoll): Likewise.
20304         (wcscmp): Don't use libc_hidden_proto.
20305         (wcscoll): Likewise.
20306         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20307         wcscoll.
20308         * posix/regexec.c (check_node_accept_bytes): Likewise.
20309         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20310         variable.
20311         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20312         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20314         [BZ #18507]
20315         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20316         __fstatvfs and define as weak alias of __fstatvfs.  Use
20317         libc_hidden_weak.
20318         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20319         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20320         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20321         Define as alias of __fstatvfs, not fstatvfs.
20322         (fstatvfs64): Likewise.
20323         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20324         Define as alias of __statvfs, not statvfs.
20325         (statvfs64): Likewise.
20326         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20327         Remove variable.
20329 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20332         (HAVE_GETCPU_VSYSCALL): Define.
20333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20334         (HAVE_GETCPU_VSYSCALL): Likewise.
20335         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20336         * sysdeps/unix/sysv/linux/sched_getcpu.c
20337         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20338         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20339         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20340         prototype.
20341         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20342         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20343         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20345         Define.
20346         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20347         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20348         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20349         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20351 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20353         * sysdeps/x86_64/fpu/Makefile: New file.
20354         * sysdeps/x86_64/fpu/Versions: New file.
20355         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20356         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20357         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20358         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20359         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20360         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20361         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20362         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20363         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20364         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20365         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20366         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20367         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20368         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20369         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20370         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20371         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20372         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20373         * sysdeps/x86_64/configure: Regenerated.
20374         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20375         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20376         * manual/install.texi (Configuring and compiling): Document
20377         --disable-mathvec.
20378         * INSTALL: Regenerated.
20379         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20381         * math/Makefile: Added rules for vector tests.
20382         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20383         declaration under condition.
20384         * math/test-double-vlen2.h: New file.
20385         * math/test-double-vlen4.h: New file.
20386         * math/test-double-vlen8.h: New file.
20387         * math/test-vec-loop.h: Added initialization macro.
20388         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20389         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20390         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20391         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20392         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20393         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20394         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20395         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20396         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20397         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20398         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20400         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20401         * sysdeps/x86_64/fpu/Versions: New versions added.
20402         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20403         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20404         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20405         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20406         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20408         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20409         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20410         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20411         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20412         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20413         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20414         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20415         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20416         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20417         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20418         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20419         * NEWS: Mention addition of x86_64 vector cosf.
20421         * math/Makefile: Added CFLAGS for new tests.
20422         * math/test-float-vlen16.h: New file.
20423         * math/test-float-vlen4.h: New file.
20424         * math/test-float-vlen8.h: New file.
20425         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20426         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20427         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20428         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20429         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20430         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20431         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20432         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20433         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20434         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20435         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20437 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20439         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20440         * locale/programs/ld-ctype.c: Likewise.
20442 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20444         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20445         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20446         bit_ZMM16_31_state): New macro.
20447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20448         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20450 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20452         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20454 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20456         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20458 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20460         [BZ #18498]
20461         * libio/memstream.c (open_memstream): Rename to __open_memstream
20462         and define as weak alias of __open_memstream.
20463         * include/stdio.h (__open_memstream): Declare.  Use
20464         libc_hidden_proto.
20465         (open_memstream): Don't use libc_hidden_proto.
20466         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20467         open_memstream.
20468         * posix/getopt.c (_getopt_internal_r): Likewise.
20469         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20470         variable.
20471         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20472         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20473         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20475         [BZ #18496]
20476         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20477         instead of wcrtomb.
20479         [BZ #18483]
20480         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20481         [__USE_XOPEN2K8].  Remove redundant #endif.
20482         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20483         Remove redundant #if.
20484         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20485         Remove variable.
20486         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20487         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20489         [BZ #18495]
20490         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20491         (__iswlower): Likewise.
20492         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20493         (__iswlower): Likewise.
20494         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20495         instead of towlower.
20496         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20497         instead of iswlower.  Call __towupper instead of towupper.
20498         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20499         instead of iswalnum.
20501 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20503         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20504         errors to stderr.
20506 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20508         [BZ #15661]
20509         [BZ #17322]
20510         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20511         Check for overflow properly.  Check for O_APPEND.  Ignore large
20512         file system block sizes.  Add comments about problems.
20513         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20514         * manual/filesys.texi (Storage Allocation): New node.
20516 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20518         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20519         cancellable syscalls.
20520         (SYS_ify): Add guard to no redefine it.
20521         (INLINE_SYSCALL): Likewise.
20522         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20523         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20524         SYSCALL_CANCEL instead.
20525         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20526         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20527         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20528         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20529         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20530         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20531         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20532         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20533         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20534         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20535         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20536         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20537         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20538         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20539         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20540         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20541         Likewise.
20542         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20543         (__libc_pread64): Likewise.
20544         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20545         (__libc_preadv): Likewise.
20546         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20547         (__libc_readv64): Likewise.
20548         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20549         (__libc_pwrite): Likewise.
20550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20551         (__libc_pwrite64): Likewise.
20552         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20553         (__libc_pwritev): Likewise.
20554         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20555         (__libc_pwritev64): Likewise.
20556         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20557         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20558         (sync_file_range): Likewise.
20559         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20560         Likewise.
20561         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20562         Likewise.
20563         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20564         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20565         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20566         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20567         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20568         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20569         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20570         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20572         Likewise.
20573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20574         (__libc_read64): Likewise.
20575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20576         Likewise.
20577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20578         Likewise.
20579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20580         Likewise.
20581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20582         Likewise.
20583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20584         (__libc_pread64): Likewise.
20585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20586         Likewise.
20587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20588         (__libc_pwrite64): Likewise.
20589         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20590         (sync_file_range): Likewise.
20591         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20592         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20593         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20594         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20595         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20596         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20597         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20598         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20599         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20600         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20601         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20602         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20603         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20604         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20605         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20606         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20607         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20608         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20609         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20610         Likewise.
20611         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20612         Likewise.
20613         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20614         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20615         Likewise.
20616         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20617         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20618         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20619         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20620         Likewise.
20621         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20622         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20623         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20624         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20625         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20627 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20629         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20630         Include dl-vdso.
20631         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20632         Use VDSO routines for gettimeofday, clock_gettime if
20633         available.
20634         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20635         Declare VDSO symbols.
20636         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20637         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20638         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20639         * sysdeps/unix/sysv/linux/arm/Versions: Add
20640         __vdso_clock_gettime.
20642 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20644         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20645         be an inline implementation regardless of library is built within.
20646         (open_not_cancel_2): Likewise.
20647         (__read_nocancel): Likewise.
20648         (__write_nocancel): Likewise.
20649         (openat_not_cancel): Likewise.
20650         (openat_not_cancel_3): Likewise.
20651         (openat64_not_cancel): Likewise.
20652         (openat64_not_cancel_3): Likewise.
20653         (__close_nocancel): Likewise.
20654         (pause_not_cancel): Likewise.
20655         (nanosleep_not_cancel): Likewise.
20656         (sigsuspend_not_cancel): Likewise.
20658 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20660         [BZ #14958]
20661         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20662         wake-up.
20663         (__pthread_rwlock_rdlock_slow): Likewise.
20664         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20665         Likewise.
20666         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20667         Likewise.
20668         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20669         * nptl/tst-rwlock16.c: New file.
20670         * nptl/Makefile (tests): Add new test.
20672 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20674         [BZ #18324]
20675         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20676         missing wake-up of readers.
20677         * nptl/tst-rwlock15.c: New file.
20678         * nptl/Makefile (tests): Add new test.
20680 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20682         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20683         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20684         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20685         and __nacl_supply_interface_rtld.
20686         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20687         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20688         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20689         Add __nacl_supply_interface_rtld.
20690         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20692 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20694         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20695         isfinite.
20696         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20697         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20699 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20701         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20702         __signbit* with standard C99 macros.
20703         * math/e_exp10l.c: Likewise.
20704         * math/e_exp2l.c: Likewise.
20705         * math/e_scalb.c: Likewise.
20706         * math/e_scalbf.c: Likewise.
20707         * math/e_scalbl.c: Likewise.
20708         * math/s_ldexp.c: Likewise.
20709         * math/s_ldexpf.c: Likewise.
20710         * math/s_ldexpl.c: Likewise.
20711         * math/w_atan2.c: Likewise.
20712         * math/w_atan2f.c: Likewise.
20713         * math/w_atan2l.c: Likewise.
20714         * math/w_cosh.c: Likewise.
20715         * math/w_coshf.c: Likewise.
20716         * math/w_coshl.c: Likewise.
20717         * math/w_exp10.c: Likewise.
20718         * math/w_exp10f.c: Likewise.
20719         * math/w_exp10l.c: Likewise.
20720         * math/w_exp2.c: Likewise.
20721         * math/w_exp2f.c: Likewise.
20722         * math/w_exp2l.c: Likewise.
20723         * math/w_fmod.c: Likewise.
20724         * math/w_fmodf.c: Likewise.
20725         * math/w_fmodl.c: Likewise.
20726         * math/w_hypot.c: Likewise.
20727         * math/w_hypotf.c: Likewise.
20728         * math/w_hypotl.c: Likewise.
20729         * math/w_jnl.c: Likewise.
20730         * math/w_lgamma.c: Likewise.
20731         * math/w_lgamma_r.c: Likewise.
20732         * math/w_lgammaf.c: Likewise.
20733         * math/w_lgammaf_r.c: Likewise.
20734         * math/w_lgammal.c: Likewise.
20735         * math/w_lgammal_r.c: Likewise.
20736         * math/w_pow.c: Likewise.
20737         * math/w_powf.c: Likewise.
20738         * math/w_powl.c: Likewise.
20739         * math/w_remainder.c: Likewise.
20740         * math/w_remainderf.c: Likewise.
20741         * math/w_remainderl.c: Likewise.
20742         * math/w_scalb.c: Likewise.
20743         * math/w_scalbf.c: Likewise.
20744         * math/w_scalbl.c: Likewise.
20745         * math/w_scalbln.c: Likewise.
20746         * math/w_scalblnf.c: Likewise.
20747         * math/w_scalblnl.c: Likewise.
20748         * math/w_sinh.c: Likewise.
20749         * math/w_sinhf.c: Likewise.
20750         * math/w_sinhl.c: Likewise.
20751         * math/w_tgamma.c: Likewise.
20752         * math/w_tgammaf.c: Likewise.
20753         * math/w_tgammal.c: Likewise.
20754         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20755         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20756         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20757         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20758         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20759         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20760         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20761         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20762         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20763         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20764         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20765         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20766         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20767         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20768         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20769         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20770         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20771         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20772         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20773         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20774         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20775         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20776         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20777         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20778         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20779         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20780         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20781         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20782         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20783         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20784         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20785         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20786         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20787         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20788         * stdio-common/printf_fp.c: Likewise.
20789         * stdio-common/printf_fphex.c: Likewise.
20790         * stdio-common/printf_size.c: Likewise.
20792 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20794         [BZ #18470]
20795         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20796         strnlen.
20797         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20798         Remove variable.
20799         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20800         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20801         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20802         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20803         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20804         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20805         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20806         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20807         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20808         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20810         [BZ #18468]
20811         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20812         weak alias of __wmemchr.  Use libc_hidden_weak.
20813         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20814         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20815         instead of wmemchr.
20817 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20819         [BZ #18383]
20820         * elf/tst-tlsalign-extern.c: New file.
20821         * elf/tst-tlsalign-extern-static.c: New file.
20822         * elf/tst-tlsalign-vars.c: New file.
20823         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20824         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20825         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20826         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20827         (test-xfail-tst-tlsalign-extern-static): New variable.
20829 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20831         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20832         Use variable name _sc_err instead of err.
20833         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20834         instead of ret.
20835         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20836         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20837         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20838         (INLINE_SYSCALL): Likewise.
20840         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20841         * include/string.h (__strnlen): Use libc_hidden_proto.
20842         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20843         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20844         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20845         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20846         (libc_hidden_def): Undefine and redefine.
20847         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20848         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20849         __GI_strnlen.
20850         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20851         libc_hidden_def.
20852         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20854         [BZ #18469]
20855         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20856         weak alias of __towlower.  Use libc_hidden_weak.
20857         (towupper): Rename to __towupper and define as weak alias of
20858         __towupper.  Use libc_hidden_weak.
20859         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20860         (__towupper): Likewise.
20861         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20862         __towlower instead of towlower.
20864 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20866         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20867         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20869 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20871         * sysdeps/aarch64/libm-test-ulps: Update.
20873 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20875         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20876         Define.
20877         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20879         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20880         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20881         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20882         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20883         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20885 2015-06-01  Martin Sebor  <msebor@redhat.com>
20887         [BZ #18116]
20888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20889         (__setcontext): Use extended four-operand version of mtsf whenever
20890         possible.
20891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20892         (__novec_swapcontext): Likewise.
20894 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20896         * benchtests/scripts/compare_bench.py: New file.
20897         * benchtests/scripts/import_bench.py (mean): New function.
20898         (split_list): Likewise.
20899         (do_for_all_timings): Likewise.
20900         (compress_timings): Likewise.
20902         * benchtests/scripts/import_bench.py: New file.
20903         * benchtests/scripts/validate_benchout.py: Import import_bench
20904         instead of jsonschema.
20905         (validate_bench): Remove function.
20906         (main): Use import_bench.
20908 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20910         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20911         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20913 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20917 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20919         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20920         set THREAD_SELF->tid to a magic value and futex-wake it.
20921         Pass its address to the thread_exit system call.
20922         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20923         bit is clear.
20924         * sysdeps/nacl/lowlevellock.h: New file.
20925         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20927         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20928         Add TIMEOUT to current time, don't subtract it.
20930 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20932         [BZ #2981]
20933         [BZ #18422]
20934         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20935         ($(objpfx)tst-audit2.out): Also depend on
20936         $(objpfx)tst-auditmod9b.so.
20937         * elf/tst-audit2.c: Include <dlfcn.h>.
20938         (calloc_called): New.
20939         (calloc): Allow to be called more than once.
20940         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20942 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20944         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20945         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20947 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20949         * stdlib/monetary.h: Fix comment.
20951 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20953         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20954         Avoid using variables in #defines that might cause shadowing.
20955         (INTERNAL_VSYSCALL_CALL): Likewise.
20957 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20959         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20961         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20962         * nptl/lll_timedlock_wait.c: ... to this new file.
20963         * nptl/Makefile (libpthread-routines): Add it.
20964         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20965         * nptl/lll_timedwait_tid.c: ... to this new file.
20966         * nptl/Makefile (libpthread-routines): Add it.
20967         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20968         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20969         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20970         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20971         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20972         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20973         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20974         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20975         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20976         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20978 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20980         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20981         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20982         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20983         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20984         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20985         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20986         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20988         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20989         * sysdeps/unix/sysv/linux/tile/sysdep.h
20990         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20991         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20992         using vDSO syscall macro.
20994 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20996         [BZ #17293]
20997         * uk_UA: Fix sorting order for Ukrainian locale
20999 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21001         * stdlib/monetary.h: Fix comment.
21003 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21005         [BZ #18234]
21006         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21007         st_mtim and st_ctim members.
21008         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21009         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21010         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21011         (struct stat64): Likewise.
21012         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21013         (struct stat64): Likewise.
21014         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21015         (struct stat64): Likewise.
21017 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21019         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21020         Define and include sysdep-vdso.h.
21021         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21022         Likewise.
21023         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21024         Likewise.
21025         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21026         Define with VDSO_SYMBOL and use PTR_MANGLE.
21027         (__vdso_clock_gettime): Likewise.
21028         (__vdso_clock_getres): Likewise.
21029         (_libc_vdso_platform_setup): Likewise.
21030         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21031         Likewise.
21032         (_libc_vdso_platform_setup): Likewise.
21033         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21034         Likewise.
21035         (__vdso_clock_gettime): Likewise.
21036         (__vdso_clock_getres): Likewise.
21037         (__vdso_get_tbfreq): Likewise.
21038         (__vdso_getcpu): Likewise.
21039         (__vdso_time): Likewise.
21040         (__vdso_sigtramp_rt64): Likewise.
21041         (__vdso_signtramp32): Likewise.
21042         (__vdso_sigtramp_rt32): Likewise.
21043         (_libc_vdso_platform_setup): Likewise.
21044         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21045         Likewise.
21046         (__vdso_clock_gettime): Likewise.
21047         (__vdso_clock_getres): Likewise.
21048         (_libc_vdso_platform_setup): Likewise.
21049         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21050         Likewise.
21051         (__vdso_clock_gettime): Likewise.
21052         (_libc_vdso_platform_setup): Likewise.
21053         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21054         Likewise.
21055         (__vdso_getcpu): Likewise.
21056         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21057         Use VDSO_SYMBOL macro to define.
21058         (__vdso_clock_gettime): Likewise.
21059         (__vdso_clock_getres): Likewise.
21060         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21061         Likewise.
21062         (__vdso_clock_gettime): Likewise.
21063         (__vdso_clock_getres): Likewise.
21064         (__vdso_get_tbfreq): Likewise.
21065         (__vdso_getcpu): Likewise.
21066         (__vdso_time): Likewise.
21067         (__vdso_sigtramp_rt64): Likewise.
21068         (__vdso_signtramp32): Likewise.
21069         (__vdso_sigtramp_rt32): Likewise.
21070         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21071         Likewise.
21072         (__vdso_clock_gettime): Likewise.
21073         (__vdso_clock_getres): Likewise.
21074         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21075         Likewise.
21076         (__vdso_clock_gettime): Likewise.
21077         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21078         Likewise.
21079         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21080         macro.
21081         (INTERNAL_VSYSCALL): Likewise.
21082         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21083         Remove macro.
21084         (INTERNAL_VSYSCALL): Likewise.
21085         (INTERNAL_VSYSCALL_NCS): Likewise.
21086         (INTERNAL_VSYSCALL_CALL): New macro.
21087         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21088         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21089         Likewise.
21090         (INTERNAL_VSYSCALL): Likewise.
21091         (INTERNAL_VSYSCALL_NCS): Likewise.
21092         (INTERNAL_VSYSCALL_CALL): New macro.
21093         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21095         (INLINE_VSYSCALL): Remove macro.
21096         (INTERNAL_VSYSCALL): Remove macro.
21097         (INTERNAL_VSYSCALL_NCS): Remove macro.
21098         (INTERNAL_VSYSCALL_CALL): New macro.
21099         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21100         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21101         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21102         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21103         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21105         (INLINE_VSYSCALL): Remove macro.
21106         (INTERNAL_VSYSCALL): Likewise.
21107         (INTERNAL_VSYSCALL_NCS): Likewise.
21108         (INTERNAL_VSYSCALL_CALL): New macro.
21109         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21110         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21111         PTR_DEMANGLE on vDSO pointer.
21112         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21113         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21114         macro.
21115         (INTERNAL_SYSCALL): Likewise.
21116         (INTERNAL_VSYSCALL_NCS): Remove macro.
21117         (INTERNAL_VSYSCALL_CALL): New macro.
21118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21119         Remove macro.
21120         (INTERNAL_VSYSCALL): Likewise.
21121         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21122         sysdep-vdso.h instead of libc-vdso.h.
21123         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21124         definition.
21125         (INLINE_VSYSCALL): Likewise.
21126         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21127         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21128         definition.
21129         (INLINE_VSYSCALL): Likewise.
21130         (INTERNAL_VSYSCALL): Likewise.
21131         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21132         * sysdeps/unix/sysv/linux/timespec_get.c
21133         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21134         (timespec_get): Use ANSI prototype.
21135         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21136         and definition for Linux.
21138 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21140         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21141         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21143 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21145         [BZ #2981]
21146         [BZ #18410]
21147         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21148         for missing DT_PLTRELSZ.
21150 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21152         Remove obsolete aliases that broke 'locale -a'
21153         [BZ #18412]
21154         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21155         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21156         breaking some applications that use 'locale -a' output.
21157         Change the encoding of this file from Latin-1 to ASCII to avoid
21158         other potential problems with people grepping this file.
21160 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21162         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21163         -fasynchronous-unwind-tables.
21164         (CFLAGS-sendto.c): Likewise.
21165         (CFLAGS-sendmsg.c): Likewise.
21166         (CFLAGS-connect.c): Likewise.
21167         (CFLAGS-recvmsg.c): Likewise.
21168         (CFLAGS-recvfrom.c): Likewise.
21169         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21170         (SOCKETCALL): New macro: non-cancellable socketcall.
21171         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21172         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21173         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21174         * sysdeps/unix/sysv/linux/accept.c: New file.
21175         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21176         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21177         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21178         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21179         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21180         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21181         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21182         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21183         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21184         * sysdeps/unix/sysv/linux/send.c: Likewise.
21185         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21186         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21187         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21188         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21189         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21190         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21191         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21192         prototype.
21193         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21194         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21195         instead of __internal_xxx function.
21196         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21197         prototype.
21198         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21199         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21200         instead of __internal_xxx function.
21201         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21202         prototype.
21203         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21204         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21205         instead of __internal_xxx function.
21206         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21207         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21208         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21209         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21210         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21211         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21212         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21213         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21214         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21215         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21216         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21217         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21218         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21219         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21220         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21221         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21222         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21223         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21224         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21225         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21228         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21229         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21230         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21231         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21232         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21233         * sysdeps/unix/sysv/linux/send.S: Likewise.
21234         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21235         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21236         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21237         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21238         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21239         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21240         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21241         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21242         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21243         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21244         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21245         socketcall is implemented in GLIBC.
21247 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21249         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21250         (__fma): Ignore uninitialized warnings around packing.
21251         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21252         (__fmaf): Ignore uninitialized warnings around packing.
21253         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21254         (__fmal): Ignore uninitialized warnings around packing.
21256         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21257         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21258         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21259         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21261         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21262         switch statement into default case.
21263         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21265         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21266         a conditional in forcing "inexact".
21267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21268         Likewise.
21270 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21272         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21273         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21274         for each INTERNAL_SYSCALL use.
21276 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21278         [BZ #438]
21279         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21280         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21281         variable.
21283         [BZ #18444]
21284         * string/basename.c (basename): Rename to __basename and define as
21285         weak alias of __basename.  Use libc_hidden_weak.
21286         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21287         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21288         __basename instead of basename.
21289         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21290         Remove variable.
21291         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21293 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21295         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21296         (_IO_JUMPS_FILE_plus): New.
21297         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21298         _IO_CAST_FIELD_ACCESS.
21299         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21300         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21301         * libio/freopen.c (freopen): Likewise.
21302         * libio/freopen64.c (freopen64): Likewise.
21303         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21304         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21305         * libio/iofwide.c (_IO_fwide): Likewise.
21306         * libio/memstream.c (open_memstream): Likewise.
21307         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21308         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21309         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21311 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21313         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21314         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21315         NADJ.
21316         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21317         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21318         NADJ.
21319         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21320         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21321         NADJ.
21323         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21324         (p == 4) case.
21326         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21327         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21328         Remove variable.
21329         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21330         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21331         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21333 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21335         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21336         Adjust jump table label generation macros.
21338 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21340         * stdio-common/vfprintf.c (vfprintf): Move local variables
21341         args_malloced, specs, specs_malloced, and the code after
21342         do_positional to the printf_positional function.
21343         (printf_positional): New function.
21345 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21347         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21348         function.
21349         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21350         STEP4_TABLE, process_arg): Move macro definitions
21351         out of the vfprintf function.  (Cosmetic change only.)
21353 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21355         * benchtests/Makefile (stdio-common-bench): Define.
21356         (benchset): Add stdio-common-bench.
21357         * sprintf-inputs: New file.
21358         * sprintf-source.c: New file.
21360 2015-05-21  Andreas Schwab  <schwab@suse.de>
21362         [BZ #13028]
21363         [BZ #17053]
21364         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21365         of struct __res_state.
21366         * resolv/res_send.c (__libc_res_nsend): Likewise.
21367         (get_nsaddr): New function.
21368         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21369         statp directly.
21371 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21373         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21374         -D_POSIX_C_SOURCE=199506L.
21376         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21378         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21379         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21380         Do not mention otherwise.
21381         [POSIX] (_XOPEN_VERSION): Do not expect.
21382         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21383         [POSIX] (_POSIX2_C_BIND): Likewise.
21384         [POSIX] (_POSIX2_VERSION): Likewise.
21385         [POSIX] (_XOPEN_XPG2): Likewise.
21386         [POSIX] (_XOPEN_XPG3): Likewise.
21387         [POSIX] (_XOPEN_XPG4): Likewise.
21388         [POSIX] (_XOPEN_UNIX): Likewise.
21389         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21390         [POSIX] (_POSIX_BARRIERS): Likewise.
21391         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21392         [POSIX] (_POSIX_CPUTIME): Likewise.
21393         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21394         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21395         [POSIX] (_POSIX_SHELL): Likewise.
21396         [POSIX] (_POSIX_SPAWN): Likewise.
21397         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21398         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21399         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21400         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21401         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21402         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21403         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21404         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21405         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21406         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21407         [POSIX] (_POSIX2_PBS): Likewise.
21408         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21409         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21410         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21411         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21412         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21413         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21414         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21415         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21416         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21417         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21418         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21419         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21420         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21421         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21422         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21423         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21424         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21425         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21426         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21427         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21428         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21429         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21430         [POSIX] (_SC_2_C_BIND): Likewise.
21431         [POSIX] (_SC_2_C_VERSION): Likewise.
21432         [POSIX] (_SC_2_PBS): Likewise.
21433         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21434         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21435         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21436         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21437         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21438         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21439         [POSIX] (_SC_BARRIERS): Likewise.
21440         [POSIX] (_SC_BASE): Likewise.
21441         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21442         [POSIX] (_SC_DEVICE_IO): Likewise.
21443         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21444         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21445         [POSIX] (_SC_FD_MGMT): Likewise.
21446         [POSIX] (_SC_FIFO): Likewise.
21447         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21448         [POSIX] (_SC_FILE_LOCKING): Likewise.
21449         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21450         [POSIX] (_SC_IOV_MAX): Likewise.
21451         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21452         [POSIX] (_SC_NETWORKING): Likewise.
21453         [POSIX] (_SC_PAGE_SIZE): Likewise.
21454         [POSIX] (_SC_PASS_MAX): Likewise.
21455         [POSIX] (_SC_PIPE): Likewise.
21456         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21457         [POSIX] (_SC_REGEXP): Likewise.
21458         [POSIX] (_SC_SHELL): Likewise.
21459         [POSIX] (_SC_SIGNALS): Likewise.
21460         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21461         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21462         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21463         [POSIX] (_SC_USER_GROUPS): Likewise.
21464         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21465         [POSIX] (_SC_STREAMS): Likewise.
21466         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21467         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21468         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21469         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21470         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21471         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21472         [POSIX] (_PC_FILESIZEBITS): Likewise.
21473         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21474         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21475         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21476         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21477         [POSIX] (uid_t): Likewise.
21478         [POSIX] (gid_t): Likewise.
21479         [POSIX] (off_t): Likewise.
21480         [POSIX] (pid_t): Likewise.
21481         [POSIX] (cuserid): Allow.
21482         (_SC_2_CHAR_TERM): Require constant.
21483         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21484         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21485         variable.
21487 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21489         * sysdeps/nacl/pthread-pids.h: New file.
21490         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21491         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21493         * nptl/pthread-pids.h: New file.
21494         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21495         * nptl/nptl-init.c: Include <pthread-pids.h>.
21496         (__pthread_initialize_minimal_internal):
21497         Call __pthread_initialize_pids instead of set_tid_address syscall.
21499         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21500         * sysdeps/posix/usleep.c: ... here.
21502 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21504         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21505         call_pselect6 object.
21506         [$(subdir) = io]: Remove call_sync_file_range object.
21507         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21508         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21509         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21510         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21512 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21514         * math/s_cproj.c: Add include "math_private.h".
21515         * math/s_cprojf.c: Likewise.
21516         * math/s_cprojl.c: Likewise.
21518 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21520         [BZ #18244]
21521         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21522         high mantissa bit when testing whether P is a NaN.
21523         * math/libm-test.inc (remainder_test_data): Add more tests.
21524         (remquo_test_data): Likewise.
21526         [BZ #18049]
21527         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21528         below -32, return the argument, with underflow if subnormal.
21529         * math/auto-libm-test-in: Add more tests of atanh.
21530         * math/auto-libm-test-out: Regenerated.
21532 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21534         [BZ #18434]
21535         * nptl/tst-sem15.c: New file.
21536         * nptl/Makefile (tests): Add it.
21537         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21538         s/<</>>/ to fix typo in EOVERFLOW check.
21539         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21541 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21543         * manual/strings.texi (envz_remove): Fix typo in safety
21544         annotations.
21546 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21547             Steve Ellcey  <sellcey@imgtec.com>
21549         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21550         in order to avoid strict alias warnings.
21551         (iruserok_af): Ditto for ra.
21553 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21555         [BZ #17581]
21556         * malloc/hooks.c
21557         (magicbyte): Convert to a function and avoid returning 0x01.
21558         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21559         (mem2chunk_check): Fix unsigned comparisons to zero.
21560         Hoist defs of sz and magic.
21562 2015-05-19  Richard Henderson  <rth@redhat.com>
21564         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21566         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21568 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21570         [BZ #16159]
21571         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21572         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21573         (reused_arena): Find a non-corrupt arena.
21574         (heap_trim): Pass arena to unlink.
21575         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21576         malloc_printerr.
21577         (top_check): Likewise.
21578         (free_check): Likewise.
21579         (realloc_check): Likewise.
21580         * malloc/malloc.c (malloc_printerr): Add arena argument.
21581         (unlink): Likewise.
21582         (munmap_chunk): Adjust.
21583         (ARENA_CORRUPTION_BIT): New macro.
21584         (arena_is_corrupt): Likewise.
21585         (set_arena_corrupt): Likewise.
21586         (sysmalloc): Use mmap if there are no usable arenas.
21587         (_int_malloc): Likewise.
21588         (__libc_malloc): Don't fail if arena_get returns NULL.
21589         (_mid_memalign): Likewise.
21590         (__libc_calloc): Likewise.
21591         (__libc_realloc): Adjust for additional argument to
21592         malloc_printerr.
21593         (_int_free): Likewise.
21594         (malloc_consolidate): Likewise.
21595         (_int_realloc): Likewise.
21596         (_int_memalign): Don't touch corrupt arenas.
21597         * malloc/tst-malloc-backtrace.c: New test case.
21599         * Makefile (summarize-tests): Fix return value on success.
21601         * manual/string.texi (Envz Functions): Add envz_remove.
21603 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21605         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21606         (invalid_name): New function, broken out of ...
21607         (__opendirat): ... here.  Call it.
21608         (need_isdir_precheck): New function, broken out of ...
21609         (__opendirat): ... here.  Call it.
21610         Use __fxstatat64, not __xstatat64.
21611         (opendir_oflags): New function, broken out of ...
21612         (__opendirat): ... here.  Call it.
21613         (opendir_tail): New function, broken out of ...
21614         (__opendirat): ... here.  Call it.
21615         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21616         opendir_tail, rather than punting to __opendirat.
21617         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21619 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21621         * .gitignore: Ignore generated *.pyc.
21623 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21625         * include/stdio.h: Define __need_wint_t.
21626         * test-skeleton.c: Avoid `for' loop initial declaration.
21627         * nptl/tst-initializers1.c: Use test-skeleton.c.
21629 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21631         [BZ #18418]
21632         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21634 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21636         [BZ #16352]
21637         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21638         (__ieee754_atanh): Force underflow exception for results with
21639         small absolute value.
21640         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21641         (__ieee754_atanhf): Force underflow exception for results with
21642         small absolute value.
21643         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21644         (__ieee754_atanh): Force underflow exception for results with
21645         small absolute value.
21646         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21647         (__ieee754_atanhf): Force underflow exception for results with
21648         small absolute value.
21649         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21650         (__ieee754_atanhl): Force underflow exception for results with
21651         small absolute value.
21652         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21653         (__ieee754_atanhl): Force underflow exception for results with
21654         small absolute value.
21655         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21656         (__ieee754_atanhl): Force underflow exception for results with
21657         small absolute value.
21658         * math/auto-libm-test-in: Do not allow missing underflow
21659         exceptions from atanh.
21660         * math/auto-libm-test-out: Regenerated.
21662         [BZ #18221]
21663         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21664         2**-28 as threshold for returning x or +/- 1/x.
21665         * math/auto-libm-test-in: Add more tests of tan.
21666         * math/auto-libm-test-out: Regenerated.
21668         [BZ #18220]
21669         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21670         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21671         * math/auto-libm-test-in: Add another test of lgamma.
21672         * math/auto-libm-test-out: Regenerated.
21674 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21676         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21677         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21678         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21679         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21680         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21681         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21682         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21683         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21684         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21685         (log1): Use fabs.  (my_log2): Use fabs.
21686         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21687         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21688         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21689         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21691         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21692         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21693         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21694         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21695         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21696         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21698 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21700         [BZ #18217]
21701         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21702         as threshold for returning 1 - x.
21703         * math/auto-libm-test-in: Add more tests of erfc.
21704         * math/auto-libm-test-out: Regenerated.
21706 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21708         [BZ #18196]
21709         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21710         threshold for large arguments.
21711         * math/auto-libm-test-in: Add another test of atan.
21712         * math/auto-libm-test-out: Regenerated.
21714         [BZ #16339]
21715         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21716         (__log1p): Force underflow exception for results with small
21717         absolute value.
21718         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21719         (__log1pf): Force underflow exception for results with small
21720         absolute value.
21721         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21722         (__log1p): Force underflow exception for results with small
21723         absolute value.
21724         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21725         (__log1pf): Force underflow exception for results with small
21726         absolute value.
21727         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21728         (__log1pl): Force underflow exception for results with small
21729         absolute value.
21730         * math/auto-libm-test-in: Do not allow missing underflow
21731         exceptions from log1p.
21732         * math/auto-libm-test-out: Regenerated.
21734 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21735             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21737         [BZ #16704]
21738         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21740 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21742         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21743         (libmvec): New variable.
21744         * configure.ac: Added option for mathvec build.
21745         * configure: Regenerated.
21746         * mathvec/Depend: New file.
21747         * mathvec/Makefile: New file.
21748         * shlib-versions: Added libmvec.
21749         * math/Makefile: Added rule for libm.so installation.
21751         * bits/math-vector.h: New file.
21752         * bits/libm-simd-decl-stubs.h: New header.
21753         * math/Makefile (headers): Added new header
21754         libm-simd-decl-stubs.h.
21755         * math/math.h (__MATHCALL_VEC): New macro.
21757         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21758         for conditions in testing functions.
21759         * math/Makefile: Added call of libm-have-vector-test.sh.
21760         * math/libm-test.inc (HAVE_VECTOR): New macros.
21762         * math/libm-test.inc: START refactored.
21763         * math/test-double.c (TEST_MATHVEC): Add define.
21764         * math/test-float.c: Likewise.
21765         * math/test-idouble.c: Likewise.
21766         * math/test-ifloat.c: Likewise.
21767         * math/test-ildoubl.c: Likewise.
21768         * math/test-ldouble.c: Likewise.
21769         * sysdeps/generic/math-tests-arch.h
21770         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21771         architecture check.
21773         * math/test-double.c (FUNC_TEST): New macro.
21774         * math/test-float.c: Likewise.
21775         * math/test-idouble.c: Likewise.
21776         * math/test-ifloat.c: Likewise.
21777         * math/test-ildoubl.c: Likewise.
21778         * math/test-ldouble.c: Likewise.
21779         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21781 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21783         * sysdeps/nacl/fdopendir.c: New file.
21785         * dirent/scandir-tail.c: New file.
21786         * dirent/scandir64-tail.c: New file.
21787         * dirent/Makefile (routines): Add them.
21788         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21789         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21790         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21791         [!SCANDIR] (SCANDIR_TAIL): New macro.
21792         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21793         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21794         (SCANDIRAT): Macro removed.
21795         (SCANDIR_TAIL): New macro.
21796         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21797         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21798         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21799         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21800         (READDIR): Macro removed.
21801         (SCANDIR_TAIL): New macro.
21802         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21803         (SCANDIR_TAIL): New macro.
21805         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21806         * dirent/scandir-cancel.c: ... to this new file.
21807         * dirent/Makefile (routines): Add it.
21808         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21809         * sysdeps/unix/sysv/linux/i386/scandir64.c
21810         (SKIP_SCANDIR_CANCEL): Macro removed.
21811         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21813         * dirent/tst-scandir.c: New file.
21814         * dirent/tst-scandir64.c: New file.
21815         * dirent/Makefile (tests): Add them.
21817 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21819         [BZ #18409]
21820         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21822 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21824         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21825         list.
21827 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21829         * benchtests/bench-strcoll.c: New benchmark.
21830         * benchtests/Makefile: Generate locales and run benchmark.
21831         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21832         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21833         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21834         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21835         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21836         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21837         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21838         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21839         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21840         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21841         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21842         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21843         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21844         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21845         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21846         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21847         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21848         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21849         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21850         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21851         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21852         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21853         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21854         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21856 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21858         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21859         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21861 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21863         * posix/uname-values.h: New file.
21864         * posix/uname.c: Include that instead of <config-name.h>.
21865         * sysdeps/nacl/uname-values.h: New file.
21866         * sysdeps/arm/nacl/uname-values.h: New file.
21868 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21870         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21871         splitting into fields.
21873 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21875         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21876         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21877         * locale/localeinfo.h: Add enum collation_encoding_type.
21878         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21879         * programs/ld-collate.c (collate_output): Add encoding type info.
21880         * string/strcoll_l.c (STRDIFF): New function.
21881         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21882         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21884 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21886         [BZ #18397]
21887         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21888         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21889         <fpu_control.h> instead of <math/fpu_control.c>.
21890         * sysdeps/mips/mips32/fpu/Makefile: New file.
21892 2015-05-11  Andreas Schwab  <schwab@suse.de>
21894         [BZ #18007]
21895         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21896         nss_endgrent.
21897         (_nss_compat_endgrent): Call nss_endgrent.
21898         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21899         nss_endpwent.
21900         (_nss_compat_endpwent): Call nss_endpwent.
21901         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21902         needent, call nss_setspent only if non-zero.
21903         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21904         (internal_endspent): Don't call nss_endspent.
21905         (_nss_compat_endspent): Call nss_endspent.
21906         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21907         Remove.  All uses removed.
21908         (internal_setent): Remove parameter stayopen, add parameter
21909         stream.  Use it instead of global variable.
21910         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21911         (internal_endent, internal_getent): Add parameter stream.  Use it
21912         instead of global variable.
21913         (CONCAT(_nss_files_end,ENTNAME))
21914         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21915         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21916         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21917         uses removed.
21918         (internal_setent, internal_endent): Add parameter stream.  Use it
21919         instead of global variable.
21920         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21921         stream.
21922         (get_next_alias): Add parameter stream.
21923         (_nss_files_getaliasent_r): Pass global stream.
21924         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21925         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21926         (_nss_files_gethostbyname4_r): Pass local stream to
21927         internal_setent, internal_getent and internal_endent.  Remove
21928         locking.
21930 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21932         * tst-strfmon1.c (tests): Update expected currency symbol.
21934 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21936         * sysdeps/nacl/gethostname.c: New file.
21938 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21940         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21941         and sinh.
21942         * math/auto-libm-test-out: Regenerated.
21943         * sysdeps/i386/fpu/libm-test-ulps: Update.
21944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21946 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21948         [BZ #18125]
21949         * stdlib/tst-setcontext3.c: New file.
21950         * stdlib/tst-setcontext3.sh: New file.
21951         * stdlib/Makefile (tests): Add tst-setcontext3.
21952         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21953         to verify test program created output file.
21954         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21955         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21956         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21957         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21959 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21961         [BZ #18383]
21962         * elf/tst-tlsalign.c: New file.
21963         * elf/tst-tlsalign-static.c: New file.
21964         * elf/tst-tlsalign-lib.c: New file.
21965         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21966         (tests-static): Add tst-tlsalign-static.
21967         (modules-names): Add tst-tlsalign-lib.
21968         (test-xfail-tst-tlsalign): New variable.
21969         (test-xfail-tst-tlsalign-static): New variable.
21971         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21972         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21974 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21976         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21977         csqrt, erfc, sin and sincos.
21978         * math/auto-libm-test-out: Regenerated.
21979         * sysdeps/i386/fpu/libm-test-ulps: Update.
21980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21982 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21984         * sysdeps/aarch64/libm-test-ulps: Update.
21986 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21988         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21989         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21990         * math/auto-libm-test-out: Regenerated.
21991         * sysdeps/i386/fpu/libm-test-ulps: Update.
21992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21994 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21996         [BZ #18265]
21997         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21998         (wcsncpy): Likewise.
22000 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22002         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22003         Assume __ASSUME_FALLOCATE is always true.
22004         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22005         (__posix_fallocate64_l64): Likweise.
22006         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22007         (posix_fallocate): Likewise.
22008         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22009         (__posix_fallocate64_l64): Likewise.
22010         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22011         [!__ASSUME_FALLOCATE]: Add comment.
22013 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22015         * sysdeps/unix/sysv/linux/i386/Makefile
22016         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22017         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22018         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22019         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22020         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22021         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22022         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22024 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22026         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22027         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22028         tgamma.
22029         * math/auto-libm-test-out: Regenerated.
22030         * sysdeps/i386/fpu/libm-test-ulps: Update.
22031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22033 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22035         * math/auto-libm-test-in: Add more tests of tgamma.
22036         * math/auto-libm-test-out: Regenerated.
22037         * sysdeps/i386/fpu/libm-test-ulps: Update.
22038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22040         * math/auto-libm-test-in: Add more tests of tanh.
22041         * math/auto-libm-test-out: Regenerated.
22042         * sysdeps/i386/fpu/libm-test-ulps: Update.
22043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22045         * math/auto-libm-test-in: Add more tests of tan.
22046         * math/auto-libm-test-out: Regenerated.
22047         * sysdeps/i386/fpu/libm-test-ulps: Update.
22048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22050         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22051         * math/auto-libm-test-out: Regenerated.
22052         * sysdeps/i386/fpu/libm-test-ulps: Update.
22053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22055         * math/auto-libm-test-in: Add another test of pow.
22056         * math/auto-libm-test-out: Regenerated.
22057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22059         * math/auto-libm-test-in: Add more tests of lgamma.
22060         * math/auto-libm-test-out: Regenerated.
22061         * sysdeps/i386/fpu/libm-test-ulps: Update.
22062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22064         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22065         log1p.
22066         * math/auto-libm-test-out: Regenerated.
22067         * sysdeps/i386/fpu/libm-test-ulps: Update.
22068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22072         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22073         Elf64_Chdr structs and ELFCOMPRESS constants.
22075 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22077         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22078         expm1.
22079         * math/auto-libm-test-out: Regenerated.
22080         * sysdeps/i386/fpu/libm-test-ulps: Update.
22081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22083         * math/auto-libm-test-in: Add more tests of erf and erfc.
22084         * math/auto-libm-test-out: Regenerated.
22085         * sysdeps/i386/fpu/libm-test-ulps: Update.
22086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22088 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22090         * config.h.in (HAVE_AARCH64_BE): Add.
22092 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22094         * math/auto-libm-test-in: Add more tests of csqrt.
22095         * math/auto-libm-test-out: Regenerated.
22096         * sysdeps/i386/fpu/libm-test-ulps: Update.
22097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22099         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22100         * math/auto-libm-test-out: Regenerated.
22101         * sysdeps/i386/fpu/libm-test-ulps: Update.
22102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22104         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22106 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22108         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22109         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22111         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22112         (euidaccess, eaccess): Define as weak aliases.
22114         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22115         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22116         but __suseconds_t is often 'long int' so some sources assume that
22117         type is being used (e.g. they use %ld to print tv_usec).
22119 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22121         [BZ #18007]
22122         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22123         (CVE-2014-8121)
22124         * nss/tst-nss-getpwent.c: New file.
22125         * nss/Makefile (tests): Add new test.
22127 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22129         [BZ #18346]
22130         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22131         exponents less than 48 as cases where high part of mantissa needs
22132         examining to determine whether argument is integral.
22133         * math/libm-test.inc (round_test_data): Add more tests.
22135 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22137         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22139 2015-04-27  David S. Miller  <davem@davemloft.net>
22141         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22142         __tls_get_addr.
22143         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22145 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22147         [BZ#18333]
22148         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22150 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22152         [BZ#18333]
22153         * time/tzset.c (parse_tzname): Return error on memory allocation
22154         failure.
22155         * test-skeleton.c (struct temp_name_list): Change type of name
22156         member to non-const.
22157         (add_temp_file): Create a copy of the file name.
22158         (delete_temp_files): Deallocate memory.
22159         (create_temp_file): Add comment.
22161 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22163         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22164         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22166 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22168         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22169         * sysdeps/arm/configure: Regenerated.
22171 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22173         [BZ #17715]
22174         * time/tzfile.c (__tzfile_read): Check for large values of
22175         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22176         * time/tzset.c (__tzstring_len): New function, based on the old
22177         __tzstring function.
22178         (__tzstring): Call __tzstring_len.
22179         (parse_tzname): New helper function extracted from
22180         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22181         the input string.
22182         (parse_offset): New helper function extracted from
22183         __tzset_parse_tz.  Replace switch with fallthrough with
22184         initialization before sscanf.
22185         (parse_rule): Likewise.
22186         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22187         new-style function definition.
22188         * timezone/Makefile (tests): Add tst-tzset.
22189         (tst-tzset.out): Dependencies on time zone files.
22190         (tst-tzset-ENV): Set TZDIR.
22191         (testdata/XT%): Copy crafted time zone files.
22192         * timezone/README: Mention crafted time zone files.
22193         * timezone/testdata/XT1, timezone/testdata/XT2,
22194         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22195         files.
22196         * timezone/tst-tzset.c: New test.
22198 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22200         * Makeconfig (+gccwarn): Remove -Winline.
22202 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22204         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22206 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22208         * NEWS: Mention sysconf() cache information support for s390.
22209         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22211 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22213         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22214         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22215         (__nearbyint): Likewise.
22216         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22217         (copysignl): Likewise.
22219 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22221         [BZ #18287]
22222         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22223         based on padding.  (CVE-2015-1781)
22225 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22227         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22228         libc-vdso.h.
22229         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22230         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22231         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22232         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22233         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22234         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22235         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22236         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22237         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22238         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22239         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22240         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22241         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22242         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22243         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22244         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22245         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22246         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22247         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22248         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22249         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22250         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22251         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22253 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22255         * stdlib/setenv.c (__add_to_environ):
22256         Dump core quickly if setenv (..., NULL, ...) is called.
22257         This time, do it the right way, and pacify GCC with a pragma.
22259 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22261         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22262         IMAP->l_prev cannot be null, and #if out the code for the contrary
22263         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22264         believe that NS (&_dl_ns[NSID]) could point outside the array.
22266         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22267         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22268         before using NSID as an index.
22270 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22272         [BZ #17825]
22273         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22274         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22275         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22277 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22279         Add preliminary port to Google Native Client on ARM.
22280         * abi-tags (.*-.*-nacl.*): New entry.
22281         * sysdeps/arm/nacl: New directory.
22282         * sysdeps/nacl: New directory.
22284 2015-04-16  David S. Miller  <davem@davemloft.net>
22286         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22287         lowlevellock-futex.h
22289 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22291         * sysdeps/tile/configure.ac: New file.
22292         * sysdeps/tile/configure: Regenerated.
22294 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22296         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22297         conditionals for weak_alias and libc_hidden_weak.
22298         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22299         libc_hidden_weak and weak_alias.
22300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22301         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22302         and weak_alias for static one.
22304 2015-04-15  David S. Miller  <davem@davemloft.net>
22306         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22308 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22310         [BZ #18206]
22311         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22312           Use signed comparision instead of substraction to avoid
22313           overflow bug.
22314         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22315           Take the sign of ret.
22316         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22317           Do not expect precise return values. Only the sign matters.
22318         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22319         * wcsmbs/test-wcsncmp.c: New File.
22320         * string/test-strncmp.c: Add wcsncmp support.
22322 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22324         [BZ #6792]
22325         * math/w_log1p.c: New file.
22326         * math/w_log1pf.c: Likewise.
22327         * math/w_log1pl.c: Likewise.
22328         * math/Makefile (libm-calls): Add w_log1p.
22329         * math/s_log1pl.c (log1pl): Remove weak_alias.
22330         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22331         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22332         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22333         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22334         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22335         [NO_LONG_DOUBLE] (log1pl): Likewise.
22336         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22337         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22338         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22339         (log1p): Remove long_double_symbol.
22340         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22341         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22342         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22343         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22344         remove weak_alias for corresponding log1p function.
22345         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22346         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22347         * sysdeps/ia64/fpu/w_log1p.c: New file.
22348         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22349         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22350         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22352 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22354         [BZ #18247]
22355         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22356         decimal exponent by 1.
22357         * stdlib/tst-strtod-round-data: Add more tests.
22358         * stdlib/tst-strtod-round.c (tests): Regenerated.
22360 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22362         * math/auto-libm-test-in: Add more tests of clog and clog10.
22363         * math/auto-libm-test-out: Regenerated.
22364         * sysdeps/i386/fpu/libm-test-ulps: Update.
22365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22367 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22369         * Makeconfig (module-cppflags): Exclude all .v.i files.
22370         (skip-module-cppflags): Variable removed.
22372         * configure.ac (libc_config_ok): Initialize before reading
22373         preconfigure scripts, not after.
22374         * configure: Regenerated.
22376         * test-skeleton.c (TIMEOUT): Move #define to top level.
22377         (main): Grok environment variable TEST_DIRECT.  If set, print
22378         test expectation details into that file and then behave as if
22379         given --direct.
22381 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22383         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22384         warning on 32-bit.
22386 2015-04-08  David S. Miller  <davem@davemloft.net>
22388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22390 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22392         * math/auto-libm-test-in: Add more tests of atanh.
22393         * math/auto-libm-test-out: Regenerated.
22394         * sysdeps/i386/fpu/libm-test-ulps: Update.
22395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22397         * math/auto-libm-test-in: Add more tests of atan.
22398         * math/auto-libm-test-out: Regenerated.
22399         * sysdeps/i386/fpu/libm-test-ulps: Update.
22400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22402 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22404         * elf/pldd.c (main): Rewrite to use struct
22405         scratch_buffer instead of extend_alloca.
22406         * elf/pldd-xx.c (find_maps): Likewise.
22407         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22408         <alloca.h>.
22409         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22410         scratch_buffer instead of extend_alloca.
22411         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22412         grp/compat-initgroups.c.
22413         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22414         Rewrite to use struct scratch_buffer instead of extend_alloca.
22415         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22416         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22418 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22420         * math/auto-libm-test-in: Add more tests of cbrt.
22421         * math/auto-libm-test-out: Regenerated.
22422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22424         * math/auto-libm-test-in: Add more tests of cabs.
22425         * math/auto-libm-test-out: Regenerated.
22426         * sysdeps/i386/fpu/libm-test-ulps: Update.
22427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22429         [BZ #18210]
22430         [BZ #18211]
22431         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22432         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22433         computations.
22434         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22435         clog10.
22436         * math/auto-libm-test-out: Regenerated.
22437         * sysdeps/i386/fpu/libm-test-ulps: Update.
22438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22440         [BZ #18197]
22441         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22442         (atan): Set FE_TONEAREST mode for internal computations.
22443         * math/auto-libm-test-in: Add more tests of atan.
22444         * math/auto-libm-test-out: Regenerated.
22446 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22448         [BZ #17930]
22449         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22451 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22453         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22455 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22457         * include/scratch_buffer.h: New file.
22458         * malloc/scratch_buffer_grow.c: Likewise.
22459         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22460         * malloc/scratch_buffer_set_array_size.c: Likewise.
22461         * malloc/tst-scratch_buffer.c: Likewise.
22462         * malloc/Makefile (routines): Add scratch_buffer_grow.
22463         (tests): Add test case.
22464         * malloc/Versions (GLIBC_PRIVATE): Export
22465         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22466         __libc_scratch_buffer_set_array_size.
22468 2015-04-06  Richard Henderson  <rth@redhat.com>
22470         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22471         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22473         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22474         unsigned int before printing.
22476 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22478         [BZ #17596]
22479         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22480         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22482 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22484         * include/libc-internal.h (libc_max_align_t): Define.
22486 2015-04-02  Andreas Schwab  <schwab@suse.de>
22488         [BZ #16850]
22489         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22491 2015-04-02  Mel Gorman  <mgorman@suse.de>
22493         [BZ #17195]
22494         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22495         as well as the main arena.
22497 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22499         [BZ #18185]
22500         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22501         sharing L2 cache to 2 for Silvermont/Knights Landing.
22503 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22505         [BZ #17711]
22506         * config.make.in (have-protected-data): New.
22507         * configure.ac: Check linker support for protected data symbol.
22508         * configure: Regenerated.
22509         * elf/Makefile (modules-names): Add tst-protected1moda and
22510         tst-protected1modb if $(have-protected-data) is yes.
22511         (tests): Add tst-protected1a and tst-protected1b if
22512         $(have-protected-data) is yes.
22513         ($(objpfx)tst-protected1a): New.
22514         ($(objpfx)tst-protected1b): Likewise.
22515         (tst-protected1modb.so-no-z-defs): Likewise.
22516         * elf/tst-protected1a.c: New file.
22517         * elf/tst-protected1b.c: Likewise.
22518         * elf/tst-protected1mod.h: Likewise.
22519         * elf/tst-protected1moda.c: Likewise.
22520         * elf/tst-protected1modb.c: Likewise.
22522 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22524         [BZ #17711]
22525         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22526         indicates it is called from do_lookup_x on relocation against
22527         protected data, skip the data definion in the executable from
22528         copy reloc.
22529         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22530         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22531         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22532         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22533         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22534         otherwise to 0.
22535         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22536         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22537         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22538         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22539         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22540         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22542 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22544         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22545         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22547 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22549         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22550         THREAD_SETMEM_NC.
22551         * sysdeps/x86_64/nptl/tls.h: Ditto.
22553 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22555         * dlfcn/tststatic.c (main): Converted to ...
22556         (do_test): ... this.
22557         (TEST_FUNCTION): New macro.
22558         Include test-skeleton.c.
22560 2015-03-26  Alan Modra  <amodra@gmail.com>
22562         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22563         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22564         zero for undefined weak.
22565         (elf_machine_plt_conflict): Similarly.
22567 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22569         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22570         atanh.
22571         * math/auto-libm-test-out: Regenerated.
22572         * sysdeps/i386/fpu/libm-test-ulps: Update.
22573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22575         * math/auto-libm-test-in: Add another test of asin.
22576         * math/auto-libm-test-out: Regenerated.
22577         * sysdeps/i386/fpu/libm-test-ulps: Update.
22578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22580         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22581         Remove macro.
22582         (LLL_EBX_REG): Likewise.
22583         (LLL_ENTER_KERNEL): Likewise.
22585         * math/auto-libm-test-in: Add more tests of asin.
22586         * math/auto-libm-test-out: Regenerated.
22587         * sysdeps/i386/fpu/libm-test-ulps: Update.
22588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22590         [BZ #18138]
22591         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22592         libc_do_syscall_args): New structure.
22593         (INTERNAL_SYSCALL_MAIN_0): New macro.
22594         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22595         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22596         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22597         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22598         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22599         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22600         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22601         Replace conditional definitions by conditional definitions of ....
22602         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22603         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22604         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22605         (libpthread-sysdep_routines): Add libc-do-syscall.
22606         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22607         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22608         to __NR_futex not 240.
22610 2015-03-25  Alan Modra  <amodra@gmail.com>
22612         * NEWS: Advertise TLS optimization.
22613         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22614         (DT_PPC_NUM): Increment.
22615         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22616         (CHECK_STATIC_TLS): Use here.
22617         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22618         TLS descriptors.
22619         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22620         * sysdeps/powerpc/dl-tls.c: New file.
22621         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22622         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22623         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22624         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22629 2015-03-25  Alan Modra  <amodra@gmail.com>
22631         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22632         for overlapping .opd entries" to "support...".
22633         * sysdeps/powerpc/powerpc64/configure: Regenerate
22635 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22637         * math/auto-libm-test-in: Add more tests of acos.
22638         * math/auto-libm-test-out: Regenerated.
22639         * sysdeps/i386/fpu/libm-test-ulps: Update.
22640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22642         * math/auto-libm-test-in: Add more tests of expm1.
22643         * math/auto-libm-test-out: Regenerated.
22644         * sysdeps/i386/fpu/libm-test-ulps: Update.
22645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22647 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22649         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22650         * math/auto-libm-test-out: Regenerated.
22651         * sysdeps/i386/fpu/libm-test-ulps: Update.
22652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22654         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22657         * math/auto-libm-test-in: Add more tests of log2.
22658         * math/auto-libm-test-out: Regenerated.
22659         * sysdeps/i386/fpu/libm-test-ulps: Update.
22660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22662 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22664         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22665         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22666         _IO_IS_APPENDING bit in READ_WRITE instead.
22668 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22670         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22671         (__determine_cpumask_size): Replace extend_alloca with a
22672         variable-length array.  Do not treat res == 0 as an error.
22674 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22676         [BZ #18100]
22677         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22678         and integer overflow.
22679         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22680         (main): Add integer overflow tests.
22681         * manual/pattern.texi (Calling Wordexp): Document additional use
22682         for WRDE_SYNTAX.
22684 2015-03-23  Alan Modra  <amodra@gmail.com>
22686         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22687         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22688         and false branch of conditional.
22689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22690         Likewise.
22692 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22694         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22695         libc-modules.h
22696         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22697         unused declaration of _hurd_intr_rpc_msg_in_trap.
22698         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22699         defined instead of whether it is non-zero.
22700         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22701         input constraint instead of both input and output constraint.  Use ecx
22702         clobber instead of %ecx.
22703         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22704         mutex_unlock): Use a statement expression instead of an expression list.
22705         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22706         type to vm_size_t instead of vm_address_t.
22707         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22708         defined instead of whether it is non-zero.
22709         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22710         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22711         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22712         comparisons with mapaddr.
22713         * nscd/nscd-client.h: Include <time.h>.
22714         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22715         9th parameter to __vm_region instead of int.
22716         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22717         * scripts/check-local-headers.sh (exclude): Add device/,
22718         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22719         cthreads.h.
22721 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22723         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22724         to account for alignment padding.
22725         * sysdeps/arm/memmove.S: Likewise.
22727 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22729         * sysdeps/unix/sysv/linux/generic/README: New file.
22731 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22733         [BZ #18138]
22734         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22735         (futex_abstimed_wait)
22736         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22737         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22738         of lll_futex_timed_wait.
22740 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22742         [BZ #17542]
22743         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22745 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22747         [BZ #17090]
22748         [BZ #17620]
22749         [BZ #17621]
22750         [BZ #17628]
22751         * NEWS: Update.
22752         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22753         entries with Static TLS too.  Skip entries past the end of the
22754         allocated DTV, from Alan Modra.
22755         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22756         Static TLS DTV entry set up from...
22757         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22758         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22759         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22760         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22761         for Static TLS.
22762         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22763         that the slot we find is associated with the given map before
22764         using its generation count.
22765         * nptl_db/db_info.c: Include ldsodefs.h.
22766         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22767         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22768         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22769         (link_map::l_tls_offset): New struct field.
22770         (dtv_t::counter): Likewise.
22771         (rtld_global): New struct.
22772         (_rtld_global): New rtld variable.
22773         (dl_tls_dtv_slotinfo_list): New rtld global field.
22774         (dtv_slotinfo_list): New struct.
22775         (dtv_slotinfo): Likewise.
22776         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22777         (td_lookup): Rename to...
22778         (td_mod_lookup): ... this.  Use new mod parameter instead of
22779         LIBPTHREAD_SO.
22780         * nptl_db/td_thr_tlsbase.c: Include link.h.
22781         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22782         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22783         addresses even if the DTV is out of date or missing them.
22784         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22785         index zero-length arrays.
22786         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22787         (td_lookup): Make it a macro implemented in terms of...
22788         (td_mod_lookup): ... this declaration.
22789         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22790         (DB_MAIN_VARIABLE): Likewise.
22792 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22794         [BZ #18134]
22795         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22797 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22799         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22801 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22803         [BZ #18128]
22804         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22805         (atomic_add, atomic_increment_and_test)
22806         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22808 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22810         * stdlib/setenv.c (__add_to_environ):
22811         Dump core quickly if setenv (..., NULL, ...) is called.
22813 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22815         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22816         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22817         all the necessary asm magic in one place.
22818         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22819         using those.
22821 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22823         [BZ #14906]
22824         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22825         traced file mtime. Use consistent log message.
22826         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22827         (register_traced_file): Call install_watches. Always set mtime.
22828         (invalidate_cache): Iterate over all trace files. Call install_watches.
22829         (inotify_check_files): Don't inline. Handle watching parent
22830         directories and configuration file movement in and out.
22831         (handle_inotify_events): New function.
22832         (main_loop_poll): Call handle_inotify_events.
22833         (main_loop_epoll): Likewise.
22834         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22835         (struct traced_file): Use array of inotify fds. Add parent directory,
22836         and basename.
22837         (struct database_dyn): Remove unused file_mtime.
22838         (init_traced_file): New inline function.
22839         (define_traced_file): New macro.
22840         * nss/nss_db/db-init.c: Use define_traced_file.
22841         (_nss_db_init): Use init_traced_file.
22842         * nss/nss_files/files-init.c: Use define_traced_file.
22843         (_nss_files_init): Use init_traced_file.
22845 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22847         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22848         [_LIBC]: Do not include <stdlib.h>.
22849         [!_LIBC] (abort): Remove declaration.
22850         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22851         _FP_STATIC_ASSERT instead of conditionally calling abort.
22852         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22853         (_FP_EXTEND_CNAN): Likewise.
22854         (FP_TRUNC): Likewise.
22855         (__FP_CLZ): Likewise.
22856         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22858 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22860         * manual/string.texi (XPG basename): Fix prototype.
22862 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22864         [BZ #18080]
22865         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22866         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22867         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22868         (__setcontext): Likewise.
22869         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22870         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22871         Call rt_sigprocmask syscall one time to set new signal mask
22872         and retrieve the current signal mask instead of two calls.
22873         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22874         (__swapcontext): Likewise.
22875         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22876         * stdlib/tst-setcontext2.c: New file.
22878 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22880         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22882 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22884         [BZ #18093]
22885         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22886         the wrong size.
22888 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22890         [BZ #18043]
22891         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22893 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22895         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22896         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22897         Remove define.
22898         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22899         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22900         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22901         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22902         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22903         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22904         define.
22905         * nptl_db/td_symbol_list.c (td_lookup): Remove
22906         HAVE_ASM_GLOBAL_DOT_NAME code.
22907         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22908         HAVE_ASM_GLOBAL_DOT_NAME check.
22909         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22910         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22911         (DOT_LABEL): Remove define.
22912         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22913         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22914         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22915         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22916         (__TLS_GET_ADDR): Likewise.
22917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22918         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22920 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22922         [BZ #18111]
22923         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22924         (_FPU_SETCW): Initialize cw from fpsr before storing.
22925         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22926         (fesetexceptflag): Rewrite using fpu_control.h.
22927         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22929 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22931         [BZ #18110]
22932         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22933         asms.
22934         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22936 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22938         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22939         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22940         abort.
22941         (_FP_FMA): Likewise.
22942         (_FP_DIV): Likewise.
22944 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22946         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22947         with 0 in that case.
22948         * Makefile (summarize-tests): New canned sequence, factored out of
22949         commands for targets tests and xtests.  Display summary lines that
22950         don't start with PASS: or XFAIL: rather than ones that do start with
22951         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22952         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22953         do start with ERROR: or FAIL:.
22954         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22955         (except for [$(build-shared) = yes]).
22956         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22957         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22958         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22959         * nptl/Makefile: Revert 2015-03-04 changes.
22960         [$(CXX) empty] (tests-unsupported): New variable.
22961         * debug/Makefile: Likewise.
22963         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22964         gnulib file.  Replace __attribute with __attribute__ throughout.
22966 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22968         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22970 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22972         [BZ #18104]
22973         * math/auto-libm-test-in: Add another test of pow.
22974         * math/auto-libm-test-out: Regenerated.
22976 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22978         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22979         $(config-cflags-nofma).
22981 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22983         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22984         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22985         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22986         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22987         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22988         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22989         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22990         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22991         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22992         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22993         Add comment on closing #endif.
22995 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22997         * posix/wordexp.c (CHAR_IN_SET): New macro.
22998         (parse_param): Use it.
23000 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23002         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23004 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23006         [BZ #18043]
23007         * posix/wordexp.c (parse_param): Fix buffer overflow.
23008         * posix/wordexp-test.c (test_case): Add test case.
23010 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23012         [BZ #18042]
23013         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23014         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23016 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23018         [BZ #18043]
23019         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23020         (do_bz18043): Delete.
23021         (at_page_end): New.
23022         (testit): Refactor to have words at the edge of unreadable page.
23024 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23026         [BZ #16734]
23027         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23028         Cleanup read-only streams as well.
23029         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23031 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23033         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23034         <bits/libc-lockP.h>
23036 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23038         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23039         on [__KERNEL__].
23040         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23041         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23042         * soft-fp/op-common.h (_FP_DECL): Likewise.
23044 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23046         * elf/ifuncdep2.c (global): Replace
23047         __attribute__((visibility("protected"))) with
23048         asm (".protected global").
23049         * elf/ifuncmod1.c (global): Likewise.
23050         * elf/ifuncmod5.c (global): Likewise.
23052 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23054         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23055         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23057 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23059         * manual/install.texi (Configuring and compiling):
23060         Document test-wrapper-env-only.
23061         * INSTALL: Regenerated.
23063 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23065         [BZ #18043]
23066         * posix/wordexp.c (parse_param): Fix buffer overflow.
23067         * posix/wordexp-test.c (do_bz18043): Add test case.
23069 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23071         * time/tst-strptime2.c (do_test): Ensure failing tests are
23072         reported correctly.
23073         * time/tst-strptime3.c (do_test): Likewise.
23075 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23077         Fix aio_error thread-safety.
23078         * sysdeps/pthread/aio_error.c: New file
23079         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23080         synchronization.
23082 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23084         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23085         (group_number, vfprintf): Use it.
23086         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23087         (JUMP, REF): Use it.
23088         (WORK_BUFFER_SIZE): New enum constant.
23089         (process_arg, vfprintf): Use it.
23091 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23093         * manual/errno.texi (Error Messages): Complete example function
23094         by adding missing #define.
23095         (program_invocation_name): Add statement indicating GNU
23096         extension and reference which header file declares the variable.
23097         (program_invocation_short_name): Likewise.
23099 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23101         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23102         compatibility note.
23104 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23106         * Makeconfig (test-wrapper-env-only): New variable.
23107         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23108         then use that with $(test-wrapper-env-only) rather than using
23109         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23111 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23113         [BZ #18082]
23114         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23115         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23116         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23117         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23118         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23119         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23120         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23121         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23122         Likewise.
23123         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23124         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23125         Likewise.
23126         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23127         Likewise.
23128         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23129         Likewise.
23130         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23131         Likewise.
23132         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23134         Likewise.
23135         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23136         Likewise.
23137         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23138         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23140 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23142         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23143         (ETH_ALEN): New macro.
23144         (struct ether_addr): Use it for length of ether_addr_octet.
23146         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23147         (setdb): Don't call __nss_configure_lookup for "rpc".
23148         (do_test): Don't call test_rpc.
23149         (output_rpcent, test_rpc): Functions moved ...
23150         * sunrpc/test-rpcent.c: ... to this new file.
23151         * sunrpc/Makefile (tests): Add it.
23153         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23154         __xpg_sigpause.
23155         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23156         * nptl/tst-signal6.c: Likewise.
23157         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23158         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23160         * configure.ac (libc_cv_cxx_link_ok): New check.
23161         Reset CXX to empty if it fails to link.
23162         * configure: Regenerated.
23163         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23164         bug-atexit3-lib only if $(CXX) is nonempty.
23165         * nptl/Makefile (tests): Likewise for tst-cancel24.
23166         (tests, tests-static): Likewise for tst-cancel24-static.
23167         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23168         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23169         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23170         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23172 2015-03-04  Andreas Schwab  <schwab@suse.de>
23174         [BZ #17631]
23175         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23176         for non-GCC compilers.
23177         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23178         Likewise.
23180 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23182         [BZ #17776]
23183         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23184         integer before bitwise and assembly operations.
23185         (feclearexcept): Likewise.
23186         * math/test-fenvinline.c: New file.
23187         * math/Makefile: Add test-fenvinline test.
23189 2015-03-03  Alan Modra  <amodra@gmail.com>
23191         [BZ #16512]
23192         * scripts/localplt.awk: Strip off symbol version.
23193         * NEWS: Mention bug fix.
23195 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23197         * sysdeps/pthread/timer_routines.c
23198         (timer_free_list, thread_free_list, thread_active_list): Make static.
23200 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23202         [BZ #17779]
23203         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23204         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23205         Undefine.
23206         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23207         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23208         Likewise.
23209         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23210         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23211         Likewise.
23213 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23215         [BZ #18036]
23216         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23217         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23219 2015-03-02  Andreas Schwab  <schwab@suse.de>
23221         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23222         variable name.
23224 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23226         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23227         Return error status.
23229 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23231         [BZ #15969]
23232         * locale/findlocale.c (_nl_find_locale): Introduce const
23233         version of loc_name and drop unsafe type casts.
23235 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23237         * dlfcn/tststatic2.c (main): Converted to ...
23238         (do_test): ... this.
23239         (TEST_FUNCTION): New macro.
23240         Include test-skeleton.c.
23242 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23244         [BZ #17711]
23245         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23246         (tests-pie): Add vismain.
23247         (CFLAGS-vismain.c): New.
23248         * elf/vismain.c: Add comments for PIE requirement.
23250 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23252         [BZ #18046]
23253         [BZ #18047]
23254         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23255         0x1p-56L as threshold for just returning the argument.
23256         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23257         0x1p-32L as threshold for just returning the argument.
23258         * math/auto-libm-test-in: Add more tests of atanh.
23259         * math/auto-libm-test-out: Regenerated.
23260         * sysdeps/i386/fpu/libm-test-ulps: Update.
23261         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23263 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23265         * string/bcopy.c (bcopy): Call memmove for performance.
23267 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23269         * string/bzero.c (__bzero): Call memset for performance.
23271 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23273         [BZ #18068]
23274         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23275         to 00100000.
23277 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23279         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23281 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23283         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23284         (__kernel_standard): Use CSTR macro when setting exc.name.
23285         * sysdeps/ieee754/Makefile [$(subdir) = math]
23286         (CFLAGS-k_standard.c): Remove variable.
23288         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23289         setting p and q from "else if" to "else".
23290         (qzero): Likewise.
23291         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23292         (qone): Likewise.
23293         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23294         (qzerof): Likewise.
23295         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23296         (qonef): Likewise.
23297         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23298         (qzero): Likewise.
23299         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23300         (qone): Likewise.
23302         [BZ #18038]
23303         [BZ #18039]
23304         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23305         return pi/2 for arguments below 0x1p-113L.
23306         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23307         return pi/2 for arguments below 0x1p-106L.
23308         * math/auto-libm-test-in: Add more tests of acos.
23309         * math/auto-libm-test-out: Regenerated.
23311         [BZ #16351]
23312         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23313         (MO): New macro.
23314         (__ieee754_asin): Force underflow exception for results with small
23315         absolute value.
23316         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23317         (MO): New macro.
23318         (__ieee754_asinf): Force underflow exception for results with
23319         small absolute value.
23320         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23321         (__ieee754_asin): Force underflow exception for results with small
23322         absolute value.
23323         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23324         (__ieee754_asinf): Force underflow exception for results with
23325         small absolute value.
23326         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23327         (__ieee754_asinl): Force underflow exception for results with
23328         small absolute value.
23329         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23330         (__ieee754_asinl): Force underflow exception for results with
23331         small absolute value.
23332         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23333         (__ieee754_asinl): Force underflow exception for results with
23334         small absolute value.
23335         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23336         Include <math.h>.
23337         * math/auto-libm-test-in: Do not mark underflow exceptions as
23338         possibly missing for bug 16351.
23339         * math/auto-libm-test-out: Regenerated.
23341         [BZ #18030]
23342         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23343         of power of 2 down when low part has opposite sign.
23344         * math/libm-test.inc (logb_test_data): Add more tests.
23346 2015-02-26  Andreas Schwab  <schwab@suse.de>
23348         [BZ #18032]
23349         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23350         over collating symbol inside a bracket expression.  Minor cleanup.
23351         * posix/tst-fnmatch3.c (do_test): Add test case.
23353 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23355         [BZ #18029]
23356         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23357         Adjust exponent of power of 2 down when low part has opposite
23358         sign.
23359         * math/libm-test.inc (ilogb_test_data): Add more tests.
23361 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23363         [BZ #15969]
23364         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23365         the previous change.
23367         [BZ #15969]
23368         * locale/findlocale.c (_nl_find_locale): Retry archive search
23369         after alias expansion.
23371 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23373         * iconv/tst-iconv3.c (main): Converted to ...
23374         (do_test): ... this.
23375         (TEST_FUNCTION): New macro.
23376         Include test-skeleton.c.
23378         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23379         (convert): Make function static.
23380         (test_unalign): Likewise.  Add const to argument pointee types.
23381         (main): Replace with static function do_test.
23382         Print "Succeeded." only if RET is zero.
23383         (TEST_FUNCTION): New macro.
23384         Include test-skeleton.c.
23386         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23387         returns a null pointer.
23389 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23391         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23392         to __memcpy_ppc only for static builds.
23394 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23396         [BZ #18020]
23397         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23398         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23399         * math/auto-libm-test-in: Add more tests of asinh.
23400         * math/auto-libm-test-out: Regenerated.
23401         * sysdeps/i386/fpu/libm-test-ulps: Update.
23402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23404 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23406         [BZ #15850]
23407         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23408         and ip6_mtuinfo definitions here.
23409         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23410         in this define too.  Update comment.
23412 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23414         * elf/sprof.c (load_shobj): Tweak error message to match others.
23416 2015-02-24  Kevin Easton  <kevin@guarana.org>
23418         [BZ #16145] (partial fix)
23419         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23420         to reduce lock contention.
23422 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23424         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23425         (struct timex): Update time comment.
23426         (ADJ_SETOFFSET): Define.
23428 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23430         [BZ #18019]
23431         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23432         2**56 not 2**28 as threshold for log (2x) formula.
23433         * math/auto-libm-test-in: Add more tests of acosh.
23434         * math/auto-libm-test-out: Regenerated.
23435         * sysdeps/i386/fpu/libm-test-ulps: Update.
23436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23438 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23440         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23441         parenthesis around the buf assignment.
23442         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23444 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23446         [BZ #16783]
23447         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23448         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23449         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23450         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23451         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23452         * math/libm-test.inc (scalb_test_data): Add more tests.
23454 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23456         [BZ #17916]
23457         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23458         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23460 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23462         [BZ #17523]
23463         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23464         * io/bits/fcntl2.h (open): Use it.
23465         (openat): Likewise.
23466         * io/open.c (__libc_open): Likewise.
23467         * io/open64.c (__libc_open64): Likewise.
23468         * io/open64_2.c (__open64_2): Likewise.
23469         * io/open_2.c (__open_2): Likewise.
23470         * io/openat.c (__openat): Likewise.
23471         * io/openat64.c (__openat64): Likewise.
23472         * io/openat64_2.c (__openat64_2): Likewise.
23473         * io/openat_2.c (__openat_2): Likewise.
23474         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23475         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23476         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23477         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23478         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23479         (__open_nocancel): Likewise.
23480         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23481         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23482         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23484 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23486         [BZ #14841]
23487         * resolv/gethnamaddr.c (getanswer): Skip logging if
23488         RES_USE_DNSSEC is set.
23489         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23491 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23493         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23495 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23497         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23498         201304L, for Unicode 7.
23500 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23502         [BZ #17836]
23503         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23504         shared library.  Add gmon-start.os otherwise.
23505         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23506         $(objpfx)gmon-start.os if builing shared library.
23507         ($(objpfx)g$(static-start-installed-name)): Likewise.
23509 2015-02-23  Andreas Schwab  <schwab@suse.de>
23511         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23513 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23515         [BZ #17269]
23516         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23517         (enlarge_userbuf): Likewise.
23519 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23521         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23522         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23523         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23524         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23526 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23528         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23529         expression inside statement expression.
23531 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23533         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23534         <sysdeps/nptl/lowlevellock.h> and remove macros and
23535         functions that are now defined there.
23536         (SYS_futex): Remove.
23537         (lll_compare_and_swap): Remove.
23538         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23540 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23542         [BZ #17999]
23543         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23544         instead of scandirat.
23545         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23546         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23547         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23548         __scandirat.
23549         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23550         (__scandirat): Declare.  Use libc_hidden_proto.
23551         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23552         Remove variable.
23553         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23555 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23557         [BZ #15319]
23558         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23559         (MO): New macro.
23560         (__ieee754_atan2): For results with small absolute value, force
23561         underflow exception and remove excess range and precision from
23562         return value.
23563         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23564         (MO): New macro.
23565         (__ieee754_atan2f): For results with small absolute value, force
23566         underflow exception and remove excess range and precision from
23567         return value.
23568         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23569         (MO): New macro.
23570         (__atan): For results with small absolute value, force underflow
23571         exception and remove excess range and precision from return value.
23572         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23573         (MO): New macro.
23574         (__atanf): For results with small absolute value, force underflow
23575         exception and remove excess range and precision from return value.
23576         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23577         <math.h>.
23578         (__ieee754_atan2): Force underflow exception for results with
23579         small absolute value.
23580         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23581         <math_private.h>.
23582         (atan): Force underflow exception for results with small absolute
23583         value.
23584         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23585         (__atanf): Force underflow exception for results with small
23586         absolute value.
23587         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23588         <math.h>.
23589         (__atanl): Force underflow exception for results with small
23590         absolute value.
23591         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23592         (__atanl): Force underflow exception for results with small
23593         absolute value.
23594         * sysdeps/x86/fpu/bits/mathinline.h
23595         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23596         (__ieee754_atan2): Only define inline for long double.
23597         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23598         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23599         * math/auto-libm-test-in: Do not mark underflow exceptions as
23600         possibly missing for bug 15319.  Add more tests of atan2.
23601         * math/auto-libm-test-out: Regenerated.
23602         * math/libm-test.inc (casin_test_data): Do not mark underflow
23603         exceptions as possibly missing for bug 15319.
23604         (casinh_test_data): Likewise.
23605         * sysdeps/i386/fpu/libm-test-ulps: Update.
23607 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23609         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23610         * sysdeps/mips/bits/endian.h: Fix comments.
23612 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23614         [BZ #17996]
23615         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23616         (hdestroy_r): Likewise.
23617         (hsearch_r): Likewise.
23618         (__hcreate_r): Declare and use libc_hidden_proto.
23619         (__hdestroy_r): Likewise.
23620         (__hsearch_r): Likewise.
23621         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23622         (hcreate): Call __hcreate_r instead of hcreate_r.
23623         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23624         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23625         as weak alias of __hcreate_r.
23626         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23627         __hdestroy_r.
23628         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23629         __hsearch_r.
23630         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23631         Remove variable.
23632         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23633         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23634         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23635         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23637 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23639         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23640         arena_lock into a single arena_get.
23642 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23644         * dl-reloc.c: Inlucde libc-internal.h.
23645         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23646         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23647         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23648         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23649         (grow_heap): Likewise.
23650         * malloc/malloc.c: Include libc-internal.h.
23651         (do_check_malloc): Call powerof2.
23652         (sysmalloc): Use pagesize. Call ALIGN_UP.
23653         (systrim): Use pagesize.
23654         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23655         (__libc_valloc): Use pagesize.
23656         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23658 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23660         [BZ #17991]
23661         * include/sys/resource.h (__getrlimit64): Declare.  Use
23662         libc_hidden_proto.
23663         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23664         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23665         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23666         getrlimit64.
23667         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23668         __getrlimit64.
23669         [!getrlimit64] (getrlimit64): Define as weak alias of
23670         __getrlimit64.  Use libc_hidden_weak.
23671         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23672         using __getrlimit64 not __new_getrlimit64.
23673         (__GI_getrlimit64): Likewise.
23674         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23675         Likewise.
23676         (__GI_getrlimit64): Likewise.
23677         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23679         (getrlimit): Add __getrlimit64 alias.
23680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23681         Likewise.
23682         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23683         Remove variable.
23684         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23685         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23687 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23689         * libio/fileops.c: Add missing sys/mman.h
23690         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23692 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23694         * manual/math.texi (Errors in Math Functions): Clarify goals
23695         regarding inexact and underflow exceptions.
23697 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23699         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23700         * sysdeps/mips/memset.S: Ditto.
23702 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23704         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23706 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23708         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23709         (__v1longjmp): Remove versioned symbol.
23710         (__v1siglongjmp): Remove alias and versioned symbol.
23711         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23712         (__v2siglongjmp): Likewise.
23714 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23716         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23718 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23720         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23722 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23724         [BZ #17987]
23725         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23726         zero result does not depend on the sign resulting from
23727         subtraction.
23728         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23729         Likewise.
23730         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23731         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23732         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23733         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23734         * math/libm-test.inc (remquo_test_data): Add more tests.
23736 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23738         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23739         Problem reported by J William Piggott.
23741 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23743         [BZ #17978]
23744         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23745         products 4 * y and 2 * y where those would overflow.
23746         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23747         Likewise.
23748         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23749         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23750         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23751         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23752         * math/libm-test.inc (remquo_test_data): Add more tests.
23754         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23756         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23757         [defined _COMPILING_NEWLIB].
23758         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23759         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23761         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23762         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23764 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23766         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23767         acquired.
23769 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23771         [BZ #17792]
23772         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23773         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23774         HOST_STACK_END_ADDR): Likewise.
23776 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23778         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23779         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23780         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23782 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23784         * sysdeps/generic/c++-types.data: New file.
23785         * sysdeps/generic/ld.abilist: New file.
23786         * sysdeps/generic/libBrokenLocale.abilist: New file.
23787         * sysdeps/generic/libanl.abilist: New file.
23788         * sysdeps/generic/libc.abilist: New file.
23789         * sysdeps/generic/libcrypt.abilist: New file.
23790         * sysdeps/generic/libdl.abilist: New file.
23791         * sysdeps/generic/libm.abilist: New file.
23792         * sysdeps/generic/libpthread.abilist: New file.
23793         * sysdeps/generic/libresolv.abilist: New file.
23794         * sysdeps/generic/librt.abilist: New file.
23796 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23798         [BZ #17569]
23799         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23800         Compute absolute value of x as modified by fmod, not original
23801         value of x.
23802         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23803         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23804         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23805         RUN_TEST_ffI_f1_mod8.
23806         (remquo_test_data): Add more tests.
23808 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23810         * sysdeps/init_array/pt-crti.S: New file.
23812 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23814         [BZ #17967]
23815         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23816         __builtin_fmaf instead of relying on contraction of a * b + c.
23818 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23820         [BZ #17969]
23821         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23822         node.
23824 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23826         [BZ #17964]
23827         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23828         __builtin_fma instead of relying on contraction of a * b + c.
23830 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23832         * Makeconfig (ASFLAGS): Add -Werror=undef.
23833         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23834         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23835         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23837         * Makeconfig (after-link): New variable.
23838         (+link-pie, +link-pie-tests): Use it.
23839         (+link-static, +link-static-tests): Likewise.
23840         (+link, +link-tests): Likewise.
23841         * Makerules (build-module, build-module-asneeded): Likewise.
23842         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23843         Likewise.
23844         * elf/Makefile ($(objpfx)ld.so): Likewise.
23846 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23848         [BZ #17965]
23849         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23850         both struct timeval and struct timespec.
23852 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23854         [BZ #16560]
23855         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23856         and redefine.
23857         (__ieee754_exp2l): Do not multiply small fractional parts by
23858         M_LN2l.
23859         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23860         small argument.
23861         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23862         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23863         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23864         * math/auto-libm-test-in: Add more tests of exp2.
23865         * math/auto-libm-test-out: Regenerated.
23867 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23869         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23870         unaligned path.
23872 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23874         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23875         little endian.
23877 2015-02-12  Andreas Schwab  <schwab@suse.de>
23879         [BZ #15790]
23880         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23881         Filter out elision flags from value returned in kind.
23882         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23883         * nptl/tst-pthread-mutexattr.c: New file.
23885 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23887         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23888         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23889         into gnu-gnu, and update comment to refer to abi-tags.
23891 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23893         [BZ #15467]
23894         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23895         (__sincos): Set errno to EDOM for infinite argument.
23896         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23897         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23898         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23899         (__sincosl): Set errno to EDOM for infinite argument.
23900         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23901         (__sincosl): Set errno to EDOM for infinite argument.
23902         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23903         (__sincosl): Set errno to EDOM for infinite argument.
23904         * math/libm-test.inc (sincos_test_data): Test errno setting.
23906 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23908         * string/strxfrm_l.c: Remove #define STRCMP.
23909         * string/strcoll_l.c: Remove #define STRLEN.
23910         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23911         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23913 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23915         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23916         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23917         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23918         * sysdeps/mips/mips64/Makefile: ... here.
23919         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23920         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23921         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23922         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23923         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23924         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23925         * sysdeps/mips/mips64/n64/Implies: Likewise.
23927 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23929         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23930         <sys/time.h>, <string.h>, and <errno.h>.
23931         (dest_offset, dest_address, value, zero): Remove unused variables.
23932         (ldouble): Remove typedef.
23933         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23934         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23935         1).  Fix code style.
23936         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23937         (check): Function removed.
23938         (CHECK): New macro.
23939         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23940         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23941         Don't call set_sigaction_FP and remove_sigaction_FP here.
23942         (ldouble_test): Just use 'long double' as macro argument, no need for
23943         the 'ldouble' typedef.
23944         (do_test): Set up SIGFPE handler at start, using plain signal rather
23945         than sigaction.  Fix code style.
23947 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23949         [BZ #17949]
23950         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23951         jump label.
23953 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23955         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23956         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23958         * sysdeps/powerpc/configure.ac: Remove file.
23959         * sysdeps/powerpc/configure: Likewise.
23961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23962         [sysdep_routines]: Remove wordcopy-power6 object.
23963         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23964         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23965         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23966         (__memmove_ppc32): Likewise.
23967         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23968         file.
23969         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23970         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23971         Remove preprocessor.
23973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23974         [sysdep_routines]: Remove wide chars objects.
23975         [wcsmbs]: New rule for wide char objects.
23977         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23978         Remove wordcopy-power6 obejct.
23979         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23980         Use local call for wordcopy and memcpy symbols.
23981         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23982         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23983         implementation for loader.
23984         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23986         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23987         Remove wordcopy-power7 object.
23988         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23989         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23990         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23991         (_wordcopy_fwd_dest_aligned): Likewise.
23992         (_wordcopy_bwd_aligned): Likewise.
23993         (_wordcopy_bwd_dest_aligned): Likewise.
23995         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23996         Rewrite to call __memmove_ppc instead of include default
23997         implementation.
23999         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24000         Remove wide chars objects.
24001         [wcsmbs]: New rule for wide char objects.
24003 2015-02-09  Andreas Schwab  <schwab@suse.de>
24005         [BZ #17912]
24006         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24007         in terms of __O_DIRECTORY.
24009 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24011         * time/getdate.c: Include <stdbool.h>.
24012         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24013         call PTR_MANGLE.
24014         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24015         PTR_DEMANGLE.
24017 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24019         Add ersatz _Static_assert on older C hosts
24020         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24021         pre-C11 C platform that is not known to support _Static_assert.
24023 2015-02-07  Richard Braun  <rbraun@sceen.net>
24025         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24026         sigstate.
24027         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24029 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24031         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24032         priority against unexistent AIO_PRIO_DELTA_MAX.
24033         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24034         instead of int.
24035         * misc/fchflags.c (fchflags): Likewise.
24036         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24037         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24038         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24039         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24040         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24041         Declare macros.
24042         [__USE_MISC] (chflags, fchflags): Declare functions.
24043         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24044         EINVAL when nfds is greater than FD_SETSIZE.
24045         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24046         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24047         45.
24048         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24049         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24050         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24051         MACH_RCV_TIMED_OUT.
24052         * hurd/hurd/signal.h (_hurd_self_sigstate,
24053         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24054         Explicit casts from void *.
24055         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24056         * abi-tags: Rename gnu-gnu os into gnu.
24058         [BZ #4719]
24059         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24060         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24061         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24062         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24063         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24064         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24066         [BZ #17944]
24067         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24068         duplicates ADDR->sun_path with sockaddr LEN limitation.
24069         * sysdeps/mach/hurd/connect.c: Include <string.h>
24070         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24071         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24072         * sysdeps/mach/hurd/sendto.c: Likewise.
24073         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24074         implementing it by hand.
24076 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24078         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24079         Use sfi_breg on ldr.
24080         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24081         Likewise.
24083         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24084         it's defined.
24085         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24086         Test SIGSETXID only if it's defined.
24088         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24090         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24091         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24093         * nptl/tst-align2.c: Moved ...
24094         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24095         * nptl/Makefile (tests): Remove tst-align2.
24096         * sysdeps/unix/sysv/linux/Makefile
24097         [$(subdir) = nptl] (tests): Add tst-align-clone.
24098         * nptl/tst-getpid1.c: Moved ...
24099         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24100         * nptl/tst-getpid2.c: Moved ...
24101         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24102         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24103         * sysdeps/unix/sysv/linux/Makefile
24104         [$(subdir) = nptl] (tests): ... here.
24105         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24106         * sysdeps/unix/sysv/linux/Makefile
24107         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24109         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24110         Drop trailing \n from perror argument.  Use return rather than exit.
24112         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24113         on [SA_SIGINFO].
24114         * nptl/tst-cancel21.c (do_test): Likewise.
24115         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24116         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24117         [!SA_SIGINFO]: Make it a stub test.
24119         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24120         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24122         * posix/tst-getlogin.c: Move to ...
24123         * login/tst-getlogin.c: ... here.
24124         * posix/Makefile (tests): Move tst-getlogin to ...
24125         * login/Makefile (tests): ... here.
24127         * libio/tst-atime.c (do_test): Move local variables SV and E
24128         inside [ST_NOATIME] conditional.
24130         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24132         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24134         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24135         (wait_code): New function replaces macro.
24136         Call nanosleep rather than syscall.
24138         * nptl/pt-system.c: Rewritten.  Put everything under
24139         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24140         Use IFUNC to redirect when possible.
24142         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24143         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24144         Use IFUNC to redirect when possible.
24146         * nptl/pt-fork.c: Rewritten.  Put everything under
24147         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24148         Use IFUNC to redirect when possible.
24149         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24151         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24152         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24153         unconditionally nowadays.  This included the only reference to
24154         __vdso_clock_gettime that appears outside libc proper.
24155         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24156         Remove version set (containing only __vdso_clock_gettime).
24157         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24158         Add attribute_hidden.
24159         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24160         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24161         libc_hidden_data_def.
24162         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24163         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24165         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24166         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24167         setrpcent, and getrpcport to ...
24168         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24169         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24170         getrpcbynumber_r, and getrpcent_r to ...
24171         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24172         * inet/getrpcbyname.c: Moved ...
24173         * sunrpc/getrpcbyname.c: ... here.
24174         * inet/getrpcbyname_r.c: Moved ...
24175         * sunrpc/getrpcbyname_r.c: ... here.
24176         * inet/getrpcbynumber.c: Moved ...
24177         * sunrpc/getrpcbynumber.c: ... here.
24178         * inet/getrpcbynumber_r.c: Moved ...
24179         * sunrpc/getrpcbynumber_r.c: ... here.
24180         * inet/getrpcent.c: Moved ...
24181         * sunrpc/getrpcent.c: ... here.
24182         * inet/getrpcent_r.c: Moved ...
24183         * sunrpc/getrpcent_r.c: ... here.
24184         * inet/Makefile (routines): Move those to ...
24185         * sunrpc/Makefile (routines): ... here.
24186         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24187         the $(subdirs) list.
24188         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24189         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24190         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24191         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24193         * elf/Makefile (routines): Include $(all-dl-routines), not just
24194         $(dl-routines).
24195         (rtld-routines): Likewise.  Use = rather than :=.
24196         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24197         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24198         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24199         * sysdeps/arm/Makefile: Likewise.
24200         * sysdeps/i386/Makefile: Likewise.
24201         * sysdeps/x86_64/Makefile: Likewise.
24202         * sysdeps/hppa/Makefile [$(subdir) = elf]
24203         (sysdep_routines, sysdep-rtld-routines): Don't add
24204         $(sysdep-dl-routines) to these.
24205         * sysdeps/ia64/Makefile: Likewise.
24206         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24207         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24208         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24209         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24210         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24211         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24212         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24213         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24214         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24215         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24216         these; sysdep-dl-routines alone is enough.
24218 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24220         [BZ #17932]
24221         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24222         where multiplication results in zero and third argument is finite
24223         and nonzero.
24224         * math/auto-libm-test-in: Add more tests of fma.
24225         * math/auto-libm-test-out: Regenerated.
24227         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24228         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24229         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24230         (_FP_CMP_EQ): Likewise.
24231         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24233         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24234         extra argument CHECK_NAN.  Redefine as wrapper around
24235         _FP_EXTEND_CNAN.
24237 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24239         * version.h (RELEASE): Set to "stable".
24240         (VERSION): Set to "2.21"
24241         * include/features.h (__GLIBC_MINOR__): Set to 21.
24243         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24245 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24246             Paul Eggert  <eggert@cs.ucla.edu>
24248         [BZ #16618]
24249         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24250         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24251         size in bytes. Store needed elements in wpmax. Use needed size
24252         in bytes for extend_alloca.
24254 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24256         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24257         binutls 2.25, and texinfo 5.2.
24258         * INSTALL: Regenerate.
24259         * sysdeps/nios2/configure: Regenerate.
24260         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24261         * manual/contrib.texi: Update.
24262         * po/be.po: Update.
24263         * po/bg.po: Update.
24264         * po/ca.po: Update.
24265         * po/cs.po: Update.
24266         * po/da.po: Update.
24267         * po/de.po: Update.
24268         * po/el.po: Update.
24269         * po/eo.po: Update.
24270         * po/es.po: Update.
24271         * po/fi.po: Update.
24272         * po/fr.po: Update.
24273         * po/gl.po: Update.
24274         * po/hr.po: Update.
24275         * po/hu.po: Update.
24276         * po/ia.po: Update.
24277         * po/id.po: Update.
24278         * po/it.po: Update.
24279         * po/ja.po: Update.
24280         * po/ko.po: Update.
24281         * po/lt.po: Update.
24282         * po/nb.po: Update.
24283         * po/nl.po: Update.
24284         * po/pl.po: Update.
24285         * po/pt_BR.po: Update.
24286         * po/ru.po: Update.
24287         * po/rw.po: Update.
24288         * po/sk.po: Update.
24289         * po/sl.po: Update.
24290         * po/sv.po: Update.
24291         * po/tr.po: Update.
24292         * po/uk.po: Update.
24293         * po/vi.po: Update.
24294         * po/zh_CN.po: Update.
24295         * po/zh_TW.po: Update.
24297         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24298         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24299         * sysdeps/hppa/dl-irel.h: Remove #warning.
24300         * sysdeps/hppa/entry.h: Provide prototype for
24301         __canonicalize_funcptr_for_compare and cast argument.
24302         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24303         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24304         * sysdeps/hppa/sotruss-lib.c: New file.
24305         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24306         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24307         (atomic_compare_and_exchange_bool_acq): Likewise.
24308         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24309         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24311         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24312         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24313         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24315 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24317         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24318         called function in non-PIC case.
24320 2015-01-31  David S. Miller  <davem@davemloft.net>
24322         * sysdeps/sparc/sparc32/bits/atomic.h
24323         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24324         unlock not after it.
24325         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24326         volatile register usage warnings from the compiler.
24328         * sysdeps/sparc/nptl/sem_init.c: Delete.
24329         * sysdeps/sparc/nptl/sem_post.c: Delete.
24330         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24331         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24332         * sysdeps/sparc/sparc32/sem_init.c: New file.
24333         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24334         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24335         padding explicitly initialized.
24336         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24337         padding for in-semaphore spinlock.
24338         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24339         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24340         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24341         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24342         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24343         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24344         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24345         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24346         version.
24347         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24348         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24350 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24352         [BZ #17801]
24353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24354         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24355         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24356         New.
24357         (index_AVX_Fast_Unaligned_Load): Likewise.
24358         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24359         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24360         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24361         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24362         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24363         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24364         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24365         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24366         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24368 2015-01-29  Andreas Schwab  <schwab@suse.de>
24370         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24372 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24374         [BZ #17892]
24375         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24377 2015-01-28  Martin Sebor  <msebor@redhat.com>
24379         * math/README.libm-test: Clarify. Add "How to read the test output."
24381 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24383         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24384         Define to 0.
24386 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24388         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24389         (__HAVE_64B_ATOMICS): Define to 0.
24391 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24393         [BZ #17885]
24394         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24395         value to set as new flag.
24397         [BZ #16576]
24398         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24399         and use _ARCH_PPCSQ instead.
24400         (__ieee754_sqrt): Likewise.
24401         (__ieee754_sqrtf): Likewise.
24402         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24403         _ARCH_PPCSQ is defined.
24404         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24405         fsqrt instruction.
24406         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24407         _ARCH_PPCSQ is defined.
24408         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24409         fsqrts instruction.
24410         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24412 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24414         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24415         bug (GCC BZ #64739).
24417 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24419         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24420         Mark _retval as used.
24421         (lll_futex_wake_unlock): Likewise.
24422         (lll_futex_timed_wait_requeue_pi): Likewise.
24424         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24425         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24426         register variables.
24428         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24429         libm_hidden_def.
24431         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24432         (__bswap_64): Mark as __always_inline.
24434 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24436         [BZ #15378]
24437         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24438         when none of the search directories exist.
24440 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24442         [BZ #17869]
24443         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24444         power8 in .machine directive.
24446         [BZ #17868]
24447         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24448         set dependency from opd value.
24450 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24453         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24454         architecture.
24456 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24458         [BZ #17870]
24459         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24460         with uint64_t.
24461         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24462         (uint64_t) 1.
24463         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24464         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24465         Replace 1UL with (uint64_t) 1.
24466         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24467         int with uint64_t.
24469 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24471         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24472         (if_freenameindex): Likewise.
24474         * resource/getrlimit64.c: Add missing libc_hidden_def.
24476 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24478         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24479         __label__.
24480         (_FP_FMA): Likewise.
24481         (_FP_TO_INT_ROUND): Likewise.
24482         (_FP_FROM_INT): Likewise.
24484 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24486         [BZ #16418]
24487         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24488         Make code racy and cancel safe.
24490 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24492         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24493         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24494         attribution.
24496         * pwd/tst-getpw.c: Rewrite.
24498         [BZ #17702]
24499         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24500         (modules-names): Add moddummy1 and moddummy2.
24501         ($(objpfx)tst-rec-dlopen): Define.
24502         * dlfcn/moddummy1.c: New file.
24503         * dlfcn/moddummy2.c: New file.
24504         * dlfcn/tst-rec-dlopen.c: New file.
24505         * elf/dl-cache.c (_dl_load_cache_lookup):
24506         Return char*. Copy result with alloca/strcpy/strdup.
24507         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24508         returns char*. Free cached. If not saving realname
24509         free cached.
24510         * elf/dl-open.c (dl_open_worker): Do not assert that
24511         _r_debug->r_state is RT_CONSISTENT.
24512         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24513         returns char*.
24515 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24516             Carlos O'Donell  <carlos@redhat.com>
24518         [BZ #12674]
24519         * nptl/sem_waitcommon.c: New file.
24520         * nptl/sem_wait.c: Include sem_waitcommon.c.
24521         (__sem_wait_cleanup, do_futex_wait): Remove.
24522         (__new_sem_wait): Adapt.
24523         (__new_sem_trywait): New function.
24524         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24525         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24526         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24527         (sem_timedwait): Adapt.
24528         * nptl/sem_post.c (__new_sem_post): Adapt.
24529         (futex_wake): New function.
24530         (__old_sem_post): Add release MO fence.
24531         * nptl/sem_open.c (sem_open): Adapt.
24532         * nptl/sem_init.c (__new_sem_init): Adapt.
24533         (futex_private_if_supported): New function.
24534         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24535         (__old_sem_getvalue): Add using previous code.
24536         * sysdeps/nptl/internaltypes.h: Adapt.
24537         * nptl/tst-sem13.c (do_test): Adapt.
24538         * nptl/tst-sem11.c (main): Adapt.
24539         * nptl/sem_trywait.c: Remove.
24540         * nptl/DESIGN-sem.txt: Remove.
24541         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24542         (gen-as-const-headers): Remove structsem.sym.
24543         * nptl/structsem.sym: Remove.
24544         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24545         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24546         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24547         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24548         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24549         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24550         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24551         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24552         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24553         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24554         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24555         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24556         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24557         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24558         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24559         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24560         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24561         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24562         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24563         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24564         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24565         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24567 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24569         * INSTALL: Regenerated.
24571         * po/libc.pot: Regenerated.
24573 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24574             Sandra Loosemore  <sandra@codesourcery.com>
24575             Andrew Jenner  <andrew@codesourcery.com>
24576             Joseph Myers  <joseph@codesourcery.com>
24577             Nathan Sidwell  <nathan@codesourcery.com>
24579         * NEWS: Mention new Nios II port.
24580         * sysdeps/nios2/Implies: New file.
24581         * sysdeps/nios2/Makefile: New file.
24582         * sysdeps/nios2/Subdirs: New file.
24583         * sysdeps/nios2/Versions: New file.
24584         * sysdeps/nios2/__longjmp.S: New file.
24585         * sysdeps/nios2/abort-instr.h: New file.
24586         * sysdeps/nios2/backtrace.c: New file.
24587         * sysdeps/nios2/bits/endian.h: New file.
24588         * sysdeps/nios2/bits/fenv.h: New file.
24589         * sysdeps/nios2/bits/link.h: New file.
24590         * sysdeps/nios2/bits/setjmp.h: New file.
24591         * sysdeps/nios2/bsd-_setjmp.S: New file.
24592         * sysdeps/nios2/bsd-setjmp.S: New file.
24593         * sysdeps/nios2/configure: New generated file.
24594         * sysdeps/nios2/configure.ac: New file.
24595         * sysdeps/nios2/crti.S: New file.
24596         * sysdeps/nios2/crtn.S: New file.
24597         * sysdeps/nios2/dl-init.c: New file.
24598         * sysdeps/nios2/dl-machine.h: New file.
24599         * sysdeps/nios2/dl-sysdep.h: New file.
24600         * sysdeps/nios2/dl-tls.h: New file.
24601         * sysdeps/nios2/dl-trampoline.S: New file.
24602         * sysdeps/nios2/gccframe.h: New file.
24603         * sysdeps/nios2/gmp-mparam.h: New file.
24604         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24605         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24606         * sysdeps/nios2/ldsodefs.h: New file.
24607         * sysdeps/nios2/libc-tls.c: New file.
24608         * sysdeps/nios2/libm-test-ulps: New file.
24609         * sysdeps/nios2/machine-gmon.h: New file.
24610         * sysdeps/nios2/math-tests.h: New file.
24611         * sysdeps/nios2/math_private.h: New file.
24612         * sysdeps/nios2/memusage.h: New file.
24613         * sysdeps/nios2/nptl/Makefile: New file.
24614         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24615         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24616         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24617         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24618         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24619         * sysdeps/nios2/nptl/tls.h: New file.
24620         * sysdeps/nios2/preconfigure: New file.
24621         * sysdeps/nios2/s_fma.c: New file.
24622         * sysdeps/nios2/s_fmaf.c: New file.
24623         * sysdeps/nios2/setjmp.S: New file.
24624         * sysdeps/nios2/sfp-machine.h: New file.
24625         * sysdeps/nios2/sotruss-lib.c: New file.
24626         * sysdeps/nios2/stackguard-macros.h: New file.
24627         * sysdeps/nios2/stackinfo.h: New file.
24628         * sysdeps/nios2/start.S: New file.
24629         * sysdeps/nios2/sysdep.h: New file.
24630         * sysdeps/nios2/tls-macros.h: New file.
24631         * sysdeps/nios2/tst-audit.h: New file.
24632         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24633         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24634         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24635         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24636         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24637         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24638         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24639         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24640         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24641         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24642         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24643         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24644         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24645         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24646         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24647         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24648         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24649         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24650         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24651         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24652         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24653         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24654         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24655         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24656         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24657         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24658         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24659         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24660         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24661         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24662         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24663         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24664         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24665         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24666         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24667         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24668         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24669         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24670         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24671         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24672         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24673         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24674         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24675         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24677 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24679         [BZ #17844]
24680         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24681         (getutent): Use weak_alias in non SHARED case
24682         and default_symbol_version in SHARED case.
24683         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24684         (getutent_r, pututline): Likewise.
24685         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24686         (getutid): Likewise.
24687         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24688         (getutid_r): Likewise.
24689         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24690         (getutline): Likewise.
24691         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24692         (getutline_r): Likewise.
24693         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24694         (updwtmp): Likewise.
24696 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24698         [BZ #17848]
24699         * sysdeps/s390/s390-32/memcmp.S
24700         (memcmp_g5): Rename to __memcmp_g5.
24701         * sysdeps/s390/s390-32/memcpy.S
24702         (memcpy_g5): Rename to __memcpy_g5.
24703         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24704         (memcpy_mvcle) Rename to __memcpy_mvcle.
24705         * sysdeps/s390/s390-32/memset.S
24706         (memset_g5): Rename to __memset_g5.
24707         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24708         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24709         and use prefixed functions.
24710         * sysdeps/s390/s390-32/multiarch/memcmp.S
24711         (memcmp_z196): Rename to __memcmp_z196.
24712         (memcmp_z10): Rename to __memcmp_z10.
24713         (memcmp): Set alias to __memcmp_g5.
24714         (bcmp): Set alias to __memcmp_g5.
24715         * sysdeps/s390/s390-32/multiarch/memcpy.S
24716         (memcpy_z196): Rename to __memcpy_z196.
24717         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24718         (memcpy_z10): Rename to __memcpy_z10.
24719         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24720         (memcpy): Set alias to __memcpy_g5.
24721         * sysdeps/s390/s390-32/multiarch/memset.S
24722         (memset_z196): Rename to __memset_z196.
24723         Jump to __memset_mvcle instead of memset_mvcle.
24724         (memset_z10): Rename to __memset_z10.
24725         Jump to __memset_mvcle instead of memset_mvcle.
24726         (memset_mvcle) Rename to __memset_mvcle.
24727         (memset): Set alias to __memset_g5.
24728         * sysdeps/s390/s390-64/memcmp.S
24729         (memcmp_z900): Rename to __memcmp_z900.
24730         * sysdeps/s390/s390-64/memcpy.S
24731         (memcpy_z900): Rename to __memcpy_z900.
24732         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24733         (memcpy_mvcle) Rename to __memcpy_mvcle.
24734         * sysdeps/s390/s390-64/memset.S
24735         (memset_z900): Rename to __memset_z900.
24736         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24737         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24738         and use prefixed functions.
24739         * sysdeps/s390/s390-64/multiarch/memcmp.S
24740         (memcmp_z196): Rename to __memcmp_z196.
24741         (memcmp_z10): Rename to __memcmp_z10.
24742         (memcmp): Set alias to __memcmp_z900.
24743         (bcmp): Set alias to __memcmp_z900.
24744         * sysdeps/s390/s390-64/multiarch/memcpy.S
24745         (memcpy_z196): Rename to __memcpy_z196.
24746         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24747         (memcpy_z10): Rename to __memcpy_z10.
24748         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24749         (memcpy): Set alias to __memcpy_z900.
24750         * sysdeps/s390/s390-64/multiarch/memset.S
24751         (memset_z196): Rename to __memset_z196.
24752         Jump to __memset_mvcle instead of memset_mvcle.
24753         (memset_z10): Rename to __memset_z10.
24754         Jump to __memset_mvcle instead of memset_mvcle.
24755         (memset_mvcle) Rename to __memset_mvcle.
24756         (memset): Set alias to __memset_z900.
24758 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24760         [BZ #17748]
24761         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24762         __fesetenv instead of fesetenv.
24764 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24766         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24767         macro.
24769 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24771         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24772         regression on LE.
24774         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24775         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24776         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24777         strncmp-power8 object.
24778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24779         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24780         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24781         * NEWS: Update.
24783 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24784             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24786         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24787         trailing byte check.
24789 2015-01-13  David S. Miller  <davem@davemloft.net>
24791         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24793 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24795         * login/logout.c (logout): Use memset rather than bzero.
24796         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24797         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24798         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24799         (_gethtbyaddr): Likewise.
24800         * locale/programs/simple-hash.c (bcopy): Macro removed.
24802 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24804         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24805         Add strcmp-power8 object.
24806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24807         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24808         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24809         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24810         __strcmp_power8 implementation.
24811         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24812         * NEWS: Update.
24814         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24815         Add strncpy-power8 and stpncpy-power8 objects.
24816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24817         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24818         implementations.
24819         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24820         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24821         __stpncpy_power8 implementation.
24822         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24823         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24824         __strncpy_power8 implementation.
24825         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24826         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24827         * NEWS: Update.
24829         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24830         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24831         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24833         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24834         strncat-power8 object.
24835         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24836         __strcat_power8 implementation.
24837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24838         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24839         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24840         optimized strcat for power8.
24842         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24843         strcpy-power8 and stpcpy-power8 objects.
24844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24845         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24846         implementations.
24847         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24848         multiarch stpcpy implementation for POWER8.
24849         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24850         multiarch strcpy implementation for POWER8.
24851         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24852         __strcpy_power8 function.
24853         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24854         stpcpy for POWER8.
24855         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24856         strcpy for POWER8.
24857         * NEWS: Update.
24859 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24861         [BZ #16009]
24862         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24863         weights and rules. Use do_xfrm_cached if data fits in cache,
24864         do_xfrm otherwise.  Moved former main loop to...
24865         * (do_xfrm_cached): New function.
24866         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24867         find_idx, find_position and stack_push.
24868         * (find_idx): New function.
24869         * (find_position): Likewise.
24870         * localedata/sort-test.sh: Added test run for do_xfrm.
24871         * localedata/xfrm-test.c (main): Added command line option
24872         -nocache to run the test with strings that are too large for
24873         the STRXFRM cache.
24875 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24877         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24878         variable to lll_futex_wake call, not the value itself.
24880 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24882         [BZ #17803]
24883         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24884         twom64.  Adjust value to 0x1p-64L.
24885         (__scalblnl): Only return standard underflowing result for K <=
24886         -64 not K <= -63; adjust exponent for underflowing result by 64
24887         not 63.
24888         * math/libm-test.inc (scalbn_test_data): Add more tests.
24889         (scalbln_test_data): Likewise.
24891         [BZ #17834]
24892         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24893         0x1p63L.
24894         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24895         not HX.
24896         * math/libm-test.inc (scalbn_test_data): Add more tests.
24897         (scalbln_test_data): Likewise.
24899 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24900             Stefani Seibold  <stefani@seibold.net>
24902         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24903         (sysdep_routines): Add dl-vdso here, ...
24904         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24905         (sysdep_routines): ... not here.
24906         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24907         fallback when vDSO is not presented.
24908         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24909         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24910         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24911         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24912         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24913         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24914         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24915         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24916         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24917         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24918         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24919         fallback configurable symbol when vDSO is not available.
24920         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24921         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24922         be able to redefine fallback symbol when vDSO is not available.
24923         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24924         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24926 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24928         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24929         (TLS_INIT_TP): Add tm_capable initialization.
24930         (TLS_DEFINE_INIT_TP): Likewise.
24931         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24932         TCB.
24933         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24934         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24935         calculation.
24936         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24937         transactoion is lock elision is built and TCB tm_capable is set.
24938         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24940         (INTERNAL_SYSCALL_NCS): Likewise.
24941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24942         (INTERNAL_SYSCALL_NCS): Likewise.
24943         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24945         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24946         for powerpc.
24947         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24948         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24949         and remove it for 32 bits case.
24950         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24951         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24952         initialization.
24953         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24954         Disable lock elision with rdlocks if elision is not available.
24956         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24957         (sysdep_routines): Add lock elision objects.
24958         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24959         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24960         [pthread_mutex_t] (__elision): Add field.
24961         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24962         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24963         elision definitions for powerpc.
24964         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24965         implementation of lock elision for powerpc.
24966         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24967         implementation of timed lock elision for powerpc.
24968         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24969         implementation of trylock with lock elision for powerpc.
24970         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24971         implementaion of unlock for lock elision for powerpc.
24972         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24973         automatic enable lock elision for mutexes.
24974         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24975         transaction execution definitions for powerpc.
24976         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24977         definitions.
24978         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24979         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24980         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24981         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24982         * NEWS: Update.
24984 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24986         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24987         for #include of <shm-directory.h>.
24989 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24991         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24992         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24994 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24996         [BZ #17791]
24997         * NEWS: Mention bug fix.
24998         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24999         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25000         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25002 2015-01-09  Torvald Riegel <triegel@redhat.com>
25004         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25006 2015-01-09  Torvald Riegel <triegel@redhat.com>
25008         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25010 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25012         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25013         pointer and cast to uintptr_t.
25015 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25017         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25018         removed.
25019         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25021 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25023         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25024         of 0.
25026 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25028         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25029         <nptl/pthreadP.h> instead.
25030         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25032         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25033         already defined.
25034         [__SIGRTMIN] (init): Function removed.
25035         [__SIGRTMIN] (initialized): Variable removed.
25036         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25037         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25038         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25039         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25040         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25041         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25042         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25043         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25044         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25045         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25046         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25047         * sysdeps/nptl/allocrtsig.c: New file.
25048         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25049         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25050         * sysdeps/generic/testrtsig.h: File removed.
25052         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25053         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25055         * nptl/nptl-init.c (pthread_functions): Conditionalize
25056         .ptr__nptl_setxid initialization on [SIGSETXID].
25058         * sysdeps/nptl/sys/procfs.h: New file.
25059         * nptl_db/Makefile (headers): Add it.
25060         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25062         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25063         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25064         * nptl/pthread_attr_setaffinity.c: Include it.
25065         * nptl/pthread_setattr_default_np.c: Likewise.
25066         * nptl/check-cpuset.h: New file.
25068 2015-01-08  Richard Henderson  <rth@redhat.com>
25070         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25071         (CFLAGS-tst-execstack-prog.c): Likewise.
25072         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25074 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25075             Sandra Loosemore  <sandra@codesourcery.com>
25076             Andrew Jenner  <andrew@codesourcery.com>
25077             Joseph Myers  <joseph@codesourcery.com>
25078             Nathan Sidwell  <nathan@codesourcery.com>
25080         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25081         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25082         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25083         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25084         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25085         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25086         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25087         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25088         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25089         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25090         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25091         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25092         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25093         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25094         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25095         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25096         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25098 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25100         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25101         timespec struct member in syscall macro.
25102         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25103         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25104         first timeval struct member in syscall macro.
25105         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25107 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25109         [BZ #17748]
25110         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25111         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25112         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25113         __feupdateenv and define as weak alias of __feupdateenv.  Use
25114         libm_hidden_weak.
25115         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25116         libm_hidden_def.
25117         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25118         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25119         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25120         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25121         libm_hidden_def.
25122         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25123         __feupdateenv and define as weak alias of __feupdateenv.  Use
25124         libm_hidden_weak.
25125         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25126         libm_hidden_def.
25127         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25128         __feupdateenv and define as weak alias of __feupdateenv.  Use
25129         libm_hidden_weak.
25130         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25131         libm_hidden_def.
25132         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25133         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25134         (__feupdateenv): Likewise.
25135         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25136         __feupdateenv and define as weak alias of __feupdateenv.  Use
25137         libm_hidden_weak.
25138         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25139         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25140         libm_hidden_def.
25141         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25142         function.
25143         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25144         libm_hidden_def.
25145         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25146         __feupdateenv instead of feupdateenv.
25147         (default_libc_feupdateenv_test): Likewise.
25148         (libc_feresetround_ctx): Likewise.
25150 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25152         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25153         prototype.
25155 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25157         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25158         COLL_SYM in a couple of places to avoid uninitialized variable
25159         wanings on tilegx gcc 4.8.2.
25161 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25163         * sysdeps/aarch64/strcpy.S: New file.
25164         * sysdeps/aarch64/stpcpy.S: New file.
25165         * NEWS: Updated.
25167 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25169         * sysdeps/aarch64/strrchr.S: New file.
25170         * NEWS: Updated.
25172 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25174         [BZ #17658]
25175         * stdlib/setenv.c: Fix memory leak when setting large,
25176         duplicate string.
25178 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25180         [BZ #17273]
25181         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25182         and tabs from buffer before parsing fstab entry.
25183         * misc/tst-mntent.c (main): Add test for mount entry with
25184         trailing spaces and tabs.
25186 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25188         [BZ #17748]
25189         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25190         * math/fesetround.c (fesetround): Rename to __fesetround and
25191         define as weak alias of __fesetround.  Use libm_hidden_weak.
25192         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25193         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25194         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25195         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25196         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25197         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25198         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25199         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25200         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25201         __fesetround_inline.
25202         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25203         __fesetround_inline instead of __fesetround.
25204         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25205         __fesetround and define as weak alias of __fesetround.  Use
25206         libm_hidden_weak.  Call __fesetround_inline instead of
25207         __fesetround.
25208         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25209         __fesetround and define as weak alias of __fesetround.  Use
25210         libm_hidden_weak.
25211         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25212         Likewise.
25213         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25214         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25215         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25216         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25217         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25218         __fesetround and define as weak alias of __fesetround.  Use
25219         libm_hidden_weak.
25220         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25221         __fesetround instead of fesetround.
25222         (default_libc_feholdexcept_setround): Likewise.
25223         (libc_feholdsetround_ctx): Likewise.
25224         (libc_feholdsetround_noex_ctx): Likewise.
25226         [BZ #17748]
25227         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25228         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25229         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25230         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25231         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25232         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25233         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25234         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25235         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25236         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25237         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25238         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25239         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25240         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25241         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25242         libm_hidden_def.
25243         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25244         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25245         Likewise.
25246         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25247         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25248         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25249         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25250         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25251         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25252         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25253         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25254         __fesetenv instead of fesetenv.
25255         (libc_feresetround_noex_ctx): Likewise.
25256         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25257         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25258         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25259         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25260         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25261         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25262         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25263         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25264         (__feupdateenv): Likewise.
25265         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25266         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25267         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25268         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25270 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25272         [BZ #17806]
25273         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25274         addresses have been freed.
25276 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25278         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25279         and nservall.
25281 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25283         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25284         Clean up check_pf allocation pattern. addresses
25286 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25288         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25289         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25290         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25291         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25292         * nptl/pthread_join.c (pthread_join): Likewise.
25293         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25294         * sysdeps/posix/waitid.c (__waitid): Likewise.
25295         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25296         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25297         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25298         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25299         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25300         Likewise.
25301         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25302         (__libc_pread64): Likewise.
25303         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25304         (__libc_pwrite): Likewise.
25305         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25306         (__libc_pwrite64): Likewsie.
25307         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25308         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25309         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25310         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25311         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25312         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25313         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25315         Likewise.
25316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25317         (__libc_pread64): Likewise.
25318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25319         Likewise.
25320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25321         (__libc_pwrite64): Likewise.
25322         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25323         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25324         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25325         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25326         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25327         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25328         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25329         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25330         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25331         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25332         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25333         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25334         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25335         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25336         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25337         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25338         Likewise.
25340 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25342         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25343         (CFLAGS-test-double.c): Likewise.
25344         (CFLAGS-test-ldouble.c): Likewise.
25345         (CPPFLAGS-test-ifloat.c): Likewise.
25346         (CPPFLAGS-test-idouble.c): Likewise.
25347         (CPPFLAGS-test-ildoubl.c): Likewise.
25348         (CFLAGS-test-test-fenv.c): Remove variable.
25349         (CFLAGS-test-misc.c): Likewise.
25351 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25353         [BZ #17797]
25354         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25355         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25356         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25357         CLOCKS_PER_SEC == 1000000.
25358         * time/clocktest.c (main): Replace %ld with %jd and cast to
25359         intmax_t.
25361 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25363         * sysdeps/generic/unwind-resume.h: New file.
25364         * sysdeps/gnu/unwind-resume.c: Include it.
25365         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25366         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25367         argument list.
25368         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25369         global rather than static.
25370         (_Unwind_Resume): Update user.
25371         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25372         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25373         rather than static.  Add __attribute__ ((cold)).
25374         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25375         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25376         * sysdeps/arm/arm-unwind-resume.S: New file.
25377         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25378         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25379         * sysdeps/arm/Makefile [$(subdir) = csu]
25380         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25381         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25382         Add rt-arm-unwind-resume.
25383         [$(subdir) = nptl]
25384         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25385         Add pt-arm-unwind-resume.
25386         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25387         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25389 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25391         [BZ #17748]
25392         * include/fenv.h (__feholdexcept): Declare.  Use
25393         libm_hidden_proto.
25394         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25395         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25396         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25397         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25398         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25399         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25400         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25401         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25402         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25403         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25404         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25405         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25406         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25407         (feholdexcept): Likewise.
25408         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25409         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25410         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25411         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25412         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25413         __feholdexcept instead of feholdexcept.
25414         (default_libc_feholdexcept_setround): Likewise.
25416 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25418         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25419         to avoid using stl/str to align destination.
25421 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25423         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25425 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25427         [BZ #17796]
25428         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25429         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25430         Define as weak alias not strong alias.
25432 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25434         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25435         bltzal with addiupc.
25436         (RTLD_START): Ditto.
25438 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25440         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25441         for __vdso_* functions in declarations.
25442         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25443         definitions.
25444         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25445         INTERNAL_VSYSCALL): Use struct return types to check for error.
25447         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25448         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25449         function with cast from llround().
25450         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25451         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25452         Define.
25454 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25456         [BZ #17793]
25457         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25458         Define as weak alias not strong alias.
25460         [BZ #17635]
25461         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25462         ...
25463         * ctype/ctype-extn.c: ... here.
25464         (__isblank_l): Move to ...
25465         * ctype/ctype-c99_l.c: ... here.  New file.
25466         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25467         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25468         Remove variable.
25469         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25470         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25471         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25472         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25473         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25475         [BZ #17777]
25476         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25477         (posix_fadvise64): Define as weak alias not strong alias.
25478         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25479         (posix_fallocate64): Likewise.
25480         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25481         Remove variable.
25482         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25483         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25484         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25485         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25486         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25488 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25490         [BZ #16191]
25491         * NEWS: Mention bug fix.
25492         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25493         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25494         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25495         (HOST_STACK_END_ADDR): Likewise.
25497 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25499         [BZ #17748]
25500         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25501         * math/fegetround.c (fegetround): Rename to __fegetround and
25502         define as weak alias of __fegetround.  Use libm_hidden_weak.
25503         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25504         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25505         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25506         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25507         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25508         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25509         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25510         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25511         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25512         Undefine after rather than before function definition; use
25513         parentheses around function name in definition.
25514         (__fegetround): Also undefine macro after function definition.
25515         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25516         __fegetround and define as weak alias of __fegetround.  Use
25517         libm_hidden_weak.  Do not undefine as macro.
25518         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25519         Likewise.
25520         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25521         __fegetround and define as weak alias of __fegetround.  Use
25522         libm_hidden_weak.
25523         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25524         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25525         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25526         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25527         __fegetround and define as weak alias of __fegetround.  Use
25528         libm_hidden_weak.
25529         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25530         __fegetround instead of fegetround.
25532         [BZ #17782]
25533         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25534         Condition macro definition on [__USE_MISC].
25536         [BZ #17781]
25537         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25538         (struct sigaction): Change type of sa_flags field to int.
25540         [BZ #17780]
25541         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25542         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25543         __glibc_reserved0.
25545         * nptl/version.c (banner): Use single year in copyright notice.
25547         * NEWS: Update copyright dates.
25548         * catgets/gencat.c (print_version): Likewise.
25549         * csu/version.c (banner): Likewise.
25550         * debug/catchsegv.sh: Likewise.
25551         * debug/pcprofiledump.c (print_version): Likewise.
25552         * debug/xtrace.sh (do_version): Likewise.
25553         * elf/ldconfig.c (print_version): Likewise.
25554         * elf/ldd.bash.in: Likewise.
25555         * elf/pldd.c (print_version): Likewise.
25556         * elf/sotruss.sh: Likewise.
25557         * elf/sprof.c (print_version): Likewise.
25558         * iconv/iconv_prog.c (print_version): Likewise.
25559         * iconv/iconvconfig.c (print_version): Likewise.
25560         * locale/programs/locale.c (print_version): Likewise.
25561         * locale/programs/localedef.c (print_version): Likewise.
25562         * login/programs/pt_chown.c (print_version): Likewise.
25563         * malloc/memusage.sh (do_version): Likewise.
25564         * malloc/memusagestat.c (print_version): Likewise.
25565         * malloc/mtrace.pl: Likewise.
25566         * manual/libc.texinfo: Likewise.
25567         * nptl/version.c (banner): Likewise.
25568         * nscd/nscd.c (print_version): Likewise.
25569         * nss/getent.c (print_version): Likewise.
25570         * nss/makedb.c (print_version): Likewise.
25571         * posix/getconf.c (main): Likewise.
25572         * scripts/test-installation.pl: Likewise.
25573         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25575 2015-01-02  Will Newton  <will.newton@linaro.org>
25577         * sysdeps/arm/armv7/configure: Removed.
25578         * sysdeps/arm/armv7/configure.ac: Likewise.
25580 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25582         * All files with FSF copyright notices: Update copyright dates
25583         using scripts/update-copyrights.
25584         * intl/plural.c: Regenerated.
25585         * locale/programs/charmap-kw.h: Likewise.
25586         * locale/programs/locfile-kw.h: Likewise.
25588 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25590         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25592 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25594         [BZ #17748]
25595         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25596         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25597         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25598         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25599         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25600         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25601         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25602         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25603         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25604         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25605         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25606         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25607         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25608         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25609         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25610         libm_hidden_def.
25611         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25612         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25613         Likewise.
25614         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25615         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25616         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25617         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25618         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25619         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25620         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25621         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25622         __fegetenv instead of fegetenv.
25623         (libc_feholdsetround_noex_ctx): Likewise.
25625 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25627         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25628         (Elf_MIPS_ABIFlags_v0): New structure.
25629         (EF_MIPS_FP64): Define.
25630         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25631         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25632         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25633         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25634         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25635         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25636         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25637         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25638         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25639         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25640         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25641         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25642         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25643         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25644         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25645         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25646         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25647         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25648         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25649         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25650         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25651         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25652         field.
25653         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25654         EF_MIPS_FP64.
25655         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25656         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25657         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25658         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25659         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25660         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25661         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25662         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25663         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25664         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25665         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25666         record the current FP ABI extension.
25667         (mips-mode-switch): Define to show if kernel headers support mode
25668         switching.
25669         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25670         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25671         supported SYSV ABI version to 3.
25672         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25673         feature.
25675 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25676             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25678         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25679         path.
25680         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25682 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25684         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25685         __fegetround and redefine to call __fegetround.  Remove condition
25686         on [!__NO_MATH_INLINES].
25687         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25688         function.
25689         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25690         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25691         Remove macro.
25692         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25693         instead of <fenv_libc.h>.
25694         (__llrintl): Call fegetround instead of __fegetround.
25695         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25696         instead of <fenv_libc.h>.
25697         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25698         (__lrintl): Call fegetround instead of __fegetround.
25699         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25700         instead of <fenv_libc.h>.
25701         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25702         (__rintl): Call fegetround instead of __fegetround.
25704 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25706         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25707         arrays.
25709 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25711         [BZ #17775]
25712         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25713         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25714         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25716 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25718         * sysdeps/i386/tls-macros.h: Include <features.h>.
25719         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25720         (TLS_IE): Likewise.
25721         (TLS_LD): Likewise.
25722         (TLS_GD): Likewise.
25723         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25724         define for GCC >= 5.0.
25726 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25728         * math/test-fenv.c (test_single_exception, set_single_exc,
25729         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25730         feexcp_mask_test, feenable_test, fe_single_test): Add
25731         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25732         case where they are not used.
25733         * math/libm-test.inc: Likewise.
25734         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25735         unused in the absence of FP rounding/exception support.
25736         * stdio-common/tst-printf-round.c: Likewise.
25737         * stdlib/tst-strtod-round.c: Likewise.
25738         * stdlib/tst-strtod-underflow.c: Likewise.
25740 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25742         [BZ #17723]
25743         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25744         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25745         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25746         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25747         libm_hidden_weak.
25748         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25749         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25750         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25751         libm_hidden_def.
25752         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25753         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25754         libm_hidden_weak.
25755         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25756         Likewise.
25757         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25758         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25759         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25760         libm_hidden_weak.
25761         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25762         libm_hidden_def.
25763         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25764         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25765         (__feraiseexcept): Likewise.
25766         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25767         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25768         libm_hidden_weak.
25769         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25770         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25771         libm_hidden_def.
25772         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25773         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25774         Use libm_hidden_def.
25775         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25776         libm_hidden_def.
25777         (feraiseexcept): Define as weak not strong alias.  Use
25778         libm_hidden_weak.
25779         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25780         New inline function.  Factored out of ...
25781         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25782         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25783         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25784         feraiseexcept.
25785         * math/w_acos.c (__acos): Likewise.
25786         * math/w_asin.c (__asin): Likewise.
25787         * math/w_ilogb.c (__ilogb): Likewise.
25788         * math/w_j0.c (y0): Likewise.
25789         * math/w_j1.c (y1): Likewise.
25790         * math/w_jn.c (yn): Likewise.
25791         * math/w_log.c (__log): Likewise.
25792         * math/w_log10.c (__log10): Likewise.
25793         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25794         * sysdeps/aarch64/fpu/math_private.h
25795         (libc_feupdateenv_test_aarch64): Likewise.
25796         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25797         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25798         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25799         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25800         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25801         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25802         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25803         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25804         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25805         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25807 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25809         [BZ #17732]
25810         * io/test-utime.c (main): Replace %ld with %jd and cast to
25811         intmax_t.
25812         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25813         * nptl/tst-mutex5.c: Include <stdint.h>.
25814         (do_test): Replace %ld with %jd and cast to intmax_t.
25815         * posix/tst-regex.c (run_test): Likewise.
25816         (run_test_backwards): Likewise.
25817         * rt/tst-clock.c: Include <stdint.h>.
25818         (clock_test): Replace %ld with %jd and cast to intmax_t.
25819         * rt/tst-cpuclock1.c: Include <stdint.h>.
25820         (do_test): Replace %lu with %ju and cast to uintmax_t.
25821         * rt/tst-cpuclock2.c: Include <stdint.h>.
25822         (do_test): Replace %lu with %ju and cast to uintmax_t.
25823         * rt/tst-mqueue1.c: Include <stdint.h>.
25824         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25825         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25826         intmax_t.
25827         * rt/tst-mqueue4.c (do_test): Likewise.
25828         * rt/tst-timer4.c: Include <stdint.h>.
25829         (check_ts): Replace %ld with %jd and cast to intmax_t.
25830         (do_test): Likewise.
25831         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25832         and cast to intmax_t.
25833         * sysdeps/pthread/tst-timer.c (main): Likewise.
25834         * time/clocktest.c (main): Likewise.
25835         * time/tst-posixtz.c (do_test): Likewise.
25836         * timezone/tst-timezone.c (main): Likewise.
25838 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25839             H.J. Lu  <hongjiu.lu@intel.com>
25841         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25842         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25843         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25844         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25845         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25846         version if bit_Fast_Unaligned_Load is set.
25847         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25848         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25849         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25850         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25851         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25852         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25853         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25854         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25855         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25856         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25857         to 4.
25858         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25859         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25860         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25861         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25863 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25865         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25866         instead of #if to avoid a Wundef warning.
25867         * stdlib/tst-limits.c (do_test): Likewise.
25869         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25870         parallel other exception macros.
25871         (fegetenv): Convert from macro to extern inline so that it applies
25872         retroactively to inline functions already seen by the compiler.
25873         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25875         * posix/Makefile (before-compile): Use $(objpfx) for
25876         posix-conf-vars-def.h.
25878 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25880         * posix/getconf.c (main): Use size_t for type of I.
25881         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25882         NSPEC.
25884         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25885         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25886         * posix/posix-envs.def: Likewise.
25887         * sysdeps/posix/sysconf.c: Likewise.
25888         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25889         (specs): Remove array.
25890         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25891         array.
25893         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25894         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25895         (__sysconf): Use CONF_IS_* macros.
25897         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25898         ($(objpfx)posix-conf-vars-def.h): New target.
25899         * posix/posix-conf-vars.list: New file.
25900         * posix/posix-conf-vars.h: New file.
25901         * posix/confstr.c: Include posix-conf-vars.h.
25902         (confstr): Use CONF_IS_* macros.
25903         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25904         CONF_IS_* macros.
25905         * scripts/gen-posix-conf-vars.awk: New file.
25907 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25909         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25910         fegetround): Add no-op macros to avoid linknamespace issues.
25912         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25913         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25915         * sysdeps/unix/sysv/linux/tile/sysdep.h
25916         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25917         assembly-specific section to avoid a redefinition warning.
25919         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25920         long before casting to pointer to avoid a cast warning.
25922 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25924         * sysdeps/tile/tilegx/Implies: New file.
25926 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25928         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25930 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25932         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25934 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25936         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25937         not define.
25938         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25939         <kernel-features.h>.
25940         (__utimes) [__NR_utimes]: Make code unconditional.
25941         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25942         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25943         (__ASSUME_UTIMES): Do not undefine.
25944         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25945         (__ASSUME_UTIMES): Likewise.
25946         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25947         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25948         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25949         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25951 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25953         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25955 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25957         [BZ #17747]
25958         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25959         alias to weak alias for j0l, y0l.
25960         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25961         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25963         [BZ #17746]
25964         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25965         conversion.
25967 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25969         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25970         to zero if not already defined.
25972 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25974         [BZ #17724]
25975         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25976         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25977         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25978         (char *) casts added.
25979         * sysdeps/ieee754/k_standardf.c: New file.
25980         * sysdeps/ieee754/k_standardl.c: Likewise.
25981         * math/Makefile (libm-support): Remove k_standard.
25982         (libm-calls): Add k_standard.
25984 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25986         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25987         Optimize to avoid an unnecessary FPCR read.
25989 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25991         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25992         Optimize to reduce FPCR/FPSR accesses.
25994 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25996         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25997         Call libc_fetestexcept_aarch64.
25999 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26001         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26002         Call libc_fesetround_aarch64.
26004 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26006         [BZ #17733]
26007         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26008         (__bind): Do not define as weak alias.
26009         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26010         define.
26011         (__getsockname): Do not define as weak alias.
26013 2014-12-22  Will Newton  <will.newton@linaro.org>
26015         * manual/install.texi: Document that we require bison 2.7
26016         or above.
26017         * INSTALL: Regenerate.
26018         * configure.ac: Use AC_CHECK_PROG_VER instead of
26019         AC_PATH_PROG when checking for bison and check for
26020         version 2.7 or above.
26021         * configure: Regenerate.
26023 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26025         [BZ #17745]
26026         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26027         * sysdeps/tile/ffsll.c (ffsll): To here.
26029         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26031 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26033         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26034         if not defined.
26035         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26036         definition.
26037         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26038         hidden ___tls_get_addr.
26039         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26040         hidden __tls_get_addr.
26041         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26042         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26043         Likewise.
26045 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26047         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26048         _dl_init call.
26050 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26052         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26053         from "call _dl_init@PLT".
26054         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26056 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26058         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26059         guarantees.
26061 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26063         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26065 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26067         [BZ #17744]
26068         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26069         strnlen.
26071 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26073         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26074         of multu on MIPSr6.
26075         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26076         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26077         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26078         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26079         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26081 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26083         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26084         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26085         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26086         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26087         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26088         mips32r6/mips64r6.
26089         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26091 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26093         * string/strncat.c (STRNCAT): Simplify implementation.
26095 2014-12-19  David S. Miller  <davem@davemloft.net>
26097         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26098         access the quad as both a long double and as a series of 4 words.
26100         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26101         link_map->l_info array access.
26103 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26105         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26107         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26108         * math/atest-exp2.c (TIMEOUT): Likewise.
26109         * math/atest-sincos.c (TIMEOUT): Likewise.
26111 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26113         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26114         -Wno-error with -fno-builtin-lround.
26116 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26118         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26119         Contains futex constants and functions moved over from ...
26120         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26121         <lowlevellock-futex.h>.
26122         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26123         (lll_timedwait_tid): Add comments and parentheses around macro
26124         arguments.
26126 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26128         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26129         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26130         (__lll_private_flag): Remove.
26131         (lll_futex_wait): Likewise.
26132         (lll_futex_timed_wait): Likewise.
26133         (lll_futex_wake): Likewise.
26134         (lll_futex_requeue): Likewise.
26135         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26136         (__lll_timedwait_tid): Spell out argument names.
26137         (lll_timedwait_tid): Add comments and parentheses around macro
26138         arguments.
26139         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26140         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26142 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26144         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26145         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26146         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26147         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26148         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26149         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26150         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26151         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26152         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26153         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26154         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26155         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26156         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26157         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26158         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26159         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26160         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26161         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26162         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26164 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26166         * sysdeps/x86_64/x32/Makefile: New file.
26168 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26170         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26171         1L with (mp_limb_t) 1.
26173 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26175         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26176         * nptl/libc_pthread_init.c: ... here.
26177         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26178         * nptl/register-atfork.c: ... here.
26180         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26181         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26182         Use assert_perror to check its return value.
26183         (__gai_create_helper_thread): Likewise.
26185         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26187         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26189 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26191         [BZ #17725]
26192         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26193         __profil_counter.
26194         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26195         Likewise.
26196         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26197         Likewise.
26198         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26199         Likewise.
26200         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26201         (profil_counter): Likewise.
26202         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26203         (profil_counter): Likewise.
26204         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26205         Likewise.
26206         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26207         Likewise.
26208         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26209         (profil_counter): Likewise.
26210         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26211         Likewise.
26212         [!__profil_counter] (profil_counter): Define as weak alias of
26213         __profil_counter.
26214         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26215         (profil_counter): Rename to __profil_counter.
26216         [!__profil_counter] (profil_counter): Define as weak alias of
26217         __profil_counter.
26218         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26219         (profil_counter): Rename to __profil_counter.
26220         [!__profil_counter] (profil_counter): Define as weak alias of
26221         __profil_counter.
26222         * sysdeps/posix/profil.c: Update comment referring to
26223         profil_counter.
26224         (__profil): Use __profil_counter instead of profil_counter.
26225         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26226         __profil_counter.  Use __profil_counter_ushort and
26227         __profil_counter_uint in definitions.
26228         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26229         instead of profil_counter_uint and profil_counter_ushort.
26231         [BZ #17722]
26232         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26233         define as weak alias of __inet_makeaddr.
26234         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26235         as weak alias of __inet_addr.
26236         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26237         as weak alias of __inet_pton.  Use libc_hidden_weak.
26238         * include/arpa/inet.h (__inet_pton): Declare.  Use
26239         libc_hidden_proto.
26240         (inet_makeaddr): Don't use libc_hidden_proto.
26241         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26242         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26243         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26244         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26245         Remove variable.
26246         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26247         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26249 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26251         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26253 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26255         * stdio-common/bug-vfprintf-nargs.c (do_test):
26256         Cast value to intptr_t to avoid format warning
26257         for usage with PRIdPTR printing macro.
26259 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26261         * libio/tst-widetext.c (do_test):
26262         Use format type %td instead of %Zd for ptrdiff_t
26263         in order to avoid format warning.
26265 2014-12-17  Andreas Schwab  <schwab@suse.de>
26267         * nscd/mem.c (gc): Add size_t cast to match printf format.
26269 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26271         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26272         (init): Apply PTR_MANGLE to pointers before storing them.
26273         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26274         before using them.
26276 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26278         [BZ #17719]
26279         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26280         define as weak alias of __memrchr.
26281         (__memrchr): Do not define as strong alias of memrchr.
26282         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26283         Remove variable.
26284         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26285         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26286         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26288         [BZ #17717]
26289         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26290         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26291         (if_indextoname): Rename to __if_indextoname and define as weak
26292         alias of __if_indextoname.  Use libc_hidden_weak.
26293         (if_freenameindex): Rename to __if_freenameindex and define as
26294         weak alias of __if_freenameindex.
26295         (if_nameindex): Rename to __if_nameindex and define as weak alias
26296         of __if_nameindex.
26297         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26298         __if_nametoindex and define as weak alias of __if_nametoindex.
26299         Use libc_hidden_weak.
26300         (if_freenameindex): Rename to __if_freenameindex and define as
26301         weak alias of __if_freenameindex.
26302         (if_nameindex): Rename to __if_nameindex and define as weak alias
26303         of __if_nameindex.
26304         (if_indextoname): Rename to __if_indextoname and define as weak
26305         alias of __if_indextoname.  Use libc_hidden_weak.
26306         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26307         __if_nametoindex and define as weak alias of __if_nametoindex.
26308         Use libc_hidden_weak.
26309         (if_freenameindex): Rename to __if_freenameindex and define as
26310         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26311         (if_nameindex_netlink): Use __if_freenameindex instead of
26312         if_freenameindex.
26313         (if_nameindex): Rename to __if_nameindex and define as weak alias
26314         of __if_nameindex.  Use libc_hidden_weak.
26315         (if_indextoname): Rename to __if_indextoname and define as weak
26316         alias of __if_indextoname.  Use libc_hidden_weak.
26317         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26318         libc_hidden_proto.
26319         [!_ISOMAC] (__if_freenameindex): Likewise.
26320         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26321         if_nametoindex.
26322         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26323         variable.
26324         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26325         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26326         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26327         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26328         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26329         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26330         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26332         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26333         Remove variable.
26334         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26335         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26337 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26339         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26340         subscript above bounds'
26342         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26343         bounds.
26345 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26347         * libio/tst-fopenloc.c: Use test-skeleton.c.
26349         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26350         (entry): Rename to ITEM.
26351         (do_test, comp): Adjust.
26353         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26355 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26357         * string/tester.c: Include <libc-internal.h>.
26358         (test_memset): Ignore -Wmemset-transposed-args.
26360 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26362         * misc/tst-mntent2.c (do_test): Fix warning.
26364 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26366         * elf/tst-unique4lib.cc(a): Mark as used.
26368 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26370         [BZ #17630]
26371         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26372         names.
26374 2014-12-16  Allan McRae  <allan@archlinux.org>
26376         * stdio-common/Makefile (tests): Re-add bug26.
26378 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26380         [BZ #17657]
26381         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26382         static array.
26384 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26386         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26387         (__lll_lock_wait): Likewise.
26388         (__lll_timedlock_wait): Likewise.
26389         (__lll_timedwait_tid): Likewise.
26390         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26391         (__lll_robust_timedlock_wait): Likewise.
26392         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26393         (lll_cond_trylock): Likewise.
26394         (__lll_lock): Likewise.
26395         (__lll_robust_lock): Likewise.
26396         (__lll_cond_lock): Likewise.
26397         (lll_robust_cond_lock): Likewise.
26398         (__lll_timedlock): Likewise.
26399         (__lll_robust_timedlock): Likewise.
26400         (__lll_unlock): Likewise.
26401         (__lll_robust_unlock): Likewise.
26402         (lll_wait_tid): Likewise.
26403         (lll_timedwait_tid): Likewise.
26405 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26407         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26409 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26411         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26413 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26415         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26416         * stdio-common/tst-sprintf.c: Likewise.
26418 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26420         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26422 2014-12-15  Jeff Law  <law@redhat.com>
26424         [BZ #16617]
26425         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26426         on the heap.  (CVE-2012-3406)
26427         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26428         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26429         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26431 2014-12-15  Will Newton  <will.newton@linaro.org>
26433         * manual/install.texi: Bump required version of texinfo
26434         to 4.7 from 4.5.
26435         * INSTALL: Regenerated.
26436         * configure.ac: Check for makeinfo version 4.7 and above.
26437         * configure: Regenerated.
26439 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26441         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26442         PREFIX, string constant to insert between directory and name.
26443         * sysdeps/posix/shm_open.c: Update caller.
26444         * sysdeps/posix/shm_unlink.c: Likewise.
26445         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26446         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26447         (SEM_SHM_PREFIX): New macro.
26448         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26449         [$(have-thread-library) = no].
26450         * nptl/Makefile (libpthread-routines): Add shm-directory.
26451         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26452         * sysdeps/nptl/shm-directory.h: New file.
26453         * sysdeps/posix/shm-directory.c
26454         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26455         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26456         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26457         INTERNAL_SYSCALL.
26458         (__where_is_shmfs): Function removed.
26459         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26460         Variables removed.
26461         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26462         Use SHM_GET_NAME.
26463         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26465         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26466         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26467         unconditional for use inside libpthread.
26468         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26470 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26472         * nptl/pthread_getaffinity.c: New file.
26473         * nptl/pthread_setaffinity.c: New file.
26474         * nptl/pthread_getname.c: New file.
26475         * nptl/pthread_setname.c: New file.
26477         * nptl/pthread_create.c (START_THREAD_DEFN)
26478         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26480 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26481             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26483         * resolv/res_send.c (send_vc): Disable warning resplen may
26484         be used uninitialized.
26486 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26488         * nptl/tst-mutex6.c
26489         (ATTR_NULL): New define checks ATTR against NULL.
26490         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26491         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26493 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26495         [BZ #17581]
26496         * malloc/hooks.c
26497         (mem2mem_check): Revert my previous change.
26498         (malloc_check_get_size): Revert my previous change.
26499         (mem2chunk_check): Revert my previous change.
26501 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26503         * sysdeps/posix/shm-directory.c: New file.
26504         * sysdeps/posix/shm-directory.h: New file.
26505         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26506         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26507         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26508         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26509         Transmute EPERM to EACCES.
26510         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26511         from ...
26512         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26513         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26515 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26517         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26518         pointer and cast to uintptr_t.
26519         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26520         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26521         Add cast to avoid warning.
26522         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26524 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26526         * nptl/semaphore.h: Move to ...
26527         * sysdeps/pthread/semaphore.h: ... here.
26528         * Makefile (installed-headers): Change nptl/semaphore.h to
26529         sysdeps/pthread/semaphore.h.
26531 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26533         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26534         generated error format strings.
26536         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26537         -Wformat-extra-args warnings for scanf formats.
26538         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26539         test of zero-length format (duh).
26540         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26541         corner-case scanf format test.
26542         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26543         generated fprintf format string.
26544         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26545         corner-case sprintf format tests.
26546         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26547         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26548         -Wformat-extra-args warnings throughout.
26549         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26550         (CFLAGS-scanf4.c): Likewise.
26551         (CFLAGS-scanf7.c): Likewise.
26552         (CFLAGS-tst-sprintf.c): Likewise.
26553         (CFLAGS-tst-printf.c): Likewise.
26554         (CFLAGS-tst-printfsz.c): Likewise.
26556 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26558         * include/cpio.h: New file.
26559         * include/fmtmsg.h: Likewise.
26561         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26562         corresponding format argument to size_t.
26563         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26564         arguments.
26565         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26566         corresponding format argument to size_t.
26567         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26568         arguments.
26569         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26570         corresponding format argument to size_t.
26571         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26572         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26573         (CFLAGS-tst-mbswcs2.c): Likewise.
26574         (CFLAGS-tst-mbswcs3.c): Likewise.
26575         (CFLAGS-tst-mbswcs4.c): Likewise.
26576         (CFLAGS-tst-mbswcs5.c): Likewise.
26577         (CFLAGS-tst-trans.c): Likewise.
26579 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26581         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26582         rather than assuming they won't contain any '%'s.
26584 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26586         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26587         inhibit_loop_to_libcall to avoid recursive calls.
26588         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26589         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26591 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26593         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26594         prototype.
26596 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26598         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26599         integer value instead of boolean.
26601 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26603         * malloc/malloc.c: Fix powerof2 check.
26605 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26607         * locale/programs/locfile.h (maybe_swap_uint32):
26608         Remove inline and add unused attribute.
26610 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26612         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26613         Truncating assembler expression to a .long expression.
26615 2014-12-11  Andreas Schwab  <schwab@suse.de>
26617         * elf/rtld.c (struct map_args): Constify str member.
26618         (do_preload): Constify fname argument.
26620 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26622         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26623         constants definition.
26625 2014-12-11  Andreas Schwab  <schwab@suse.de>
26627         [BZ #16657]
26628         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26629         FORCE_ELISION instead of DO_ELISION.
26630         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26631         Remove.
26632         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26633         Likewise.
26635         * iconvdata/gconv-modules: Remove duplicate entry.
26637 2014-12-11  Will Newton  <will.newton@linaro.org>
26639         Merge gettext 0.19.3 into intl/.
26641         This involves a number of cosmetic changes to comments
26642         and ANSI function definitions and prototypes throughout
26643         all the files. The gettext copyright header is used but
26644         with the date ranges taken from the glibc copy.
26646         * NEWS: Add gettext merge to 2.21.
26647         * intl/bindtextdom.c: Switch to gettext copyright.
26648         Use ANSI definitions and prototypes.
26649         Use gl_* locking primitives rather than __libc_* ones.
26650         Use __builtin_expect rather than __glibc_likely/unlikely.
26651         * intl/dcgettext.c: Switch to gettext copyright.
26652         Use ANSI definitions and prototypes.
26653         * intl/dcigettext.c: Switch to gettext copyright.
26654         Use ANSI definitions and prototypes.
26655         (INTDIV0_RAISES_SIGFPE): New define.
26656         Use gl_* locking primitives rather than __libc_* ones.
26657         Include eval-plural.h instead of plural-eval.c.
26658         Use __builtin_expect rather than __glibc_likely/unlikely.
26659         * intl/dcngettext.c: Switch to gettext copyright.
26660         Use ANSI definitions and prototypes.
26661         * intl/dgettext.c: Likewise.
26662         * intl/dngettext.c: Likewise.
26663         * intl/plural-eval.c: Renamed to...
26664         * intl/eval-plural.h: ...this.
26665         * intl/explodename.c: Switch to gettext copyright.
26666         Use ANSI definitions and prototypes.
26667         (_nl_explode_name): Use strchr instead of __rawmemchr.
26668         * intl/finddomain.c: Switch to gettext copyright.
26669         Use ANSI definitions and prototypes.
26670         Use gl_* locking primitives rather than __libc_* ones.
26671         (_nl_find_domain): Use malloc rather than alloca for
26672         allocation of temporary locale name.
26673         * intl/gettext.c: Switch to gettext copyright.
26674         Use ANSI definitions and prototypes.
26675         * intl/gettextP.h: Switch to gettext copyright.
26676         Use ANSI definitions and prototypes.
26677         Use gl_* locking primitives rather than __libc_* ones.
26678         * intl/gmo.h: Switch to gettext copyright.
26679         (struct sysdep_string): Move struct segment_pair outside of
26680         struct definition.
26681         * intl/hash-string.c: Use ANSI definitions and prototypes.
26682         * intl/hash-string.h: Switch to gettext copyright.
26683         Use ANSI definitions and prototypes.
26684         * intl/l10nflist.c: Switch to gettext copyright.
26685         Use ANSI definitions and prototypes.
26686         (_nl_normalize_codeset): Avoid integer overflow.
26687         * intl/loadinfo.h: Switch to gettext copyright.
26688         Use ANSI definitions and prototypes.
26689         (LIBINTL_DLL_EXPORTED): New define.
26690         (PATH_SEPARATOR): New define.
26691         * intl/loadmsgcat.c: Switch to gettext copyright.
26692         * intl/localealias.c: Switch to gettext copyright.
26693         Use ANSI definitions and prototypes.
26694         (_nl_expand_alias): Use PATH_SEPARATOR.
26695         * intl/ngettext.c: Switch to gettext copyright.
26696         Use ANSI definitions and prototypes.
26697         * intl/plural-exp.c: Likewise.
26698         * intl/plural-exp.h: Switch to gettext copyright.
26699         Use ANSI definitions and prototypes.
26700         (struct expression): Move definition of enum operator outside
26701         of struct definition.
26702         * intl/plural.c: Regenerate.
26703         * intl/plural.y: Switch to gettext copyright.
26704         Use ANSI definitions and prototypes.
26705         Port to bison 3.0.
26706         * intl/textdomain.c: Switch to gettext copyright.
26707         Use ANSI definitions and prototypes.
26708         Use gl_* locking primitives rather than __libc_* ones.
26710 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26712         * debug/warning-nop.c: Add used atrribute.
26714 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26716         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26718         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26719         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26720         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26722 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26723             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26725         [BZ #17634]
26726         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26727         Undefine after defining function.  Define as weak alias of
26728         __wcschr.  Use libc_hidden_weak.
26729         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26730         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26731         (libc_hidden_def): Also define __GI___wcschr alias.
26732         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26733         __wcschr and define as weak alias of __wcschr.
26734         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26735         __wcschr.
26736         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26737         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26738         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26739         libc_hidden_weak.  Do not use libc_hidden_def.
26740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26741         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26742         __GI___wcschr alias.
26743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26744         [IS_IN (libc)] (wcschr): Define as macro expanding to
26745         __redirect_wcschr.
26746         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26747         [IS_IN (libc)] (__wcschr_power6): Likewise.
26748         [IS_IN (libc)] (__wcschr_power7): Likewise.
26749         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26750         instead of wcschr.
26751         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26752         __libc_wcschr.
26753         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26754         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26755         __wcschr and define as weak alias of __wcschr.  Use
26756         libc_hidden_builtin_def.
26757         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26758         as weak alias of __wcschr.  Use libc_hidden_weak.
26759         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26760         wcschr.
26761         * time/era.c (_nl_init_era_entries): Likewise.
26762         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26763         variable.
26764         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26765         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26767 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26769         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26770         format for long int variable.
26772 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26774         [BZ #10672]
26775         * manual/search.texi: (Array Sort Function): Remove claim how to make
26776         qsort stable.
26778 2014-12-10  Andreas Schwab  <schwab@suse.de>
26780         [BZ #12847]
26781         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26782         user-controlled locks.
26784 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26786         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26787         register.
26789 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26791         * configure.ac (--disable-werror): New configure option.
26792         (enable_werror): New AC_SUBST.
26793         * configure: Regenerated.
26794         * config.make.in (enable-werror): New variable.
26795         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26796         -Wno-error=undef.
26797         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26798         * manual/install.texi (Configuring and compiling): Document
26799         --disable-werror.
26800         * INSTALL: Regenerated.
26801         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26802         (CFLAGS-tst-chk2.c): Likewise.
26803         (CFLAGS-tst-chk3.c): Likewise.
26804         (CFLAGS-tst-chk4.cc): Likewise.
26805         (CFLAGS-tst-chk5.cc): Likewise.
26806         (CFLAGS-tst-chk6.cc): Likewise.
26807         (CFLAGS-tst-lfschk1.c): Likewise.
26808         (CFLAGS-tst-lfschk2.c): Likewise.
26809         (CFLAGS-tst-lfschk3.c): Likewise.
26810         (CFLAGS-tst-lfschk4.cc): Likewise.
26811         (CFLAGS-tst-lfschk5.cc): Likewise.
26812         (CFLAGS-tst-lfschk6.cc): Likewise.
26814         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26815         (main): Disable -Wdeprecated-declarations around calls to
26816         register_printf_function.
26818         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26819         (do_test): Disable -Wdiv-by-zero around some calls to
26820         fwrite_unlocked and fread_unlocked.
26822         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26823         (DIAG_POP_NEEDS_COMMENT): Likewise.
26824         (_DIAG_STR1): Likewise.
26825         (_DIAG_STR): Likewise.
26826         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26827         * stdio-common/bug21.c: Include <libc-internal.h>.
26828         (do_test): Disable -Wformat around call to sscanf.
26829         * stdio-common/scanf14.c: Include <libc-internal.h>.
26830         (main): Disable -Wformat around some calls to scanf functions.
26832 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26834         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26836 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26838         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26839         stack variable alignment.
26841 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26843         [BZ #17682]
26844         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26845         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26846         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26847         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26848         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26849         __getrlimit instead of getrlimit.
26850         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26851         __gettimeofday instead of gettimeofday.
26852         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26853         Likewise.
26854         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26855         Likewise.
26856         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26857         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26858         Remove variable.
26859         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26860         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26862 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26864         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26865         for wide-character tests.
26867 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26869         * io/openat64.c: #include <libc-internal.h>
26870         (__openat64): Prototypify.  Use ignore_value on MODE.
26871         * io/openat.c: Likewise.
26872         * misc/reboot.c: #include <libc-internal.h>
26873         (reboot): Prototypify.  Use ignore_value on HOWTO.
26874         * misc/ptrace.c: #include <libc-internal.h>
26875         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26877 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26879         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26880         XPG4, UNIX98 and XOPEN2K.
26881         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26882         Remove variable.
26883         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26885 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26887         * libio/fileops.c: Use ISO C style for function definitions.
26888         * libio/iofopen.c: Likewise.
26889         * libio/wfileops.c: Likewise.
26891         [BZ #17653]
26892         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26893         offset on EOF.
26894         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26895         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26896         (fgets_func): Function pointer to fgets and fgetws.
26897         (do_ftell_test): Add test to verify ftell value after read
26898         EOF.
26899         (do_test): Set fgets_func.
26901         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26902         O_TRUNC flag for w and w+ modes.
26903         (do_rewind_test): Likewise.
26904         (do_ftell_test): Likewise.
26905         (do_write_test): Likewise.
26907         [BZ #17647]
26908         * libio/fileops.c (do_ftell): Seek only when there are
26909         unflushed writes.
26910         * libio/wfileops.c (do_ftell_wide): Likewise.
26911         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26912         test case.
26913         (do_one_test): Call it.
26915 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26917         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26918         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26919         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26920         Remove variable.
26921         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26922         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26923         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26925 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26927         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26928         Remove variable.
26929         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26931         [BZ #17668]
26932         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26933         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26934         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26935         __freeifaddrs.  Use libc_hidden_weak.
26936         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26937         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26938         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26939         __freeifaddrs.  Use libc_hidden_weak.
26940         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26941         __getifaddrs and define as weak alias of __getifaddrs.  Use
26942         libc_hidden_weak.
26943         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26944         __freeifaddrs.  Use libc_hidden_weak.
26945         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26946         Remove variable.
26947         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26948         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26950 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26952         [BZ #17601]
26953         * sysdeps/mips/start.S (__start): Use indirect jump to call
26954         __libc_start_main.
26956 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26958         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26960         * nptl/tst-mutex1.c: Include <stdbool.h>.
26961         [!ATTR] (ATTR_NULL): New macro.
26962         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26963         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26964         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26966         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26967         to char *.
26969         [BZ #17665]
26970         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26971         Change conditional to [__USE_MISC].
26973         [BZ #17664]
26974         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26975         fgets_unlocked.
26976         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26977         __fgets_unlocked.
26978         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26979         fgets_unlocked.
26980         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26981         Remove variable.
26982         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26983         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26984         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26985         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26986         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26987         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26988         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26989         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26990         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26992         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26994 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26996         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26997         Remove strpbrk objects.
26998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26999         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27000         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27001         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27002         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27003         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27005         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27006         Remove strcspn objects.
27007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27008         (__libc_ifunc_impl_list): Remove strcspn implementation.
27009         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27010         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27011         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27012         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27014         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27015         Remove strspn objetcs.
27016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27017         (__libc_ifunc_impl_list): Remove strspn implementation.
27018         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27019         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27020         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27021         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27023 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27025         [BZ #17581]
27026         * malloc/hooks.c
27027         (mem2mem_check): Add a terminator to the chain of checking blocks.
27028         (malloc_check_get_size): Use it here.
27029         (mem2chunk_check): Ditto.
27031 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27033         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27034         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27036 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27038         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27040         * nptl/nptl-init.c: Include libc-internal.h.
27041         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27043         * elf/ldconfig.c (search_dir): Expand comment.
27045 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27047         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27048         variable.
27049         (linknamespace-symlist-stdlibs-tests): Likewise.
27050         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27051         instead of $(objpfx)symlist-stdlibs.
27052         (linknamespace-libs-isoc): New variable.
27053         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27054         (linknamespace-libs-ISO): New variable.
27055         (linknamespace-libs-ISO99): Likewise.
27056         (linknamespace-libs-ISO11): Likewise.
27057         (linknamespace-libs-XPG3): Likewise.
27058         (linknamespace-libs-XPG4): Likewise.
27059         (linknamespace-libs-POSIX): Likewise.
27060         (linknamespace-libs-UNIX98): Likewise.
27061         (linknamespace-libs-XOPEN2K): Likewise.
27062         (linknamespace-libs-POSIX2008): Likewise.
27063         (linknamespace-libs-XOPEN2K8): Likewise.
27064         ($(objpfx)symlist-stdlibs): Replace by
27065         $(linknamespace-symlist-stdlibs-tests).  Use
27066         $(linknamespace-libs-$*) as set of libraries.
27067         ($(linknamespace-header-tests)): Update dependencies.  Use
27068         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27069         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27070         * conform/linknamespace.pl: Remove comment about considering
27071         definitions of symbols from irrelevant libraries.
27073 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27075         [BZ #13862]
27076         * elf/dl-tls.c: Include <atomic.h>.
27077         (oom): Remove #ifdef SHARED/#endif.
27078         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27079         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27080         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27081         big enough.
27082         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27083         * nptl/Makefile (tests): Add tst-stack4.
27084         (modules-names): Add tst-stack4mod.
27085         ($(objpfx)tst-stack4): New.
27086         (tst-stack4mod.sos): Likewise.
27087         ($(objpfx)tst-stack4.out): Likewise.
27088         ($(tst-stack4mod.sos)): Likewise.
27089         (clean): Likewise.
27090         * nptl/tst-stack4.c: New file.
27091         * nptl/tst-stack4mod.c: Likewise.
27093 2014-11-27  J. Brown  <jb999@gmx.de>
27095         * sysdeps/x86/bits/string.h: Add recent CPUs.
27097 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27099         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27100         sigblock.
27102         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27103         feof.
27105         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27106         variable.
27108 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27110         * nscd/connections.c: Include libc-internal.h because of macro
27111         usage ignore_value.
27113 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27115         * string/bits/string3.h (__warn_memset_zero_len): Don't
27116         declare for gcc newer than 5.0.
27117         (memset): Don't test for zero-length __LEN for gcc newer than
27118         5.0.
27120 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27122         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27123         size_t for %zu format.
27125         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27126         difference, not %ju.
27128 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27130         * include/libc-internal.h (ignore_value): New macro.
27131         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27132         with ignore_value.
27134         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27135         definition.
27137         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27138         pthread_cleanup_push to void *.
27140         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27141         Undefine.
27143         [BZ #16619]
27144         [BZ #16740]
27145         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27146         instead of 1L << 52.
27148         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27149         * libio/bug-rewind2.c (do_test): Likewise.
27151         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27152         * debug/test-strcpy_chk-ifunc.c: Likewise.
27153         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27154         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27155         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27156         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27157         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27158         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27159         * Rules [$(multi-arch) = no] (tests): Do not filter out
27160         $(tests-ifunc).
27161         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27162         * debug/Makefile (tests-ifunc): Remove variable.
27163         (tests): Do not add $(tests-ifunc).
27164         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27165         (tests): Do not add $(tests-ifunc).
27166         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27167         [TEST_IFUNC]: Remove conditionals.
27168         * string/test-string.h (TEST_IFUNC): Remove macro.
27169         [TEST_IFUNC]: Remove conditionals.
27171         * string/test-strchr.c [!WIDE] (L): New macro.
27172         [WIDE] (L): Likewise.
27173         (check1): Use CHAR instead of char.  Use L on string and character
27174         constants.
27176 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27178         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27179         tests.
27180         * sysdeps/powerpc/bits/atomic.h
27181         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27182         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27183         (atomic_exchange_and_add_acq): Likewise.
27184         (atomic_exchange_and_add_rel): Likewise.
27185         * sysdeps/powerpc/powerpc32/bits/atomic.h
27186         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27187         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27188         * sysdeps/powerpc/powerpc64/bits/atomic.h
27189         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27190         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27192 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27194         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27195         Change synchronization of __sched_fifo_min_prio and
27196         __sched_fifo_max_prio.
27197         * nptl/pthread_mutexattr_getprioceiling.c
27198         (pthread_mutexattr_getprioceiling): Likewise.
27199         * nptl/pthread_mutexattr_setprioceiling.c
27200         (pthread_mutexattr_setprioceiling): Likewise.
27201         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27202         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27203         Likewise.
27205 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27207         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27208         void.
27210 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27212         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27213         third argument const.
27215 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27217         fnmatch: work around GCC compiler warning bug with uninit var
27218         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27219         This works around a bug with x86-64 GCC 4.9.2 and earlier
27220         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27221         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27222         used uninitialized in this function [-Wmaybe-uninitialized]".
27224 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27226         * posix/bug-regex31.c (main): Return RES not 0.
27228 2014-11-25  Anton Blanchard <anton@samba.org>
27230         * sysdeps/powerpc/bits/atomic.h
27231         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27233 2014-11-24  Sterling Augustine  <saugustine@google.com>
27235         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27237 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27239         [BZ #17608]
27240         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27242 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27244         [BZ #17633]
27245         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27246         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27247         variable.
27248         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27249         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27251 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27253         * string/strncpy.c (strncpy): Improve performance by using memset.
27255 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27257         * string/strcpy.c (strcpy):
27258         Improve performance by using strlen and memcpy.
27260 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27262         * string/strcoll_l.c (get_next_seq): __always_inline.
27263         * string/strcoll_l.c (do_compare): __always_inline.
27265 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27267         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27268         defined.
27269         * include/mqueue.h: Likewise.
27270         * include/stdlib.h: Likewise.
27272         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27273         (get_null_defines): Adjust.
27274         * sunrpc/Makefile: Adjust comment.
27275         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27276         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27277         (CFLAGS-interp.c): Likewise.
27278         (CFLAGS-ldconfig.c): Likewise.
27279         (CPPFLAGS-.os): Likewise.
27280         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27281         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27282         * extra-modules.mk (extra-modules.mk): Likewise.
27283         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27284         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27285         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27286         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27287         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27288         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27289         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27290         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27291         * iconvdata/Makefile (CPPFLAGS): Likewise.
27292         (cpp-srcs-left): Add libof for all iconvdata routines.
27293         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27294         * include/assert.h: Likewise.
27295         * include/ctype.h: Likewise.
27296         * include/errno.h: Likewise.
27297         * include/libc-symbols.h: Likewise.
27298         * include/math.h: Likewise.
27299         * include/netdb.h: Likewise.
27300         * include/resolv.h: Likewise.
27301         * include/stdio.h: Likewise.
27302         * include/stdlib.h: Likewise.
27303         * include/string.h: Likewise.
27304         * include/sys/stat.h: Likewise.
27305         * include/wctype.h: Likewise.
27306         * intl/l10nflist.c: Likewise.
27307         * libidn/idn-stub.c: Likewise.
27308         * libio/libioP.h: Likewise.
27309         * nptl/libc_multiple_threads.c: Likewise.
27310         * nptl/pthreadP.h: Likewise.
27311         * posix/regex_internal.h: Likewise.
27312         * resolv/res_hconf.c: Likewise.
27313         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27314         * sysdeps/arm/memmove.S: Likewise.
27315         * sysdeps/arm/sysdep.h: Likewise.
27316         * sysdeps/generic/_itoa.h: Likewise.
27317         * sysdeps/generic/symbol-hacks.h: Likewise.
27318         * sysdeps/gnu/errlist.awk: Likewise.
27319         * sysdeps/gnu/errlist.c: Likewise.
27320         * sysdeps/i386/i586/memcpy.S: Likewise.
27321         * sysdeps/i386/i586/memset.S: Likewise.
27322         * sysdeps/i386/i686/memcpy.S: Likewise.
27323         * sysdeps/i386/i686/memmove.S: Likewise.
27324         * sysdeps/i386/i686/mempcpy.S: Likewise.
27325         * sysdeps/i386/i686/memset.S: Likewise.
27326         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27327         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27328         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27329         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27330         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27331         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27332         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27333         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27334         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27335         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27336         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27337         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27338         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27339         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27340         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27341         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27342         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27343         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27344         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27345         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27346         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27347         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27348         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27349         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27350         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27351         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27352         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27353         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27354         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27355         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27356         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27357         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27358         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27359         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27360         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27361         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27362         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27363         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27364         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27365         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27366         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27367         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27368         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27369         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27370         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27371         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27372         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27373         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27374         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27375         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27376         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27377         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27378         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27379         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27380         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27381         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27382         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27383         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27384         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27385         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27386         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27387         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27388         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27389         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27390         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27391         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27392         * sysdeps/posix/closedir.c: Likewise.
27393         * sysdeps/posix/opendir.c: Likewise.
27394         * sysdeps/posix/readdir.c: Likewise.
27395         * sysdeps/posix/rewinddir.c: Likewise.
27396         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27397         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27398         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27399         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27400         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27401         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27402         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27403         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27404         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27405         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27407         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27408         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27409         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27410         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27411         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27412         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27413         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27414         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27415         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27416         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27417         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27418         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27419         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27420         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27421         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27422         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27423         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27424         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27426         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27428         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27430         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27431         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27432         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27433         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27434         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27435         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27436         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27437         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27438         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27439         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27440         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27441         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27442         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27443         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27444         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27445         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27446         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27447         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27448         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27449         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27450         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27451         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27452         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27453         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27454         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27455         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27456         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27457         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27458         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27459         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27460         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27461         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27462         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27463         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27464         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27465         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27466         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27467         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27468         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27469         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27470         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27471         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27472         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27473         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27474         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27475         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27476         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27477         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27478         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27479         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27480         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27481         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27482         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27483         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27484         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27485         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27486         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27487         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27488         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27489         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27490         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27491         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27492         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27493         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27494         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27495         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27496         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27497         * sysdeps/unix/alpha/sysdep.S: Likewise.
27498         * sysdeps/unix/alpha/sysdep.h: Likewise.
27499         * sysdeps/unix/make-syscalls.sh: Likewise.
27500         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27501         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27502         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27503         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27504         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27505         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27506         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27507         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27508         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27509         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27510         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27511         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27512         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27513         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27514         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27515         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27516         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27517         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27518         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27519         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27520         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27521         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27522         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27523         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27524         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27525         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27526         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27529         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27530         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27531         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27532         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27533         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27534         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27535         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27536         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27538         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27539         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27540         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27541         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27542         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27543         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27544         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27546         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27547         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27548         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27549         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27550         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27551         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27552         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27553         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27554         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27555         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27556         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27558         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27559         * sysdeps/x86_64/memcpy.S: Likewise.
27560         * sysdeps/x86_64/memmove.c: Likewise.
27561         * sysdeps/x86_64/memset.S: Likewise.
27562         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27563         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27564         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27565         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27566         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27567         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27568         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27569         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27570         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27571         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27572         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27573         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27574         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27575         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27576         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27577         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27578         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27579         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27580         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27581         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27582         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27583         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27584         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27585         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27586         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27587         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27588         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27589         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27590         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27591         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27592         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27593         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27594         * sysdeps/x86_64/strcmp.S: Likewise.
27596         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27598         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27599         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27600         * elf/rtld-Rules: Likewise.
27601         * elf/setup-vdso.h: Likewise.
27602         * include/assert.h: Likewise.
27603         * include/bits/stdlib-float.h: Likewise.
27604         * include/errno.h: Likewise.
27605         * include/sys/stat.h: Likewise.
27606         * include/unistd.h: Likewise.
27607         * sysdeps/aarch64/setjmp.S: Likewise.
27608         * sysdeps/alpha/setjmp.S: Likewise.
27609         * sysdeps/arm/__longjmp.S: Likewise.
27610         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27611         * sysdeps/arm/setjmp.S: Likewise.
27612         * sysdeps/arm/sysdep.h: Likewise.
27613         * sysdeps/generic/_itoa.h: Likewise.
27614         * sysdeps/generic/dl-sysdep.h: Likewise.
27615         * sysdeps/generic/ldsodefs.h: Likewise.
27616         * sysdeps/i386/dl-tls.h: Likewise.
27617         * sysdeps/i386/setjmp.S: Likewise.
27618         * sysdeps/m68k/setjmp.c: Likewise.
27619         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27620         * sysdeps/mach/hurd/opendir.c: Likewise.
27621         * sysdeps/posix/getcwd.c: Likewise.
27622         * sysdeps/posix/opendir.c: Likewise.
27623         * sysdeps/posix/profil.c: Likewise.
27624         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27625         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27626         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27627         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27628         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27629         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27630         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27631         * sysdeps/s390/dl-tls.h: Likewise.
27632         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27633         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27634         * sysdeps/sh/sh3/setjmp.S: Likewise.
27635         * sysdeps/sh/sh4/setjmp.S: Likewise.
27636         * sysdeps/unix/alpha/sysdep.h: Likewise.
27637         * sysdeps/unix/arm/sysdep.S: Likewise.
27638         * sysdeps/unix/i386/sysdep.S: Likewise.
27639         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27640         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27641         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27642         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27643         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27644         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27645         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27646         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27647         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27648         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27649         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27650         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27651         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27654         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27657         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27658         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27659         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27660         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27661         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27662         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27663         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27664         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27666         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27667         * sysdeps/x86_64/setjmp.S: Likewise.
27669         * include/math.h: Use IS_IN instead of IS_IN_libm.
27670         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27671         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27672         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27673         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27674         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27675         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27676         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27677         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27678         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27679         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27680         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27681         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27682         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27683         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27684         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27685         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27686         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27687         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27688         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27689         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27690         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27691         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27692         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27693         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27694         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27695         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27696         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27697         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27698         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27699         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27700         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27701         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27702         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27704         Likewise.
27705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27706         Likewise.
27707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27708         Likewise.
27709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27710         Likewise.
27711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27712         Likewise.
27713         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27714         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27715         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27716         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27717         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27718         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27724         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27725         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27726         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27727         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27728         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27729         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27730         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27731         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27732         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27733         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27734         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27735         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27736         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27737         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27739         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27741         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27742         * nptl/pthreadP.h: Likewise.
27743         * nptl_db/structs.def: Likewise.
27744         * sysdeps/arm/sysdep.h: Likewise.
27745         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27746         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27747         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27748         * sysdeps/unix/alpha/sysdep.h: Likewise.
27749         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27751         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27752         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27753         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27754         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27755         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27756         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27757         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27758         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27759         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27760         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27761         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27762         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27765         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27767         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27770         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27771         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27772         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27773         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27774         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27776         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27777         * nptl/pthreadP.h: Likewise.
27778         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27779         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27780         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27781         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27782         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27783         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27784         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27785         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27786         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27787         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27788         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27789         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27791         Likewise.
27792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27793         Likewise.
27794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27796         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27799         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27800         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27801         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27803         * dlfcn/dladdr.c: Use IS_IN.
27804         * dlfcn/dladdr1.c: Likewise.
27805         * dlfcn/dlclose.c: Likewise.
27806         * dlfcn/dlerror.c: Likewise.
27807         * dlfcn/dlinfo.c: Likewise.
27808         * dlfcn/dlmopen.c: Likewise.
27809         * dlfcn/dlopen.c: Likewise.
27810         * dlfcn/dlsym.c: Likewise.
27811         * dlfcn/dlvsym.c: Likewise.
27813         * include/ifaddrs.h: Use IS_IN.
27814         * inet/check_pf.c: Likewise.
27815         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27816         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27818         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27819         IS_IN_ldconfig.
27820         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27821         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27823         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27824         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27825         IS_IN (libc).
27827         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27829         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27830         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27831         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27832         * include/libc-symbols.h (IS_IN_LIB): New macro.
27833         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27834         * include/netdb.h: Likewise.
27835         * include/stap-probe.h: Remove all uses of IN_LIB.
27837         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27838         instead of IN_MODULE.
27839         * include/libc-symbols.h (IN_MODULE): Define using
27840         MODULE_NAME.
27841         (PASTE_NAME, PASTE_NAME1): New macros.
27842         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27843         of IN_LIB.
27844         (STAP_PROBE_ASM): Likewise.
27846 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27848         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27849         __mach_init in dlopened libc.
27851 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27853         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27854         * sysdeps/arm/preconfigure: Regenerate.
27856 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27858         * nptl/pthread_create.c (__pthread_create_2_1): Set
27859         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27860         when copying values from IATTR into PD.
27862 2014-11-21  Will Newton  <will.newton@linaro.org>
27863             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27865         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27866         Refactor inline-asm.  Also add comment.
27868         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27869         ElfW macro instead of hardcoded Elf64 types.
27870         (la_aarch64_gnu_pltenter): Likewise.
27871         * sysdeps/aarch64/dl-machine.h
27872         (elf_machine_runtime_setup): Use ElfW(Addr).
27874         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27875         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27876         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27877         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27878         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27879         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27880         (R_AARCH64_TLS_DTPMOD): This.
27881         (R_AARCH64_TLS_DTPREL64): Rename to ...
27882         (R_AARCH64_TLS_DTPREL): This.
27883         (R_AARCH64_TLS_TPREL64): Rename to ...
27884         (R_AARCH64_TLS_TPREL): This.
27885         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27886         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27887         R_AARCH64_TLS_TPREL64.
27888         (elf_machine_rela): Likewise.
27890 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27892         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27893         by setting it to 0.  64b atomics are not supported currently.
27895 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27897         [BZ #16469]
27898         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27899         search domain names.
27901 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27903         [BZ #16469]
27904         * NEWS: Update.
27905         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27906         trailing dot.
27907         * posix/tst-getaddrinfo5.c: New.
27908         * posix/Makefile (tests): Add it.
27910 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27912         [BZ #14498]
27913         * NEWS: Fixed.
27914         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27915         after parsing line but before break_if_match.
27916         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27917         if there is a protocol mismatch.
27919 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27921         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27922         because the potential race is on the user-supplied stream.
27924 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27926         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27927         string literal if not passed a buffer.
27928         * manual/job.texi (ctermid): Update reasoning, note deviation
27929         from posix, suggest mtasurace when not passed a buffer, for
27930         future non-preliminary safety notes.
27932 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27934         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27935         of not passing it a buffer.
27936         Reported by Peng Haitao.
27938 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27940         * manual/Makefile ($(objpfx)stamp-summary): Require
27941         check-safety.sh to pass.
27942         * manual/check-safety.sh: Wish for verification that every
27943         @deftypefn and @deftypefun is followed by a @safety remark.
27945 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27947         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27949         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27950         PTHREAD_CANCEL_ASYNCHRONOUS.
27951         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27952         send SIGCANCEL.
27954         * nptl/default-sched.h: New file.
27955         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27956         * nptl/pthread_create.c: Include it.
27957         (__pthread_create_2_1): Use collect_default_sched instead of making
27958         Linux syscalls here directly.
27960 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27962         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27963         __pthread_once): Use C11 atomics.
27965 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27967         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27969 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27971         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27972         atomic_thread_fence_acquire, atomic_thread_fence_release,
27973         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27974         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27975         atomic_compare_exchange_weak_relaxed,
27976         atomic_compare_exchange_weak_acquire,
27977         atomic_compare_exchange_weak_release,
27978         atomic_exchange_acquire, atomic_exchange_release,
27979         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27980         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27981         atomic_fetch_and_acquire,
27982         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27984 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27986         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27987         USE_ATOMIC_COMPILER_BUILTINS): Define.
27988         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27989         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27990         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27991         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27992         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27993         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27994         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27995         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27996         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27997         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27998         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27999         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28000         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28001         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28002         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28004         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28006         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28007         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28008         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28009         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28010         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28012         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28013         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28014         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28015         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28016         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28017         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28018         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28019         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28020         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28021         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28022         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28023         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28024         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28025         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28026         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28027         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28029 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28031         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28032         the sched_priority value here.  It was already checked when the user
28033         called pthread_attr_setschedparam.
28035         * nptl/tst-bad-schedattr.c: New file.
28036         * nptl/Makefile (tests): Add it.
28038 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28039             Florian Weimer  <fweimer@redhat.com>
28040             Joseph Myers  <joseph@codesourcery.com>
28041             Adam Conrad  <adconrad@0c3.net>
28042             Andreas Schwab  <schwab@suse.de>
28043             Brooks  <bmoses@google.com>
28045         [BZ #17625]
28046         * wordexp-test.c (__dso_handle): Add prototype.
28047         (__register_atfork): Likewise.
28048         (__app_register_atfork): New function.
28049         (registered_forks): New global.
28050         (register_fork): New function.
28051         (test_case): Add 3 new tests for WRDE_CMDSUB.
28052         (main): Call __app_register_atfork.
28053         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28054         fork count is non-zero fail the test.
28055         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28056         is set.
28057         (parse_dollars): Remove check for WRDE_NOCMD.
28058         (parse_dquote): Likewise.
28060 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28062         * Makeconfig (built-modules): List non-library modules to be
28063         built.
28064         (module-cppflags): Include libc-modules.h for
28065         everything except shlib-versions.v.i.
28066         (CPPFLAGS): Use it.
28067         (before-compile): Add libc-modules.h.
28068         ($(common-objpfx)libc-modules.h,
28069         $(common-objpfx)libc-modules.stmp): New targets.
28070         (common-generated): Add libc-modules.h and libc-modules.stmp.
28071         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28072         * include/libc-symbols.h: Don't include libc-modules.h.
28073         * include/libc-modules.h: Remove file.
28074         * scripts/gen-libc-modules.awk: New script to generate
28075         libc-modules.h.
28076         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28077         Depend on libc-modules.stmp.
28079         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28081         * Makeconfig (in-module): Get value of libof set for the
28082         translation unit.
28083         (CPPFLAGS): Use $(in-module).
28084         * Makerules: Don't suffix routine names for nonlib.
28085         * include/libc-modules.h: New file.
28086         * include/libc-symbols.h: Include libc-modules.h
28087         (IS_IN): New macro to replace IS_IN_* macros.
28088         * elf/Makefile: Set libof-* for each routine.
28089         * elf/rtld-Rules: Likewise.
28090         * extra-modules.mk: Likewise.
28091         * iconv/Makefile: Likewise.
28092         * iconvdata/Makefile: Likewise.
28093         * locale/Makefile: Likewise.
28094         * malloc/Makefile: Likewise.
28095         * nss/Makefile: Likewise.
28096         * sysdeps/gnu/Makefile: Likewise.
28097         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28098         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28099         * sysdeps/s390/s390-64/Makefile: Likewise.
28100         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28101         CPPFLAGS for nscd instead of nonlib.
28103 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28105         * nptl/createthread.c: New file.
28107         * nptl/createthread.c: Moved ...
28108         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28110         * nptl/createthread.c: Add proper top-line comment.
28111         (do_clone): Folded into ...
28112         (create_thread): ... here.  Take new arguments STOPPED_START and
28113         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28114         increment __nptl_threads, do event-reporting logic, do
28115         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28116         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28117         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28118         just send SIGCANCEL.
28119         * nptl/pthread_create.c: Forward-declare create_thread before
28120         including createthread.c.
28121         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28122         declaration, and new macro START_THREAD_SELF to replace argument.
28123         Remove return statement.
28124         (report_thread_creation): New function.
28125         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28126         synchronization logic, and __nptl_nthreads increment here, around
28127         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28128         PD->parent_cancelhandling here, before create_thread.  When
28129         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28130         __deallocate_stack, and ENOMEM translation here.
28132 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28134         [BZ #17616]
28135         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28136         (mptwo): Rename to __mptwo.
28137         (__inv): Use __mptwo instead of mptwo.
28138         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28139         (mptwo): Rename to __mptwo.
28140         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28141         of mpone and __mptwo instead of mptwo.
28142         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28143         instead of mpone.
28144         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28145         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28146         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28147         of mpone and __mptwo instead of mptwo.
28148         (__mpranred): Use __mpone instead of mpone.
28149         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28150         variable.
28151         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28152         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28153         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28154         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28155         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28156         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28157         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28158         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28159         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28160         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28161         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28162         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28163         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28164         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28165         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28166         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28167         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28168         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28169         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28171 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28173         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28174         replace BSD Handler xref with BSD Signal Handling.
28176 2014-11-17  Richard Henderson  <rth@redhat.com>
28178         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28179         (_FP_PACK_RAW_2): Remove.
28180         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28181         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28182         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28183         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28184         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28185         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28186         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28187         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28188         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28189         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28190         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28191         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28192         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28193         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28194         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28195         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28197 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28199         * signal/signal.h [__USE_MISC]
28200         (struct sigvec): Remove type.
28201         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28202         (sigvec): Remove declaration.
28203         * sysdeps/posix/sigvec.c: Moved ...
28204         * signal/sigvec.c: ... here, replacing old file.
28205         (struct sigvec): New type, copied from old signal.h definition.
28206         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28207         (__sigvec): Convert definition to prototype.
28208         (sigvec): Replace weak_alias with compat_symbol.
28209         * signal/Versions (libc: GLIBC_2.21): New version set.
28210         * include/signal.h: Remove __sigvec declaration.
28211         * sysdeps/unix/bsd/sigvec.c: Remove file.
28212         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28213         * manual/signal.texi (BSD Handler): Remove subsection.
28214         Move siginterrupt up to ...
28215         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28216         (Blocking in BSD): Fold subsection into its parent.
28217         * NEWS: Mention sigvec removal.
28219 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28221         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28222         (DLA_FMS): Make definition conditional only on [__FMA4__].
28223         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28224         definition.
28226         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28227         Make definition conditional only on [PROF].
28228         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28229         definition.
28230         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28231         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28233         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28234         !__GNUC__].
28235         * include/signal.h (__sigpause): Move declaration above call to
28236         libc_hidden_proto.
28237         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28238         variable.
28239         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28240         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28242 2014-11-14  David S. Miller  <davem@davemloft.net>
28244         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28245         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28247 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28249         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28250         * configure: Regenerated.
28251         * manual/install.texi (Tools for Compilation): Document a
28252         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28253         compiler verified to work.
28254         * INSTALL: Regenerated.
28256         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28257         redeclare with asm name.
28258         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28259         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28260         including <string.h>.
28261         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28262         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28263         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28264         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28265         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28267         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28269 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28271         * stdlib/strtol.c (__strtol): Use prototype definition.
28273         [BZ #17594]
28274         * stdlib/strtol.c (SYM__): New macro.
28275         (SYM__1): Likewise.
28276         (__strtol): Likewise.
28277         (strtol): Rename to __strtol and define as weak alias of
28278         __strtol.  Use libc_hidden_weak.
28280 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28282         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28283         Use numbered labels in inline assembly.
28285 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28287         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28288         Add setjmp LIBC_PROBE.
28289         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28290         Likewise.
28291         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28292         Add longjmp, longjmp_target LIBC_PROBE.
28293         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28294         Likewise.
28296 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28298         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28299         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28300         to get rid of unused variable warning.
28302 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28304         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28305         Check for unwind_backtrace ==  NULL only in SHARED case.
28306         (__backchain_backtrace): Compile only in SHARED case.
28307         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28308         Likewise.
28309         (__backchain_backtrace): Declare as static.
28311 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28313         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28314         (__libc_multiple_threads_ptr): Variable moved ...
28315         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28317 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28319         * conform/GlibcConform.pm: New file.
28320         * conform/conformtest.pl: Use GlibcConform module.
28321         * conform/linknamespace.pl: New file.
28322         * conform/list-header-symbols.pl: Likewise.
28323         * conform/Makefile (linknamespace-symlists-base): New variable.
28324         (linknamespace-symlists-tests): Likewise.
28325         (linknamespace-header-base): Likewise.
28326         (linknamespace-header-tests): Likewise.
28327         (tests-special): Add new tests.
28328         ($(linknamespace-symlists-tests)): New rule.
28329         (linknamespace-libs): New variable.
28330         ($(objpfx)symlist-stdlibs): New rule.
28331         ($(linknamespace-header-tests)): Likewise.
28332         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28333         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28334         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28335         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28336         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28337         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28338         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28339         (test-xfail-ISO/math.h/linknamespace): Likewise.
28340         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28341         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28342         (test-xfail-ISO/time.h/linknamespace): Likewise.
28343         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28344         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28345         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28346         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28347         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28348         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28349         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28350         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28351         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28352         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28353         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28354         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28355         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28356         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28357         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28358         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28359         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28360         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28361         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28362         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28363         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28364         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28365         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28366         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28367         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28368         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28369         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28370         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28371         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28372         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28373         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28374         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28375         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28376         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28377         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28378         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28379         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28380         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28381         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28382         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28383         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28384         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28385         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28386         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28387         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28388         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28389         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28390         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28391         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28392         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28393         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28394         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28395         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28396         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28397         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28398         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28399         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28400         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28401         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28402         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28403         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28404         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28405         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28406         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28407         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28408         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28409         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28410         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28411         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28412         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28413         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28414         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28415         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28416         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28417         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28418         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28419         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28420         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28421         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28422         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28423         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28424         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28425         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28426         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28427         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28428         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28429         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28430         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28431         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28432         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28433         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28434         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28435         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28436         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28437         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28438         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28439         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28440         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28441         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28442         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28443         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28444         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28445         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28446         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28447         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28448         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28449         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28450         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28451         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28452         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28453         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28454         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28455         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28456         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28457         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28458         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28459         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28460         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28461         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28462         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28463         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28464         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28465         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28466         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28467         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28468         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28469         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28470         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28471         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28472         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28473         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28474         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28475         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28476         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28477         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28478         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28479         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28480         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28481         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28482         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28483         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28484         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28485         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28486         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28487         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28488         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28489         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28490         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28491         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28492         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28494         [BZ #17589]
28495         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28496         of fgets_unlocked.
28498         [BZ #17585]
28499         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28500         (memmem): Rename to __memmem and define as weak alias of
28501         __memmem.  Use libc_hidden_weak.
28502         (__memmem): Use libc_hidden_def.
28503         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28504         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28505         memmem.
28507         [BZ #17582]
28508         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28509         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28510         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28511         and define as weak alias of __fgets_unlocked.  Use
28512         libc_hidden_weak.
28513         (__fgets_unlocked): Use libc_hidden_def.
28514         * include/stdio.h (__fgets_unlocked): Declare.  Use
28515         libc_hidden_proto.
28516         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28517         __fgets_unlocked instead of fgets_unlocked.
28518         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28519         (GET_NPROCS_CONF_PARSER): Likewise.
28520         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28521         (GET_NPROCS_CONF_PARSER): Likewise.
28523         [BZ #17574]
28524         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28525         weak alias of __wmemset.  Use libc_hidden_weak.
28526         (__wmemset): Use libc_hidden_def.
28527         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28528         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28529         of wmemset.
28531         [BZ #17573]
28532         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28533         with asm name __mempcpy.
28534         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28536         [BZ #17572]
28537         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28538         and define as weak alias of __rawmemchr.
28539         (__rawmemchr): Do not define as strong alias of rawmemchr.
28541         [BZ #17571]
28542         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28543         alias of __qsort_r.
28544         (qsort): Call __qsort_r instead of qsort_r.
28545         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28546         (__qsort_r): Declare.  Call libc_hidden_proto.
28547         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28548         instead of qsort_r.
28549         * nscd/gai.c (__qsort_r): Define to qsort_r.
28550         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28551         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28552         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28554         [BZ #17570]
28555         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28556         define as weak alias of __malloc_info.
28558         [BZ #17584]
28559         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28560         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28561         (__rewinddir): Use libc_hidden_def.
28562         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28563         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28564         (__rewinddir): Use libc_hidden_def.
28565         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28566         weak alias of __rewinddir.  Don't use libc_hidden_def.
28567         (__rewinddir): Use libc_hidden_def.
28568         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28569         (__rewinddir): Use libc_hidden_proto.
28570         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28571         rewinddir.
28572         (__getcwd): Use __rewinddir instead of rewinddir.
28574         [BZ #17583]
28575         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28576         alias of __fileno.  Use libc_hidden_weak.
28577         (__fileno): Use libc_hidden_def.
28578         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28579         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28580         alias of __ftello.
28581         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28582         __ftello.
28583         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28584         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28585         libc_hidden_def.
28586         (fread_unlocked): Don't use libc_hidden_ver.
28587         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28588         and define as weak alias of __fread_unlocked.  Don't use
28589         libc_hidden_def.
28590         (__fread_unlocked): Use libc_hidden_def.
28591         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28592         (ftello): Don't use libc_hidden_proto.
28593         (__ftello): Declare.  Use libc_hidden_proto.
28594         (fread_unlocked): Don't use libc_hidden_proto.
28595         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28596         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28597         and __ftello instead of fileno, fread_unlocked and ftello.
28599 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28601         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28602         GOT12.
28603         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28604         Likewise.
28605         (_dl_start_user): Likewise.
28606         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28608 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28609             Siddhesh Poyarekar  <siddhesh@redhat.com>
28611         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28612         Move argv and envp down instead of moving argc up.
28613         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28615 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28617         [BZ #17506]
28618         * test-skeleton.c (main): Return successful if one of
28619         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28620         * string/tst-strcoll-overflow.c: Define expected status.
28622 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28624         [BZ #17475]
28625         * locale/iso-639.def: Define Bhili and Tulu language codes.
28627 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28629         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28631 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28633         [BZ #17555]
28634         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28636 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28638         * configure.ac: Updated check of minimal required version to
28639         2.22.
28640         * manual/install.texi (Tools for Compilation): Updated version
28641         number.
28642         * configure: Regenerated.
28643         * INSTALL: Likewise.
28645 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28647         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28648         __tls_get_addr.
28650 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28652         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28653         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28654         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28655         libc_hidden_weak.
28656         (waitpid): Define as alias of __waitpid.
28657         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28658         __waitpid.
28659         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28660         libc_hidden_weak.
28661         (waitpid): Define as alias of __waitpid.
28662         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28663         __libc_waitpid alias.
28664         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28665         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28666         Likewise.
28667         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28668         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28669         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28670         alias.
28671         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28672         __waitpid.
28673         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28674         libc_hidden_weak.
28675         (waitpid): Define as alias of __waitpid.
28677 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28679         * manual/llio.texi: Add comment that write safety has been
28680         fixed in Linux.
28682         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28683         (localplt-build-dso): Add elf/ld.so.
28684         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28685         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28686         and free for ld.so.
28687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28688         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28690         Likewise.
28691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28692         Likewise.
28693         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28694         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28695         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28696         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28697         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28698         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28699         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28700         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28701         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28702         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28703         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28705 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28707         [BZ #14132]
28708         * include/libc-symbols.h (INTUSE): Remove macro.
28709         (INTDEF): Likewise.
28710         (INTVARDEF): Likewise.
28711         (_INTVARDEF): Likewise.
28712         (INTDEF2): Likewise.
28713         (INTVARDEF2): Likewise.
28714         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28715         rtld_hidden_def instead of INTVARDEF.
28716         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28717         (_dl_starting_up_internal): Remove declaration.
28718         (_dl_starting_up): Use rtld_hidden_proto.
28719         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28720         declaration.
28721         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28722         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28723         _dl_starting_up.
28724         * elf/dl-writev.h (_dl_writev): Likewise.
28725         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28726         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28727         _dl_starting_up_internal.
28729 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28731         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28732         test-skeleton.c.
28734 2014-11-05  Will Newton  <will.newton@linaro.org>
28736         * benchtests/Makefile: (bench-malloc): Add malloc thread
28737         scalability benchmark.
28738         * benchtests/bench-malloc-threads.c: New file.
28740 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28742         * sysdeps/aarch64/strchrnul.S: New file.
28744 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28746         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28747         definition.
28748         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28749         Likwise.
28750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28751         Likewise.
28752         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28753         Likewise.
28754         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28755         Likewise.
28756         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28757         Likewise.
28759 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28761         * catgets/test-gencat.c: Use test-skeleton.c.
28762         * catgets/tst-catgets.c: Likewise.
28763         * csu/tst-empty.c: Likewise.
28764         * elf/tst-audit2.c: Likewise.
28765         * elf/tst-global1.c: Likewise.
28766         * elf/tst-pathopt.c: Likewise.
28767         * elf/tst-piemod1.c: Likewise.
28768         * elf/tst-tls10.c: Likewise.
28769         * elf/tst-tls11.c: Likewise.
28770         * elf/tst-tls12.c: Likewise.
28771         * gnulib/tst-gcc.c: Likewise.
28772         * iconvdata/tst-e2big.c: Likewise.
28773         * iconvdata/tst-loading.c: Likewise.
28774         * iconv/tst-iconv1.c: Likewise.
28775         * iconv/tst-iconv2.c: Likewise.
28776         * inet/test-inet6_opt.c: Likewise.
28777         * inet/tst-gethnm.c: Likewise.
28778         * inet/tst-network.c: Likewise.
28779         * inet/tst-ntoa.c: Likewise.
28780         * intl/tst-codeset.c: Likewise.
28781         * intl/tst-gettext2.c: Likewise.
28782         * intl/tst-gettext3.c: Likewise.
28783         * intl/tst-ngettext.c: Likewise.
28784         * intl/tst-translit.c: Likewise.
28785         * io/test-stat.c: Likewise.
28786         * libio/test-fmemopen.c: Likewise.
28787         * libio/tst-freopen.c: Likewise.
28788         * libio/tst-sscanf.c: Likewise.
28789         * libio/tst-ungetwc1.c: Likewise.
28790         * libio/tst-ungetwc2.c: Likewise.
28791         * libio/tst-widetext.c: Likewise.
28792         * localedata/tst-ctype.c: Likewise.
28793         * localedata/tst-digits.c: Likewise.
28794         * localedata/tst-leaks.c: Likewise.
28795         * localedata/tst-mbswcs1.c: Likewise.
28796         * localedata/tst-mbswcs2.c: Likewise.
28797         * localedata/tst-mbswcs3.c: Likewise.
28798         * localedata/tst-mbswcs4.c: Likewise.
28799         * localedata/tst-mbswcs5.c: Likewise.
28800         * localedata/tst-setlocale.c: Likewise.
28801         * localedata/tst-trans.c: Likewise.
28802         * localedata/tst-wctype.c: Likewise.
28803         * localedata/tst-xlocale1.c: Likewise.
28804         * login/tst-grantpt.c: Likewise.
28805         * malloc/tst-calloc.c: Likewise.
28806         * malloc/tst-malloc.c: Likewise.
28807         * malloc/tst-mallocstate.c: Likewise.
28808         * malloc/tst-mcheck.c: Likewise.
28809         * malloc/tst-mtrace.c: Likewise.
28810         * malloc/tst-obstack.c: Likewise.
28811         * math/atest-exp2.c: Likewise.
28812         * math/atest-exp.c: Likewise.
28813         * math/atest-sincos.c: Likewise.
28814         * math/test-matherr.c: Likewise.
28815         * math/test-misc.c: Likewise.
28816         * math/test-powl.c: Likewise.
28817         * math/tst-definitions.c: Likewise.
28818         * misc/tst-dirname.c: Likewise.
28819         * misc/tst-efgcvt.c: Likewise.
28820         * misc/tst-fdset.c: Likewise.
28821         * misc/tst-hsearch.c: Likewise.
28822         * misc/tst-mntent2.c: Likewise.
28823         * nptl/tst-sem7.c: Likewise.
28824         * nptl/tst-sem8.c: Likewise.
28825         * nptl/tst-sem9.c: Likewise.
28826         * nss/test-netdb.c: Likewise.
28827         * posix/tst-fnmatch.c: Likewise.
28828         * posix/tst-getlogin.c: Likewise.
28829         * posix/tst-gnuglob.c: Likewise.
28830         * posix/tst-mmap.c: Likewise.
28831         * pwd/tst-getpw.c: Likewise.
28832         * resolv/tst-inet_ntop.c: Likewise.
28833         * rt/tst-timer.c: Likewise.
28834         * stdio-common/test-fseek.c: Likewise.
28835         * stdio-common/test-popen.c: Likewise.
28836         * stdio-common/test-vfprintf.c: Likewise.
28837         * stdio-common/tst-cookie.c: Likewise.
28838         * stdio-common/tst-fileno.c: Likewise.
28839         * stdio-common/tst-gets.c: Likewise.
28840         * stdio-common/tst-obprintf.c: Likewise.
28841         * stdio-common/tst-perror.c: Likewise.
28842         * stdio-common/tst-sprintf2.c: Likewise.
28843         * stdio-common/tst-sprintf3.c: Likewise.
28844         * stdio-common/tst-sprintf.c: Likewise.
28845         * stdio-common/tst-swprintf.c: Likewise.
28846         * stdio-common/tst-tmpnam.c: Likewise.
28847         * stdio-common/tst-unbputc.c: Likewise.
28848         * stdio-common/tst-wc-printf.c: Likewise.
28849         * stdlib/tst-environ.c: Likewise.
28850         * stdlib/tst-fmtmsg.c: Likewise.
28851         * stdlib/tst-limits.c: Likewise.
28852         * stdlib/tst-rand48-2.c: Likewise.
28853         * stdlib/tst-rand48.c: Likewise.
28854         * stdlib/tst-random2.c: Likewise.
28855         * stdlib/tst-random.c: Likewise.
28856         * stdlib/tst-strtol.c: Likewise.
28857         * stdlib/tst-strtoll.c: Likewise.
28858         * stdlib/tst-tls-atexit.c: Likewise.
28859         * stdlib/tst-xpg-basename.c: Likewise.
28860         * string/test-ffs.c: Likewise.
28861         * string/tst-bswap.c: Likewise.
28862         * string/tst-inlcall.c: Likewise.
28863         * string/tst-strtok.c: Likewise.
28864         * string/tst-strxfrm.c: Likewise.
28865         * sysdeps/x86_64/tst-audit10.c: Likewise.
28866         * sysdeps/x86_64/tst-audit3.c: Likewise.
28867         * sysdeps/x86_64/tst-audit4.c: Likewise.
28868         * sysdeps/x86_64/tst-audit5.c: Likewise.
28869         * time/tst-ftime_l.c: Likewise.
28870         * time/tst-getdate.c: Likewise.
28871         * time/tst-mktime3.c: Likewise.
28872         * time/tst-mktime.c: Likewise.
28873         * time/tst-posixtz.c: Likewise.
28874         * time/tst-strptime2.c: Likewise.
28875         * time/tst-strptime3.c: Likewise.
28876         * wcsmbs/tst-btowc.c: Likewise.
28877         * wcsmbs/tst-mbrtowc.c: Likewise.
28878         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28879         * wcsmbs/tst-wchar-h.c: Likewise.
28880         * wcsmbs/tst-wcpncpy.c: Likewise.
28881         * wcsmbs/tst-wcrtomb.c: Likewise.
28882         * wcsmbs/tst-wcsnlen.c: Likewise.
28883         * wcsmbs/tst-wcstof.c: Likewise.
28885 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28887         [BZ #14132]
28888         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28889         INTDEF.
28890         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28891         declaration.
28892         (_dl_mcount): Use rtld_hidden_proto.
28893         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28894         _dl_mcount.
28895         * elf/rtld.c (_rtld_global_ro): Likewise.
28897         [BZ #14132]
28898         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28899         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28900         of _dl_init_internal.
28901         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28902         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28903         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28904         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28905         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28906         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28907         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28908         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28909         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28910         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28911         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28912         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28913         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28914         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28915         * sysdeps/tile/dl-start.S (_start): Likewise.
28916         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28917         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28919         [BZ #14132]
28920         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28921         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28922         (rtld_progname): Make macro definition unconditional.
28923         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28924         INTDEF.
28925         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28926         (dl_main): Likewise.
28927         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28928         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28929         instead of _dl_argv_internal.
28930         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28931         __GI__dl_argv instead of INTUSE(_dl_argv).
28932         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28933         __GI__dl_argv instead of _dl_argv_internal.
28935         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28936         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28937         macro.
28938         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28939         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28940         New macro.
28941         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28942         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28943         macro.
28944         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28945         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28947 2014-11-04  Andreas Schwab  <schwab@suse.de>
28949         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28951 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28953         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28954         mtvsrd instruction in binary form.
28956 2014-11-03  Andreas Schwab  <schwab@suse.de>
28958         [BZ #17522]
28959         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28960         for less than MB_LEN_MAX use a local buffer of that size.
28961         * libio/tst-fputws.c: New file.
28962         * libio/Makefile (tests): Add tst-fputws.
28964 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28966         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28967         the size of the fpu_fr.fpu_dregs[] array.
28969 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28971         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28972         (__nanosleep): Do not define as alias.
28973         (nanosleep): Define as alias of __nanosleep.
28974         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28975         __libc_nanosleep name.
28977 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28979         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28980         install.texi in comment.
28982 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28984         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28985         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28986         ... add here and use lwsync or sync ...
28987         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28988         ... and add here using lwsync.
28990 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28992         * elf/dl-machine-reject-phdr.h: New file.
28993         * elf/dl-load.c: #include that.
28994         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28995         if that returned true.
28997 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28999         [BZ #17496]
29000         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29001         gen-as-const-headers chunk.  Add a big scare comment after the last
29002         safe place to touch before-compile.
29004 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29006         * manual/install.texi (Tools for Compilation): Update autoconf
29007         version requirements.
29008         * INSTALL: Regenerated.
29010         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29011         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29012         (__libc_pselect): Likewise.
29014         [BZ #14138]
29015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29020 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29022         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29023         correct barrier instruction.
29024         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29025         Likewise.
29026         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29027         Likewise.
29029 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29031         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29032         after defining inlines.  Instead, just use parens to defeat macro
29033         expansion of __isctype in its declaration.
29035 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29037         * include/sys/uio.h (__libc_readv): Remove declaration.
29038         (__libc_writev): Likewise.
29039         * misc/readv.c (__libc_readv): Rename to __readv.
29040         (__readv): Do not define as alias.
29041         (readv): Define as alias of __readv.
29042         * misc/writev.c (__libc_writev): Rename to __writev.
29043         (__writev): Do not define as alias.
29044         (writev): Define as alias of __writev.
29045         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29046         (__readv): Do not define as alias.
29047         (readv): Define unconditionally as alias of __readv.
29048         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29049         (__writev): Do not define as alias.
29050         (writev): Define unconditionally as alias of __writev.
29051         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29052         name.
29053         (writev): Do not define __libc_writev name.
29055 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29057         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29058         (convert_charseq): New function, broken out of ...
29059         (use_from_charmap): ... here.  Call it.
29060         (use_to_charmap): Use convert_charseq and free instead of duplicating
29061         its code with a variable-length stack struct.
29063 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29065         * include/fcntl.h (__libc_creat): Remove declaration.
29066         * io/creat.c (__libc_creat): Rename to creat.
29067         (creat): Do not define as alias.
29068         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29069         of creat instead of __libc_creat.
29070         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29071         to creat.
29072         (creat): Do not define as alias.
29073         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29074         __libc_creat.
29075         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29076         __libc_creat name.
29077         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29078         Likewise.
29080 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29082         * manual/llio.texi: Add comments discussing why write() may be
29083         considered MT-unsafe on Linux.
29085 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29087         * dl-load.c (local_strdup): Remove.
29088         (expand_dynamic_string_token): Use __strdup.
29089         (decompose_rpath): Likewise.
29090         (_dl_map_object): Likewise.
29092 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29094         [BZ #14132]
29095         * sysdeps/generic/unwind-dw2-fde.c
29096         (__register_frame_info_bases_internal): Do not declare.
29097         (__register_frame_info_table_bases_internal): Likewise.
29098         (__deregister_frame_info_bases_internal): Likewise.
29099         (__register_frame_info_bases): Declare and use hidden_proto before
29100         definition.  Use hidden_def instead of INTDEF.
29101         (__register_frame_info_table_bases): Likewise.
29102         (__deregister_frame_info_bases): Likewise.
29103         (__register_frame_info): Do not use INTUSE.
29104         (__register_frame): Likewise.
29105         (__register_frame_info_table): Likewise.
29106         (__register_frame_table): Likewise.
29107         (__deregister_frame_info): Likewise.
29108         (__deregister_frame): Likewise.
29110 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29112         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29113         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29114         not undefine.
29115         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29116         Likewise.
29117         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29118         Likewise.
29120 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29122         [BZ #14138]
29123         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29124         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29125         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29126         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29127         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29128         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29129         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29130         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29131         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29132         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29133         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29134         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29135         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29136         syscall.
29137         (setfsuid): Likewise.
29138         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29139         (setfsuid): Likewise.
29140         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29141         (setfsuid): Likewise.
29142         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29143         Likewise.
29144         (setfsuid): Likewise.
29145         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29146         (setfsuid): Likewise.
29147         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29148         Likewise.
29149         (setfsuid): Likewise.
29151 2014-10-27  Andreas Schwab  <schwab@suse.de>
29153         [BZ #17501]
29154         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29155         check for Slow_SSE4_2 feature bit.
29156         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29157         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29158         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29159         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29161 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29163         * configure.ac: Validate compiler version with a empirical test of
29164         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29165         $CC -v output.
29166         * configure: Regenerated.
29168         * inet/htons.c (htons): Prototypify.
29169         * inet/htonl.c (htonl): Likewise.
29171 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29173         * string/strncat.c (strncat): Improve performance by using strlen.
29175 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29177         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29179 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29181         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29182         Call libc_fetestexcept_aarch64.
29184 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29186         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29187         Call libc_feholdexcept_aarch64.
29189 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29191         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29192         Call get_rounding_mode.
29194 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29196         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29197         Simplify logic.
29199 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29201         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29202         Simplify logic.
29204 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29206         [BZ #14138]
29207         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29208         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29209         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29210         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29211         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29212         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29213         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29214         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29215         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29216         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29217         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29218         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29219         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29220         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29221         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29222         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29223         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29224         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29225         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29226         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29227         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29228         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29229         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29230         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29231         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29232         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29233         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29234         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29235         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29236         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29237         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29238         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29239         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29240         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29241         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29242         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29243         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29244         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29245         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29246         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29247         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29248         syscall.
29249         (geteuid): Likewise.
29250         (getgid): Likewise.
29251         (getuid): Likewise.
29252         (getresgid): Likewise.
29253         (getresuid): Likewise.
29254         (getgroups): Likewise.
29255         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29256         (geteuid): Likewise.
29257         (getgid): Likewise.
29258         (getuid): Likewise.
29259         (getresgid): Likewise.
29260         (getresuid): Likewise.
29261         (getgroups): Likewise.
29262         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29263         (geteuid): Likewise.
29264         (getgid): Likewise.
29265         (getuid): Likewise.
29266         (getresgid): Likewise.
29267         (getresuid): Likewise.
29268         (getgroups): Likewise.
29269         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29270         Likewise.
29271         (geteuid): Likewise.
29272         (getgid): Likewise.
29273         (getuid): Likewise.
29274         (getresgid): Likewise.
29275         (getresuid): Likewise.
29276         (getgroups): Likewise.
29277         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29278         (geteuid): Likewise.
29279         (getgid): Likewise.
29280         (getuid): Likewise.
29281         (getresgid): Likewise.
29282         (getresuid): Likewise.
29283         (getgroups): Likewise.
29284         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29285         Likewise.
29286         (geteuid): Likewise.
29287         (getgid): Likewise.
29288         (getuid): Likewise.
29289         (getgroups): Likewise.
29291         [BZ #14138]
29292         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29293         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29294         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29295         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29296         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29297         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29298         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29299         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29300         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29301         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29302         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29303         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29304         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29305         __chown.
29306         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29307         (lchown): Likewise.
29308         (fchown): Likewise.
29309         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29310         Likewise.
29311         (lchown): Likewise.
29312         (fchown): Likewise.
29313         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29314         (lchown): Likewise.
29315         (fchown): Likewise.
29316         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29317         Likewise.
29318         (lchown): Likewise.
29319         (fchown): Likewise.
29321 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29323         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29324         Simplify logic.
29326 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29328         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29329         Cleanup logic.
29331 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29333         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29334         Remove unused include.
29336 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29338         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29339         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29340         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29341         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29343 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29344             Helge Deller <deller@gmx.de>
29346         [BZ #17508]
29347         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29348         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29349         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29351 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29353         [BZ #14132]
29354         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29355         Remove macro definition.
29356         (__ashrdi3_v_glibc20): Likewise.
29357         (__lshrdi3_v_glibc20): Likewise.
29358         (__cmpdi2_v_glibc20): Likewise.
29359         (__ucmpdi2_v_glibc20): Likewise.
29360         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29361         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29362         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29363         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29364         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29365         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29367 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29369         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29370         old GNU extension [0] syntax.
29371         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29372         alloca rather than an array member with variable length.
29373         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29374         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29375         (parse_opt): ... here.  Likewise use alloca there.
29376         Validate the -i argument before checking for rootness.
29377         (send_shutdown): New function, broken out of ...
29378         (parse_opt): ... here.
29380 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29382         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29383         macro to get at the _rt_local_ro field.
29384         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29385         ([PIC] case) or _dl_hwcap ([!PIC] case).
29386         * sysdeps/arm/setjmp.S: Likewise.
29388         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29389         * sysdeps/arm/configure.ac: New check to define it.
29390         * sysdeps/arm/configure: Regenerated.
29391         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29392         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29393         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29394         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29395         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29396         Use move/movt pair instead of a load.
29397         (LDST_GLOBAL): Macro removed.
29398         (LDR_GLOBAL): New macro replaces it.
29399         (LDR_HIDDEN): New macro.
29400         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29401         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29403         * setjmp/tst-setjmp-static.c: New file.
29404         * setjmp/Makefile (tests): Add it.
29405         (tests-static): New variable.
29407 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29409         [BZ #17485]
29410         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29412 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29414         [BZ #14132]
29415         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29417 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29419         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29421 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29423         * io/fts.c (dirent_not_directory): New function.
29424         (fts_build): Call it.
29426 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29428         * nptl/version.c (__nptl_main): Use normal __write rather than
29429         INTERNAL_SYSCALL.
29430         (banner): Update copyright years.
29432         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29433         gettimeofday.
29434         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29435         * nptl/pthread_cond_timedwait.c: Likewise.
29436         * nptl/pthread_mutex_timedlock.c: Likewise.
29437         * nptl/sem_timedwait.c: Likewise.
29439         * sysdeps/nptl/bits/libc-lock.h
29440         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29441         (__libc_lock_init_recursive): Return void, not 0.
29442         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29443         (__libc_rwlock_init): Likewise.
29444         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29446 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29448         [BZ #15215]
29449         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29450         (__pthread_once_slow): ... here.
29451         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29452         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29454 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29456         [BZ #15215]
29457         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29458         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29459         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29460         * nptl/pthread_once.c (__pthread_once): Likewise.
29461         Update comments.
29463 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29465         [BZ #14138]
29466         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29467         name.
29468         (writev): Use __libc_writev as strong name.
29469         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29470         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29472 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29474         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29476         * sysdeps/i386/nptl/tls.h
29477         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29478         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29479         New macros.
29480         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29481         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29482         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29483         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29484         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29485         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29487         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29488         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29489         on [__NR_futex].
29490         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29491         broken out of ...
29492         (__pthread_mutex_init): ... here.  Call it.
29493         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29494         Conditionalize PI cases on [__NR_futex].
29495         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29496         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29497         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29499         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29500         conditional on [SIGSETXID].
29501         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29502         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29503         is defined.  Likewise for SIGSETXID.
29504         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29505         Conditionalize definitions on [SIGSETXID].
29506         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29507         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29508         unblocking on [SIGCANCEL].
29510         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29511         [__NR_set_robust_list].
29513 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29515         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29516         (do_compare): Likewise.
29518 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29520         [BZ #15884]
29521         * string/strcoll_l.c: Don't include stdio.h.
29522         (coll_seq): Remove members idxarr and rulearr.
29523         (get_next_seq_cached): Remove function.
29524         (get_next_seq): Likewise.
29525         (get_next_seq_nocache): Rename to get_next_seq.
29526         (do_compare): Remove function.
29527         (do_compare_nocache): Rename to do_compare.
29528         (STRCOLL): Remove weight and rules cache.
29530 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29532         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29533         * sysdeps/arm/sfp-machine.h: ... to here.
29534         * sysdeps/arm/Implies: Remove arm/soft-fp.
29536 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29538         * conform/data/sys/utsname.h-data (*_t): Allow.
29539         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29540         [POSIX] (WEXITED): Do not expect constant.
29541         [POSIX] (WSTOPPED): Likewise.
29542         [POSIX] (WNOHANG): Likewise.
29543         [POSIX] (WNOWAIT): Likewise.
29544         [POSIX] (siginfo_t): Do not expect type or elements.
29545         [POSIX] (pid_t): Do not expect type.
29546         [POSIX] (signal.h): Do not allow header.
29547         [POSIX] (sys/resource.h): Likewise.
29548         [POSIX] (si_*): Do not allow pattern.
29549         [POSIX] (W*): Likewise.
29550         [POSIX] (P_*): Likewise.
29551         [POSIX] (BUS_*): Likewise.
29552         [POSIX] (CLD_*): Likewise.
29553         [POSIX] (FPE_*): Likewise.
29554         [POSIX] (ILL_*): Likewise.
29555         [POSIX] (POLL_*): Likewise.
29556         [POSIX] (SEGV_*): Likewise.
29557         [POSIX] (SI_*): Likewise.
29558         [POSIX] (TRAP_*): Likewise.
29559         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29560         variable.
29562 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29564         [BZ #12926]
29565         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29566         infinite loop when __recvmsg returns 0.
29568 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29570         * CANCEL-FCT-WAIVE: Remove file.
29571         * CANCEL-FILE-WAIVE: Likewise.
29573         [BZ #14132]
29574         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29575         instead of INTVARDEF.
29576         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29577         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29578         rtld_hidden_data_def instead of INTVARDEF.
29579         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29580         * elf/dl-deps.c (expand_dst): Likewise.
29581         * elf/dl-load.c (_dl_dst_count): Likewise.
29582         (_dl_dst_substitute): Likewise.
29583         (decompose_rpath): Likewise.
29584         (_dl_init_paths): Likewise.
29585         (open_path): Likewise.
29586         (_dl_map_object): Likewise.
29587         * elf/rtld.c (dl_main): Likewise.
29588         (process_dl_audit): Likewise.
29589         (process_envvars): Likewise.
29590         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29591         Remove declaration.
29592         (__libc_enable_secure): Use rtld_hidden_proto.
29594 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29596         * elf/dl-load.c
29597         (add_path): New function broken out of _dl_rtld_di_serinfo.
29598         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29600 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29602         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29603         parentheses around macro arguments.
29604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29605         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29606         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29607         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29608         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29609         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29610         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29611         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29612         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29613         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29614         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29615         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29616         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29617         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29618         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29619         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29620         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29621         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29623         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29624         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29625         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29626         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29627         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29629         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29630         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29631         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29632         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29633         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29634         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29635         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29636         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29637         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29638         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29639         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29640         Likewise.
29641         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29642         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29643         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29645         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29646         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29647         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29648         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29649         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29650         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29651         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29652         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29653         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29654         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29655         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29658         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29659         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29662         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29663         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29664         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29665         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29666         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29667         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29668         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29669         (_FP_FRAC_SRS_1): Likewise.
29670         (_FP_FRAC_CLZ_1): Likewise.
29671         (_FP_MUL_MEAT_1_imm): Likewise.
29672         (_FP_MUL_MEAT_1_wide): Likewise.
29673         (_FP_MUL_MEAT_1_hard): Likewise.
29674         (_FP_SQRT_MEAT_1): Likewise.
29675         (_FP_FRAC_ASSEMBLE_1): Likewise.
29676         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29677         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29678         (__FP_CLZ_2): Likewise.
29679         (_FP_MUL_MEAT_2_wide): Likewise.
29680         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29681         (_FP_MUL_MEAT_2_gmp): Likewise.
29682         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29683         (_FP_SQRT_MEAT_2): Likewise.
29684         (_FP_FRAC_ASSEMBLE_2): Likewise.
29685         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29686         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29687         (_FP_FRAC_CLZ_4): Likewise.
29688         (_FP_MUL_MEAT_4_wide): Likewise.
29689         (_FP_MUL_MEAT_4_gmp): Likewise.
29690         (_FP_SQRT_MEAT_4): Likewise.
29691         (_FP_FRAC_ASSEMBLE_4): Likewise.
29692         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29693         * soft-fp/op-common.h (_FP_CMP): Likewise.
29694         (_FP_CMP_EQ): Likewise.
29695         (_FP_CMP_UNORD): Likewise.
29696         (_FP_TO_INT): Likewise.
29697         (_FP_FROM_INT): Likewise.
29698         [!__FP_CLZ] (__FP_CLZ): Likewise.
29699         (_FP_DIV_HELP_imm): Likewise.
29700         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29701         Likewise.
29702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29703         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29704         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29705         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29706         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29707         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29708         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29709         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29710         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29711         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29712         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29713         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29714         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29715         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29716         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29717         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29718         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29719         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29720         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29721         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29722         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29723         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29724         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29725         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29726         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29727         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29728         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29729         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29730         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29731         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29732         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29733         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29734         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29735         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29736         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29737         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29738         (FP_UNPACK_RAW_SP): Likewise.
29739         (FP_PACK_RAW_S): Likewise.
29740         (FP_PACK_RAW_SP): Likewise.
29741         (FP_UNPACK_S): Likewise.
29742         (FP_UNPACK_SP): Likewise.
29743         (FP_UNPACK_SEMIRAW_S): Likewise.
29744         (FP_UNPACK_SEMIRAW_SP): Likewise.
29745         (FP_PACK_S): Likewise.
29746         (FP_PACK_SP): Likewise.
29747         (FP_PACK_SEMIRAW_S): Likewise.
29748         (FP_PACK_SEMIRAW_SP): Likewise.
29749         (_FP_SQRT_MEAT_S): Likewise.
29750         (FP_CMP_S): Likewise.
29751         (FP_CMP_EQ_S): Likewise.
29752         (FP_CMP_UNORD_S): Likewise.
29753         (FP_TO_INT_S): Likewise.
29754         (FP_FROM_INT_S): Likewise.
29756         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29758         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29759         (FP_EX_INVALID_IMZ): Likewise.
29760         (FP_EX_INVALID_IMZ_FMA): Likewise.
29761         (FP_EX_INVALID_ISI): Likewise.
29762         (FP_EX_INVALID_ZDZ): Likewise.
29763         (FP_EX_INVALID_IDI): Likewise.
29764         (FP_EX_INVALID_SQRT): Likewise.
29765         (FP_EX_INVALID_CVI): Likewise.
29766         (FP_EX_INVALID_VC): Likewise.
29767         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29768         "invalid" exceptions.
29769         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29770         (_FP_ADD_INTERNAL): Likewise.
29771         (_FP_MUL): Likewise.
29772         (_FP_FMA): Likewise.
29773         (_FP_DIV): Likewise.
29774         (_FP_CMP_CHECK_NAN): Likewise.
29775         (_FP_SQRT): Likewise.
29776         (_FP_TO_INT): Likewise.
29777         (FP_EXTEND): Likewise.
29779 2014-10-09  Allan McRae  <allan@archlinux.org>
29781         * po/fr.po: Update French translation from translation project.
29783 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29785         [BZ #14132]
29786         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29787         of INTDEF.
29788         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29789         (__cxa_atexit): Use libc_hidden_proto.
29790         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29792         [BZ #14132]
29793         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29794         declaration.
29795         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29796         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29797         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29798         [!_ISOMAC] (__iswctype_internal): Likewise.
29799         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29800         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29801         alias.
29802         (fcntl): Remove __fcntl_internal alias.
29803         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29804         __connect_internal alias.
29805         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29806         Likewise.
29808         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29809         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29810         FP_DENORM_ZERO.
29811         (_FP_CHECK_FLUSH_ZERO): New macro.
29812         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29813         (_FP_CMP): Likewise.
29814         (_FP_CMP_EQ): Likewise.
29815         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29816         FP_DENORM_ZERO.
29817         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29818         (FP_TRUNC): Likewise.
29820         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29821         treated as invalid conversion, not as normal exponent.
29823         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29824         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29825         (_FP_CMP_EQ): Likewise.
29826         (_FP_CMP_UNORD): Likewise.
29827         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29828         (FP_CMP_EQ_D): Likewise.
29829         (FP_CMP_UNORD_D): Likewise.
29830         * soft-fp/extended.h (FP_CMP_E): Likewise.
29831         (FP_CMP_EQ_E): Likewise.
29832         (FP_CMP_UNORD_E): Likewise.
29833         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29834         (FP_CMP_EQ_Q): Likewise.
29835         (FP_CMP_UNORD_Q): Likewise.
29836         * soft-fp/single.h (FP_CMP_S): Likewise.
29837         (FP_CMP_EQ_S): Likewise.
29838         (FP_CMP_UNORD_S): Likewise.
29839         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29840         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29841         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29842         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29843         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29844         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29845         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29846         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29847         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29848         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29849         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29850         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29851         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29852         to FP_CMP_Q.
29853         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29854         FP_CMP_Q.
29855         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29856         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29857         FP_CMP_EQ_Q.
29858         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29859         FP_CMP_Q.
29860         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29861         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29862         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29863         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29864         FP_CMP_EQ_Q.
29865         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29866         FP_CMP_Q.
29867         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29868         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29869         FP_CMP_EQ_Q.
29870         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29871         FP_CMP_Q.
29872         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29873         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29874         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29875         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29876         FP_CMP_EQ_Q.
29878         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29879         a subnormal result, set the underflow exception if trapping on
29880         underflow is enabled.
29881         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29882         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29883         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29884         redefine to 0.
29885         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29886         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29887         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29888         * soft-fp/extendxftf2.c (__extendxftf2): Use
29889         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29891         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29892         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29893         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29894         FP_HANDLE_EXCEPTIONS.
29895         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29896         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29897         FP_HANDLE_EXCEPTIONS.
29898         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29899         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29900         FP_HANDLE_EXCEPTIONS.
29901         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29902         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29903         FP_HANDLE_EXCEPTIONS.
29905 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29907         [BZ #14132]
29908         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29909         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29910         use INTUSE.
29911         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29912         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29913         Remove alias.
29914         (__adjtimex): Define using libc_hidden_ver.
29915         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29916         Remove declaration.
29917         (ntp_gettime): Call __adjtimex directly.
29918         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29919         Remove declaration.
29920         (ntp_gettimex): Call __adjtimex directly.
29921         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29922         __adjtimex_internal alias.
29924 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29926         [BZ #17460]
29927         * nscd/nscd.c (more_help): Rewrite list of tables collection
29928         using xstrdup and asprintf.
29930         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29932 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29933             Roland McGrath  <roland@hack.frob.com>
29935         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29936         (do_lookup_unique): ... local function 'enter' here; update callers.
29938 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29940         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29941         compat_symbol calls on [SHARED].
29942         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29943         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29944         Remove.
29945         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29946         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29947         (oldsetrlimit): Remove.
29948         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29950         (lchown): New syscall entry.
29951         (oldsetrlimit): Remove.
29952         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29953         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29954         (oldsetrlimit): Remove.
29955         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29957         [BZ #14138]
29958         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29959         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29960         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29961         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29962         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29963         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29964         (fchown): Likewise.
29965         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29966         (fchown): Likewise.
29967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29968         Likewise.
29970 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29972         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29973         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29974         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29975         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29976         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29977         Likewise.
29978         (__old_sem_post): Likewise.
29980 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29982         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29983         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29984         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29985         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29986         Use INLINE_VSYSCALL macro.
29987         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29988         __vdso_clock_gettime.
29989         * sysdeps/unix/sysv/linux/tile/init-first.c
29990         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29991         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29992         __vdso_clock_gettime.
29994         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29995         to set up frame more cleanly.
29997         * sysdeps/tile/memcmp.c: New file.
29999         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30001         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30002         * sysdeps/tile/tilegx/strcasestr.c: New file.
30003         * sysdeps/tile/tilegx/strnlen.c: New file.
30004         * sysdeps/tile/tilegx/strstr.c: New file.
30006         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30008 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30010         * nptl/tst-setuid3.c: Write errors to stdout.
30012 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30014         * elf/dl-deps.c
30015         (preload): New functions broken out of _dl_map_object_deps.
30016         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30018 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30020         [BZ #14138]
30021         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30022         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30024 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30026         * sysdeps/mips/strcmp.S: New.
30028 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30030         [BZ #14138]
30031         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30032         (linkat): Likewise.
30033         (mkdirat): Likewise.
30034         (readlinkat): Likewise.
30035         (renameat): Likewise.
30036         (symlinkat): Likewise.
30037         (unlinkat): Likewise.
30038         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30039         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30040         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30041         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30042         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30043         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30044         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30046 2014-09-30  Will Newton  <will.newton@linaro.org>
30048         * math/math.h: Define long double math functions if
30049         _LIBC_TEST is defined.
30050         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30052         * localedata/Makefile: Move assignment to tests-special
30053         into an ifdef testing run-built-tests.
30054         * timezone/Makefile: Likewise.
30056 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30058         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30059         with $(BASH) not $(SHELL).
30061 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30062             Matthew LeGendre  <legendre1@llnl.gov>
30064         [BZ #17411]
30065         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30066         l_reloc_result.
30068 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30070         * stdio-common/printf_fp.c
30071         (hack_digit): New function, broken out of ...
30072         (__printf_fp): ... local function here.  Update call sites.
30073         hack_digit now takes an additional parameter that is a pointer
30074         to a struct of the referenced locals.  Those locals moved inside
30075         the struct and references updated.
30077 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30079         * aclocal.m4: Require autoconf 2.69.
30080         * configure: Regenerated.
30081         * sysdeps/aarch64/configure: Likewise.
30082         * sysdeps/alpha/configure: Likewise.
30083         * sysdeps/arm/armv7/configure: Likewise.
30084         * sysdeps/arm/configure: Likewise.
30085         * sysdeps/ia64/configure: Likewise.
30086         * sysdeps/mach/configure: Likewise.
30087         * sysdeps/mips/configure: Likewise.
30088         * sysdeps/s390/configure: Likewise.
30089         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30092         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30093         file.
30094         * sysdeps/ia64/configure.ac: Likewise.
30096 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30099         specify symbol version for ld.so.  Do not include entry for
30100         libpthread.
30101         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30102         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30103         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30105         [BZ #14171]
30106         * Makeconfig [$(build-shared) = yes]
30107         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30108         makefiles.
30109         [$(build-shared) = yes && $(soversions.mk-done) = t]
30110         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30111         [$(build-shared) = yes && $(soversions.mk-done) = t]
30112         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30113         to Makerules.
30114         [$(build-shared) = yes && $(soversions.mk-done) = t]
30115         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30116         here.
30117         [$(build-shared) = yes && $(soversions.mk-done) = t]
30118         (common-generated): Don't append gnu/lib-names.h and
30119         gnu/lib-names.stmp here.
30120         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30121         (lib-names-h-abi): New variable.
30122         [$(build-shared) = yes && $(soversions.mk-done) = t]
30123         (lib-names-stmp-abi): Likewise.
30124         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30125         abi-variants] (before-compile): Append
30126         $(common-objpfx)$(lib-names-h-abi).
30127         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30128         abi-variants] (common-generated): Append gnu/lib-names.h.
30129         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30130         abi-variants] (install-others-nosubdir): Depend on
30131         $(inst_includedir)/$(lib-names-h-abi).
30132         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30133         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30134         [$(build-shared) = yes && $(soversions.mk-done) = t]
30135         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30136         [$(build-shared) = yes && $(soversions.mk-done) = t]
30137         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30138         [$(build-shared) = yes && $(soversions.mk-done) = t]
30139         (common-generated): Append $(lib-names-h-abi) and
30140         $(lib-names-stmp-abi).
30141         * scripts/lib-names.awk: Do not handle multi being set.
30142         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30143         Remove variable.
30144         (abi-lp64_be-ld-soname): Likewise.
30145         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30146         Likewise.
30147         (abi-hard-ld-soname): Likewise.
30148         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30149         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30150         Remove variable.
30151         (abi-o32_hard-ld-soname): Likewise.
30152         (abi-o32_soft_2008-ld-soname): Likewise.
30153         (abi-o32_hard_2008-ld-soname): Likewise.
30154         (abi-n32_soft-ld-soname): Likewise.
30155         (abi-n32_hard-ld-soname): Likewise.
30156         (abi-n32_soft_2008-ld-soname): Likewise.
30157         (abi-n32_hard_2008-ld-soname): Likewise.
30158         (abi-n64_soft-ld-soname): Likewise.
30159         (abi-n64_hard-ld-soname): Likewise.
30160         (abi-n64_soft_2008-ld-soname): Likewise.
30161         (abi-n64_hard_2008-ld-soname): Likewise.
30162         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30163         Likewise.
30164         (abi-64-v2-ld-soname): Likewise.
30165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30166         ld.so entries.
30167         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30168         variable.
30169         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30170         entry.
30171         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30172         variable.
30173         (abi-64-ld-soname): Likewise.
30174         (abi-x32-ld-soname): Likewise.
30175         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30176         entry.
30177         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30179 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30181         [BZ #14138]
30182         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30183         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30184         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30185         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30186         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30187         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30188         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30189         syscall entry for GLIBC_2.2 symbol version.
30190         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30191         Likewise.
30192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30193         (setrlimit): Likewise.
30194         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30195         Likewise.
30197 2014-09-23  Will Newton  <will.newton@linaro.org>
30199         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30200         _LINUX_ARM_SYSDEP_H include guard too.
30201         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30202         define.
30204 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30206         * sysdeps/unix/sysv/linux/eventfd.c:
30207         Make first argument unsigned.
30208         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30209         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30211 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30213         [BZ #16852]
30214         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30215         * socket/sys/socket.h: Likewise.
30216         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30218 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30220         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30222 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30224         * time/tst-ftime.c: New test.
30225         * time/Makefile (tests): Add tst-ftime.
30227 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30229         * soft-fp/extended.h: Fix comment formatting.
30230         * soft-fp/op-1.h: Likewise.
30231         * soft-fp/op-2.h: Likewise.
30232         * soft-fp/op-4.h: Likewise.
30233         * soft-fp/op-8.h: Likewise.
30234         * soft-fp/op-common.h: Likewise.
30235         * soft-fp/soft-fp.h: Likewise.
30237         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30239 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30241         [BZ #6652]
30242         * Makeconfig (soversions-default-setname): Remove variable.
30243         ($(common-objpfx)soversions.i): Don't pass default_setname to
30244         soversions.awk.
30245         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30246         oldest_abi to abi-versions.awk.
30247         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30248         * config.make.in (oldest-abi): Remove variable.
30249         * configure.ac (--enable-oldest-abi): Remove configure option.
30250         * configure: Regenerated.
30251         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30252         text.
30253         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30254         * scripts/soversions.awk: Do not handle default_setname variable.
30255         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30256         variable.
30257         * sysdeps/mach/hurd/configure: Regenerated.
30258         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30259         variable.
30260         * sysdeps/unix/sysv/linux/configure: Regenerated.
30262 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30264         * elf/Makefile (CFLAGS-interp.c): Remove.
30265         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30266         path string.
30267         * elf/interp.c: Include generated runtime-linker.h
30269         * Makerules (lib%.so): Don't include $(+interp) in
30270         prerequisites.
30271         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30272         * dlfcn/eval.c: Remove file.
30274         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30275         macros.
30277         [BZ #17266]
30278         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30279         4.2 and newer.
30281         [BZ #17370]
30282         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30284 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30285             Jakub Jelinek  <jakub@redhat.com>
30287         [BZ #17266]
30288         * libio/stdio.h: Check definition of __fortify_function
30289         instead of __extern_always_inline to include bits/stdio2.h.
30290         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30291         check if __extern_always_inline is defined.
30292         [__USE_MISC || __USE_XOPEN]: Likewise.
30293         [__USE_ISOC99] Likewise.
30294         * misc/sys/cdefs.h (__fortify_function): Define only if
30295         __extern_always_inline is defined.
30296         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30297         __extern_always_inline and __extern_inline only for g++-4.3
30298         and newer or a compatible gcc.
30300 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30302         [BZ #17371]
30303         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30304         last change to handle zero prefix length.
30306 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30308         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30309         _SC_REGEX_VERSION.
30311         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30312         _POSIX_RAW_SOCKETS.
30314 2014-09-13  Allan McRae  <allan@archlinux.org>
30316         * po/ru.po: Update Russian translation from translation project.
30318 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30320         * locale/programs/locale.c (show_locale_vars): Inline local function
30321         into its sole call site.  Clean up some style nits.
30322         (print_item): New function, broken out of ...
30323         (show_info): ... local function here.  Clean up style nits.
30325         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30326         out of ...
30327         (set_class_defaults): ... local function set_default here.
30328         Define set_default as a macro locally to pass constant parameters.
30329         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30330         rather than a shared local.
30332         * stdlib/rpmatch.c (try): New function, broken out of ...
30333         (rpmatch): ... local function here.  Also, prototypify definition.
30335 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30337         * scripts/soversions.awk: Do not handle configuration names.
30338         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30339         vendor and os variables to soversions.awk.
30340         * configure.ac: Do not modify gnu-* host_os.
30341         * configure: Regenerated
30342         * shlib-versions: Remove first column with configuration names.
30343         * nptl/shlib-versions: Likewise.
30344         * nptl_db/shlib-versions: Likewise.
30345         * sysdeps/hppa/shlib-versions: Likewise.
30346         * sysdeps/m68k/shlib-versions: Likewise.
30347         * sysdeps/mach/hurd/shlib-versions: Likewise.
30348         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30349         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30350         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30351         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30352         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30353         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30354         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30355         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30357         Likewise.
30358         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30359         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30360         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30361         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30362         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30363         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30364         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30365         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30368         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30370         Regenerated.
30371         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30373         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30375         * shlib-versions: Remove OS-specific entries.  Moved to files in
30376         sysdeps.
30377         * sysdeps/mach/hurd/shlib-versions: New file.
30378         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30380         * nptl/shlib-versions: Remove architecture-specific entries.
30381         Moved to files in sysdeps.
30382         * shlib-versions: Likewise.
30383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30384         file.
30385         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30386         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30387         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30388         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30390         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30391         (UDP_NO_CHECK6_RX): Likewise.
30393 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30395         * sysdeps/posix/sysconf.c (__sysconf): Spell
30396         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30398 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30400         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30401         loading.
30402         * iconv/Versions (__gconv_transliterate): Export for use from
30403         gconv modules.
30404         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30405         (struct __gconv_trans_data, __gconv_trans_fct,
30406         __gconv_trans_context_fct, __gconv_trans_query_fct,
30407         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30408         definitions.
30409         (struct __gconv_step_data): Remove __trans member.
30410         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30411         longer hidden.  Remove unused trans_data argument.
30412         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30413         (__gconv_translit_find): Remove declaration.
30414         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30415         prototype.
30416         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30417         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30418         trans_data argument.  Add hidden definition.
30419         (__gconv_translit_find): Remove.
30420         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30421         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30422         * iconv/skeleton.c: Remove transliteration initialization.
30423         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30424         __gconv_step_data initialization.
30425         * libio/iofwide.c (__libio_translit_): Remove.
30426         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30427         * wcsmbs/btowc.c (__btowc): Likewise.
30428         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30429         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30430         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30431         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30432         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30433         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30434         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30435         * wcsmbs/wctob.c (wctob): Likewise.
30437 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30439         [BZ #16194]
30440         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30441         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30442         register usage.
30443         * sysdeps/x86/Makefile: Adjust.
30445 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30446             Roland McGrath  <roland@hack.frob.com>
30448         * locale/weight.h: Add include guard.
30449         (findidx): Make static rather than auto; take new parameters
30450         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30451         * locale/weightwc.h: Likewise.
30452         * posix/fnmatch_loop.c
30453         (FCT): Change type of EXTRA from int32_t to wint_t.
30454         Don't include either header inside the function.
30455         Call FINDIDX rather than findidx, and pass new arguments.
30456         #undef FINDIDX at the end of the file.
30457         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30458         FINDIDX before including fnmatch_loop.c for the non-wide version.
30459         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30460         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30461         for the wide version.
30462         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30463         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30464         Pass new arguments to findidx.
30465         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30466         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30467         Don't #include it inside the function.  Pass new arguments to findidx.
30468         * posix/regex_internal.h
30469         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30470         (re_string_elem_size_at): Don't #include it inside the function.
30471         Pass new arguments to findidx.
30472         * string/strcoll_l.c: #include WEIGHT_H at top level.
30473         (get_next_seq): Don't #include it inside the function.
30474         Pass new arguments to findidx.
30475         (get_next_seq_nocache): Likewise.
30476         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30477         (STRXFRM): Don't #include it inside the function.
30478         Pass new arguments to findidx.
30480 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30482         [BZ #17344]
30483         * malloc/malloc.c (unlink): Turn asserts into a call to
30484         malloc_printerr.
30486 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30488         [BZ #17370]
30489         * libio/wfileops (do_ftell_wide): Free OUT.
30491 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30493         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30495 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30497         [BZ #17363]
30498         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30499         group if the current group is empty.
30501 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30503         * benchtests/bench-memset.c (test_main): Add more test from size
30504         from 32 to 512 bytes.
30505         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30506         Add POWER8 memset object.
30507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30508         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30509         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30510         implementation.
30511         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30512         Likewise.
30513         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30514         multiarch POWER8 memset optimization.
30515         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30516         POWER8 memset optimization.
30518         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30519         Remove bzero multiarch objects.
30520         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30521         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30522         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30523         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30524         Remove define.
30525         [__bzero]: Redefine to specific name.
30526         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30527         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30528         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30529         define.
30530         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30531         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30533 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30535         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30536         warnings into errors.
30538         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30539         __cxa_thread_atexit_impl prototype.
30541 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30543         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30544         Fix capitalization of error message.
30546 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30548         * sysdeps/mips/preconfigure: Modify ABI tests.
30550 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30552         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30554 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30555             Carlos O'Donell  <carlos@systemhalted.org>
30557         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30558         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30559         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30560         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30561         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30562         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30563         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30564         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30565         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30566         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30567         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30568         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30569         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30570         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30571         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30572         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30573         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30574         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30575         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30576         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30577         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30578         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30579         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30580         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30581         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30582         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30583         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30584         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30585         Deconditionalize the code that was previously under [RESET_PID].
30586         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30587         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30588         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30589         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30590         include sysdep.h.
30592 2014-09-08  Allan McRae  <allan@archlinux.org>
30594         * version.h (RELEASE): Set to "development".
30595         (VERSION): Set to "2.20.90"
30597 2014-09-07  Allan McRae  <allan@archlinux.org
30599         * version.h (RELEASE): Set to "stable".
30600         (VERSION): Set to "2.20"
30601         * include/features.h (__GLIBC_MINOR__): Set to 20.
30603         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30604         Liebler.
30606         * po/ko.po: Update Korean translation from translation project.
30608 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30610         [BZ #17354]
30611         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30612         macro for handling signed relocations.
30614 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30616         [BZ #17325]
30617         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30618         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30619         assert.
30620         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30621         * iconvdata/ibm935.c (BODY): Likewise.
30622         * iconvdata/ibm937.c (BODY): Likewise.
30623         * iconvdata/ibm939.c (BODY): Likewise.
30624         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30625         assert.
30626         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30627         script.
30628         * iconvdata/run-iconv-test.sh: New test loop for checking for
30629         decoder crashers.
30631 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30633         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30634         libm_hidden_ver.
30636 2014-09-01  Allan McRae  <allan@archlinux.org>
30638         * po/eo.po: Update Esperanto translation from translation project.
30640         * po/ca.po: Update Catalan translation from translation project.
30642 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30644         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30645         __proc_dostop call.
30647 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30649         [BZ #17319]
30650         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30651         to call set_thread_area instead of hand written asm.
30652         (__NR_set_thread_area): Removed define.
30653         (TLS_FLAG_WRITABLE): Likewise.
30654         (__ASSUME_SET_THREAD_AREA): Remove check.
30655         (TLS_EBX_ARG): Remove define.
30656         (TLS_LOAD_EBX): Likewise.
30658 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30660         Simplify atomicity of socket creation in bind.
30662         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30663         looking up the name after linking the file.
30665 2014-08-27  Allan McRae  <allan@archlinux.org>
30667         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30669 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30671         [BZ #17187]
30672         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30673         trans_compare, open_translit, __gconv_translit_find):
30674         Remove module loading code.
30676 2014-08-26  Allan McRae  <allan@archlinux.org>
30678         * po/vi.po: Update Vietnamese translation from translation project.
30680         * po/uk.po: Update Ukrainian translation from translation project.
30682         * po/fr.po: Update French translation from translation project.
30684         * po/ru.po: Update Russian translation from translation project.
30686         * po/pl.po: Update Polish translation from translation project.
30688         * po/cs.po: Update Czech translation from translation project.
30690         * po/de.po: Update German translation from translation project.
30692         * po/bg.po: Update Bulgarian translation from translation project.
30694         * po/sv.po: Update Sweedish translation from translation project.
30696         * po/nl.po: Update Dutch translation from translation project.
30698         * po/es.po: Update Spanish translation from translation project.
30700 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30702         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30704         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30705         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30706         (CPPFLAGS-iconvconfig): Likewise.
30707         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30709         * include/libc-symbols.h: Remove unnecessary check for
30710         NOT_IN_libc.
30711         * nptl/pthreadP.h: Likewise.
30712         * sysdeps/aarch64/setjmp.S: Likewise.
30713         * sysdeps/alpha/setjmp.S: Likewise.
30714         * sysdeps/arm/sysdep.h: Likewise.
30715         * sysdeps/i386/setjmp.S: Likewise.
30716         * sysdeps/m68k/setjmp.c: Likewise.
30717         * sysdeps/posix/getcwd.c: Likewise.
30718         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30719         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30720         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30721         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30722         * sysdeps/sh/sh3/setjmp.S: Likewise.
30723         * sysdeps/sh/sh4/setjmp.S: Likewise.
30724         * sysdeps/unix/alpha/sysdep.h: Likewise.
30725         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30726         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30727         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30728         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30731         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30732         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30733         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30734         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30735         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30736         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30737         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30738         * sysdeps/x86_64/setjmp.S: Likewise.
30740 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30742         [BZ #17263]
30743         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30744         <stdint.h>.
30745         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30746         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30748 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30750         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30752         [BZ #17262]
30753         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30754         and __x86_64__ when disabling x87 inline functions.
30756 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30758         [BZ #17259]
30759         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30760         asm statement with __cpuid_count.
30762 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30764         * configure.ac: Change __ehdr_start code to dereference the struct.
30765         Run readelf on the output to look for relocations.
30766         * configure: Regenerated.
30768 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30770         [BZ #17261]
30771         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30772         value to 0.
30773         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30775 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30777         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30779 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30781         [BZ #16892]
30782         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30783         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30785 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30787         * malloc/malloc.c: Fix typo in comment.
30789 2014-08-09  Allan McRae  <allan@archlinux.org>
30791         * Regenerate libc.po.
30793 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30795         * intl/tst-gettext2.sh: Check every lang file for creation.
30797 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30799         * sysdeps/aarch64/fpu/math_private.h
30800         (libc_feholdsetround_noex_aarch64_ctx): New function.
30802 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30804         * sysdeps/arm/armv6/strcpy.S (strcpy):
30805         Fix performance issue in misaligned cases.
30807 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30809         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30810         Move definition from termios.h.
30811         (struct termio): Likewise.
30812         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30813         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30814         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30815         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30816         Likewise.
30817         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30818         Move definition to ioctl-types.h
30819         (struct termio): Likewise.
30820         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30821         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30822         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30823         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30824         Likewise.
30826 2014-08-05  Richard Henderson  <rth@redhat.com>
30828         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30829         exceptions.
30830         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30831         Add fraiseexcpt.
30832         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30833         Use __feraiseexcept.
30834         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30835         Protect libm symbols with IS_IN_libm.
30837         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30839 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30841         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30843 2014-08-04  Will Newton  <will.newton@linaro.org>
30845         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30846         file.
30848 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30850         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30851         variants for each function.
30853 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30855         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30856         appended ...
30857         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30858         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30859         appended ...
30860         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30861         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30862         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30863         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30864         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30865         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30866         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30867         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30868         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30869         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30870         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30871         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30872         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30873         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30874         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30875         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30876         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30877         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30878         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30879         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30880         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30881         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30882         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30883         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30884         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30885         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30886         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30887         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30888         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30889         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30890         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30891         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30892         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30893         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30894         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30895         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30896         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30897         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30898         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30899         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30900         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30901         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30902         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30903         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30904         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30905         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30906         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30907         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30908         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30909         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30910         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30911         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30912         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30913         Update #include.
30914         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30915         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30917 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30919         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30920         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30921         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30922         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30923         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30924         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30926 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30928         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30929         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30930         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30931         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30933 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30935         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30936         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30937         (__libc_vfork): Define function under this name.
30938         (__vfork): Define as an alias.
30939         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30940         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30942 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30944         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30945         that was previously under [RESET_PID].
30946         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30948 2014-08-04  Andreas Schwab  <schwab@suse.de>
30950         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30952 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30954         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30955         (main): Likewise.
30957 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30959         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30961 2014-08-01  Richard Henderon  <rth@redhat.com>
30963         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30964         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30965         typo in exact zero test.
30966         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30967         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30968         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30970 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30972         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30973         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30974         * sysdeps/arm/sysdep.h: ... here.
30975         [!__ASSEMBLER__]: Include <stdint.h>.
30977 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30979         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30980         (HAVE_WCTYPE_H): Likewise.
30981         (HAVE_ISWCTYPE): Likewise.
30982         (ENABLE_NLS): Likewise.
30983         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30984         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30986         * posix/regex_internal.c: Check if DEBUG is defined and is
30987         set.
30989         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30990         (HAVE_MBSRTOWCS): Likewise.
30991         * posix/fnmatch.c: Include string.h unconditionally.
30993 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30995         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30996         reversal.
30998 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31000         * sysdeps/generic/safe-fatal.h: New file.
31001         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31002         * nptl/forward.c: Include it.
31003         (__pthread_unwind): Use __safe_fatal as default action, rather
31004         than a bogus use of INTERNAL_SYSCALL that could never work.
31006         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31007         * configure.ac (libc_cv_builtin_trap): New test.
31008         * configure: Regenerated.
31009         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31010         (ABORT_INSTRUCTION): Define using __builtin_trap.
31012         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31013         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31014         * sysdeps/nptl/nptl-signals.h: New file.
31015         * nptl/pthreadP.h: Include <nptl-signals.h>.
31017 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31019         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31020         (ONE_DIRECTION): Define.
31021         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31022         (ONE_DIRECTION): Define.
31023         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31024         (ONE_DIRECTION): Define.
31026 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31028         * sysdeps/s390/Makefile: Delete file.
31029         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31030         * sysdeps/s390/__longjmp.c: Delete file.
31031         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31032         Remove fields __flags and __reserved.
31033         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31034         and add versioning.
31035         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31036         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31037         * sysdeps/s390/rtld-setjmp.S: Likewise.
31038         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31039         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31040         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31041         * sysdeps/s390/s390-32/setjmp.S: ... here.
31042         Add versioning.
31043         (__sigsetjmp): Remove setting __flags field.
31044         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31045         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31046         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31047         * sysdeps/s390/s390-64/setjmp.S: ... here.
31048         Add versioning.
31049         (__sigsetjmp): Remove setting __flags field.
31050         * sysdeps/s390/setjmp.S: Delete file.
31051         * sysdeps/s390/sigjmp.c: Likewise.
31052         * sysdeps/s390/v1-longjmp.c: Likewise.
31053         * sysdeps/s390/v1-setjmp.h: Likewise.
31054         * sysdeps/s390/v1-sigjmp.c: Likewise.
31055         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31056         Remove v1-longjmp_chk.
31057         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31058         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31059         Include debug/longjmp_chk.c and add versioning.
31060         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31061         Include nptl/pt-longjmp.c and add versioning.
31062         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31063         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31064         Include __longjmp.c.
31065         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31066         Move to ...
31067         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31068         (__getcontext): Remove setting __flags field.
31069         Add versioning.
31070         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31071         Don't restore upper high grps.
31072         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31073         Likewise.
31074         (__swapcontext): Remove setting uc_flags field.
31075         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31076         Delete file.
31077         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31078         Include __longjmp.c.
31079         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31080         Move to ...
31081         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31082         (__getcontext): Remove setting __flags field.
31083         Add versioning.
31084         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31085         (__swapcontext): Remove setting uc_flags field.
31086         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31087         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31088         Remove fields uc_high_gprs and __reserved.
31089         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31090         New file with reverted content.
31091         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31092         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31093         Regenerated.
31094         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31095         Regenerated.
31097 2014-07-31  Andreas Schwab  <schwab@suse.de>
31099         * config.h.in (HAVE_IFUNC): Define to 0.
31100         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31101         definedness.
31103 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31106         memmove-avx-unaligned, memcpy-avx-unaligned and
31107         mempcpy-avx-unaligned.
31108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31109         Add tests for AVX memcpy functions.
31110         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31111         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31112         memcpy_chk.
31113         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31114         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31115         memmove_chk.
31116         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31117         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31118         mempcpy_chk.
31119         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31120         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31121         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31123 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31125         [BZ #17213]
31126         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31127         powerpc64le.
31129 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31131         [BZ #16839]
31132         * manual/llio.texi: Add section about open file description locks.
31133         * manual/examples/ofdlocks.c: Example of open file description
31134         lock usage.
31135         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31136         F_OFD_SETLK, and F_OFD_SETLKW.
31138 2014-07-23  Allan McRae  <allan@archlinux.org>
31140         * po/es.po: Update Spanish translation from translation project.
31142 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31144         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31146 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31148         [BZ #17078]
31149         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31150         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31151         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31153 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31155         [BZ #17088]
31156         * math/fesetenv.c (__fesetenv)
31157         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31158         * math/feupdateenv.c (__feupdateenv)
31159         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31161         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31162         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31163         (__ASSUME_SOCKETCALL): Do not define.
31165         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31166         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31167         (__ASSUME_SOCKETCALL): Do not define.
31168         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31169         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31170         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31171         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31172         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31173         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31174         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31175         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31177         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31178         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31179         (__ASSUME_SOCKETCALL): Do not define.
31180         (__ASSUME_IPC64): Define unconditionally.
31181         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31182         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31183         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31184         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31185         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31187         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31188         Likewise.
31190         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31191         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31192         (__ASSUME_SOCKETCALL): Do not define.
31193         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31194         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31195         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31196         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31197         (__ASSUME_REQUEUE_PI): Define unconditionally.
31198         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31199         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31200         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31201         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31202         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31203         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31205         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31206         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31207         (__ASSUME_SOCKETCALL): Do not define.
31208         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31209         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31210         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31211         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31212         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31213         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31215         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31216         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31217         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31218         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31219         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31220         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31221         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31222         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31223         (__ASSUME_GETCPU_SYSCALL): Likewise.
31225         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31226         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31227         cases for individual architectures.
31228         * sysdeps/gnu/configure: Regenerated.
31229         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31230         LIBC_SLIBDIR_RTLDDIR.
31231         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31232         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31233         LIBC_SLIBDIR_RTLDDIR.
31234         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31236         LIBC_SLIBDIR_RTLDDIR.
31237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31238         Regenerated.
31239         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31240         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31241         file.
31242         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31243         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31244         file.
31245         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31246         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31247         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31248         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31250         * sysdeps/aarch64/shlib-versions: Move to ...
31251         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31252         * sysdeps/alpha/shlib-versions: Move to ...
31253         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31254         * sysdeps/arm/shlib-versions: Move to ...
31255         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31256         * sysdeps/hppa/shlib-versions: Move all contents except for
31257         libgcc_s entry to ...
31258         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31259         entry from ...
31260         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31261         * sysdeps/ia64/shlib-versions: Move to ...
31262         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31263         entry from ...
31264         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31265         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31266         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31267         * sysdeps/microblaze/shlib-versions: Move to ...
31268         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31269         * sysdeps/mips/shlib-versions: Move to ...
31270         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31271         entry from ...
31272         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31273         * sysdeps/tile/shlib-versions: Move to ...
31274         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31275         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31276         from ...
31277         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31278         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31279         entry from ...
31280         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31282 2014-07-17  Will Newton  <will.newton@linaro.org>
31284         * sysdeps/arm/bits/atomic.h
31285         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31286         (__arch_compare_and_exchange_bool_16_int): Likewise.
31287         (__arch_compare_and_exchange_bool_64_int): Likewise.
31289         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31290         into an #else block.
31292 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31294         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31295         just Linux configurations.  Test empirically that the compiler sets
31296         __ARM_EABI__, rather than using the tuple to decide.
31297         * sysdeps/arm/preconfigure: Regenerated.
31298         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31299         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31300         contents appended ...
31301         * sysdeps/arm/configure.ac: ... here.
31302         * sysdeps/arm/configure: Regenerated.
31304 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31306         * nptl/pthread_kill.c: New file.
31307         * nptl/pthread_sigmask.c: New file.
31308         * nptl/pthread_sigqueue.c: New file.
31310         * sysdeps/nptl/lowlevellock.h: New file.
31311         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31312         * sysdeps/nptl/lowlevellock-futex.h: New file.
31314         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31315         Remove dead declarations.
31317 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31319         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31320         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31321         config-cflags-avx2.
31322         * sysdeps/x86_64/configure.ac: Likewise.
31323         * sysdeps/i386/configure: Regenerated.
31324         * sysdeps/x86_64/configure: Likewise.
31325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31326         memset-avx2 only if config-cflags-avx2 is yes.
31327         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31328         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31329         defined.
31330         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31331         only if HAVE_AVX2_SUPPORT is defined.
31332         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31334 2014-07-14  Alan Modra  <amodra@gmail.com>
31336         [BZ #17153]
31337         * elf/elf.h (DT_PPC64_NUM): Correct value.
31338         * NEWS: Add to fixed bug list.
31340 2014-07-13  Jim Meyering  <meyering@fb.com>
31342         [BZ 17150]
31343         regex: don't deref NULL upon heap allocation failure
31344         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31345         failure in one more place.
31346         To trigger the segfault, configure grep -with-included-regex,
31347         build it, and run these commands:
31348         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31350 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31352         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31354 2014-07-11  Richard Henderson  <rth@redhat.com>
31356         * sysdeps/aarch64/libm-test-ulps: Update.
31358 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31360         [BZ #17135]
31361         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31362         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31363         (__nptl_setxid): Initialize error member.  Call
31364         __nptl_setxid_error.
31365         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31366         * nptl/descr.h (struct xid_command): Add error member.
31367         * nptl/tst-setuid3.c: New file.
31368         * nptl/Makefile (tests): Add it.
31370 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31372         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31373         New define.
31374         (__lll_trylock): Use __lll_base_trylock.
31375         (__lll_cond_trylock): Likewise.
31377 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31379         * nptl/pthread_create.c (start_thread): Use atomic_or and
31380         lll_futex_wake directly rather than lll_robust_dead.
31381         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31382         (lll_robust_dead): Macro removed.
31383         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31384         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31385         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31386         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31387         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31388         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31389         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31390         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31391         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31392         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31393         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31394         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31395         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31396         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31397         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31399         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31400         Use atomic_compare_and_exchange_val_acq directly rather than
31401         lll_robust_trylock.
31402         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31403         (__lll_robust_trylock, lll_robust_trylock): Removed.
31404         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31405         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31406         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31407         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31408         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31409         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31410         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31411         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31412         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31413         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31414         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31415         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31416         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31417         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31419 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31421         * manual/locale.texi (Locale Names): New section documenting
31422         locale name syntax.  Adjust menu and node chaining accordingly.
31423         (Choosing Locale): Reference Locale Names, Locale Categories.
31424         Mention setting LC_ALL=C.  Reflect that name syntax is now
31425         documented.
31426         (Locale Categories): New section title.  Reference Locale Names.
31427         LC_ALL is an environment variable, but not a category.
31428         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31429         description, now in Locale Name.  Reference that section.  Locale
31430         name syntax is now documented.
31432 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31434         [BZ #17137]
31435         * locale/findlocale.c (name_present, valid_locale_name): New
31436         functions.
31437         (_nl_find_locale): Use the loc_name variable to store name
31438         candidates.  Call name_present and valid_locale_name to check and
31439         validate locale names.  Return an error if the locale is invalid.
31441 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31443         * locale/setlocale.c (setlocale): Use strdup for allocating
31444         composite name copy.
31446 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31448         Sync up with gnulib.
31449         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31450         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31451         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31452         and _GL_ARG_NONNULL.
31453         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31454         [!_LIBC]: Include code for Windows and Cygwin.
31455         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31456         Include prototype for int strerror_r.
31457         [!_LIBC] (is_open): New function.
31458         (flush_stdout): New function.
31459         (print_errno_message): Use it.
31460         (error): Likewise.
31461         (error_at_line): Likewise.
31462         (error_tail) Add function attribute macros.  Use
31463         __builtin_expect.
31465         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31467         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31469         * io/ftw.c: Include sys/param.h unconditionally.
31471         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31473         [BZ #17125]
31474         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31475         libc_freeres_ptr.
31476         (freecache): New function to free CACHE on exit.
31478         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31479         initialization.
31481 2014-07-09  David S. Miller  <davem@davemloft.net>
31483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31485         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31486         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31487         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31488         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31489         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31490         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31491         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31492         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31493         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31494         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31495         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31496         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31497         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31499 2014-07-09  Andreas Schwab  <schwab@suse.de>
31501         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31502         output.
31503         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31504         (do_test): Likewise.
31506         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31508 2014-07-09  Will Newton  <will.newton@linaro.org>
31510         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31511         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31512         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31513         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31514         * sysdeps/hppa/start.S (_start): Likewise.
31516 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31518         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31520         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31521         defined.
31523 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31525         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31526         after checking that it is non-NULL.
31528         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31530 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31532         * sysdeps/powerpc/memmove.c: Remove file.
31533         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31534         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31535         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31536         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31537         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31538         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31539         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31540         string memmove instead of removed powerpc one.
31542         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31543         [weak_alias]: Fix compiler warning due trailing data.
31544         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31545         [weak_alias]: Likewise.
31546         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31547         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31549         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31550         (__libc_ifunc_impl_list): Add memmove functions.
31552 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31554         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31555         Remove code.
31556         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31557         Likewise.
31558         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31559         Likewise.
31560         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31561         Likewise.
31562         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31563         Likewise.
31564         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31565         Likewise.
31566         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31567         Likewise.
31568         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31569         Likewise.
31570         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31571         Likewise.
31572         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31573         Likewise.
31574         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31575         Likewise.
31576         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31577         Likewise.
31578         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31579         Likewise.
31580         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31581         Likewise.
31582         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31583         Likewise.
31584         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31585         Likewise.
31586         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31587         Likewise.
31589 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31591         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31592         to avoid alignment traps in non-cacheable memory.
31593         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31596         multiarch objects.
31597         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31598         file: multiarch power7 memmove.
31599         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31600         multiarch default memmove.
31601         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31602         multiarch memove for powerpc32/power4.
31604         * string/bcopy.c: Use full path to include memmove.c.
31605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31606         multiarch objects.
31607         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31608         bcopy for powerpc64.
31609         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31610         bcopy for powerpc64.
31611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31612         and memmove implementations.
31613         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31614         optimized multiarch memmove for POWER7/powerpc64.
31615         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31616         default multiarch memmove for powerpc64.
31617         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31618         multiarch for powerpc64.
31619         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31620         for POWER7/powerpc64.
31621         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31622         memmove for POWER7/powerpc64.
31624         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31625         glibc default one.
31627         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31628         __ELF_NATIVE_CLASS equal to 64.
31630 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31632         * sysdeps/nptl/lowlevellock.h: File removed.
31634         * NEWS: NPTL is no longer an add-on!
31635         * nptl/internaltypes.h: Moved ...
31636         * sysdeps/nptl/internaltypes.h: ... here.
31637         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31638         * sysdeps/nptl/fork.c: Likewise.
31639         * sysdeps/nptl/gai_misc.h: Likewise.
31640         * sysdeps/nptl/librt-cancellation.c: Likewise.
31641         * sysdeps/nptl/jmp-unwind.c: Likewise.
31642         * sysdeps/nptl/setxid.h: Likewise.
31643         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31644         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31645         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31646         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31647         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31648         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31649         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31650         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31651         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31652         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31653         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31654         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31655         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31656         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31657         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31658         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31659         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31660         * nptl/Makeconfig: Moved ...
31661         * sysdeps/nptl/Makeconfig: ... here.
31662         * nptl/configure: File removed.
31663         * nptl/ANNOUNCE: File removed.
31664         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31665         * sysdeps/unix/sysv/linux/configure: Regenerated.
31667         * nptl/Makefile (routines): Add libc_pthread_init,
31668         libc_multiple_threads, register-atfork and unregister-atfork.
31669         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31670         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31671         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31672         pthread-pi-defines.sym, structsem.sym.
31673         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31674         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31675         [$(subdir) = nptl] (tests): Add tst-setgetname.
31676         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31677         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31678         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31679         [!LIBC_SIGACTION]: Remove aliases.
31680         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31681         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31682         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31683         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31684         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31685         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31686         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31687         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31688         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31689         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31690         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31691         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31692         __libc_allocate_rtsig_private.
31693         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31694         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31695         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31696         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31697         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31698         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31699         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31700         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31701         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31702         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31703         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31704         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31705         * nptl/internaltypes.h: ... here.
31706         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31707         * sysdeps/nptl/jmp-unwind.c: ... here.
31708         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31709         * nptl/libc-lowlevellock.c: ... here.
31710         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31711         * nptl/libc_multiple_threads.c: ... here.
31712         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31713         * nptl/libc_pthread_init.c: ... here.
31714         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31715         * nptl/lowlevelbarrier.sym: ... here.
31716         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31717         * nptl/lowlevelcond.sym: ... here.
31718         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31719         * nptl/lowlevellock.c: ... here.
31720         * nptl/lowlevellock.h: Moved ...
31721         * sysdeps/nptl/lowlevellock.h: ... here.
31722         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31723         * nptl/lowlevelrobustlock.c: ... here.
31724         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31725         * nptl/lowlevelrobustlock.sym: ... here.
31726         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31727         * nptl/lowlevelrwlock.sym: ... here.
31728         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31729         * nptl/pt-fork.c: ... here.
31730         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31731         * nptl/pthread-pi-defines.sym: ... here.
31732         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31733         * nptl/pthread_attr_getaffinity.c: ... here.
31734         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31735         * nptl/pthread_attr_setaffinity.c: ... here.
31736         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31737         * nptl/pthread_mutex_cond_lock.c: ... here.
31738         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31739         Update #include.
31740         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31741         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31742         * nptl/pthread_once.c: ... here, replacing old file.
31743         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31744         * nptl/pthread_yield.c: ... here.
31745         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31746         * nptl/register-atfork.c: ... here.
31747         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31748         * nptl/sem_post.c: ... here.
31749         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31750         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31751         * nptl/sem_timedwait.c: ... here.
31752         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31753         * nptl/sem_trywait.c: ... here.
31754         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31755         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31756         * nptl/sem_wait.c: ... here.
31757         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31758         * nptl/structsem.sym: ... here.
31759         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31760         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31761         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31762         * nptl/unregister-atfork.c: ... here.
31763         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31764         * nptl/unwindbuf.sym: ... here.
31765         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31766         * sysdeps/nptl/fork.c: ... here.
31767         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31768         * sysdeps/nptl/fork.h: ... here.
31769         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31770         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31771         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31772         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31773         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31774         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31775         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31776         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31777         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31778         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31779         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31780         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31781         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31782         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31783         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31784         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31785         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31786         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31787         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31788         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31789         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31790         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31791         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31792         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31793         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31794         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31795         * sysdeps/unix/sysv/linux/raise.c: ... here.
31796         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31797         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31798         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31799         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31800         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31801         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31802         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31803         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31804         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31805         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31806         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31807         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31808         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31809         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31810         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31812 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31814         * sysdeps/generic/memcopy.h: Add comment for
31815         MEMCPY_OK_FOR_FWD_MEMMOVE.
31817 2014-07-04  Will Newton  <will.newton@linaro.org>
31819         * string/memchr.c: Merge from gnulib.
31820         [_LIBC]: Remove conditionals.
31821         (__ptr_t): Remove define.
31822         (LONG_MAX_32_BITS): Likewise.
31823         (LONG_MAX): Likewise.
31824         (MEMCHR): Use ANSI prototype and optimize algorithm.
31826         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31828 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31830         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31831         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31833         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31834         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31835         in a bare environment with no <stdlib.h> installed.
31836         * sysdeps/nptl/configure: Regenerated.
31838         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31840         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31841         AC_EGREP_CPP for kernel header checks, so they only succeed if
31842         including <linux/version.h> actually works right.
31843         * sysdeps/unix/sysv/linux/configure: Regenerated.
31845         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31846         value so it's not diagnosed as unused.
31848         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31849         thing) with "ifeq ($(subdir),rt)".
31851 2014-07-03  Richard Henderson  <rth@redhat.com>
31853         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31854         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31855         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31857         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31858         (math_force_eval): New.
31860         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31861         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31863         * sysdeps/alpha/fpu/s_round.c: Remove file.
31864         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31866         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31867         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31868         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31869         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31870         (_dl_start, print_statistics): Likewise.
31871         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31872         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31874         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31875         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31876         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31877         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31878         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31879         (HP_SMALL_TIMING_AVAIL): Define.
31880         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31881         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31882         (HP_SMALL_TIMING_AVAIL): Define.
31883         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31884         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31886         * sysdeps/aarch64/hp-timing.h: New file.
31888         * sysdeps/generic/hp-timing.h: Remove dead comment.
31889         * sysdeps/generic/hp-timing-common.h: New file.
31890         * sysdeps/alpha/hp-timing.h: Include it.
31891         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31892         * sysdeps/i386/i686/hp-timing.h: Likewise.
31893         * sysdeps/ia64/hp-timing.h: Likewise.
31894         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31895         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31896         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31897         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31898         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31899         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31900         (hp_timing_t): New.
31902         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31903         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31904         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31905         * elf/rtld.c (_dl_start_final): Likewise.
31906         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31907         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31908         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31909         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31910         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31911         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31912         (HP_TIMING_DIFF_INIT): Remove.
31913         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31914         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31915         (HP_TIMING_DIFF_INIT): Remove.
31916         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31917         * sysdeps/i386/i686/hp-timing.c: Remove file.
31918         * sysdeps/x86_64/hp-timing.c: Remove file.
31919         * sysdeps/ia64/hp-timing.c: Remove file.
31920         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31921         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31922         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31923         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31925         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31926         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31927         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31928         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31929         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31930         (HP_TIMING_ACCUM): Remove.
31931         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31932         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31933         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31935         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31936         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31937         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31938         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31939         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31940         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31941         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31942         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31944         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31946 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31948         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31950 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31952         Sync up with gettext.
31953         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31954         [_MSC_VER]: Include malloc.h
31955         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31956         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31957         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31958         TEMP_FAILURE_RETRY.  Cast return of alloca.
31959         [!_LIBC] Call gl_rwlock_init.
31960         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31962 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31964         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31965         before checking its value.
31967 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31969         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31971         * debug/memcpy_chk.c: Don't include pagecopy.h.
31972         * debug/mempcpy_chk.c: Likewise.
31973         * string/memcpy.c: Likewise.
31974         * string/memmove.c: Likewise.
31975         * sysdeps/powerpc/memmove.c: Likewise.
31976         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31977         definition of PAGE_COPY_FWD_MAYBE here...
31978         * sysdeps/generic/pagecopy.h: ... from here.
31979         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31981 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31982             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31984         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31986         optimizations.
31987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31988         (__libc_ifunc_impl_list): Likewise.
31989         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31990         multiarch strcat for PPC64.
31991         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31992         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31994 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31996         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31998 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32000         * intl/loadmsgcat.c: Remove declaration of
32001         get_sysdep_segment_value.
32002         (get_sysdep_segment_value): Use ISO C style.
32003         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32004         semicolon.  Fix typo and formatting in comment.
32005         (_nl_unload_domain): Use ISO C style.
32007         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32009 2014-07-02  Will Newton  <will.newton@linaro.org>
32011         * malloc/obstack.c: Merge from gnulib master.
32012         [HAVE_CONFIG_H]: Remove conditional code.
32013         [!_LIBC]: Include config.h.
32014         [!ELIDE_CODE]: Don't include inttypes.h, include
32015         stdint.h unconditionally.
32016         (print_and_abort): Mark as _Noreturn.
32017         (_obstack_allocated_p): Mark as __attribute_pure__.
32018         (obstack_free): Rename to __obstack_free.
32019         [!__attribute__]: Remove conditional code.
32020         * malloc/obstack.h: Merge from gnulib master.
32021         [__cplusplus]: Move conditional down.
32022         [!__attribute_pure__]: Define __attribute_pure__ here
32023         if it is not already defined.
32024         (_obstack_memory_used): Mark as __attribute_pure__.
32025         [!__obstack_free]: Define as obstack_free.
32026         [__GNUC__]: Remove check for ancient NeXT gcc.
32028 2014-07-02  Will Newton  <will.newton@linaro.org>
32029             Paul Eggert  <eggert@cs.ucla.edu>
32031         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32033 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32035         * resolv/gethnamaddr.c: Add comment warning that the file is
32036         not maintained.
32038 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32040         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32041         entries.
32043         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32044         entry for aio_cancel and aio_cancel64.
32045         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32046         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32047         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32048         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32049         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32050         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32051         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32052         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32053         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32054         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32055         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32056         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32057         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32059 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32061         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32062         * nptl/pthread_mutex_lock.c: Likewise.
32063         * nptl/pthread_mutex_timedlock.c: Likewise.
32064         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32066 2014-07-01  Richard henderson  <rth@redhat.com>
32068         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32069         (__isnan, __isnanl): Remove.
32070         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32072         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32074 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32076         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32078 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32080         * resolv/nss_dns/dns-host.c (getanswer_r)
32081         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32083 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32085         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32086         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32087         undefine.
32088         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32089         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32091 2014-07-01  Roland McGrath <roland@hack.frob.com>
32093         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32094         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32096         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32097         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32099         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32100         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32101         ... here.
32102         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32103         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32105         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32106         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32107         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32108         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32110         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32111         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32112         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32113         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32114         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32115         Moved ...
32116         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32117         ... here.
32118         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32119         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32120         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32121         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32122         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32123         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32124         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32125         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32126         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32127         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32128         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32129         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32130         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32131         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32132         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32133         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32134         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32135         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32136         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32137         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32138         ... here.
32139         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32140         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32141         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32142         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32143         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32144         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32145         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32146         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32148 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32150         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32151         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32152         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32153         Add sysdep.
32155 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32159 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32161         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32162         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32164         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32166         * sysdeps/arm/libm-test-ulps: Regenerated.
32168 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32169             Roland McGrath <roland@hack.frob.com>
32171         * test-skeleton.c (signal_handler): Kill the whole process group
32172         before killing the child individually.
32173         (main): Report any failure on `setpgid'.
32175 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32177         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32178         from _TLS_H to _ARM_NPTL_TLS_H.
32179         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32180         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32182 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32184         [BZ #16539]
32185         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32186         (__expm1l): Return argument unchanged when small but not
32187         subnormal.
32189         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32190         include macro name.
32191         (_FP_UNPACK_RAW_1_P): Likewise.
32192         (_FP_PACK_RAW_1): Likewise.
32193         (_FP_PACK_RAW_1_P): Likewise.
32194         (_FP_MUL_MEAT_1_wide): Likewise.
32195         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32196         (_FP_MUL_MEAT_1_hard): Likewise.
32197         (_FP_DIV_MEAT_1_imm): Likewise.
32198         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32199         (_FP_DIV_MEAT_1_udiv): Likewise.
32200         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32201         (_FP_UNPACK_RAW_2): Likewise.
32202         (_FP_UNPACK_RAW_2_P): Likewise.
32203         (_FP_PACK_RAW_2): Likewise.
32204         (_FP_PACK_RAW_2_P): Likewise.
32205         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32206         (_FP_MUL_MEAT_2_wide): Likewise.
32207         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32208         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32209         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32210         (_FP_MUL_MEAT_2_gmp): Likewise.
32211         (_FP_DIV_MEAT_2_udiv): Likewise.
32212         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32213         (_FP_FRAC_SRL_4): Likewise.
32214         (_FP_FRAC_SRST_4): Likewise.
32215         (_FP_FRAC_SRS_4): Likewise.
32216         (_FP_UNPACK_RAW_4): Likewise.
32217         (_FP_UNPACK_RAW_4_P): Likewise.
32218         (_FP_PACK_RAW_4): Likewise.
32219         (_FP_PACK_RAW_4_P): Likewise.
32220         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32221         (_FP_MUL_MEAT_4_wide): Likewise.
32222         (_FP_MUL_MEAT_4_gmp): Likewise.
32223         (umul_ppppmnnn): Likewise.
32224         (_FP_DIV_MEAT_4_udiv): Likewise.
32225         (__FP_FRAC_ADD_4): Likewise.
32226         (__FP_FRAC_SUB_3): Likewise.
32227         (__FP_FRAC_SUB_4): Likewise.
32228         (__FP_FRAC_DEC_3): Likewise.
32229         (__FP_FRAC_DEC_4): Likewise.
32230         (__FP_FRAC_ADDI_4): Likewise.
32231         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32232         (_FP_FRAC_SRL_8): Likewise.
32233         (_FP_FRAC_SRS_8): Likewise.
32235         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32236         include macro name.
32237         (FP_UNPACK_RAW_EP): Likewise.
32238         (FP_PACK_RAW_E): Likewise.
32239         (FP_PACK_RAW_EP): Likewise.
32240         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32241         (_FP_ISSIGNAN): Likewise.
32242         (_FP_ADD_INTERNAL): Likewise.
32243         (_FP_FMA): Likewise.
32244         (_FP_CMP): Likewise.
32245         (_FP_SQRT): Likewise.
32246         (_FP_TO_INT): Likewise.
32247         (_FP_FROM_INT): Likewise.
32248         (FP_EXTEND): Likewise.
32249         (_FP_DIV_MEAT_N_loop): Likewise.
32251 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32253         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32254         throughout.
32256 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32258         [BZ #17097]
32259         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32260         result with correct sign in case of exponents that produce
32261         overflow except for X very close to 1.
32263 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32265         mktime: merge #if/#ifdef usage from glibc
32266         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32267         as that works with both Glibc's and Gnulib's style.
32268         See thread starting at Siddhesh Poyarekar's bug report at:
32269         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32271 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32273         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32274         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32275         * sysdeps/tile/tilegx/memmove.c: Remove file.
32277 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32279         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32280         abi-name definition.
32281         * scripts/soversions.awk: Do not handle or generate ABI lines.
32282         * shlib-versions: Remove ABI entries.
32283         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32284         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32286 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32289         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32290         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32291         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32293         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32295         Moved ...
32296         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32297         ... here.
32298         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32299         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32301         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32303         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32305         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32307         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32309         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32311         Moved ...
32312         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32314         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32315         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32316         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32318         Moved ...
32319         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32321         Moved ...
32322         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32323         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32324         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32326         Moved ...
32327         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32329         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32331         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32333         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32335         Moved ...
32336         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32338         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32339         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32340         Moved ...
32341         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32343         Moved ...
32344         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32345         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32346         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32347         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32348         Moved ...
32349         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32350         ... here.
32351         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32352         Identical file removed.
32353         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32354         Moved ...
32355         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32356         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32357         Identical file removed.
32358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32359         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32361         Moved ...
32362         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32363         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32364         Identical file removed.
32365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32366         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32367         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32368         Identical file removed.
32369         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32370         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32371         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32372         Identical file removed.
32373         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32374         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32375         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32376         Identical file removed.
32377         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32378         Moved ...
32379         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32380         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32381         Identical file removed.
32382         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32383         Moved ...
32384         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32386         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32388         Identical file removed.
32389         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32390         Moved ...
32391         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32392         ... here.
32393         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32394         Identical file removed.
32395         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32396         Moved ...
32397         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32398         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32399         Identical file removed.
32400         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32401         Moved ...
32402         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32403         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32404         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32406         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32408         Moved ...
32409         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32410         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32411         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32413         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32414         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32415         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32416         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32417         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32419 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32421         [BZ #17092]
32422         * nscd/nscd.c (monitor_child): Return exit status of child
32423         instead of return value from wait syscall.
32425 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32427         * configure.ac (libc_commonpagesize): Remove variable.
32428         (libc_relro_required): Likewise.
32429         (libc_cv_z_relro): Remove configure test.
32430         * configure: Regenerated.
32431         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32432         variable.
32433         (libc_relro_required): Likewise.
32434         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32435         (libc_relro_required): Likewise.
32436         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32437         (libc_relro_required): Likewise.
32438         * sysdeps/arm/preconfigure: Regenerated.
32439         * sysdeps/ia64/preconfigure: Remove file.
32440         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32441         variable.
32442         (libc_relro_required): Likewise.
32444         [BZ #16561]
32445         [BZ #16562]
32446         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32447         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32448         recompute overflowing results in original rounding mode.
32449         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32450         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32451         recompute overflowing results in original rounding mode.
32452         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32453         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32454         recompute overflowing results in original rounding mode.
32455         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32456         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32457         recompute overflowing results in original rounding mode.
32458         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32459         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32460         recompute overflowing results in original rounding mode.
32461         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32462         (libc_feholdsetround_ctx): New macro.
32463         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32464         * sysdeps/i386/fpu/libm-test-ulps: Update.
32465         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32467 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32469         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32470         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32471         corresponding .cpsetup call.
32473 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32475         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32476         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32477         * sysdeps/arm/Makefile [$(subdir) = csu]
32478         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32479         (static-only-routines): Add aeabi_read_tp here.
32480         (shared-only-routines): Add libc-aeabi_read_tp here.
32481         (CFLAGS-libc-start.c): Add -fexceptions here.
32482         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32483         (sysdep_routines, static-only-routines, shared-only-routines):
32484         Don't add to these here.
32485         (CFLAGS-libc-start.c): Likewise.
32487         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32488         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32489         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32490         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32491         * sysdeps/arm/Makefile [$(subdir) = rt]
32492         (librt-sysdep_routines, librt-shared-only-routines):
32493         Append rt-aeabi_unwind_cpp_pr1 here.
32494         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32495         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32496         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32497         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32498         Append nptl-aeabi_unwind_cpp_pr1 here.
32499         (tests): Filter out tst-cleanupx4 here.
32500         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32501         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32502         Don't do those here.
32504 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32506         * scripts/list-sources.sh: Do not handle ports specially.
32508 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32510         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32511         * sysdeps/arm/feupdateenv.c: Likewise.
32513         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32515 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32517         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32518         trailing whitespace removed.
32519         * scripts/config.guess: Update to version 2014-03-23.
32520         * scripts/config.sub: Update to version 2014-05-01
32521         * scripts/install-sh: Update to version 2013-12-25.23.
32522         * scripts/move-if-change: Update from gnulib.
32524 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32526         * debug/memmove_chk.c: Remove pagecopy.h include.
32528 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32530         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32531         identical to gnulib mktime.
32533 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32535         * configure.ac: Do not test for machine being rs6000.  Do not test
32536         for powerpc*-*soft.
32537         * configure: Regenerated.
32539         [BZ #11505]
32540         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32541         test.
32542         * configure: Regenerated.
32543         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32544         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32545         Remove configure test.
32546         * sysdeps/arm/configure: Regenerated.
32547         * sysdeps/nptl/configure.ac: Do not check
32548         libc_cv_asm_cfi_directives.
32549         * sysdeps/nptl/configure: Regenerated.
32550         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32551         * sysdeps/x86_64/nptl/configure: Remove generated file.
32552         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32553         unconditional.
32554         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32556 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32558         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32559         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32560         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32561         it is defined.
32563         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32564         instead of whether it is defined.
32565         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32566         * sysdeps/hppa/dl-machine.h: Likewise.
32567         * sysdeps/ia64/dl-machine.h: Likewise.
32568         * sysdeps/m68k/dl-machine.h: Likewise.
32569         * sysdeps/microblaze/dl-machine.h: Likewise.
32570         * sysdeps/mips/dl-machine.: Likewise.
32571         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32572         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32573         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32574         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32575         * sysdeps/sh/dl-machine.h: Likewise.
32576         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32577         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32578         * sysdeps/tile/dl-machine.h: Likewise.
32579         * sysdeps/x86_64/dl-machine.h: Likewise.
32581         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32582         code.
32583         (verify_persistent_db): Likewise.
32585 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32588         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32590         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32592         Moved ...
32593         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32594         ... here.
32595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32596         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32598         Identical file removed.
32599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32600         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32602         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32604         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32606         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32608         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32610         Moved ...
32611         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32613         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32615         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32617         Moved ...
32618         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32620         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32622         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32624         Identical file removed.
32625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32626         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32628         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32630         Moved ...
32631         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32632         ... here.
32633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32634         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32636         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32638         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32640         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32642         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32644         Moved ...
32645         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32647         Moved ...
32648         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32650         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32652         Moved ...
32653         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32655         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32657         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32658         folded into ...
32659         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32660         * sysdeps/unix/sysv/linux/s390/Versions
32661         (libpthread: GLIBC_2.19): New version set.
32662         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32663         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32664         (librt: GLIBC_2.3.3): New version set.
32665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32666         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32667         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32668         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32669         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32670         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32671         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32672         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32673         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32674         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32675         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32676         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32677         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32678         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32679         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32680         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32681         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32682         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32683         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32684         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32685         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32686         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32687         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32689         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32690         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32691         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32692         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32693         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32694         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32695         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32696         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32697         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32699         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32701         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32703         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32704         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32705         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32706         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32707         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32708         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32709         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32711         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32712         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32713         (__libc_vfork): Define the function under this name.
32714         [!NOT_IN_libc] (__vfork): Make this an alias.
32715         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32716         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32717         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32718         (__libc_vfork): Define the function under this name.
32719         [!NOT_IN_libc] (__vfork): Make this an alias.
32720         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32721         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32722         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32723         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32724         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32725         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32727         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32728         code that was previously under [RESET_PID].
32729         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32730         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32733         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32734         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32735         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32736         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32737         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32738         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32739         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32740         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32741         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32742         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32743         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32744         Moved ...
32745         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32746         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32747         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32748         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32749         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32750         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32751         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32752         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32753         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32754         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32755         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32756         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32757         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32758         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32759         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32760         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32761         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32762         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32763         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32764         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32765         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32766         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32767         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32768         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32769         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32770         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32771         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32772         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32773         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32775 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32777         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32778         that was previously under [RESET_PID].
32779         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32781 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32783         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32784         not undefine and redefine.
32785         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32786         [O_CLOEXEC]: Make code unconditional.
32787         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32788         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32789         <kernel-features.h>.
32790         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32791         conditional variable definition.
32792         (shm_open) [O_CLOEXEC]: Make code unconditional.
32793         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32794         code.
32796         * configure.ac (USE_REGPARMS): Don't define here.
32797         * configure: Regenerated.
32798         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32799         * sysdeps/i386/configure: Regenerated.
32801         * nptl/createthread.c: Don't include kernel-features.h.
32802         * nptl/pthread_cancel.c: Likewise.
32803         * nptl/pthread_condattr_setclock.c: Likewise.
32804         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32805         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32806         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32807         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32808         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32809         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32810         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32811         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32812         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32813         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32814         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32815         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32816         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32817         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32818         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32819         * nscd/gai.c: Likewise.
32820         * nss/nss_db/db-open.c: Likewise.
32821         * sysdeps/generic/ldsodefs.h: Likewise.
32822         * sysdeps/sh/nptl/tls.h: Likewise.
32823         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32824         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32825         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32826         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32827         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32828         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32829         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32830         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32831         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32832         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32833         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32834         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32835         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32836         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32837         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32838         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32839         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32840         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32841         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32842         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32845         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32846         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32847         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32848         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32849         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32850         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32851         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32852         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32853         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32854         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32855         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32856         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32857         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32858         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32859         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32860         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32861         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32862         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32863         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32864         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32865         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32866         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32867         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32868         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32869         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32870         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32871         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32872         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32873         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32874         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32875         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32876         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32877         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32878         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32879         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32880         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32903         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32904         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32905         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32906         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32907         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32908         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32909         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32910         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32911         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32912         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32913         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32914         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32915         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32916         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32917         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32918         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32919         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32920         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32921         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32922         * sysdeps/unix/sysv/linux/system.c: Likewise.
32923         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32924         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32925         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32926         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32927         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32928         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32929         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32931         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32932         * configure: Regenerated.
32933         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32935         * configure.ac (base_machine): Do not set specially for particular
32936         machines here.
32937         * configure: Regenerated.
32938         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32939         settings from configure.ac.
32940         * sysdeps/i386/preconfigure: New file.
32941         * sysdeps/s390/preconfigure: Likewise.
32942         * sysdeps/sh/preconfigure: Likewise.
32943         * sysdeps/sparc/preconfigure: Likewise.
32945 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32947         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32948         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32949         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32950         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32951         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32952         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32953         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32954         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32955         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32956         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32957         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32958         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32959         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32960         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32961         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32962         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32963         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32964         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32965         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32967         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32968         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32969         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32970         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32971         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32972         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32973         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32974         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32975         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32976         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32977         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32978         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32979         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32980         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32981         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32982         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32983         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32984         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32985         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32986         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32987         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32988         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32989         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32990         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32991         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32992         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32993         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32994         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32995         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32996         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32997         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32998         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32999         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33000         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33001         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33002         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33003         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33004         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33007         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33009         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33011         Moved ...
33012         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33013         ... here.
33014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33015         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33017         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33019         Moved ...
33020         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33022         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33024         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33026         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33028         Moved ...
33029         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33031         Moved ...
33032         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33034         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33036         Moved ...
33037         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33039         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33041         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33043         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33045         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33047         Moved ...
33048         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33049         ... here.
33050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33051         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33053         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33055         Moved ...
33056         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33058         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33060         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33062         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33064         Moved ...
33065         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33067         Moved ...
33068         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33070         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33072         Moved ...
33073         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33075         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33077         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33079 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33081         * timezone/checktab.awk: Update from tzcode 2014e.
33082         * timezone/private.h: Likewise.
33083         * timezone/tzfile.h: Likewise.
33084         * timezone/zdump.c: Likewise.
33085         * timezone/zic.c: Likewise.
33087         * sysdeps/unix/sysv/linux/kernel-features.h
33088         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33089         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33090         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33091         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33092         Remove conditional code.
33094 2014-06-25  Will Newton  <will.newton@linaro.org>
33096         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33097         (_dl_arm_cap_flags): Add HWCAP2 values.
33098         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33099         (_DL_HWCAP_COUNT): Increase to 37.
33100         (_DL_HWCAP_LAST): New define.
33101         (_DL_HWCAP2_LAST): New define.
33102         (_dl_procinfo): Add support for printing
33103         AT_HWCAP2 entries.
33104         (_dl_string_hwcap): Use _dl_hwcap_string.
33106 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33110 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33112         * README: Do not mention ports directory.
33114         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33115         Remove macro.
33116         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33117         <kernel-features.h>.
33118         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33119         conditional variable definition.
33120         (__futimes): Update comment.
33121         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33122         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33124         [BZ #16560]
33125         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33126         arguments close to 0.
33127         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33128         Likewise.
33129         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33130         Likewise.
33131         * math/auto-libm-test-in: Add more tests of exp10.
33132         * math/auto-libm-test-out: Regenerated.
33133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33135         * sysdeps/unix/sysv/linux/kernel-features.h
33136         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33137         * sysdeps/unix/sysv/linux/readv.c: Do not include
33138         <kernel-features.h>.
33139         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33140         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33141         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33142         unconditional.
33143         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33144         conditional code.
33145         * sysdeps/unix/sysv/linux/writev.c: Do not include
33146         <kernel-features.h>.
33147         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33148         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33149         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33150         unconditional.
33151         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33152         conditional code.
33154 2014-06-25  Will Newton  <will.newton@linaro.org>
33156         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33157         comment changes throughout the file.  Remove checks
33158         for HAVE_*_H definitions that are not required.
33159         (__gen_tempname): Call abort if an unknown kind value is
33160         passed.
33162 2014-06-25  Andreas Schwab  <schwab@suse.de>
33164         [BZ #17086]
33165         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33166         scalbln, scalblnf, scalblnl in libc.
33168 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33170         [BZ #17086]
33171         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33172         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33173         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33175 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33177         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33178         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33179         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33180         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33181         Update #include.
33182         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33183         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33184         Update #include.
33185         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33186         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33187         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33188         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33189         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33190         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33191         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33192         * sysdeps/x86/bits/semaphore.h: ... here.
33193         * sysdeps/x86/nptl/elide.h: Moved ...
33194         * sysdeps/x86/elide.h: ... here.
33195         * sysdeps/x86_64/nptl/Implies: File removed.
33196         * sysdeps/i386/nptl/Implies: File removed.
33198 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33200         [BZ #16539]
33201         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33202         return the argument for normal arguments with exponent below -64.
33203         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33204         Likewise.
33205         * math/auto-libm-test-in: Add another test of expm1.
33206         * math/auto-libm-test-out: Regenerated.
33208         [BZ #16287]
33209         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33210         calling __erfcl for arguments at least 16.
33211         * math/auto-libm-test-in: Add more tests of erf.
33212         * math/auto-libm-test-out: Regenerated.
33214         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33215         individual architectures.
33216         * sysdeps/unix/sysv/linux/configure: Regenerated.
33217         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33218         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33219         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33220         (ldd_rewrite_script): Define variable.
33221         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33223         file.
33224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33225         generated file.
33226         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33227         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33228         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33229         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33230         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33231         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33232         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33233         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33235 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33237         [BZ #17084]
33238         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33239         Rename member __data.d to __data.__elision_data.
33241 2014-06-24  Wilco  <wdijkstr@arm.com>
33243         * NEWS: Add 16918 to fixed bug list.
33245 2014-06-24  Wilco  <wdijkstr@arm.com>
33247         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33249 2014-06-24  Wilco  <wdijkstr@arm.com>
33251         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33252         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33253         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33254         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33255         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33256         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33257         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33258         Use _FPU_MASK_RM.
33260 2014-06-24  Wilco  <wdijkstr@arm.com>
33262         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33264 2014-06-24  Wilco  <wdijkstr@arm.com>
33266         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33267         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33268         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33269         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33271 2014-06-24  Wilco  <wdijkstr@arm.com>
33273         [BZ #16918]
33274         * sysdeps/arm/feupdateenv.c (feupdateenv):
33275         Rewrite to reduce FPSCR accesses and fix return value.
33277 2014-06-24  Wilco  <wdijkstr@arm.com>
33279         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33280         Optimize to avoid unnecessary FPSCR writes.
33281         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33282         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33283         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33284         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33286 2014-06-24  Wilco  <wdijkstr@arm.com>
33288         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33289         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33290         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33291         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33292         Call libc_fetestexcept_vfp.
33293         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33294         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33295         __SOFTFP__ ifdef so that they can be built for softfp.
33297 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33299         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33300         argument type signed char.
33302         * Makerules (check-abi): Dump diff of symlist if the test
33303         fails.
33305 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33307         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33308         using abort.
33310         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33311         Remove unused variable ST.
33313 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33315         [BZ #16354]
33316         [BZ #17061]
33317         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33318         small arguments before calling __expm1.
33319         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33320         small arguments before calling __expm1f.
33321         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33322         small arguments before calling __expm1l.
33323         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33324         Likewise.
33325         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33326         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33327         spurious underflow for some cosh tests.
33328         * math/auto-libm-test-out: Regenerated.
33329         * sysdeps/i386/fpu/libm-test-ulps: Update.
33331         [BZ #17050]
33332         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33333         (__ieee754_y1): Set errno if return value overflows.
33334         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33335         (__ieee754_y1f): Set errno if return value overflows.
33336         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33337         (__ieee754_y1l): Set errno if return value overflows.
33338         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33339         (__ieee754_y1l): Set errno if return value overflows.
33340         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33341         * math/auto-libm-test-out: Regenerated.
33343         * math/gen-auto-libm-tests.c: Document use of
33344         ignore-zero-inf-sign.
33345         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33346         (input_flags): Add ignore-zero-inf-sign.
33347         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33348         * math/gen-libm-test.pl (generate_testfile): Handle
33349         ignore-zero-inf-sign.
33350         * math/auto-libm-test-in: Mark some cpow tests with
33351         ignore-zero-inf-sign and some with xfail-rounding.
33352         * math/auto-libm-test-out: Regenerated.
33353         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33354         * sysdeps/i386/fpu/libm-test-ulps: Update.
33355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33357         [BZ #16315]
33358         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33359         overflowing or underflowing operations take place with sign of
33360         result.
33361         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33362         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33363         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33364         (__ieee754_pow): Recompute overflowing and underflowing results in
33365         original rounding mode.
33366         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33367         (__powl_helper): Allow negative argument X and scale negated value
33368         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33369         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33370         overflowing or underflowing operations take place with sign of
33371         result.
33372         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33373         Include <math.h>.
33374         * math/auto-libm-test-in: Add more tests of pow.
33375         * math/auto-libm-test-out: Regenerated.
33376         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33377         (pow_tonearest_test_data): Remove.
33378         (pow_test_tonearest): Likewise.
33379         (pow_towardzero_test_data): Likewise.
33380         (pow_test_towardzero): Likewise.
33381         (pow_downward_test_data): Likewise.
33382         (pow_test_downward): Likewise.
33383         (pow_upward_test_data): Likewise.
33384         (pow_test_upward): Likewise.
33385         (main): Don't call removed functions.
33386         * sysdeps/i386/fpu/libm-test-ulps: Update.
33387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33389 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33392         Moved ...
33393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33395         Moved ...
33396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33398         Moved ...
33399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33401         Moved ...
33402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33404         File removed.
33405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33406         File removed.
33407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33408         File removed.
33409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33410         File removed.
33411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33412         File removed.
33413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33414         File removed.
33415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33416         File removed.
33417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33418         File removed.
33419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33420         File removed.
33421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33422         File removed.
33423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33424         File removed.
33425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33426         File removed.
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33428         Moved ...
33429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33431         Moved ...
33432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33433         ... here.
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33435         Moved ...
33436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33438         Moved ...
33439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33441         Moved ...
33442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33444         Moved ...
33445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33447         Moved ...
33448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33450         Moved ...
33451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33453         Moved ...
33454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33457         ... here.
33458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33459         Moved ...
33460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33462         Moved ...
33463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33464         ... here.
33465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33466         Moved ...
33467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33468         ... here.
33469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33470         Moved ...
33471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33472         ... here.
33473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33474         Moved ...
33475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33477         Moved ...
33478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33482         Moved ...
33483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33484         ... here.
33485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33486         Moved ...
33487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33488         ... here.
33489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33490         Moved ...
33491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33493         Moved ...
33494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33496         Moved ...
33497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33499         Moved ...
33500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33502         Moved ...
33503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33504         ... here.
33505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33506         Moved ...
33507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33509         Moved ...
33510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33512         Moved ...
33513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33515         Moved ...
33516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33520         Moved ...
33521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33523         Moved ...
33524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33526         Moved ...
33527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33528         ... here.
33529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33530         Moved ...
33531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33532         ... here.
33533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33534         Moved ...
33535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33536         ... here.
33537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33538         Moved ...
33539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33541         Moved ...
33542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33544         Moved ...
33545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33547         Moved ...
33548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33549         ... here.
33550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33551         Moved ...
33552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33553         ... here.
33554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33555         Moved ...
33556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33557         ... here.
33558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33559         Moved ...
33560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33562         Moved ...
33563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33565 2014-06-23  Will Newton  <will.newton@linaro.org>
33566             Wilco  <wdijkstr@arm.com>
33568         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33569         implementation.  Include get-rounding-mode.h.
33570         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33571         [!libc_feholdsetround_noex_ctx]: Define
33572         libc_feholdsetround_noex_ctx.
33573         [!libc_feholdsetround_noexf_ctx]: Define
33574         libc_feholdsetround_noexf_ctx.
33575         [!libc_feholdsetround_noexl_ctx]: Define
33576         libc_feholdsetround_noexl_ctx.
33577         (libc_feholdsetround_ctx): New function.
33578         (libc_feresetround_ctx): New function.
33579         (libc_feholdsetround_noex_ctx): New function.
33580         (libc_feresetround_noex_ctx): New function.
33582 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33584         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33585         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33586         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33587         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33588         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33589         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33591         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33592         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33593         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33594         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33595         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33596         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33598         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33600         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33602         Moved ...
33603         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33604         ... here.
33605         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33606         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33607         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33608         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33610         Moved ...
33611         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33612         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33613         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33614         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33615         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33616         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33617         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33618         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33619         Moved ...
33620         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33622         Moved ...
33623         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33624         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33625         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33627         Moved ...
33628         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33629         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33630         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33631         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33632         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33633         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33634         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33635         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33636         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33638         Moved ...
33639         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33640         ... here.
33641         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33642         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33644         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33645         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33646         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33647         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33648         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33649         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33650         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33651         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33652         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33654         Moved ...
33655         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33656         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33657         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33658         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33659         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33660         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33661         Moved ...
33662         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33663         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33664         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33665         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33666         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33668         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33669         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33670         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33671         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33672         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33673         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33674         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33675         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33676         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33677         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33678         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33679         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33680         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33681         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33682         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33683         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33684         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33685         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33686         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33687         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33688         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33689         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33690         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33691         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33692         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33693         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33694         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33695         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33697 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33699         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33700         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33701         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33702         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33703         (IPV6_PMTUDISC_INTERFACE): Likewise.
33704         (IPV6_PMTUDISC_OMIT): Likewise.
33706 2014-06-23  Andreas Schwab  <schwab@suse.de>
33708         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33709         Remove unused errout label.
33711 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33713         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33714         macro: hardware supports Vector Crypto instructions.
33716 2014-06-23  Will Newton  <will.newton@linaro.org>
33718         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33719         rather than __builtin_expect.
33721         * elf/dl-lookup.c (undefined_msg): Remove variable.
33722         (_dl_lookup_symbol_x): Replace undefined_msg with string
33723         literal.
33725         * elf/dl-lookup.c (do_lookup_unique): New function.
33726         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33727         to a separate function.
33729 2014-06-23  Andreas Schwab  <schwab@suse.de>
33731         [BZ #17079]
33732         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33733         before reading the next line.
33735 2014-06-23  Will Newton  <will.newton@linaro.org>
33737         * test-skeleton.c (signal_handler): Use printf and %m
33738         rather than perror.  Use printf rather than fprintf to
33739         stderr.  Use puts rather than fputs to stderr.
33740         (main): Likewise.
33742 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33744         * nscd/nscd.c (thread_info_t): Remove typedef.
33745         (thread_info): Remove variable.
33747 2014-06-21  Allan McRae  <allan@archlinux.org>
33749         * NEWS: Mention CVE-2014-4043.
33751 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33753         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33754         * nptl/smp.h: ... here.
33756         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33758         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33759         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33760         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33761         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33763         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33764         * nptl/stack-aliasing.h: New file.
33765         * sysdeps/i386/i686/stack-aliasing.h: New file.
33766         * sysdeps/i386/i686/nptl/Makefile: File removed.
33767         * sysdeps/x86_64/stack-aliasing.h: New file.
33768         * sysdeps/x86_64/nptl/Makefile
33769         (CFLAGS-pthread_create.c): Variable removed.
33771         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33772         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33773         old file.
33774         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33775         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33776         old file.
33778 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33780         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33781         (__ASSUME_SIGFRAME_V2): Remove macro.
33782         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33783         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33784         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33785         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33786         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33787         Declare as function.  Remove conditional macro definitions.
33788         (__default_rt_sa_restorer): Likewise.
33789         (__default_sa_restorer_v1): Remove declaration.
33790         (__default_sa_restorer_v2): Likewise.
33791         (__default_rt_sa_restorer_v1): Likewise.
33792         (__default_rt_sa_restorer_v2): Likewise.
33793         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33794         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33795         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33797 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33799         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33800         (libpthread-routines): Add sysdep.
33801         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33802         * sysdeps/unix/sysv/linux/sparc/Versions
33803         (libpthread: GLIBC_2.3.3): New version set.
33804         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33805         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33806         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33807         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33808         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33809         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33810         Moved ...
33811         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33812         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33813         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33814         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33815         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33816         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33817         * sysdeps/sparc/nptl/sem_init.c: ... here.
33818         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33819         * sysdeps/sparc/nptl/sem_post.c: ... here.
33820         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33821         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33822         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33823         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33824         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33825         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33826         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33827         (libpthread-routines): Add cpu_relax.
33828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33829         File removed.
33830         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33831         (librt: GLIBC_2.3.3): New version set.
33832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33833         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33834         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33835         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33838         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33840         Moved ...
33841         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33843         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33845         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33847         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33849         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33851         Moved ...
33852         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33853         Update #include.
33854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33855         Moved ...
33856         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33857         Update #include.
33858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33859         Moved ...
33860         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33861         Update #include.
33862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33863         Moved ...
33864         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33865         Update #include.
33866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33867         Moved ...
33868         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33869         Update #include.
33870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33871         Moved ...
33872         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33873         Update #include.
33874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33875         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33877         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33879         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33881         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33883         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33885         Moved ...
33886         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33888         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33890         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33892 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33894         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33895         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33896         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33897         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33898         * nscd/nscd.c: Likewise.
33899         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33900         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33901         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33902         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33904         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33905         <kernel-features.h>.
33906         (init_mq_netlink): Remove conditional have_sock_cloexec
33907         definitions.  Remove code conditional on have_sock_cloexec < 0.
33908         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33909         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33910         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33911         <kernel-features.h>.
33912         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33913         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33915 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33917         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33918         Add tests for memset_chk and memset.
33920         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33921         with AVX2_Usable.
33923 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33925         [BZ #16046]
33926         * elf/tst-dl-iter-static.c: New file.
33927         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33929         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33930         error.
33932 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33934         * sysdeps/unix/sysv/linux/kernel-features.h
33935         (__ASSUME_F_GETOWN_EX): Remove macro.
33936         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33937         <kernel-features.h>.
33938         (miss_F_GETOWN_EX): Remove variable or macro.
33939         (do_fcntl): Do not check miss_F_GETOWN_EX.
33940         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33942         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33943         Remove macro.
33944         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33945         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33946         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33948         * sysdeps/unix/sysv/linux/kernel-features.h
33949         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33950         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33951         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33952         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33954 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33956         [BZ #17075]
33957         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33958         Fix calculation of the symbol's value.
33959         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33960         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33961         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33962         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33963         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33964         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33965         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33966         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33967         (modules-names): Add `tst-armtlsdescmod',
33968         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33969         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33970         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33971         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33972         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33973         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33974         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33975         ($(objpfx)tst-armtlsdescloc): New dependency.
33976         ($(objpfx)tst-armtlsdescextnow): Likewise.
33977         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33978         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33979         TLS scheme support.
33980         * sysdeps/arm/configure: Regenerate.
33982 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33984         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33985         (__atfct_seterrno_2): Likewise.
33986         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33987         <kernel-features.h>.
33988         (__ASSUME_ATFCTS): Do not undefine and redefine.
33989         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33990         (__have_atfcts): Remove conditional definition.
33991         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33992         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33993         unreachable if [__ASSUME_ATFCTS].
33994         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33995         not undefine and redefine.
33996         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33997         <kernel-features.h>.
33998         (faccessat) [__NR_faccessat]: Make code unconditional.
33999         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34000         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34001         <kernel-features.h>.
34002         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34003         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34004         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34005         <kernel-features.h>.
34006         (fchownat) [__NR_fchownat]: Make code unconditional.
34007         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34008         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34009         <kernel-features.h>.
34010         (futimesat) [__NR_futimesat]: Make code unconditional.
34011         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34012         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34013         <kernel-features.h>.
34014         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34015         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34016         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34017         <kernel-features.h>.
34018         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34019         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34020         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34021         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34022         <kernel-features.h>.
34023         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34024         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34025         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34026         <kernel-features.h>.
34027         (linkat) [__NR_linkat]: Make code unconditional.
34028         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34029         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34030         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34031         <kernel-features.h>.
34032         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34033         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34034         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34035         <kernel-features.h>.
34036         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34037         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34038         * sysdeps/unix/sysv/linux/openat.c: Do not include
34039         <kernel-features.h>.
34040         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34041         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34042         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34043         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34044         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34045         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34046         <kernel-features.h>.
34047         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34048         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34049         result of INLINE_SYSCALL directly, not via int variable.
34050         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34051         <kernel-features.h>.
34052         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34053         (renameat) [__NR_renameat]: Make code unconditional.
34054         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34055         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34056         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34057         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34058         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34059         (__ASSUME_ATFCTS): Do not undefine and redefine.
34060         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34061         <kernel-features.h>.
34062         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34063         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34064         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34065         <kernel-features.h>.
34066         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34067         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34068         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34069         (__ASSUME_ATFCTS): Do not undefine and redefine.
34070         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34071         <kernel-features.h>.
34072         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34073         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34074         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34075         <kernel-features.h>.
34076         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34077         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34079 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34081         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34083 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34085         [BZ #17069]
34086         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34087         constructed tree before returning error.
34088         * posix/bug-regexp36.c: Expand test case.
34090 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34092         [BZ #6803]
34093         * math/libm-test.inc (scalbln_test_date):
34094         Add errno expectations.
34095         * math/w_scalblnf.c: New File.
34096         Add wrapper which checks for setting errno to ERANGE.
34097         Add weak_alias for corresponding scalbln function.
34098         * math/w_scalbln.c: Likewise.
34099         * math/w_scalblnl.c: Likewise.
34100         * math/Makefile (libm-calls): Add w_scalbln.
34101         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34102         Remove weak_alias for corresponding scalbln function.
34103         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34104         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34105         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34106         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34107         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34108         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34109         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34110         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34111         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34112         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34113         Remove long_double_symbol for scalblnl function in libm, libc.
34114         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34115         Add wrapper which checks for setting errno to ERANGE.
34116         Add long_double_symbol for scalblnl function in libm, libc.
34117         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34118         Remove long_double_symbol for scalblnl in libm.
34119         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34120         Add wrapper which checks for setting errno to ERANGE.
34121         Add long_double_symbol for scalblnl function in libm.
34122         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34123         Do not use wrapper because of own implementation.
34125 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34127         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34128         3 bytes for __pad1 for x32.
34129         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34131 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34132             H.J. Lu  <hongjiu.lu@intel.com>
34134         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34135         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34136         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34137         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34138         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34140 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34142         [BZ #17069]
34143         * posix/regcomp.c (parse_expression): Deallocate partially
34144         constructed tree before returning error.
34145         * posix/Makefile.c (tests): Add bug-regex36.
34146         (generated): Add bug-regex36.mtrace.
34147         (tests-special): Add $(objpfx)bug-regex36-mem.out
34148         (bug-regex36-ENV): New variable.
34149         ($(objpfx)bug-regex36-mem.out): New rule.
34150         * posix/bug-regex36.c: New file.
34152 2014-06-19  Will Newton  <will.newton@linaro.org>
34154         * malloc/malloc.c (systrim): If extra is zero then return
34155         early.
34157 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34159         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34161 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34163         * sysdeps/aarch64/strchr.S: New file.
34165 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34167         [BZ #17022]
34168         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34169         from arguments -2 or below.
34170         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34171         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34173 2014-06-18  Andreas Schwab  <schwab@suse.de>
34175         [BZ #17062]
34176         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34177         of a bracket expr not to run off the end of the string.
34178         * posix/Makefile (tests): Add tst-fnmatch3.
34179         * posix/tst-fnmatch3.c: New file.
34181 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34183         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34184         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34185         [$(cross-compiling) = no]: Likewise.
34186         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34187         [$(cross-compiling) = no]: Likewise.
34189 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34191         [BZ #17031]
34192         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34193         double, adjusted for any remainder from the high double.
34194         * math/libm-test.inc (nearbyint): Add tests.
34195         (rint): Likewise.
34197 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34199         * nptl/sysdeps/powerpc/Makefile: Moved ...
34200         * sysdeps/powerpc/nptl/Makefile: ... here.
34201         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34202         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34203         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34204         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34205         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34206         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34207         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34208         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34209         * nptl/sysdeps/powerpc/tls.h: Moved ...
34210         * sysdeps/powerpc/nptl/tls.h: ... here.
34212 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34214         [BZ #16681]
34215         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34216         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34217         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34218         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34219         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34220         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34221         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34222         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34223         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34225 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34227         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34229 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34231         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34232         defined operator.
34234         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34235         $TIMEOUTFACTOR.
34237 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34239         [BZ #17058]
34240         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34241         non-executed part of the test.
34243 2014-06-16  Andreas Schwab  <schwab@suse.de>
34245         * string/bits/string2.h (strdup, strndup): Update feature guard.
34247 2014-06-14  David S. Miller  <davem@davemloft.net>
34249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34251 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34253         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34254         that was previously under [RESET_PID].
34255         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34257         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34258         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34259         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34260         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34261         (__libc_vfork): New strong alias.
34262         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34264 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34266         * sysdeps/generic/elide.h: New file.
34268 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34270         * Makefile (installed-headers): Adjust path of pthread.h header.
34272 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34274         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34275         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34276         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34277         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34279         * nptl/sysdeps/s390/Makefile: Moved ...
34280         * sysdeps/s390/nptl/Makefile: ... here.
34281         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34282         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34283         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34284         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34285         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34286         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34287         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34288         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34289         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34290         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34291         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34292         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34293         * nptl/sysdeps/s390/tls.h: Moved ...
34294         * sysdeps/s390/nptl/tls.h: ... here.
34296         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34297         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34299 2014-06-13  David S. Miller  <davem@davemloft.net>
34301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34304         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34308         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34309         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34310         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34311         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34312         Remove RESET_PID cpp guards.
34313         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34314         Remove RESET_PID cpp guards.
34315         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34317 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34319         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34320         __sp to uintptr_t.
34322 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34324         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34325         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34326         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34327         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34328         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34330         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34331         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34332         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34333         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34334         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34335         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34336         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34337         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34338         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34339         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34340         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34341         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34342         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34343         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34345         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34346         (pthread_rwlock_rdlock): Add elision.
34347         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34348         (pthread_rwlock_wrlock): Add elision.
34349         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34350         (pthread_rwlock_trywrlock): Add elision.
34351         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34352         (pthread_rwlock_tryrdlock): Add elision.
34353         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34354         (pthread_rwlock_tryrdlock): Add elision unlock.
34355         * nptl/sysdeps/pthread/pthread.h:
34356         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34357         (PTHREAD_RWLOCK_INITIALIZER,
34358         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34359         Handle new elision field.
34360         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34361         * sysdeps/arm/nptl/bits/pthreadtypes.h
34362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34363         * sysdeps/sh/nptl/bits/pthreadtypes.h
34364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34365         * sysdeps/tile/nptl/bits/pthreadtypes.h
34366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34367         * sysdeps/a/nptl/bits/pthreadtypes.h
34368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34369         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34371         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34373         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34375         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34377         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34379         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34381         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34382         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34383         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34384         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34385         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34386         (elision_init): Set try_xbegin to zero when no RTM.
34387         * sysdeps/x86/nptl/bits/pthreadtypes.h
34388         (pthread_rwlock_t): Change __pad1 to __rwelision.
34389         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34391 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34393         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34394         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34395         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34396         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34398 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34400         [BZ #16996]
34401         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34402         that the cached result has been set before returning it.
34404 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34406         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34407         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34408         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34409         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34410         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34411         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34413         * nptl/sysdeps/sparc/Makefile: Moved ...
34414         * sysdeps/sparc/nptl/Makefile: ... here.
34415         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34416         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34417         * nptl/sysdeps/sparc/tls.h: Moved ...
34418         * sysdeps/sparc/nptl/tls.h: ... here.
34419         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34420         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34421         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34422         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34423         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34424         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34425         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34426         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34427         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34428         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34429         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34430         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34431         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34432         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34433         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34434         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34435         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34436         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34437         Update #include.
34438         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34440         Update #include.
34441         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34442         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34443         Update #include.
34444         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34445         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34446         Update #include.
34448         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34450         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34451         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34453         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34454         (struct list_links): Type removed.
34455         (struct thread_node, struct timer_node): Replace struct list_links
34456         with struct list_head.
34457         (list_unlink_ip): Likewise.
34458         * sysdeps/pthread/timer_routines.c
34459         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34460         (list_append, list_insbefore): Likewise.
34461         (list_init): Function removed.
34462         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34463         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34464         * sysdeps/pthread/Makefile: ... here, new file.
34466         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34467         * sysdeps/nptl/Implies: ... here.
34468         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34469         * nptl/sysdeps/pthread/list.h: Moved ...
34470         * include/list.h: ... here.
34471         * nptl/sysdeps/pthread/createthread.c: Moved ...
34472         * nptl/createthread.c: ... here.
34473         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34474         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34475         * nptl/pt-longjmp.c: ... here.
34476         * nptl/sysdeps/pthread/Makefile: Moved ...
34477         * sysdeps/nptl/Makefile: ... here.
34478         * nptl/sysdeps/pthread/Subdirs: Moved ...
34479         * sysdeps/nptl/Subdirs: ... here.
34480         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34481         * sysdeps/nptl/aio_misc.h: ... here.
34482         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34483         * sysdeps/nptl/bits/libc-lock.h: ... here.
34484         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34485         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34486         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34487         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34488         * nptl/sysdeps/pthread/configure: Moved ...
34489         * sysdeps/nptl/configure: ... here.
34490         * nptl/sysdeps/pthread/configure.ac: Moved ...
34491         * sysdeps/nptl/configure.ac: ... here.
34492         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34493         * sysdeps/nptl/gai_misc.h: ... here.
34494         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34495         * sysdeps/nptl/librt-cancellation.c: ... here.
34496         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34497         * sysdeps/nptl/malloc-machine.h: ... here.
34498         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34499         * sysdeps/nptl/pthread-functions.h: ... here.
34500         * nptl/sysdeps/pthread/pthread.h: Moved ...
34501         * sysdeps/nptl/pthread.h: ... here.
34502         * nptl/sysdeps/pthread/setxid.h: Moved ...
34503         * sysdeps/nptl/setxid.h: ... here.
34504         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34505         * sysdeps/nptl/sigfillset.c: ... here.
34506         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34507         * sysdeps/nptl/tcb-offsets.h: ... here.
34508         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34509         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34510         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34511         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34512         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34513         * sysdeps/pthread/allocalim.h: ... here.
34514         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34515         * sysdeps/pthread/bits/sigthread.h: ... here.
34516         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34517         * sysdeps/pthread/flockfile.c: ... here.
34518         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34519         * sysdeps/pthread/ftrylockfile.c: ... here.
34520         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34521         * sysdeps/pthread/funlockfile.c: ... here.
34522         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34523         * sysdeps/pthread/posix-timer.h: ... here.
34524         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34525         * sysdeps/pthread/timer_create.c: ... here.
34526         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34527         * sysdeps/pthread/timer_delete.c: ... here.
34528         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34529         * sysdeps/pthread/timer_getoverr.c: ... here.
34530         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34531         * sysdeps/pthread/timer_gettime.c: ... here.
34532         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34533         * sysdeps/pthread/timer_routines.c: ... here.
34534         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34535         * sysdeps/pthread/timer_settime.c: ... here.
34536         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34537         * sysdeps/pthread/tst-timer.c: ... here.
34538         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34539         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34541         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34542         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34544         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34545         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34546         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34547         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34548         Update #include target.
34549         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34550         * sysdeps/i386/i686/nptl/Makefile: ... here.
34551         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34552         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34553         Update #include target.
34554         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34555         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34556         * nptl/sysdeps/i386/Makefile: Moved ...
34557         * sysdeps/i386/nptl/Makefile: ... here.
34558         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34559         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34560         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34561         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34562         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34563         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34564         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34565         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34566         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34567         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34568         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34569         * nptl/sysdeps/i386/tls.h: Moved ...
34570         * sysdeps/i386/nptl/tls.h: ... here.
34572         * sysdeps/sh/Makefile [$(subdir) = csu]
34573         (gen-as-const-headers): Add tcb-offsets.sym.
34574         * nptl/sysdeps/sh/Makefile: File removed.
34575         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34576         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34577         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34578         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34579         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34580         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34581         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34582         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34583         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34584         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34585         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34586         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34587         * nptl/sysdeps/sh/tls.h: Moved ...
34588         * sysdeps/sh/nptl/tls.h: ... here.
34589         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34590         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34591         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34592         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34593         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34594         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34595         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34596         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34597         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34598         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34599         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34600         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34602         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34603         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34604         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34605         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34606         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34607         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34608         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34609         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34610         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34611         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34612         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34614         Moved ...
34615         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34616         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34617         Moved ...
34618         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34619         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34620         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34621         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34622         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34623         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34624         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34625         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34626         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34627         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34628         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34629         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34630         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34631         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34632         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34633         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34634         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34635         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34636         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34638 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34640         * posix/spawn_faction_addopen.c: Include string.h.
34642 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34644         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34645         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34646         * nptl/sysdeps/x86_64/Makefile: Moved ...
34647         * sysdeps/x86_64/nptl/Makefile: ... here.
34648         * nptl/sysdeps/x86_64/configure: Moved ...
34649         * sysdeps/x86_64/nptl/configure: ... here.
34650         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34651         * sysdeps/x86_64/nptl/configure.ac: ... here.
34652         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34653         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34654         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34655         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34656         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34657         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34658         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34659         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34660         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34661         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34662         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34663         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34664         * nptl/sysdeps/x86_64/tls.h: Moved ...
34665         * sysdeps/x86_64/nptl/tls.h: ... here.
34666         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34667         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34668         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34669         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34671         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34673 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34677 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34679         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34680         type.
34681         [POSIX] (off_t): Likewise.
34682         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34683         [POSIX] (S_ISBLK): Require macro.
34684         [POSIX] (S_ISCHR): Likewise.
34685         [POSIX] (S_ISDIR): Likewise.
34686         [POSIX] (S_ISFIFO): Likewise.
34687         [POSIX] (S_ISREG): Likewise.
34688         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34689         optional-macro.
34690         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34691         type.
34692         [POSIX] (time_t): Likewise.
34693         [POSIX] (timer_t): Likewise.
34695 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34697         [BZ #17048]
34698         * posix/spawn_int.h (struct __spawn_action): Make the path string
34699         non-const to support deallocation.
34700         * posix/spawn_faction_addopen.c
34701         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34702         * posix/spawn_faction_destroy.c
34703         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34704         path in all spawn_do_open actions.
34705         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34706         posix_spawn_file_actions_addopen.
34708 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34710         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34711         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34712         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34713         conditional code always true.
34714         (__libc_vfork): New alias.
34716 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34718         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34719         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34721         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34723         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34724         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34726         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34727         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34729         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34730         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34732 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34734         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34735         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34736         multiarch strcmp for PPC64.
34737         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34738         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34740         multiarch optimizations.
34741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34742         (__libc_ifunc_impl_list): Likewise.
34744 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34746         * benchtests/scripts/validate_benchout.py: New script.
34747         * benchtests/Makefile (bench-func): Call it.
34748         * benchtests/scripts/benchout.schema.json: New file.
34750 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34752         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34753         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34754         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34755         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34756         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34757         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34758         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34759         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34760         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34761         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34762         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34763         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34764         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34765         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34766         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34767         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34769         Moved ...
34770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34771         ... here.
34772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34773         Moved ...
34774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34776         Moved ...
34777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34778         ... here.
34779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34780         Moved ...
34781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34782         ... here.
34783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34784         Moved ...
34785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34787         Moved ...
34788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34789         ... here.
34790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34791         Moved ...
34792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34793         ... here.
34794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34795         Moved ...
34796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34798         Moved ...
34799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34800         ... here.
34801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34802         Moved ...
34803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34804         ... here.
34805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34806         Moved ...
34807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34808         ... here.
34809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34810         Moved ...
34811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34813         Moved ...
34814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34815         ... here.
34816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34817         Moved ...
34818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34819         ... here.
34820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34821         Moved ...
34822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34823         ... here.
34824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34825         Moved ...
34826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34828         Moved ...
34829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34830         ... here.
34831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34832         Moved ...
34833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34834         ... here.
34835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34836         Moved ...
34837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34839         Moved ...
34840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34841         ... here.
34842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34843         Moved ...
34844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34846         Moved ...
34847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34849         Moved ...
34850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34851         ... here.
34852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34853         Moved ...
34854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34855         ... here.
34856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34857         Moved ...
34858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34859         ... here.
34860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34861         Moved ...
34862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34864         Moved ...
34865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34866         ... here.
34867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34868         Moved ...
34869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34870         ... here.
34871         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34872         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34873         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34874         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34876         Moved ...
34877         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34878         ... here.
34879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34880         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34881         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34882         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34883         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34884         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34886         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34888         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34889         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34890         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34892         Moved ...
34893         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34894         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34895         Moved ...
34896         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34897         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34898         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34899         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34900         Moved ...
34901         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34902         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34903         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34904         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34905         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34906         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34907         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34909 2014-06-10  Wilco  <wdijkstr@arm.com>
34911         * math/test-fenv-return.c: New file.
34912         * math/Makefile: Add new test test-fenv-return.
34914 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34916         [BZ #17042]
34917         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34918         when x - 1 is zero.
34919         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34920         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34921         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34922         0.0L for an argument of 1.0L.
34923         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34924         Likewise.
34925         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34926         value when x - 1 is zero.
34927         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34928         * sysdeps/i386/fpu/libm-test-ulps: Update.
34929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34931 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34933         [BZ #15119]
34934         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34936 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34938         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34939         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34941 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34943         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34944         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34946         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34947         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34949         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34950         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34952         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34953         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34955         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34956         if not already defined.
34957         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34958         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34959         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34960         (TLS_INIT_TP): Use it.
34961         (TLS_DEFINE_INIT_TP): New macro.
34962         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34964 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34966         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34967         constant.
34968         [POSIX] (IXANY): Likewise.
34969         [POSIX] (OLCUC): Likewise.
34970         [POSIX || POSIX2008] (CBAUD): Do not allow.
34971         [POSIX || POSIX2008] (DEFECHO): Likewise.
34972         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34973         [POSIX || POSIX2008] (ECHOKE): Likewise.
34974         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34975         [POSIX || POSIX2008] (EXTA): Likewise.
34976         [POSIX || POSIX2008] (EXTB): Likewise.
34977         [POSIX || POSIX2008] (FLUSHO): Likewise.
34978         [POSIX || POSIX2008] (LOBLK): Likewise.
34979         [POSIX || POSIX2008] (PENDIN): Likewise.
34980         [POSIX || POSIX2008] (SWTCH): Likewise.
34981         [POSIX || POSIX2008] (VDISCARD): Likewise.
34982         [POSIX || POSIX2008] (VDSUSP): Likewise.
34983         [POSIX || POSIX2008] (VLNEXT): Likewise.
34984         [POSIX || POSIX2008] (VREPRINT): Likewise.
34985         [POSIX || POSIX2008] (VSTATUS): Likewise.
34986         [POSIX || POSIX2008] (VWERASE): Likewise.
34987         (B*): Change to B[0123456789]*.
34988         * conform/data/time.h-data [POSIX || UNIX98]
34989         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34990         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34991         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34992         [POSIX] (tm_*): Do not allow.
34994 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34996         * Makefile (install): Don't set LANGUAGE.
34997         * Makefile.in (install): Likewise.
34998         * assert/Makefile (test-assert-ENV): Remove variable.
34999         (test-assert-perr-ENV): Likewise.
35000         * elf/Makefile (neededtest4-ENV): Likewise.
35001         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35002         [$(cross-compiling) = no]: Don't set LANGUAGE.
35003         * io/ftwtest-sh (LANG): Remove variable.
35004         * libio/Makefile (tst-widetext-ENV): Likewise.
35005         * manual/install.texi (Running make install): Don't refer to
35006         environment settings for make install.
35007         * INSTALL: Regenerated.
35008         * nptl/tst-tls6.sh: Don't set LANG.
35009         * posix/globtest.sh (LANG): Remove variable.
35010         * string/Makefile (tester-ENV): Likewise.
35011         (inl-tester-ENV): Likewise.
35012         (noinl-tester-ENV): Likewise.
35013         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35014         [$(cross-compiling) = no]: Don't set LANGUAGE.
35015         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35016         without explicit environment settings.
35018 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35020         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35021         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35022         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35023         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35025 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35027         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35028         other files in the crypt directory.
35029         * crypt/crypt.c: Remove duplicate includes.
35030         * crypt/crypt-entry.c: Likewise.
35031         * crypt/crypt_util.c: Likewise.
35033 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35035         * Makeconfig (run-program-env): New variable.
35036         (run-program-prefix-before-env): Likewise.
35037         (run-program-prefix-after-env): Likewise.
35038         (run-program-prefix): Define in terms of new variables.
35039         (built-program-cmd-before-env): New variable.
35040         (built-program-cmd-after-env): Likewise.
35041         (built-program-cmd): Define in terms of new variables.
35042         (test-program-prefix-before-env): New variable.
35043         (test-program-prefix-after-env): Likewise.
35044         (test-program-prefix): Define in terms of new variables.
35045         (test-program-cmd-before-env): New variable.
35046         (test-program-cmd-after-env): Likewise.
35047         (test-program-cmd): Define in terms of new variables.
35048         * Rules (make-test-out): Use $(run-program-env).
35049         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35050         (help): Do not mention environment variables.  Mention
35051         --timeoutfactor option.
35052         (timeoutfactor): New variable.
35053         (blacklist_exports): Remove function.
35054         (exports): Remove variable.
35055         (command): Do not include ${exports}.
35056         * manual/install.texi (Configuring and compiling): Do not mention
35057         test wrappers preserving environment variables.  Mention that last
35058         assignment to a variable must take precedence.
35059         * INSTALL: Regenerated.
35060         * benchtests/Makefile (run-bench): Use $(run-program-env).
35061         * catgets/Makefile ($(objpfx)test1.cat): Use
35062         $(built-program-cmd-before-env), $(run-program-env) and
35063         $(built-program-cmd-after-env).
35064         ($(objpfx)test2.cat): Do not specify environment variables
35065         explicitly.
35066         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35067         $(run-program-env) and $(built-program-cmd-after-env).
35068         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35069         $(run-program-env) and $(test-program-cmd-after-env).
35070         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35071         explicitly.
35072         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35073         run_program_env and test_program_cmd_after_env arguments.
35074         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35075         * elf/tst-pathopt.sh: Use run_program_env argument.
35076         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35077         $(test-wrapper-env) and $(run-program-env).
35078         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35079         run_program_env arguments.
35080         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35081         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35082         $(test-program-prefix-before-env), $(run-program-env) and
35083         $(test-program-prefix-after-env).
35084         ($(objpfx)tst-gettext2.out): Likewise.
35085         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35086         run_program_env and test_program_prefix_after_env arguments.
35087         * intl/tst-gettext2.sh: Likewise.
35088         * intl/tst-gettext4.sh: Do not set environment variables
35089         explicitly.
35090         * intl/tst-gettext6.sh: Likewise.
35091         * intl/tst-translit.sh: Likewise.
35092         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35093         $(test-program-prefix-before-env), $(run-program-env) and
35094         $(test-program-prefix-after-env).
35095         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35096         run_program_env and test_program_prefix_after_env arguments.
35097         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35098         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35099         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35100         explicitly with each use of ${test_wrapper_env}.
35101         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35102         $(test-program-prefix-before-env), $(run-program-env) and
35103         $(test-program-prefix-after-env).
35104         * posix/tst-getconf.sh: Do not set environment variables
35105         explicitly.
35106         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35107         run_program_env and test_program_prefix_after_env arguments.
35108         * stdio-common/tst-printf.sh: Do not set environment variables
35109         explicitly.
35110         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35111         $(test-program-prefix-before-env), $(run-program-env) and
35112         $(test-program-prefix-after-env).
35113         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35114         run_program_env and test_program_prefix_after_env arguments.
35115         Split $test calls into $test_pre and $test.
35116         * timezone/Makefile (build-testdata): Use
35117         $(built-program-cmd-before-env), $(run-program-env) and
35118         $(built-program-cmd-after-env).
35120 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35122         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35123         strlen for non SHARED builds.
35125 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35127         * nptl/allocatestack.c (check_list): Inlined function...
35128         (__reclaim_stacks): ... here.
35130 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35132         [BZ #15698]
35133         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35134         memory overrun.
35136 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35138         * Rules (make-test-out): Include
35139         LOCPATH=$(common-objpfx)localedata in default environment.
35140         * debug/Makefile (tst-chk1-ENV): Remove variable.
35141         (tst-chk2-ENV): Likewise.
35142         (tst-chk3-ENV): Likewise.
35143         (tst-chk4-ENV): Likewise.
35144         (tst-chk5-ENV): Likewise.
35145         (tst-chk6-ENV): Likewise.
35146         (tst-lfschk1-ENV): Likewise.
35147         (tst-lfschk2-ENV): Likewise.
35148         (tst-lfschk3-ENV): Likewise.
35149         (tst-lfschk4-ENV): Likewise.
35150         (tst-lfschk5-ENV): Likewise.
35151         (tst-lfschk6-ENV): Likewise.
35152         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35153         (tst-iconv7-ENV): Likewise.
35154         * intl/Makefile (LOCPATH-ENV): Likewise.
35155         (tst-codeset-ENV): Likewise.
35156         (tst-gettext3-ENV): Likewise.
35157         (tst-gettext5-ENV): Likewise.
35158         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35159         (tst-fopenloc-ENV): Likewise.
35160         (tst-fgetws-ENV): Remove variable.
35161         (tst-ungetwc1-ENV): Likewise.
35162         (tst-ungetwc2-ENV): Likewise.
35163         (bug-ungetwc2-ENV): Likewise.
35164         (tst-swscanf-ENV): Likewise.
35165         (bug-ftell-ENV): Likewise.
35166         (tst-fgetwc-ENV): Likewise.
35167         (tst-fseek-ENV): Likewise.
35168         (tst-ftell-partial-wide-ENV): Likewise.
35169         (tst-ftell-active-handler-ENV): Likewise.
35170         (tst-ftell-append-ENV): Likewise.
35171         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35172         (tst-regexloc-ENV): Likewise.
35173         (bug-regex1-ENV): Likewise.
35174         (tst-regex-ENV): Likewise.
35175         (tst-regex2-ENV): Likewise.
35176         (bug-regex5-ENV): Likewise.
35177         (bug-regex6-ENV): Likewise.
35178         (bug-regex17-ENV): Likewise.
35179         (bug-regex18-ENV): Likewise.
35180         (bug-regex19-ENV): Likewise.
35181         (bug-regex20-ENV): Likewise.
35182         (bug-regex22-ENV): Likewise.
35183         (bug-regex23-ENV): Likewise.
35184         (bug-regex25-ENV): Likewise.
35185         (bug-regex26-ENV): Likewise.
35186         (bug-regex30-ENV): Likewise.
35187         (bug-regex32-ENV): Likewise.
35188         (bug-regex33-ENV): Likewise.
35189         (bug-regex34-ENV): Likewise.
35190         (bug-regex35-ENV): Likewise.
35191         (tst-rxspencer-ENV): Likewise.
35192         (tst-rxspencer-no-utf8-ENV): Likewise.
35193         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35194         (tst-sscanf-ENV): Likewise.
35195         (tst-swprintf-ENV): Likewise.
35196         (tst-swscanf-ENV): Likewise.
35197         (test-vfprintf-ENV): Likewise.
35198         (scanf13-ENV): Likewise.
35199         (bug14-ENV): Likewise.
35200         (tst-grouping-ENV): Likewise.
35201         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35202         (tst-strtod3-ENV): Likewise.
35203         (tst-strtod4-ENV): Likewise.
35204         (tst-strtod5-ENV): Likewise.
35205         (testmb2-ENV): Likewise./
35206         * string/Makefile (tst-strxfrm-ENV): Likewise.
35207         (tst-strxfrm2-ENV): Likewise.
35208         (bug-strcoll1-ENV): Likewise.
35209         (test-strcasecmp-ENV): Likewise.
35210         (test-strncasecmp-ENV): Likewise.
35211         * time/Makefile (tst-strptime-ENV): Likewise.
35212         (tst-ftime_l-ENV): Likewise.
35213         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35214         (tst-mbrtowc-ENV): Likewise.
35215         (tst-wcrtomb-ENV): Likewise.
35216         (tst-mbrtowc2-ENV): Likewise.
35217         (tst-c16c32-1-ENV): Likewise.
35218         (tst-mbsnrtowcs-ENV): Likewise.
35220 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35222         * manual/resource.texi (How to get information about the memory
35223         subsystem?): Fix typo.
35224         Reported by Peon de la Parra Ivan <peon@keba.com>
35226 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35228         [BZ #16882]
35229         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35230         (pthread_spin_lock): Branch out of spin loop to proper location.
35231         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35232         (pthread_spin_lock): Likewise.
35234         * nptl/tst-spin4.c: New test.
35235         * nptl/Makefile (tests): Add tst-spin4.
35237 2014-06-03  Andreas Schwab  <schwab@suse.de>
35239         [BZ #15946]
35240         * resolv/res_send.c (send_dg): Reload file descriptor after
35241         calling reopen.
35243 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35245         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35247 2014-06-03  Richard Henderson  <rth@redhat.com>
35249         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35250         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35251         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35252         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35253         in the SAVE_PID block.
35254         (__libc_vfork): New alias.
35255         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35257         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35258         child in registers, not on the stack.  Remove RESET_PID conditionals.
35259         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35261 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35263         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35265 2014-06-03  Wilco  <wdijkstr@arm.com>
35267         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35268         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35269         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35270         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35271         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35272         Likewise.
35274 2014-06-03  Wilco  <wdijkstr@arm.com>
35276         * sysdeps/aarch64/fpu/math_private.h
35277         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35278         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35279         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35280         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35281         Fix declarations.
35283 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35285         * crypt/crypt-private.h: Include ufc-crypt.h.
35286         (__b64_from_24bit): Declare extern.
35287         * crypt/crypt_util.c(__b64_from_24bit): New function.
35288         (b64t): New static const variable.
35289         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35290         (b64t): Remove variable.
35291         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35292         * crypt/sha256-crypt.c: Include crypt-private.h.
35293         (b64t): Remove variable.
35294         (__sha256_crypt_r): Remove b64_from_24bit and replace
35295         with __b64_from_24bit.
35296         * crypt/sha512-crypt.c: Likewise.
35298 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35300         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35301         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35302         Label the code __libc_vfork rather than __vfork.
35303         [!NOT_IN_libc] (vfork): Define as weak alias.
35304         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35305         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35306         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35308 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35310         * malloc/malloc.c (malloc_info): Fix format specifier for
35311         n_mmaps.
35313 2014-06-02  Wilco  <wdijkstr@arm.com>
35315         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35316         FPCR write.
35318 2014-06-02  Wilco  <wdijkstr@arm.com>
35320         [BZ #17009]
35321         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35322         Rewrite to reduce FPCR/FPSR accesses.
35324 2014-06-01  David S. Miller  <davem@davemloft.net>
35326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35328 2014-05-31  David S. Miller  <davem@davemloft.net>
35330         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35331         to occur in round to nearest mode when |x| >= 2.0
35333 2014-05-30  Richard Henderson  <rth@twiddle.net>
35335         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35336         (PSEUDO_RET_NOERRNO): Remove.
35337         (ret): Don't redefine.
35338         (ret_NOERRNO): Define in terms of ret.
35339         (ret_ERRVAL): Likewise.
35341         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35342         use of PSEUDO_RET; perform the error check directly.
35344 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35346         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35347         with __int128_t.
35349 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35351         * malloc/malloc (malloc_info): Fix formatting.
35353 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35354             Roland McGrath  <roland@hack.frob.com>
35356         * malloc/malloc (malloc_info): Also print mmapped statistics.
35358 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35360         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35361         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35363 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35365         * malloc/malloc.c (malloc_info): Inline mi_arena.
35367 2014-05-29  Richard Henderson  <rth@twiddle.net>
35369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35370         Remove comma before expanding ASM_ARGS_##nr.
35371         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35372         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35373         of ASM_ARGS_##nr.
35374         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35375         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35376         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35377         (ASM_ARGS_1): Add leading comma.
35379         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35380         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35381         to __errno_location.
35382         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35383         Remove the expected plt for __errno_location.
35385         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35386         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35387         call to __read_tp.
35389         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35390         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35391         it and break it down.
35392         (DOCARGS_0, DOCARGS_1): Do nothing.
35393         (DOCARGS_2): Update to store into the new stack frame.
35394         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35395         (UNDOCARGS_1): Update to restore from the new stack frame.
35396         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35397         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35399         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35400         (SINGLE_THREAD_P): New parameter for result regno.
35401         (PSEUDO): Update to match; use cbz instead of beq.
35403         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35404         Use ENTRY to define the _nocancel entry point.  Share the syscall
35405         and syscall error check paths with the cancel path.
35406         (PSEUDO_END): New.
35408         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35409         whitespace; tabs before and after asm mnemonics.
35411 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35413         [BZ #15132]
35414         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35415         Call fstat64 or stat64 internally, depending on arguments passed.
35416         Replace stat buffer argument with file descriptor argument.
35417         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35418         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35419         Pass fd to __internal_statvfs instead of calling fstat64.
35420         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35421         Pass fd to __internal_statvfs64 instead of calling fstat64.
35422         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35423         Pass -1 to __internal_statvfs instead of calling stat64.
35424         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35425         Pass -1 to __internal_statvfs64 instead of calling stat64.
35427 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35429         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35430         that was previously under [RESET_PID].
35431         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35433         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35434         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35436 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35438         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35440         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35441         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35443 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35445         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35447 2014-05-27  Andreas Schwab  <schwab@suse.de>
35449         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35450         TLS_INIT_TP macro.
35451         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35452         * elf/rtld.c (init_tls, dl_main): Likewise.
35453         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35454         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35455         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35456         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35457         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35458         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35459         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35460         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35461         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35462         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35463         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35464         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35465         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35466         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35467         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35468         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35469         * sysdeps/generic/tls.h: Update description.
35471 2014-05-27  Will Newton  <will.newton@linaro.org>
35473         [BZ #16990]
35474         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35475         and restore r2 rather than just restoring.
35477 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35479         [BZ #16724]
35480         * libio/tst-ftell-append.c: New test case.
35481         * libio/Makefile (tests): Add test case.
35482         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35483         append mode.
35484         * libio/wfileops.c (do_ftell_wide): Likewise.
35486 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35490         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35491         ...
35492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35494         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35495         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35496         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35497         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35498         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35499         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35501         Moved ...
35502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35503         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35504         Moved ...
35505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35506         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35507         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35508         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35509         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35510         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35511         ...
35512         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35513         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35514         Moved ...
35515         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35516         here.
35517         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35518         ...
35519         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35520         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35521         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35523         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35524         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35525         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35526         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35529         merge into ...
35530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35532         ...
35533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35535         ...
35536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35538         Moved ...
35539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35540         here.
35541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35542         Moved ...
35543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35544         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35545         Moved ...
35546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35549         conditional [RESET_PID].
35550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35551         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35552         removed.
35553         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35554         removed.
35556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35557         <tcb-offsets.h>.
35558         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35559         (__libc_vfork): New strong alias.
35560         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35561         removed.
35562         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35563         Removed.
35565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35566         <tcb-offsets.h>.
35567         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35568         (__libc_vfork): New strong alias.
35569         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35570         removed.
35571         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35572         removed.
35574 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35576         * malloc/malloc.c (mi_arena): New function.
35577         (malloc_info): Remove nested function mi_arena. Call non-nosted
35578         function mi_arena.
35580 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35582         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35583         by insrwi.
35584         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35585         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35586         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35587         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35588         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35589         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35590         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35592 2014-05-26  Andreas Schwab  <schwab@suse.de>
35594         [BZ #16984]
35595         * locale/programs/repertoire.c (repertoire_read): Add slash
35596         between I18NPATH element and file name.
35597         * locale/programs/locfile.c (locfile_read): Likewise.
35599 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35601         * nptl/pthread_mutexattr_settype.c
35602         (__pthread_mutexattr_settype):
35603         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35605 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35607         * nptl/tst-mutex5 (do_test):
35608         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35610 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35612         * benchtests/README: Document 'init' directive.
35613         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35614         BENCH_INIT.
35615         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35616         (parse_file): Recognize 'init' directive.
35618 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35620         [BZ #16796]
35621         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35622         alignment of struct pthread.
35624 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35626         [BZ #16878]
35627         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35628         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35629         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35630         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35632 2014-05-25  Richard Henderson  <rth@twiddle.net>
35634         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35635         (SINGLE_THREAD_P_PIC): Remove.
35636         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35637         (SINGLE_THREAD_P_PIC): Remove.
35639         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35640         branch to syscall error ...
35641         (PSEUDO): ... here.
35642         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35643         from __local_syscall_error to .Lsyscall_error.
35644         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35645         (SYSCALL_ERROR): Update label name.
35647         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35648         Do not use DOARGS/UNDOARGS.
35649         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35650         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35651         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35652         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35653         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35655         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35656         block comment.
35658         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35659         define if !NOT_IN_libc.
35660         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35661         define with non-default symbol versions.
35663 2014-05-23  Richard Henderson  <rth@twiddle.net>
35665         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35666         (vfork, __vfork): Define via compat_symbol.
35668         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35669         [!HAVE_IFUNC] (vfork_compat): Remove.
35670         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35672 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35674         [BZ #16978]
35675         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35676         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35677         variable.
35679 2014-05-23  Richard Henderson  <rth@twiddle.net>
35681         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35682         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35683         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35684         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35686         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35687         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35688         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35689         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35690         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35691         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35692         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35693         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35694         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35695         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35696         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35697         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35698         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35699         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35700         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35701         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35702         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35703         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35704         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35705         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35706         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35707         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35708         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35709         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35710         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35711         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35712         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35713         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35714         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35715         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35716         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35717         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35718         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35719         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35720         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35721         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35722         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35723         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35724         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35725         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35726         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35727         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35728         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35729         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35730         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35731         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35732         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35733         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35735         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35736         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35737         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35738         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35739         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35740         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35741         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35743         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35744         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35745         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35746         before exiting on error.
35747         (__libc_vfork): New strong alias.
35748         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35749         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35751         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35752         that was previously under [RESET_PID].
35753         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35755         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35757 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35759         [BZ #16977]
35760         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35761         value when x - 1 is zero.
35762         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35763         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35764         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35765         0.0L for an argument of 1.0L.
35766         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35767         Likewise.
35768         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35769         value when x - 1 is zero.
35770         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35771         * sysdeps/i386/fpu/libm-test-ulps: Update.
35772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35774 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35776         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35777         alphasort and versionsort.
35779 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35781         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35782         macro.
35783         [copysignf]: Likewise.
35785 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35787         * crypt/md5-crypt.c: Fix formatting.
35789 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35791         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35792         (b64_from_24bit): New function.
35794 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35796         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35797         libc_hidden_builtin_def to ifunc.
35798         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35799         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35801 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35803         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35804         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35806 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35808         * nscd/Depend (linuxthreads): Remove.
35809         (nptl): Add.
35810         * resolv/Depend (linuxthreads): Remove.
35811         * rt/Depend (linuxthreads): Remove.
35813         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35814         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35815         $(common-objpfx)elf/.
35816         (link-libc-before-gnulib): Likewise.
35817         (elfobjdir): Remove variable.
35818         * Makefile (install): Use $(elf-objpfx) instead of
35819         $(common-objpfx)elf/.
35820         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35821         $(elfobjdir)/.
35822         (link-libc-deps): Likewise.
35823         ($(common-objpfx)libc.so): Likewise.
35824         ($(common-objpfx)linkobj/libc.so): Likewise.
35825         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35826         instead of $(common-objpfx)elf/.
35827         (symbolic-link-list): Likewise.
35828         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35829         [$(cross-compiling) = no]: Likewise.
35830         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35831         $(elfobjdir)/.
35832         (static-gnulib-arch): Likewise.
35833         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35834         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35835         $(common-objpfx)elf/.
35837 2014-05-21  Richard Henderson  <rth@redhat.com>
35839         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35840         (SINGLE_THREAD_P): Use the correct width load.  Fold
35841         into the ldr offset.
35843         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35844         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35846 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35848         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35849         (libgcc_s_resume): Use __attribute_used__.
35850         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35851         Likewise.
35853 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35855         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35856         optimization when used with float constants.
35858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35860 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35862         [BZ #16915]
35863         * locale/nl_langinfo_l.c: Make direct reference to every
35864         _nl_current_CATEGORY symbol.
35865         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35866         (tests-static): Add tst-langinfo-static.
35867         (tests-special): Add tst-langinfo-static.out.
35868         ($(objpfx)tst-langinfo.out): Redirect output.
35869         ($(objpfx)tst-langinfo-static.out): New.
35870         * localedata/tst-langinfo.sh: Send output to stdout.
35871         * localedata/tst-langinfo-static.c: New file.
35873         [BZ #16965]
35874         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35875         when the shift amount is modulo the limb size.
35877 2014-05-20  Richard Henderson  <rth@redhat.com>
35879         [BZ #16967]
35880         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35881         Change type of sa_flags from unsigned int to int.
35883         [BZ #16966]
35884         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35886         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35888 2014-05-20  Will Newton  <will.newton@linaro.org>
35890         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35891         Test the return value of the system call in the nocancel case.
35893 2014-05-20  Will Newton  <will.newton@linaro.org>
35894             Yvan Roux  <yvan.roux@linaro.org>
35896         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35897         #include of asm/ptrace.h.
35898         (PTRACE_GET_THREAD_AREA): Remove #undef.
35899         (PTRACE_GETHBPREGS): Likewise.
35900         (PTRACE_SETHBPREGS): Likewise.
35901         (struct user_regs_struct): New structure.
35902         (struct user_fpsimd_struct): New structure.
35903         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35904         #include of asm/ptrace.h and second #include of sys/user.h.
35905         (PTRACE_GET_THREAD_AREA): Remove #undef.
35906         (PTRACE_GETHBPREGS): Likewise.
35907         (PTRACE_SETHBPREGS): Likewise.
35908         (ELF_NGREG): Use new struct user_regs_struct.
35909         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35911 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35913         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35914         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35916 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35918         [BZ #16958]
35919         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35920         membar to avoid block loads/stores to overlap previous stores.
35922 2014-05-17  Richard Henderson  <rth@redhat.com>
35924         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35925         Create the __##syscall_name##_nocancel entry point.
35926         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35927         Remove; let the sysdep-cancel.h code create it.
35929 2014-05-17  David S. Miller  <davem@davemloft.net>
35931         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35932         Protect with __USE_GNU.
35933         (TIOCSET_TEMPT): Likewise.
35934         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35935         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35936         these are already provided in bits/ioctl-types.h
35938 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35940         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35941         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35943         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35944         Use wait4 regardless of [__NR_waitpid].
35946 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35948         PR libgcc/60166
35949         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35950         (_FP_NANSIGN_Q): Set the quiet bit.
35952 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35954         * benchtests/Makefile
35955         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35956         not $(common-objpfx)math/libm.so.
35957         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35958         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35959         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35960         $(common-objpfx)dlfcn/libdl.so.
35961         ($(objpfx)tst-audit8): Depend on $(libm), not
35962         $(common-objpfx)math/libm.so.
35963         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35964         not $(common-objpfx)dlfcn/libdl.so.
35965         * math/Makefile
35966         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35967         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35968         [$(build-shared) = yes].
35969         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35970         $(common-objpfx)nptl/libpthread.so.
35971         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35972         $(common-objpfx)math/libm.so$(libm.so-version) or
35973         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35974         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35975         $(common-objpfx)dlfcn/libdl.so.
35976         * setjmp/Makefile (link-libm): Remove variable.
35977         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35978         * stdio-common/Makefile (link-libm): Remove variable.
35979         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35980         * stdlib/Makefile (link-libm): Remove variable.
35981         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35982         ($(objpfx)tst-strtod-round): Likewise.
35983         ($(objpfx)tst-tininess): Likewise.
35984         ($(objpfx)tst-strtod-underflow): Likewise.
35985         ($(objpfx)tst-strtod6): Likewise.
35986         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35987         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35988         $(common-objpfx)dlfcn/libdl.so.
35990 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35992         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35993         BSD terminal modes definitions.
35995 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35997         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35998         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36000         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36001         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36002         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36003         Don't do #include_next.
36004         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36005         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36006         Don't do #include_next.
36007         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36008         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36009         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36010         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36012 2014-05-16  Allan McRae  <allan@archlinux.org>
36014         * po/sv.po: Update Swedish translation from translation project.
36016         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36017         in sed expression.
36019 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36021         [BZ #16917]
36022         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36023         errno if the TIOCGPTN ioctl fails with an error different than
36024         EINVAL.
36025         * login/tst-ptsname.c: New file.
36026         * login/Makefile (tests): Add tst-ptsname.
36028         [BZ #16943]
36029         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36030         and prlimit64.
36032 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36034         [BZ #16849]
36035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36036         herrno to return EAI_AGAIN.
36038 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36040         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36041         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36042         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36043         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36044         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36045         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36046         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36047         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36048         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36049         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36050         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36051         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36052         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36053         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36054         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36055         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36056         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36057         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36058         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36059         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36060         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36061         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36062         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36063         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36064         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36065         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36066         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36067         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36068         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36069         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36071         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36073         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36075         Moved ...
36076         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36078         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36080         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36082         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36084         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36086         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36088         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36090         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36092         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36094         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36096         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36098         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36100         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36102         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36104         Moved ...
36105         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36107         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36109         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36111         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36113         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36115         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36117         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36119         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36121         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36123         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36125         Moved ...
36126         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36128         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36130         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36131         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36132         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36133         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36134         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36135         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36136         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36137         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36138         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36139         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36140         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36141         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36142         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36143         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36144         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36145         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36146         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36147         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36148         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36149         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36150         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36151         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36152         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36153         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36154         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36155         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36156         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36157         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36158         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36159         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36160         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36162         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36163         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36165         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36166         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36167         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36168         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36169         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36170         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36171         Moved ...
36172         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36173         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36174         Moved ...
36175         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36176         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36177         Moved ...
36178         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36179         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36180         Moved ...
36181         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36182         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36183         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36184         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36185         Moved ...
36186         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36187         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36188         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36189         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36190         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36191         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36192         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36193         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36194         Moved ...
36195         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36196         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36197         Moved ...
36198         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36199         ... here.
36200         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36201         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36202         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36203         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36204         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36205         Moved ...
36206         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36207         ... here.
36208         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36209         Moved ...
36210         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36211         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36212         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36213         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36214         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36215         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36216         Moved ...
36217         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36218         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36219         Moved ...
36220         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36221         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36222         Moved ...
36223         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36224         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36225         Moved ...
36226         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36227         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36228         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36229         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36230         Moved ...
36231         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36232         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36233         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36234         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36235         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36236         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36237         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36238         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36239         Moved ...
36240         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36241         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36242         Moved ...
36243         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36244         ... here.
36245         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36246         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36247         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36248         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36249         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36250         Moved ...
36251         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36252         ... here.
36253         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36254         Moved ...
36255         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36256         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36257         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36258         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36259         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36260         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36261         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36262         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36263         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36264         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36265         Moved ...
36266         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36267         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36268         Moved ...
36269         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36270         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36271         Moved ...
36272         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36273         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36274         Moved ...
36275         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36276         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36277         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36278         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36279         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36280         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36281         Moved ...
36282         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36283         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36284         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36285         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36286         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36287         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36288         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36289         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36290         Moved ...
36291         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36292         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36293         Moved ...
36294         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36295         ... here.
36296         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36297         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36298         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36299         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36300         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36301         Moved ...
36302         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36303         ... here.
36304         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36305         Moved ...
36306         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36307         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36308         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36309         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36310         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36311         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36312         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36313         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36314         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36315         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36316         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36318         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36319         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36321         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36322         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36324         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36325         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36326         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36327         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36328         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36329         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36330         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36331         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36332         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36333         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36334         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36335         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36336         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36337         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36338         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36339         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36340         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36342         Moved ...
36343         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36344         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36345         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36346         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36347         Moved ...
36348         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36349         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36350         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36352         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36356         Moved ...
36357         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36359         Moved ...
36360         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36361         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36362         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36363         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36364         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36365         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36366         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36367         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36368         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36369         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36370         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36371         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36372         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36373         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36374         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36375         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36376         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36378         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36379         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36380         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36381         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36382         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36384         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36385         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36386         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36387         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36388         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36389         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36390         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36391         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36392         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36393         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36398         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36399         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36400         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36401         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36402         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36403         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36404         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36405         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36406         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36407         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36408         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36409         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36410         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36411         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36413         Update #include.
36414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36415         Likewise.
36416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36417         Likewise.
36418         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36419         Likewise.
36420         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36421         Likewise.
36422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36423         Likewise.
36424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36425         Likewise.
36426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36427         Likewise.
36428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36429         Likewise.
36430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36431         Likewise.
36432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36433         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36435         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36438         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36439         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36440         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36441         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36442         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36443         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36444         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36445         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36446         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36448         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36449         that was previously under [RESET_PID].
36450         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36451         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36452         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36454         * sysdeps/i386/nptl/Implies: New file.
36455         * sysdeps/x86_64/nptl/Implies: New file.
36456         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36457         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36458         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36459         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36461         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36462         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36463         (__libc_vfork): New strong alias.
36464         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36465         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36467         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36468         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36469         (__libc_vfork): New strong alias.
36470         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36471         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36473         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36474         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36475         (__libc_vfork): New strong alias.
36476         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36477         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36478         * nptl/pt-vfork.c: New file.
36479         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36480         (libpthread: GLIBC_2.20): New version set (empty).
36482 2014-05-14  Will Newton  <will.newton@linaro.org>
36484         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36485         rather than #if.
36487 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36489         [BZ #16564]
36490         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36491         arguments with exponent 65 or above.
36492         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36493         arguments 0x1p113L or above.
36494         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36495         to arguments 0x1p107L or above.
36496         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36497         positive arguments with exponent 65 or above.
36498         * math/auto-libm-test-in: Add more tests of log1p.
36499         * math/auto-libm-test-out: Regenerated.
36501         [BZ #16928]
36502         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36503         non-finite arguments is +0.
36504         * math/s_cacosf.c (__cacosf): Likewise.
36505         * math/s_cacosl.c (__cacosl): Likewise.
36506         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36507         * sysdeps/i386/fpu/libm-test-ulps: Update.
36508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36510         [BZ #16927]
36511         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36512         value.
36513         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36514         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36515         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36516         for explicit high bit of mantissa when testing for argument equal
36517         to 1.
36518         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36519         * sysdeps/i386/fpu/libm-test-ulps: Update.
36520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36522         [BZ #16516]
36523         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36524         (__erf): Scale by 16 instead of 8 in potentially underflowing
36525         case.  Ensure exception if result actually underflows.
36526         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36527         (__erff): Scale by 16 instead of 8 in potentially underflowing
36528         case.  Ensure exception if result actually underflows.
36529         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36530         (efx8): Remove variable.
36531         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36532         case.  Ensure exception if result actually underflows.
36533         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36534         (efx8): Remove variable.
36535         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36536         case.  Ensure exception if result actually underflows.
36537         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36538         (efx8): Remove variable.
36539         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36540         case.  Ensure exception if result actually underflows.
36541         * math/auto-libm-test-in: Add more tests of erf.
36542         * math/auto-libm-test-out: Regenerated.
36544 2014-05-14  Andreas Schwab  <schwab@suse.de>
36546         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36547         Remove code conditionalized on USE___THREAD.
36549         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36550         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36551         not definedness.
36553 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36555         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36556         Define unconditionally.
36557         (__ASSUME_O_CLOEXEC): Likewise.
36558         (__ASSUME_SOCK_CLOEXEC): Likewise.
36559         (__ASSUME_IN_NONBLOCK): Likewise.
36560         (__ASSUME_PIPE2): Likewise.
36561         (__ASSUME_EVENTFD2): Likewise.
36562         (__ASSUME_SIGNALFD4): Likewise.
36563         (__ASSUME_DUP3): Likewise.
36564         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36565         (__ASSUME_DUP3): Do not define.
36566         (__ASSUME_EVENTFD2): Likewise.
36567         (__ASSUME_IN_NONBLOCK): Likewise.
36568         (__ASSUME_O_CLOEXEC): Likewise.
36569         (__ASSUME_PIPE2): Likewise.
36570         (__ASSUME_SIGNALFD4): Likewise.
36571         (__ASSUME_SOCK_CLOEXEC): Likewise.
36572         (__ASSUME_UTIMES): Undefine.
36573         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36574         (__ASSUME_UTIMES): Do not define.
36575         (__ASSUME_O_CLOEXEC): Likewise.
36576         (__ASSUME_SOCK_CLOEXEC): Likewise.
36577         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36578         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36579         0x020621].
36580         (__ASSUME_PIPE2): Likewise.
36581         (__ASSUME_EVENTFD2): Likewise.
36582         (__ASSUME_SIGNALFD4): Likewise.
36583         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36584         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36585         Do not define.
36586         (__ASSUME_EVENTFD2): Likewise.
36587         (__ASSUME_SIGNALFD4): Likewise.
36588         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36589         (__ASSUME_32BITUIDS): Likewise.
36590         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36591         (__ASSUME_IPC64): Likewise.
36592         (__ASSUME_ST_INO_64_BIT): Likewise.
36593         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36594         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36595         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36596         (__ASSUME_UTIMES): Do not define.
36597         (__ASSUME_PSELECT): Likewise.
36598         (__ASSUME_PPOLL): Likewise.
36599         (__ASSUME_O_CLOEXEC): Likewise.
36600         (__ASSUME_SOCK_CLOEXEC): Likewise.
36601         (__ASSUME_IN_NONBLOCK): Likewise.
36602         (__ASSUME_PIPE2): Likewise.
36603         (__ASSUME_EVENTFD2): Likewise.
36604         (__ASSUME_SIGNALFD4): Likewise.
36605         (__ASSUME_DUP3): Likewise.
36606         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36607         (__ASSUME_UTIMES): Likewise.
36608         (__ASSUME_O_CLOEXEC): Likewise.
36609         (__ASSUME_SOCK_CLOEXEC): Likewise.
36610         (__ASSUME_IN_NONBLOCK): Likewise.
36611         (__ASSUME_PIPE2): Likewise.
36612         (__ASSUME_EVENTFD2): Likewise.
36613         (__ASSUME_SIGNALFD4): Likewise.
36614         (__ASSUME_DUP3): Likewise.
36615         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36616         (__ASSUME_UTIMES): Likewise.
36617         (__ASSUME_O_CLOEXEC): Likewise.
36618         (__ASSUME_SOCK_CLOEXEC): Likewise.
36619         (__ASSUME_IN_NONBLOCK): Likewise.
36620         (__ASSUME_PIPE2): Likewise.
36621         (__ASSUME_EVENTFD2): Likewise.
36622         (__ASSUME_SIGNALFD4): Likewise.
36623         (__ASSUME_DUP3): Likewise.
36624         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36625         Likewise.
36626         (__ASSUME_UTIMES): Likewise.
36627         (__ASSUME_EVENTFD2): Likewise.
36628         (__ASSUME_SIGNALFD4): Likewise.
36629         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36630         (__ASSUME_O_CLOEXEC): Likewise.
36631         (__ASSUME_SOCK_CLOEXEC): Likewise.
36632         (__ASSUME_IN_NONBLOCK): Likewise.
36633         (__ASSUME_PIPE2): Likewise.
36634         (__ASSUME_EVENTFD2): Likewise.
36635         (__ASSUME_SIGNALFD4): Likewise.
36636         (__ASSUME_DUP3): Likewise.
36637         (__ASSUME_UTIMES): Undefine.
36639         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36640         feclearexcept.  Remove symbol versioning code.
36641         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36642         symbol versioning code.
36643         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36644         symbol versioning code.
36645         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36646         feupdateenv.  Remove symbol versioning code.
36647         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36648         fegetexceptflag.  Remove symbol versioning code.
36649         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36650         fesetexceptflag.  Remove symbol versioning code.
36651         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36652         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36653         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36654         (__posix_fadvise64_l32): Remove prototype.
36655         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36656         code.
36658 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36660         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36661         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36662         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36663         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36665 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36667         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36668         current working directory
36670 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36672         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36673         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36674         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36675         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36676         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36677         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36678         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36679         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36680         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36681         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36682         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36683         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36684         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36685         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36686         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36687         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36688         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36689         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36690         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36691         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36692         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36693         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36694         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36695         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36696         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36697         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36698         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36699         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36700         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36701         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36702         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36703         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36704         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36705         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36706         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36707         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36708         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36709         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36710         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36711         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36712         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36713         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36715         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36716         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36718         * sysdeps/unix/sysv/linux/arm/Makefile
36719         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36720         Add rt-aeabi_unwind_cpp_pr1.
36721         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36722         Add nptl-aeabi_unwind_cpp_pr1.
36723         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36724         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36725         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36726         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36727         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36728         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36730         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36731         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36732         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36733         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36735         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36736         Deconditionalize the code that was previously under [RESET_PID].
36737         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36739         * sysdeps/generic/exit-thread.h: New file.
36740         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36741         * include/unistd.h (__exit_thread): Remove declaration.
36742         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36743         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36744         * csu/libc-start.c: Include <exit-thread.h>.
36745         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36746         * nptl/pthread_create.c: Include <exit-thread.h>.
36747         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36748         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36749         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36750         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36751         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36752         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36753         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36754         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36755         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36756         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36757         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36758         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36759         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36760         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36761         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36762         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36763         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36765 2014-05-13  Andreas Schwab  <schwab@suse.de>
36767         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36769 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36771         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36772         (__ASSUME_UTIMES): Do not condition on kernel version.
36773         (__ASSUME_PSELECT): Define unconditionally.
36774         (__ASSUME_PPOLL): Likewise.
36775         (__ASSUME_ATFCTS): Likewise.
36776         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36777         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36778         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36779         (__ASSUME_UTIMENSAT): Define unconditionally.
36780         (__ASSUME_PRIVATE_FUTEX): Likewise.
36781         (__ASSUME_FALLOCATE): Likewise.
36782         (__ASSUME_O_CLOEXEC): Likewise.
36783         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36784         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36785         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36786         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36787         (__ASSUME_IN_NONBLOCK): Likewise.
36788         (__ASSUME_PIPE2): Likewise.
36789         (__ASSUME_EVENTFD2): Likewise.
36790         (__ASSUME_SIGNALFD4): Likewise.
36791         (__ASSUME_DUP3): Likewise.
36792         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36793         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36794         (__ASSUME_AT_RANDOM): Likewise.
36795         (__ASSUME_PREADV): Likewise.
36796         (__ASSUME_PWRITEV): Likewise.
36797         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36798         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36799         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36800         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36801         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36802         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36803         (__ASSUME_O_CLOEXEC): Define unconditionally.
36804         (__ASSUME_PSELECT): Do not undefine conditionally.
36805         (__ASSUME_PPOLL): Likewise.
36806         (__ASSUME_ATFCTS): Likewise.
36807         (__ASSUME_SET_ROBUST_LIST): Likewise.
36808         (__ASSUME_UTIMENSAT): Likewise.
36809         (__ASSUME_FDATASYNC): Define unconditionally.
36810         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36811         (__ASSUME_SIGFRAME_V2): Likewise.
36812         )__ASSUME_EVENTFD2): Likewise.
36813         (__ASSUME_SIGNALFD4): Likewise.
36814         (__ASSUME_PSELECT): Do not undefine conditionally.
36815         (__ASSUME_PPOLL): Likewise.
36816         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36817         (__ASSUME_PSELECT): Define unconditionally.
36818         (__ASSUME_PPOLL): Likewise.
36819         (__ASSUME_O_CLOEXEC): Likewise.
36820         (__ASSUME_SOCK_CLOEXEC): Likewise.
36821         (__ASSUME_IN_NONBLOCK): Likewise.
36822         (__ASSUME_PIPE2): Likewise.
36823         (__ASSUME_EVENTFD2): Likewise.
36824         (__ASSUME_SIGNALFD4): Likewise.
36825         (__ASSUME_DUP3): Likewise.
36826         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36827         (__ASSUME_O_CLOEXEC): Likewise.
36828         (__ASSUME_SOCK_CLOEXEC): Likewise.
36829         (__ASSUME_IN_NONBLOCK): Likewise.
36830         (__ASSUME_PIPE2): Likewise.
36831         (__ASSUME_EVENTFD2): Likewise.
36832         (__ASSUME_SIGNALFD4): Likewise.
36833         (__ASSUME_DUP3): Likewise.
36834         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36835         (__ASSUME_EVENTFD2): Likewise.
36836         (__ASSUME_SIGNALFD4): Likewise.
36837         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36839 2014-05-12  Andreas Schwab  <schwab@suse.de>
36841         [BZ #16932]
36842         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36843         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36844         than maximum RPC packet size.
36845         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36846         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36847         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36848         (_nss_nis_getservbyport_r): Likewise.
36850 2014-05-12  Will Newton  <will.newton@linaro.org>
36852         * malloc/Makefile (tests): Add tst-mallopt.
36853         * malloc/tst-mallopt.c: New file.
36855 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36857         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36858         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36860 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36862         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36863         (tst-tlsmod6.so): Likewise.
36865 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36867         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36869 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36871         [BZ #16064]
36872         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36873         and <dl-procinfo.h>.
36874         (__fegetenv): Save SSE state in envp->__eip if supported.
36875         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36876         envp->__eip if supported.
36877         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36878         and <dl-procinfo.h>.
36879         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36880         __data_offset and __data_selector in environment to 0.  Set SSE
36881         state if supported.
36882         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36883         test-fenv-sse.
36884         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36885         -mfpmath=sse.
36886         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36888 2014-05-09  Will Newton  <will.newton@linaro.org>
36890         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36891         and libc_relro_required for ARM.
36892         * sysdeps/arm/preconfigure: Regenerate.
36894 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36895             Stefan Liebler  <stli@linux.vnet.ibm.com>
36897         * config.make.in (enable-lock-elision): New Makefile variable.
36898         * configure.ac: Likewise.
36899         * configure: Regenerate.
36900         * sysdeps/s390/configure.ac:
36901         Add check for gcc transactions support.
36902         * sysdeps/s390/configure: Regenerate.
36903         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36904         Build elision files if enabled.
36905         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36906         Add lock elision support for s390.
36907         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36908         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36909         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36910         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36911         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36912         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36913         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36914         Likewise.
36915         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36916         Likewise.
36917         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36918         Likewise.
36919         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36920         Likewise.
36921         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36922         (__lll_timedlock_elision, __lll_lock_elision)
36923         (__lll_unlock_elision, __lll_trylock_elision)
36924         (lll_timedlock_elision, lll_lock_elision)
36925         (lll_unlock_elision, lll_trylock_elision): Add.
36926         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36927         (pthread_mutex_t): Add lock elision support for s390.
36929 2014-05-14  Wilco  <wdijkstr@arm.com>
36931         * sysdeps/arm/fclrexcpt.c: Cleanup.
36932         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36933         * sysdeps/arm/feenablxcpt.c: Cleanup.
36934         * sysdeps/arm/fegetenv.c: Cleanup.
36935         * sysdeps/arm/fegetexcept.c: Cleanup.
36936         * sysdeps/arm/fegetround.c: Cleanup.
36937         * sysdeps/arm/feholdexcpt.c: Cleanup.
36938         * sysdeps/arm/fesetenv.c: Cleanup.
36939         * sysdeps/arm/fesetround.c: Cleanup.
36940         * sysdeps/arm/feupdateenv.c: Cleanup.
36941         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36942         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36943         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36944         * sysdeps/arm/ftestexcept.c: Cleanup.
36945         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36946         * sysdeps/arm/setfpucw.c: Cleanup.
36948 2014-05-09  Will Newton  <will.newton@linaro.org>
36950         * sysdeps/arm/armv7/strcmp.S: New file.
36951         * NEWS: Mention addition of ARMv7 optimized strcmp.
36953 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36955         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36956         look for %.ac rather than %.in.
36958         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36959         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36960         * sysdeps/mach/hurd/configure: Regenerated.
36961         * sysdeps/unix/sysv/linux/configure: Regenerated.
36963         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36965 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36967         [BZ# 16922]
36968         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36969         (LONG_SUB): Ditto.
36970         (PTR_SUB): Ditto.
36972 2014-05-07  Andreas Schwab  <schwab@suse.de>
36974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36975         when skipping over non-matching result from nscd.
36977 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36979         [BZ #16876]
36980         * nptl/sockperf.c (client): Check socket return value.
36982         [BZ #16877]
36983         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36984         nscd security class.
36986 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36988         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36989         * sysdeps/arm/unwind.h: ... here.
36991 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36993         [BZ# 16916]
36994         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36995         Define.
36997 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36999         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37000         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37001         multiarch strncpy for PPC64.
37002         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37003         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37005         multiarch optimizations.
37006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37007         (__libc_ifunc_impl_list): Likewise.
37008         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37009         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37010         multiarch stpncpy for PPC64.
37011         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37012         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37014 2014-05-06  Andreas Schwab  <schwab@suse.de>
37016         [BZ #16912]
37017         * gmon/mcount.c (_MCOUNT_DECL): Use
37018         atomic_compare_and_exchange_bool_acq instead of
37019         catomic_compare_and_exchange_bool_acq.
37021 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37023         * elf/Makefile (others, install-bin): Remove pldd.
37024         (pldd-modules): Variable removed.
37025         ($(objpfx)pldd): Target removed.
37026         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37027         (others, install-bin): Append pldd here.
37028         ($(objpfx)pldd): New target.
37030         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37031         to 0, so the first #if test emitted later doesn't see it undefined.
37032         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37033         * sysdeps/gnu/errlist.c: Regenerated.
37035 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37037         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37038         [libc_hidden_builtin_def]: Define to empty value.
37039         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37040         [libc_hidden_builtin_def]: Likewise.
37041         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37042         [libc_hidden_builtin_def]: Likewise.
37043         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37044         [libc_hidden_builtin_def]: Likewise.
37045         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37046         __redirect_memcpy and define ifunc as default hidden symbol.
37047         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37048         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37050 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37052         * locale/iso-4217.def: Reintroduce XDR currency.
37054 2014-05-04  Allan McRae  <allan@archlinux.org>
37056         * po/eo.po: Update Esperanto translation from translation project.
37058 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37060         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37061         and FEATURE_INDEX_MAX to 1.
37062         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37064 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37066         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37067         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37068         * iconvdata/big5.c (ONE_DIRECTION): Define.
37069         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37070         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37071         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37072         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37073         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37074         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37075         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37076         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37077         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37078         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37079         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37080         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37081         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37082         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37083         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37084         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37085         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37086         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37087         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37088         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37089         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37090         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37091         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37092         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37093         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37094         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37095         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37096         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37097         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37098         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37099         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37100         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37101         * iconvdata/johab.c (ONE_DIRECTION): Define.
37102         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37103         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37104         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37105         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37106         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37107         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37108         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37109         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37110         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37111         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37113 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37115         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37116         (_IO_JUMPS_OFFSET): Define to 0.
37118         * nptl/sysdeps/pthread/bits/libc-lock.h
37119         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37120         (__libc_lock_define_initialized_recursive): Always define using
37121         initializer.  Modern compilers treat uninitialized (implicit zero) and
37122         explicit zero initializers the same (i.e. put the datum in bss).
37124 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37126         * nscd/nscd-client.h: Include <string.h>.
37128 2014-05-01  David S. Miller  <davem@davemloft.net>
37130         [BZ #16885]
37131         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37132         multiple zero bytes exist at the end of a string.
37133         Reported by Aurelien Jarno <aurelien@aurel32.net>
37135         * string/test-strcmp.c (check): Add explicit test for situations where
37136         there are multiple zero bytes after the first.
37138 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37140         [BZ #16890]
37141         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37142         when compiling wprintf.
37143         * stdio-common/tstdiomisc.c (t3): New function.
37144         (main): Call it.
37146 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37148         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37149         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37150         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37151         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37153 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37155         * stdlib/longlong.h: Updated from GCC.
37157 2014-05-01  Will Newton  <will.newton@linaro.org>
37158             Bernard Ogden  <bernie.ogden@linaro.org>
37160         * NEWS: Update fixed bug list.
37162         [BZ #15119]
37163         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37165 2014-04-30  David S. Miller  <davem@davemloft.net>
37167         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37168         (libc_feholdexcept_setround_sparc_ctx): New function.
37169         (libc_fesetenv_sparc_ctx): Likewise.
37170         (libc_feupdateenv_sparc_ctx): Likewise.
37171         (libc_feholdsetround_sparc_ctx): Likewise.
37172         (libc_feholdexcept_setround_ctx): Define.
37173         (libc_feholdexcept_setroundf_ctx): Likewise.
37174         (libc_feholdexcept_setroundl_ctx): Likewise.
37175         (libc_fesetenv_ctx): Likewise.
37176         (libc_fesetenvf_ctx): Likewise.
37177         (libc_fesetenvl_ctx): Likewise.
37178         (libc_feupdateenv_ctx): Likewise.
37179         (libc_feupdateenvf_ctx): Likewise.
37180         (libc_feupdateenvl_ctx): Likewise.
37181         (libc_feresetround_ctx): Likewise.
37182         (libc_feresetroundf_ctx): Likewise.
37183         (libc_feresetroundl_ctx): Likewise.
37184         (libc_feholdsetround_ctx): Likewise.
37185         (libc_feholdsetroundf_ctx): Likewise.
37186         (libc_feholdsetroundl_ctx): Likewise.
37188         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37189         with __USE_GNU instead of XOPEN cpp guards.
37191         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37192         0.
37194         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37195         with XOPEN cpp guards.
37197 2014-04-30  Julian Brown  <julian@codesourcery.com>
37199         [BZ #16888]
37200         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37201         handling.
37203 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37205         [BZ #9894]
37206         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37207         Change to 2.6.32.
37208         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37209         * sysdeps/unix/sysv/linux/configure: Regenerated.
37210         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37211         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37212         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37213         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37214         * README: Update reference to required Linux kernel version.
37215         * manual/install.texi (Linux): Update reference to required Linux
37216         kernel headers version.
37217         * INSTALL: Regenerated.
37219         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37220         header inclusion.
37221         [POSIX] (limits.h): Likewise.
37222         [POSIX] (math.h): Likewise.
37223         [POSIX] (sys/wait.h): Likewise.
37224         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37225         function.
37226         [POSIX] (stddef.h): Do not allow header inclusion.
37228 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37230         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37232 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37234         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37235         Return immediately after lll_futex_wake.
37237 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37239         [BZ #16791]
37240         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37241         structure.
37242         (datahead_init_pos): Call datahead_init_common early.
37243         (datahead_init_neg): Likewise.
37245         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37246         datahead_init_neg): New functions.
37247         * nscd/aicache.c (addhstaiX): Use them.
37248         * nscd/grpcache.c (cache_addgr): Likewise.
37249         * nscd/hstcache.c (cache_addhst): Likewise.
37250         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37251         * nscd/netgroupcache.c (do_notfound): Likewise.
37252         (addgetnetgrentX): Likewise.
37253         (addinnetgrX): Likewise.
37254         * nscd/pwdcache.c (cache_addpw): Likewise.
37255         * nscd/servicescache.c (cache_addserv): Likewise.
37257 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37258             Atsushi Onoe  <atsushi@onoe.org>
37260         [BZ #14308]
37261         [BZ #12994]
37262         [BZ #13651]
37263         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37264         one response is valid.
37265         * resolv/res_send.c (send_dg): Check for validity of other
37266         response if the current response is a referral.
37268 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37270         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37272 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37274         [BZ #16823]
37275         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37276         Always divide by positive zero when computing -Inf result.
37277         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37278         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37280 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37282         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37283         FPSCR if value do not change.
37284         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37285         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37286         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37287         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37288         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37289         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37290         function.
37292 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37294         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37295         * sysdeps/unix/sysv/linux/hppa: Move directory from
37296         ports/systeps/unix/sysv/linux/hppa.
37297         * README: Update listing for hppa-*-linux-gnu.
37299 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37301         [BZ #16754]
37302         * manual/stdio.texi (Hook functions): Fix types of stream hook
37303         functions.
37304         [BZ #16854]
37305         * socket/sys/socket.h: Fix typo in comment.
37307 2014-04-28  Wilco  <wdijkstr@arm.com>
37309         * sysdeps/arm/fenv_private.h: New file.
37310         * sysdeps/arm/math_private.h: New file.
37311         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37313 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37315         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37316         with __int128_t.
37317         (La_x86_64_retval): Likewise.
37319 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37321         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37322         fpsr if value didn't change.
37323         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37324         to fpcr if value didn't change.
37325         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37326         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37327         fpsr or fpcr if value didn't change.
37328         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37329         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37330         fpcr if value didn't change.
37331         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37332         to fpsr if value didn't change.
37334 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37336         * nptl/tst-sem3.c: Use test-skeleton.c
37337         (main): Rename to do_test.  Use return instead of
37338         exit.
37339         * nptl/tst-sem4.c: Use test-skeleton.c
37340         (main): Rename to do_test.
37342 2014-04-22  David S. Miller  <davem@davemloft.net>
37344         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37345         (struct sigaction): New struct member __glibc_reserved0, change
37346         type of sa_flags to int.
37348 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37350         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37351         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37353 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37355         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37356         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37358 2014-04-22  Will Newton  <will.newton@linaro.org>
37359             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37361         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37362         (__longjmp): Add longjmp and longjmp_target SystemTap
37363         probes.
37364         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37365         (__sigsetjmp): Add setjmp SystemTap probe.
37367 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37369         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37370         match manual order.
37372 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37374         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37376         * sysdeps/powerpc/fpu/fenv_private.h
37377         (libc_feholdexcept_setroundl_ctx): Define to
37378         libc_feholdexcept_setround_ppc_ctx.
37379         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37380         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37381         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37382         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37384 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37386         * sysdeps/aarch64/math-tests.h: New file.
37388 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37390         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37391         New.
37392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37393         Check and set bit_AVX2_Usable.
37394         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37395         macro.
37396         (bit_AVX2): Likewise.
37397         (index_AVX2_Usable): Likewise.
37398         (CPUID_AVX2): Likewise.
37399         (HAS_AVX2): Likewise.
37401 2014-04-17  Will Newton  <will.newton@linaro.org>
37403         * manual/setjmp.texi (System V contexts): Add note that
37404         calling setcontext on a context created by a call to a
37405         signal handler is undefined.  Update text to note that
37406         setcontext from a signal handler is possible but not
37407         recommended.
37409         [BZ #16629]
37410         * stdlib/tst-setcontext.c: Include signal.h.
37411         (main): Check that the signal stack before and
37412         after swapcontext is the same.
37414         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37415         Re-implement to restore registers in user code and avoid
37416         rt_sigreturn system call.
37418 2014-04-17  Wilco  <wdijkstr@arm.com>
37420         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37421         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37422         * math/test-fenv.c: Skip exception trap tests on targets which only
37423         support non-stop mode.
37425 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37426             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37428         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37429         (libc_feholdsetround_aarch64_ctx)
37430         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37431         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37432         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37433         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37434         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37435         (libc_feresetround_noexl_ctx): Define.
37437 2014-04-16  Richard Henderson  <rth@redhat.com>
37439         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37441         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37442         unwind tables.
37444         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37445         const from the non-libc, non-ldso copy.
37447         * sysdeps/alpha/libm-test-ulps: Regenerate.
37449 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37450             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37452         * sysdeps/aarch64/fpu/math_private.h: New file.
37454 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37456         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37458 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37460         [BZ #16275]
37461         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37462         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37463         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37464         Intel MPX bound registers before _dl_profile_fixup.
37465         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37466         registers after _dl_profile_fixup.  Save and restore bound
37467         registers bnd0/bnd1 when calling _dl_call_pltexit.
37468         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37469         (LR_BND_OFFSET): Likewise.
37470         (LRV_BND0_OFFSET): Likewise.
37471         (LRV_BND1_OFFSET): Likewise.
37473 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37475         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37476         to...
37477         * sysdeps/mach/hurd/i386/tls.h: ... here.
37478         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37479         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37480         fields.
37482 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37484         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37486 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37488         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37490 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37492         [BZ #14770]
37493         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37494         * sysdeps/s390/configure: Regenerate.
37496         [BZ #16824]
37497         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37498         Set round-to-nearest internally to reduce error accumulation.
37500 2014-04-16  Alan Modra  <amodra@gmail.com>
37502         [BZ #16740]
37503         [BZ #16619]
37504         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37505         * math/libm-test.inc (frexp_test_data): Add tests.
37506         * NEWS: Update fixed bug list.
37508 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37510         * benchtests/Makefile: Depend on libraries in build directory.
37511         (bench-math): Separate out math tests.
37512         (bench-pthread): Separate out pthread tests.
37513         (bench): Include math and pthread tests.
37515 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37517         [BZ #16831]
37518         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37519         _dl_debug_initialize.
37521         * configure.ac: Remove SELinux header check.
37522         * configure: Regenerate.
37523         * nscd/selinux.c (perms): Array of const char* to permission names.
37524         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37525         default policy. Call string_to_security_class and string_to_av_perm to
37526         translate strings. Enforce default policy and call avs_has_perm with
37527         results of translated strings.
37529 2014-04-13  David S. Miller  <davem@davemloft.net>
37531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37533 2014-04-12  Allan McRae  <allan@archlinux.org>
37535         [BZ #16838]
37536         * manual/string.texi (Collation Functions): Fix qsort argument
37537         order in example.
37538         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37540 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37542         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37543         Make the test a no-op if there are no exceptions defined.
37545 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37547         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37548         enable-hardcoded-path-in-tests
37550 2014-04-11  Will Newton  <will.newton@linaro.org>
37552         * benchtests/Makefile (extra-objs): Add json-lib.o.
37553         (bench-func): Tidy up JSON output.
37554         * benchtests/bench-skeleton.c: Include json-lib.h.
37555         (main): Use JSON library functions to do output of
37556         benchmark results.
37557         * benchtests/bench-timing-type.c (main): Output the
37558         timing type simply, leaving formatting to the user.
37559         * benchtests/json-lib.c: New file.
37560         * benchtests/json-lib.h: Likewise.
37562 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37564         [BZ #15215]
37565         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37566         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37567         memory barriers.  Add comments.
37568         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37569         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37570         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37571         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37572         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37573         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37575 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37577         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37578         * sysdeps/s390/s390-64/configure.ac: ... this ...
37579         * sysdeps/s390/configure.ac: ... to here.
37580         * sysdeps/s390/s390-32/configure: Delete file.
37581         * sysdeps/s390/s390-64/configure: Delete file.
37582         * sysdeps/s390/configure: Regenerate.
37584 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37586         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37588 2014-04-11  Will Newton  <will.newton@linaro.org>
37590         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37591         to zero if it is not defined elsewhere.  (mtrim): Test
37592         the value of MALLOC_DEBUG with #if rather than #ifdef.
37594 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37596         * benchtests/pthread_once-inputs: New file.
37597         * benchtests/pthread_once-source.c: New file.
37598         * benchtests/README: Update documentation.
37600 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37601             H.J. Lu  <hongjiu.lu@intel.com>
37603         [BZ #16275]
37604         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37605         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37606         * sysdeps/x86_64/configure: Regenerated.
37607         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37608         macro.
37609         (REGISTER_SAVE_RAX): Likewise.
37610         (REGISTER_SAVE_RCX): Likewise.
37611         (REGISTER_SAVE_RDX): Likewise.
37612         (REGISTER_SAVE_RSI): Likewise.
37613         (REGISTER_SAVE_RDI): Likewise.
37614         (REGISTER_SAVE_R8): Likewise.
37615         (REGISTER_SAVE_R9): Likewise.
37616         (REGISTER_SAVE_BND0): Likewise.
37617         (REGISTER_SAVE_BND1): Likewise.
37618         (REGISTER_SAVE_BND2): Likewise.
37619         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37620         bound registers when calling _dl_fixup.
37622 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37624         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37625         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37626         of its definition.
37627         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37628         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37629         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37630         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37631         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37632         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37633         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37635 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37637         [BZ #15514]
37638         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37639         pathconf(_PC_NAME_MAX).
37641 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37643         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37644         Remove macro usage.
37645         (__PTHREAD_SPINS): Move definition to ...
37646         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37647         (__PTHREAD_SPINS): ... here.
37648         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37649         (__PTHREAD_SPIN): Likewise.
37650         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37651         (__PTHREAD_SPIN): Likewise.
37652         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37653         (__PTHREAD_SPIN): Likewise.
37654         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37655         (__PTHREAD_SPIN): Likewise.
37656         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37657         (__PTHREAD_SPIN): Likewise.
37658         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37659         (__PTHREAD_SPIN): Likewise.
37660         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37661         (__PTHREAD_SPIN): Likewise.
37662         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37663         (__PTHREAD_SPIN): Likewise.
37664         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37665         (__PTHREAD_SPIN): Likewise.
37666         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37667         (__PTHREAD_SPIN): Likewise.
37668         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37669         (__PTHREAD_SPIN): Likewise.
37670         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37671         (__PTHREAD_SPIN): Likewise.
37673         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37674         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37675         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37676         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37677         imply folder.
37678         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37679         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37680         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37681         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37682         correct imply path.
37683         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37684         strlen symbol for non multi-arch builds.
37685         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37686         missing hidden_def and weak_alias.
37688 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37690         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37692 2014-04-07  Will Newton  <will.newton@linaro.org>
37694         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37695         and contents.  [!_LIBC] Remove #ifndef and contents.
37696         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37697         * string/memccpy.c (__memccpy): Use ANSI prototype.
37698         * string/memfrob.c (memfrob): Likewise.
37699         * string/strcoll.c (STRCOLL): Likewise.
37700         * string/strlen.c (strlen): Likewise.
37701         * string/strtok.c (STRTOK): Likewise.
37702         * string/strcat.c: Remove unused #include of memcopy.h.
37703         (strcat): Use ANSI prototype.
37704         * string/strchr.c: Remove unused #include of memcopy.h.
37705         (strchr): Use ANSI prototype.
37706         * string/strcmp.c: Remove unused #include of memcopy.h.
37707         (strcmp): Use ANSI prototype.
37708         * string/strcpy.c: Remove unused #include of memcopy.h.
37709         (strcpy): Use ANSI prototype.
37711 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37713         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37714         * config.make.in (config-extra-cppflags): Set it from
37715         libc_extra_cppflags.
37716         * configure.ac (libc_extra_cflags): Make it accumulate over
37717         configure fragments.
37718         (libc_extra_cppflags): New flag.
37719         * configure. Regenerate.
37720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37721         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37722         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37725         [BZ #16815]
37726         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37727         result for FE_DOWNWARD rounding mode.
37728         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37729         Likewise.
37730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37732 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37734         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37735         in function argument name.
37737 2014-04-03  David Svoboda  <svoboda@cert.org>
37739         [BZ #5666]
37740         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37741         explicitly.
37743 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37745         * elf/dl-unmap-segments.h: New file.
37746         * sysdeps/generic/ldsodefs.h
37747         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37748         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37749         * elf/dl-fptr.c: Likewise.
37750         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37751         * sysdeps/aarch64/tlsdesc.c: Likewise.
37752         * sysdeps/arm/tlsdesc.c: Likewise.
37753         * sysdeps/i386/tlsdesc.c: Likewise.
37754         * sysdeps/tile/dl-runtime.c: Likewise.
37755         * sysdeps/x86_64/tlsdesc.c: Likewise.
37756         * elf/dl-load.h: New file.
37757         * elf/dl-load.c: Include it.
37758         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37759         Macros moved to dl-load.h.
37760         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37761         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37762         Use _dl_unmap_segments in place of __munmap.
37763         Break out segment-mapping loop into ...
37764         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37766 2014-04-03  Will Newton  <will.newton@linaro.org>
37768         * elf/dl-lookup.c (do_lookup_x): Remove comment
37769         referring to nested function and move variable
37770         declarations down to before first use.
37772 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37774         [BZ #16799]
37775         [BZ #16800]
37776         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37777         with 0 numerator.
37778         * math/s_catanf.c (__catanf): Likewise.
37779         * math/s_catanh.c (__catanh): Likewise.
37780         * math/s_catanhf.c (__catanhf): Likewise.
37781         * math/s_catanhl.c (__catanhl): Likewise.
37782         * math/s_catanl.c (__catanl): Likewise.
37783         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37784         by positive zero when computing -Inf result.
37785         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37786         (catanh_test): Likewise.
37787         * sysdeps/i386/fpu/libm-test-ulps: Update.
37788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37790         [BZ #16789]
37791         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37792         instead of using underflowing value in computing result.
37793         * math/s_clog10.c (__clog10): Likewise.
37794         * math/s_clog10f.c (__clog10f): Likewise.
37795         * math/s_clog10l.c (__clog10l): Likewise.
37796         * math/s_clogf.c (__clogf): Likewise.
37797         * math/s_clogl.c (__clogl): Likewise.
37798         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37799         (clog10_test): Likewise.
37800         * sysdeps/i386/fpu/libm-test-ulps: Update.
37801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37803 2014-04-02  Alan Modra  <amodra@gmail.com>
37805         [BZ #16739]
37806         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37807         output when value is near a power of two.  Use int64_t for lx and
37808         remove casts.  Use decimal rather than hex exponent constants.
37809         Don't use long double multiplication when double will suffice.
37810         * math/libm-test.inc (nextafter_test_data): Add tests.
37811         * NEWS: Add 16739 and 16786 to bug list.
37813         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37815         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37817 2014-04-01  Will Newton  <will.newton@linaro.org>
37819         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37820         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37822 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37824         [BZ #13347]
37825         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37826         * nptl/tst-setuid2.c: New file.
37827         * nptl/Makefile (xtests): Add tst-setuid2.
37829 2014-04-01  Alan Modra  <amodra@gmail.com>
37831         [BZ #16786]
37832         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37834 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37836         [BZ #6803]
37837         [BZ #6804]
37838         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37839         set errno as appropriate.
37840         * math/w_scalbf.c (__scalbf): Likewise.
37841         * math/w_scalbl.c (__scalbl): Likewise.
37842         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37843         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37844         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37845         Add more NaN tests.
37847         [BZ #16349]
37848         * math/w_atan2.c: Include <errno.h>.
37849         (__atan2): Set errno for result underflowing to zero.
37850         * math/w_atan2f.c: Include <errno.h>.
37851         (__atan2f): Set errno for result underflowing to zero.
37852         * math/w_atan2l.c: Include <errno.h>.
37853         (__atan2l): Set errno for result underflowing to zero.
37854         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37855         tests.
37856         * math/auto-libm-test-out: Regenerated.
37858 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37860         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37861         Encode instruction correctly in little endian.
37862         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37863         Likewise.
37864         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37865         Likewise.
37866         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37867         Likewise.
37868         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37869         Likewise.
37871 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37873         [BZ #9894]
37874         * sysdeps/unix/sysv/linux/kernel-features.h
37875         [__sparc__ && !__arch64__ && !__sparc_v9__]
37876         (__ASSUME_SET_ROBUST_LIST): Do not define.
37877         [__sparc__ && !__arch64__ && !__sparc_v9__]
37878         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37879         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37880         Likewise.
37881         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37882         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37883         (__ASSUME_REQUEUE_PI): Likewise.
37884         (__ASSUME_SET_ROBUST_LIST): Likewise.
37885         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37886         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37887         Undefine.
37888         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37889         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37890         Likewise.
37891         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37892         Likewise.
37893         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37894         Likewise.
37895         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37896         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37897         Undefine.
37898         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37899         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37900         Likewise.
37902         [BZ #16648]
37903         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37904         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37905         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37907 2014-03-31  Will Newton  <will.newton@linaro.org>
37909         * benchtests/Makefile (bench): Add ffs and ffsll to list
37910         of tests.
37911         * benchtests/ffs-inputs: New file.
37912         * benchtests/ffsll-inputs: Likewise.
37914 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37916         [BZ #16770]
37917         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37918         too large before casting to int.
37919         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37920         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37921         * math/libm-test.inc (scalb_test_data): Add more tests.
37923 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37925         * benchtests/Makefile (DETAILED_OPT): New make option.
37926         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37927         set.
37928         * benchtests/bench-skeleton.c: Include stdbool.h.
37929         (main): Store and print timings per input.
37930         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37931         member to each argument value.
37932         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37933         (_print_arg_data): Initialize per-input timing to 0.
37935         * benchtests/Makefile (timing-type): New binary.
37936         (bench-clean): Also remove bench-timing-type.
37937         (bench): New target for timing-type.
37938         (bench-func): Print output in JSON format.
37939         * benchtests/bench-skeleton.c (main): Print output in JSON
37940         format.
37941         * benchtests/bench-timing-type.c: New file.
37942         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37943         (TIMING_PRINT_STATS): Remove.
37944         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37945         name separately.
37947         * benchtests/bench-modf.c: Remove.
37948         * benchtests/modf-inputs: New inputs file.
37950 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37952         [BZ #16362]
37953         * math/s_clog10.c (M_PI_LOG10E): New macro.
37954         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37955         imaginary parts are 0.
37956         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37957         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37958         imaginary parts are 0.
37959         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37960         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37961         imaginary parts are 0.
37962         * math/libm-test.inc (clog10_test_data): Update expected results
37963         for when real and imaginary parts are 0.
37965 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37967         * elf/dl-load.c: Finish conversion of __builtin_expect into
37968         __glibc_{un}likely.
37970 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37972         [BZ #16348]
37973         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37974         1+x for argument with exponent below -67.
37975         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37976         Likewise.
37977         * math/auto-libm-test-in: Add more tests of exp.
37978         * math/auto-libm-test-out: Regenerated.
37980 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37982         [BZ #16759]
37983         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37984         (nscd_getnetgrent): Use it.
37986         [BZ #16760]
37987         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37988         of stpcpy.
37990 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37992         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37993         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37994         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37995         (lll_robust_unlock): Remove out of line section. Use cfi
37996         intrinsics.
37997         (LLL_STUB_UNWIND_INFO*): Remove.
37998         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37999         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38000         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38001         (lll_robust_unlock): Remove out of line section. Use cfi
38002         intrinsics.
38003         (LLL_STUB_UNWIND_INFO*): Remove.
38005 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38007         [BZ #16758]
38008         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38009         blank values.
38011 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38013         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38015 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38017         [BZ #16198]
38018         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38019         fnstenv.
38020         * math/test-fenv-preserve.c: New file.
38021         * math/Makefile (tests): Add test-fenv-preserve.
38023 2014-03-26  Will Newton <will.newton@linaro.org>
38025         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38027 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38029         * scripts/versionlist.awk: Partition the version sets and emit all
38030         GLIBC_* (sorted) before all others (sorted).
38032 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38034         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38035         GLIBC_2.2.5 version.
38037 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38039         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38040         calls.
38042         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38043         previous change.
38045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38047 2014-03-25  Andreas Schwab  <schwab@suse.de>
38049         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38050         label to be used after in6ailist is initialized.
38052 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38054         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38055         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38057 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38059         [BZ #16357]
38060         [BZ #16599]
38061         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38062         min_plus_half.
38063         (fp_formats): Update initializers.
38064         (init_fp_formats): Initialize new field.
38065         (output_for_one_input_case): Allow underflow for results up to
38066         min_plus_half.
38067         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38068         * math/auto-libm-test-in: Don't mark some underflows from asin and
38069         atanh as spurious.
38070         * math/auto-libm-test-out: Regenerated.
38071         * sysdeps/i386/fpu/libm-test-ulps: Update.
38072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38074 2014-03-25  Andreas Schwab  <schwab@suse.de>
38076         * libio/Makefile (tst-ftell-partial-wide-ENV)
38077         (tst-ftell-active-handler-ENV): Define.
38079 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38081         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38083 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38085         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38087 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38089         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38090         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38091         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38093 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38095         [BZ #16634]
38096         * elf/dl-load.c (open_verify): Add mode parameter.
38097         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38098         (open_path): Change from boolean 'secure' to complete flag 'mode'
38099         (_dl_map_object): Adjust.
38100         * elf/Makefile (tests): Add tst-dlopen-aout.
38101         * elf/tst-dlopen-aout.c: New test.
38103 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38105         [BZ #16714]
38106         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38107         (struct stat): Rename member pad0 to __glibc_reserved0.
38109         [BZ #16712]
38110         * sysdeps/s390/s390-32/bits/wordsize.h
38111         (__WORDSIZE32_SIZE_ULONG): New define.
38112         * sysdeps/s390/s390-64/bits/wordsize.h
38113         (__WORDSIZE32_SIZE_ULONG): Likewise.
38114         * sysdeps/generic/stdint.h (SIZE_MAX):
38115         Define as UL if __WORDSIZE32_SIZE_ULONG.
38117         [BZ #16713]
38118         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38119         (__glibc_reserved0): New variable.
38120         (sa_flags): Change type to int.
38122         * posix/Makefile (before-compile): Use += before-compile instead
38123         of a :=.
38125         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38126         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38128 2014-03-20  Andreas Schwab  <schwab@suse.de>
38130         [BZ #16743]
38131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38132         non-matching result from nscd.
38134 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38136         * scripts/bench.py: Moved to ...
38137         * benchtests/scripts/bench.py: ... here.
38138         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38140 2014-03-24  Andreas Schwab  <schwab@suse.de>
38142         [BZ #16002]
38143         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38144         alloca_account and account alloca use for struct in6ailist.
38146 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38148         [BZ #16284]
38149         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38150         rounding mode to recompute results that overflow to infinity or
38151         underflow to zero.
38152         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38153         bug 16284.
38154         * math/auto-libm-test-out: Regenerated.
38155         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38156         (ccosh_test): Likewise.
38157         (csin_test_data): Use plus_oflow.
38158         (csin_test): Use ALL_RM_TEST.
38159         (csinh_test_data): Use plus_oflow.
38160         (csinh_test): Use ALL_RM_TEST.
38161         * sysdeps/i386/fpu/libm-test-ulps: Update.
38162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38164 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38166         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38167         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38168         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38170         [BZ #16731]
38171         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38172         when x - 1 is zero.
38173         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38174         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38175         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38176         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38177         argument is 1.
38178         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38179         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38180         zero.
38181         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38182         * sysdeps/i386/fpu/libm-test-ulps: Update.
38183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38185 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38187         * scripts/bench.pl: Remove file.
38188         * scripts/bench.py: New benchmark script.
38189         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38190         * benchtests/README: Mention python dependency.
38191         * scripts/pylintrc: New file.
38192         * scripts/pylint: New file.
38194         * bits/mathdef.h: Use #ifdef instead of #if.
38195         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38196         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38197         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38198         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38199         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38200         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38202 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38203             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38205         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38207         and strpbrk-ppc64 objects.
38208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38209         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38210         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38211         multiarch strpbrk for POWER7.
38212         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38213         multiarch strpbrk for PPC64.
38214         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38215         ifunc selector.
38216         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38217         strpbrk for POWER7.
38219 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38221         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38222         (atan_test): Likewise.
38223         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38224         (atanh_test): Use ALL_RM_TEST.
38225         (atan2_test_data): Likewise.
38226         (cabs_test): Likewise.
38227         (cacosh_test): Likewise.
38228         (carg_test): Likewise.
38229         (casin_test): Likewise.
38230         (casinh_test): Likewise.
38231         (cbrt_test): Likewise.
38232         (csqrt_test): Likewise.
38233         (erf_test): Likewise.
38234         (erfc_test): Likewise.
38235         (pow10_test): Likewise.
38236         (exp2_test): Likewise.
38237         (hypot_test): Likewise.
38238         (j0_test): Likewise.
38239         (j1_test): Likewise.
38240         (lgamma_test): Likewise.
38241         (gamma_test): Likewise.
38242         (sincos_test): Likewise.
38243         (tanh_test): Likewise.
38244         (y0_test): Likewise.
38245         (y1_test): Likewise.
38246         * sysdeps/i386/fpu/libm-test-ulps: Update.
38247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38249 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38251         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38253         and strcspn-ppc64 objects.
38254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38255         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38256         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38257         multiarch strcspn for POWER7.
38258         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38259         multiarch strcspn for PPC64.
38260         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38261         ifunc selector.
38262         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38263         strcspn for POWER7.
38265 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38267         * math/gen-libm-test.pl (generate_testfile): Expect only function
38268         name as argument to AUTO_TESTS_* and pass results for all rounding
38269         modes to parse_args.
38270         (parse_auto_input): Separate inputs of automatic tests from
38271         outputs before storing in %auto_tests.
38272         * math/libm-test.inc (acos_test_data): Update call to
38273         AUTO_TESTS_f_f.
38274         (acos_test): Use ALL_RM_TEST.
38275         (acos_tonearest_test_data): Remove.
38276         (acos_test_tonearest): Likewise.
38277         (acos_towardzero_test_data): Likewise.
38278         (acos_test_towardzero): Likewise.
38279         (acos_downward_test_data): Likewise.
38280         (acos_test_downward): Likewise.
38281         (acos_upward_test_data): Likewise.
38282         (acos_test_upward): Likewise.
38283         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38284         (asin_test_data): Likewise.
38285         (asin_test): Use ALL_RM_TEST.
38286         (asin_tonearest_test_data): Remove.
38287         (asin_test_tonearest): Likewise.
38288         (asin_towardzero_test_data): Likewise.
38289         (asin_test_towardzero): Likewise.
38290         (asin_downward_test_data): Likewise.
38291         (asin_test_downward): Likewise.
38292         (asin_upward_test_data): Likewise.
38293         (asin_test_upward): Likewise.
38294         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38295         (atan_test_data): Likewise.
38296         (atanh_test_data): Likewise.
38297         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38298         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38299         (carg_test_data): Likewise.
38300         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38301         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38302         (ccosh_test_data): Likewise.
38303         (cexp_test_data): Likewise.
38304         (clog_test_data): Likewise.
38305         (clog10_test_data): Likewise.
38306         (cos_test_data): Update call to AUTO_TESTS_f_f.
38307         (cos_test): Use ALL_RM_TEST.
38308         (cos_tonearest_test_data): Remove.
38309         (cos_test_tonearest): Likewise.
38310         (cos_towardzero_test_data): Likewise.
38311         (cos_test_towardzero): Likewise.
38312         (cos_downward_test_data): Likewise.
38313         (cos_test_downward): Likewise.
38314         (cos_upward_test_data): Likewise.
38315         (cos_test_upward): Likewise.
38316         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38317         (cosh_test): Use ALL_RM_TEST.
38318         (cosh_tonearest_test_data): Remove.
38319         (cosh_test_tonearest): Likewise.
38320         (cosh_towardzero_test_data): Likewise.
38321         (cosh_test_towardzero): Likewise.
38322         (cosh_downward_test_data): Likewise.
38323         (cosh_test_downward): Likewise.
38324         (cosh_upward_test_data): Likewise.
38325         (cosh_test_upward): Likewise.
38326         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38327         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38328         (ctan_test_data): Likewise.
38329         (ctan_test): Use ALL_RM_TEST.
38330         (ctan_tonearest_test_data): Remove.
38331         (ctan_test_tonearest): Likewise.
38332         (ctan_towardzero_test_data): Likewise.
38333         (ctan_test_towardzero): Likewise.
38334         (ctan_downward_test_data): Likewise.
38335         (ctan_test_downward): Likewise.
38336         (ctan_upward_test_data): Likewise.
38337         (ctan_test_upward): Likewise.
38338         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38339         (ctanh_test): Use ALL_RM_TEST.
38340         (ctanh_tonearest_test_data): Remove.
38341         (ctanh_test_tonearest): Likewise.
38342         (ctanh_towardzero_test_data): Likewise.
38343         (ctanh_test_towardzero): Likewise.
38344         (ctanh_downward_test_data): Likewise.
38345         (ctanh_test_downward): Likewise.
38346         (ctanh_upward_test_data): Likewise.
38347         (ctanh_test_upward): Likewise.
38348         (erf_test_data): Update call to AUTO_TESTS_f_f.
38349         (erfc_test_data): Likewise.
38350         (exp_test_data): Likewise.
38351         (exp_test): Use ALL_RM_TEST.
38352         (exp_tonearest_test_data): Remove.
38353         (exp_test_tonearest): Likewise.
38354         (exp_towardzero_test_data): Likewise.
38355         (exp_test_towardzero): Likewise.
38356         (exp_downward_test_data): Likewise.
38357         (exp_test_downward): Likewise.
38358         (exp_upward_test_data): Likewise.
38359         (exp_test_upward): Likewise.
38360         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38361         (exp10_test): Use ALL_RM_TEST.
38362         (exp10_tonearest_test_data): Remove.
38363         (exp10_test_tonearest): Likewise.
38364         (exp10_towardzero_test_data): Likewise.
38365         (exp10_test_towardzero): Likewise.
38366         (exp10_downward_test_data): Likewise.
38367         (exp10_test_downward): Likewise.
38368         (exp10_upward_test_data): Likewise.
38369         (exp10_test_upward): Likewise.
38370         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38371         (expm1_test_data): Likewise.
38372         (expm1_test): Use ALL_RM_TEST.
38373         (expm1_tonearest_test_data): Remove.
38374         (expm1_test_tonearest): Likewise.
38375         (expm1_towardzero_test_data): Likewise.
38376         (expm1_test_towardzero): Likewise.
38377         (expm1_downward_test_data): Likewise.
38378         (expm1_test_downward): Likewise.
38379         (expm1_upward_test_data): Likewise.
38380         (expm1_test_upward): Likewise.
38381         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38382         (fma_test): Use ALL_RM_TEST.
38383         (fma_towardzero_test_data): Remove.
38384         (fma_test_towardzero): Likewise.
38385         (fma_downward_test_data): Likewise.
38386         (fma_test_downward): Likewise.
38387         (fma_upward_test_data): Likewise.
38388         (fma_test_upward): Likewise.
38389         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38390         (j0_test_data): Update call to AUTO_TESTS_f_f.
38391         (j1_test_data): Likewise.
38392         (jn_test_data): Update call to AUTO_TESTS_if_f.
38393         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38394         (log_test_data): Update call to AUTO_TESTS_f_f.
38395         (log10_test_data): Likewise.
38396         (log1p_test_data): Likewise.
38397         (log2_test_data): Likewise.
38398         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38399         (pow_tonearest_test_data): Likewise.
38400         (sin_test_data): Update call to AUTO_TESTS_f_f.
38401         (sin_test): Use ALL_RM_TEST.
38402         (sin_tonearest_test_data): Remove.
38403         (sin_test_tonearest): Likewise.
38404         (sin_towardzero_test_data): Likewise.
38405         (sin_test_towardzero): Likewise.
38406         (sin_downward_test_data): Likewise.
38407         (sin_test_downward): Likewise.
38408         (sin_upward_test_data): Likewise.
38409         (sin_test_upward): Likewise.
38410         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38411         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38412         (sinh_test): Use ALL_RM_TEST.
38413         (sinh_tonearest_test_data): Remove.
38414         (sinh_test_tonearest): Likewise.
38415         (sinh_towardzero_test_data): Likewise.
38416         (sinh_test_towardzero): Likewise.
38417         (sinh_downward_test_data): Likewise.
38418         (sinh_test_downward): Likewise.
38419         (sinh_upward_test_data): Likewise.
38420         (sinh_test_upward): Likewise.
38421         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38422         (sqrt_test): Use ALL_RM_TEST.
38423         (sqrt_tonearest_test_data): Remove.
38424         (sqrt_test_tonearest): Likewise.
38425         (sqrt_towardzero_test_data): Likewise.
38426         (sqrt_test_towardzero): Likewise.
38427         (sqrt_downward_test_data): Likewise.
38428         (sqrt_test_downward): Likewise.
38429         (sqrt_upward_test_data): Likewise.
38430         (sqrt_test_upward): Likewise.
38431         (tan_test_data): Update call to AUTO_TESTS_f_f.
38432         (tan_test): Use ALL_RM_TEST.
38433         (tan_tonearest_test_data): Remove.
38434         (tan_test_tonearest): Likewise.
38435         (tan_towardzero_test_data): Likewise.
38436         (tan_test_towardzero): Likewise.
38437         (tan_downward_test_data): Likewise.
38438         (tan_test_downward): Likewise.
38439         (tan_upward_test_data): Likewise.
38440         (tan_test_upward): Likewise.
38441         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38442         (tgamma_test_data): Likewise.
38443         (y0_test_data): Likewise.
38444         (y1_test_data): Likewise.
38445         (yn_test_data): Update call to AUTO_TESTS_if_f.
38446         (main): Do not call removed functions.
38448 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38450         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38451         (ldexp_test_data): Remove.
38452         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38453         scalbn_test_data.
38454         (scalb_test): Use ALL_RM_TEST.
38456 2014-03-19  Andreas Schwab  <schwab@suse.de>
38458         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38460 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38462         [BZ #16649]
38463         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38464         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38465         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38467         (__ASSUME_PREADV): Undefine.
38468         (__ASSUME_PWRITEV): Likewise.
38470 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38472         * bits/mman-linux.h: Add comment about non-Linux use.
38473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38474         bits/mman-linux.h resting place.
38476         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38477         * bits/mman-linux.h: ... here.
38479 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38481         * conform/conformtest.pl: Add standard definition when calling C
38482         preprocessor on data files.
38483         (checknamespace): Remove unused variable.
38485 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38487         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38488         minus_oflow, plus_uflow and minus_uflow in expected results.
38489         * math/libm-test.inc (scalbn_test_data): Add more tests of
38490         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38491         minus_uflow.
38492         (scalbn_test): Use ALL_RM_TEST.
38493         (scalbln_test_data): Add more tests of negative arguments.  Use
38494         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38495         (scalbln_test): Use ALL_RM_TEST.
38497 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38499         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38501 2014-03-18  Will Newton  <will.newton@linaro.org>
38503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38504         inaccurate comment.
38506 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38508         * Makerules [!subdir] (check-abi): Exit with error status if a
38509         test failed.
38511 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38513         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38514         for rint.  Include results for all rounding modes.
38515         (nearbyint_test): Use ALL_RM_TEST.
38516         (rint_test_data): Include all tests used for nearbyint.
38518 2014-03-17  Will Newton  <will.newton@linaro.org>
38520         * nptl/sysdeps/pthread/pthread.h: Revert previous
38521         change.
38523         * sysdeps/generic/ldsodefs.h: Revert previous
38524         change.
38526         * libio/genops.c: Revert previous change.
38527         * libio/libioP.h: Likewise.
38528         * stdio-common/vfprintf.c: Likewise.
38530         * sysdeps/generic/math_private.h: Revert previous
38531         change.
38533         * sysdeps/generic/math_private.h: Check whether
38534         HAVE_RM_CTX is defined with #ifdef rather
38535         than #if.
38537         * argp/argp-fmtstream.h: Check whether
38538         __STRICT_ANSI__ is defined with #ifdef rather
38539         than #if.
38540         * argp/argp.h: Likewise.
38542         * libio/genops.c: Check whether
38543         _IO_JUMPS_OFFSET is defined with #ifdef rather
38544         than #if.
38545         * libio/libioP.h: Likewise.
38546         * stdio-common/vfprintf.c: Likewise.
38548         * sysdeps/generic/ldsodefs.h: Check whether
38549         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38550         than #if.
38552         * nptl/sysdeps/pthread/pthread.h: Check
38553         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38554         its value.
38556 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38558         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38559         setting O_APPEND.
38560         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38561         test case.
38563         [BZ #16680]
38564         * libio/fileops.c (_IO_file_open): Seek to end of file but
38565         don't cache the offset.
38566         (get_file_offset): Remove function.
38567         (do_ftell): Use cached offset when available.
38568         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38569         don't cache the offset.
38570         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38571         case.
38572         (do_one_test): Call it.
38573         (do_ftell_test): Fix up expected old offset for a+ mode.
38574         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38575         available.
38577         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38578         up test status with function return status.
38579         (do_write_test): Likewise.
38580         (do_append_test): Likewise.
38582         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38583         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38584         Remove.
38586 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38588         * math/gen-libm-test.pl (parse_args): Handle results specified for
38589         each rounding mode separately.
38590         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38591         tests and results from lrint_tonearest_test_data,
38592         lrint_towardzero_test_data, lrint_downward_test_data and
38593         lrint_upward_test_data.
38594         (lrint_test): Use ALL_RM_TEST.
38595         (lrint_tonearest_test_data): Remove.
38596         (lrint_test_tonearest): Likewise.
38597         (lrint_towardzero_test_data): Likewise.
38598         (lrint_test_towardzero): Likewise.
38599         (lrint_downward_test_data): Likewise.
38600         (lrint_test_downward): Likewise.
38601         (lrint_upward_test_data): Likewise.
38602         (lrint_test_upward): Likewise.
38603         (llrint_test_data): Merge in per-rounding-mode tests and results
38604         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38605         llrint_downward_test_data and llrint_upward_test_data.
38606         (llrint_test): Use ALL_RM_TEST.
38607         (llrint_tonearest_test_data): Remove.
38608         (llrint_test_tonearest): Likewise.
38609         (llrint_towardzero_test_data): Likewise.
38610         (llrint_test_towardzero): Likewise.
38611         (llrint_downward_test_data): Likewise.
38612         (llrint_test_downward): Likewise.
38613         (llrint_upward_test_data): Likewise.
38614         (llrint_test_upward): Likewise.
38615         (rint_test_data): Merge in per-rounding-mode tests and results
38616         from rint_tonearest_test_data, rint_towardzero_test_data,
38617         rint_downward_test_data and rint_upward_test_data.  Add
38618         per-rounding-mode results for tests not in those arrays.
38619         (rint_test): Use ALL_RM_TEST.
38620         (rint_tonearest_test_data): Remove.
38621         (rint_test_tonearest): Likewise.
38622         (rint_towardzero_test_data): Likewise.
38623         (rint_test_towardzero): Likewise.
38624         (rint_downward_test_data): Likewise.
38625         (rint_test_downward): Likewise.
38626         (rint_upward_test_data): Likewise.
38627         (rint_test_upward): Likewise.
38628         (main): Don't call removed functions.
38630 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38632         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38633         "Compiled on ..." crapola.  It is anti-useful.
38635 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38637         * scripts/evaluate-test.sh: Handle fourth argument to determine
38638         whether test run should stop on failure.
38639         * Makeconfig (stop-on-test-failure): New variable.
38640         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38641         $(stop-on-test-failure).
38642         * Makefile (tests): Give a summary of results from testing and
38643         exit with failure status if they include an ERROR or FAIL.
38644         (xtests): Likewise.
38645         * manual/install.texi (Configuring and compiling): Mention
38646         stop-on-test-failure=y.
38647         * INSTALL: Regenerated.
38649 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38651         * scripts/versionlist.awk: New file.
38652         * Makerules [$(build-shared) = yes]
38653         (postclean-generated): Add Versions.def, not Versions.def.v and
38654         Versions.def.v.i.
38655         ($(common-objpfx)Versions.def.v.i): Target removed.
38656         ($(common-objpfx)Versions.def): New target.
38657         ($(common-objpfx)Versions.all): Depend on that rather that
38658         $(common-objpfx)Versions.def.v.
38659         * Versions.def: File removed.
38661         * Makeconfig (+gccwarn): Add -Wundef.
38662         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38663         a dl-sysdep.h breaking its contract.
38664         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38665         * include/stackinfo.h: New file.
38666         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38667         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38668         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38669         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38670         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38671         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38672         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38673         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38674         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38675         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38676         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38677         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38678         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38679         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38680         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38682 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38684         [BZ #16707]
38685         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38686         implementation.
38687         * math/libm-test.inc (round_test_data): Add more tests.
38689         [BZ #16706]
38690         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38691         implementation.
38692         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38694         [BZ #16701]
38695         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38696         implementation.
38697         * math/libm-test.inc (ceil_test_data): Add more tests.
38699         * math/libm-test.inc (trunc_test_data): Add more tests related to
38700         BZ#16414.
38702 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38704         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38705         with #if rather than #ifdef.
38706         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38708 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38710         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38711         first.  Disable AVX-512 GCC support if assembler doesn't support
38712         it.
38713         * sysdeps/x86_64/configure: Regenerated.
38715 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38717         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38718         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38719         (__old_pthread_attr_setstack): Likewise.
38720         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38721         [!_STACK_GROWS_DOWN]: Likewise.
38723 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38725         * config.make.in (have-bash2): Delete.
38726         * configure.ac (libc_cv_have_bash2): Delete.
38727         * configure: Regenerate.
38728         * elf/Makefile (common-ldd-rewrite): Rename to ...
38729         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38730         (sh-ldd-rewrite): Delete.
38731         (bash-ldd-rewrite): Delete.
38732         (have-bash2): Delete checks.
38733         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38734         ldd-rewrite.
38736         * config.make.in (have-ksh): Delete.
38737         (KSH): Delete.
38738         * configure.ac (libc_cv_have_ksh): Delete.
38739         * configure: Regenerate.
38741         * elf/Makefile: Delete $(have-ksh) check.
38742         ($(objpfx)sotruss): Change KSH to BASH.
38743         * elf/sotruss.ksh: Rename to ...
38744         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38745         function style to match POSIX.  Drop ksh vim mode setting.
38747         * manual/time.texi (Specifying the Time Zone with TZ): Change
38748         Tuesday to Thursday.
38750         * debug/tst-longjmp_chk2.c: Update header comment.
38751         (stackoverflow_handler): Add comment.  Call assert on pass value.
38753 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38755         [BZ #16194]
38756         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38757         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38758         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38759         (La_x86_64_vector): Add zmm.
38760         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38761         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38762         ($(objpfx)tst-audit10): New target.
38763         ($(objpfx)tst-audit10.out): Likewise.
38764         (tst-audit10-ENV): New.
38765         (AVX512-CFLAGS): Likewise.
38766         (CFLAGS-tst-audit10.c): Likewise.
38767         (CFLAGS-tst-auditmod10a.c): Likewise.
38768         (CFLAGS-tst-auditmod10b.c): Likewise.
38769         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38770         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38771         * sysdeps/x86_64/configure: Regenerated.
38772         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38773         AVX-512 zmm register support.
38774         (_dl_x86_64_save_sse): Likewise.
38775         (_dl_x86_64_restore_sse): Likewise.
38776         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38777         size vector registers.
38778         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38779         (ZMM_SIZE): Likewise.
38780         * sysdeps/x86_64/tst-audit10.c: New file.
38781         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38782         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38784 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38786         * configure.ac (HAVE_EHDR_START): New check.
38787         * configure: Regenerated.
38788         * config.h.in (HAVE_EHDR_START): New #undef.
38789         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38790         assuming the lowest-addressed segment maps the start of the file.
38792 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38794         * INSTALL: Regenerated.
38796 2014-03-13  Will Newton  <will.newton@linaro.org>
38798         * manual/setjmp.texi (System V contexts): Improve
38799         clarity and grammar of documentation.
38801 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38803         [BZ #16381]
38804         * elf/Makefile (tests): Add tst-pie2.
38805         (tests-pie): Add tst-pie2.
38806         * elf/tst-pie2.c: New file.
38807         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38808         for ET_EXEC.
38809         * elf/rtld.c (map_doit): Load executable as lt_executable.
38810         (dl_main): Likewise.
38812 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38814         [BZ #16642]
38815         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38816         (__ASSUME_PSELECT): Undefine.
38818 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38820         [BZ #16689]
38821         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38822         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38823         static build.
38824         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38825         selector for static builds.
38827 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38829         [BZ #16695]
38830         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38831         key in the buffer.
38833 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38835         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38836         IFUNC selector for static builds.
38838 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38840         * sysdeps/mips/math_private.h [__mips_hard_float]
38841         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38842         libc_feresetround_mips_ctx.
38843         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38844         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38845         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38847         [BZ #16677]
38848         * math/s_nextafter.c (__nextafter): Do not return value from
38849         overflowing computation.
38850         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38851         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38852         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38853         Likewise.
38854         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38855         Likewise.
38856         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38857         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38859 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38861         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38862         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38863         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38864         the new mov targetting sp.
38866 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38868         [BZ #16683]
38869         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38870         Define it for static builds as well.
38871         (NO_BZERO_IMPL): Likewise.
38873 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38875         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38876         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38877         multiarch strspn for PPC64.
38878         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38879         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38881         (__libc_ifunc_impl_list): Likewise.
38882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38883         multiarch optimizations
38884         * string/strspn.c (strspn): Using macro to redefine symbol name.
38886 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38887             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38889         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38890         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38891         multiarch strncat for PPC64.
38892         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38893         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38895         (__libc_ifunc_impl_list): Likewise.
38896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38897         multiarch optimizations
38899 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38901         [BZ #16639]
38902         * nscd/nscd.service: Make service type forking.
38904 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38906         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38907         sign in non default rounding modes.
38908         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38910 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38912         * math/libm-test.inc (ALL_RM_TEST): New macro.
38913         (ceil_test): Use ALL_RM_TEST.
38914         (cimag_test): Likewise.
38915         (conj_test): Likewise.
38916         (copysign_test): Likewise.
38917         (cproj_test): Likewise.
38918         (creal_test): Likewise.
38919         (fabs_test): Likewise.
38920         (floor_test): Likewise.
38921         (fmax_test): Likewise.
38922         (fmin_test): Likewise.
38923         (fmod_test): Likewise.
38924         (fpclassify_test): Likewise.
38925         (frexp_test): Likewise.
38926         (ilogb_test): Likewise.
38927         (isfinite_test): Likewise.
38928         (finite_test): Likewise.
38929         (isgreater_test): Likewise.
38930         (isgreaterequal_test): Likewise.
38931         (isinf_test): Likewise.
38932         (isless_test): Likewise.
38933         (islessequal_test): Likewise.
38934         (islessgreater_test): Likewise.
38935         (isnan_test): Likewise.
38936         (isnormal_test): Likewise.
38937         (issignaling_test): Likewise.
38938         (isunordered_test): Likewise.
38939         (logb_test): Likewise.
38940         (logb_downward_test_data): Remove.
38941         (logb_test_downward): Likewise.
38942         (lround_test): Use ALL_RM_TEST.
38943         (llround_test): Likewise.
38944         (modf_test): Likewise.
38945         (nexttoward_test): Likewise.
38946         (remainder_test): Likewise.
38947         (drem_test): Likewise.
38948         (remainder_tonearest_test_data): Likewise.
38949         (remainder_test_tonearest): Likewise.
38950         (drem_test_tonearest): Likewise.
38951         (remainder_towardzero_test_data): Likewise.
38952         (remainder_test_towardzero): Likewise.
38953         (drem_test_towardzero): Likewise.
38954         (remainder_downward_test_data): Likewise.
38955         (remainder_test_downward): Likewise.
38956         (drem_test_downward): Likewise.
38957         (remainder_upward_test_data): Likewise.
38958         (remainder_test_upward): Likewise.
38959         (drem_test_upward): Likewise.
38960         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38961         (round_test): Use ALL_RM_TEST.
38962         (signbit_test): Likewise.
38963         (trunc_test): Likewise.
38964         (significand_test): Likewise.
38965         (main): Don't call removed functions.
38967 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38969         [BZ #16674]
38970         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38971         || __USE_XOPEN2K8].
38972         (ILL_ILLOPN): Likewise.
38973         (ILL_ILLADR): Likewise.
38974         (ILL_ILLTRP): Likewise.
38975         (ILL_PRVOPC): Likewise.
38976         (ILL_PRVREG): Likewise.
38977         (ILL_COPROC): Likewise.
38978         (ILL_BADSTK): Likewise.
38979         (FPE_INTDIV): Likewise.
38980         (FPE_INTOVF): Likewise.
38981         (FPE_FLTDIV): Likewise.
38982         (FPE_FLTOVF): Likewise.
38983         (FPE_FLTUND): Likewise.
38984         (FPE_FLTRES): Likewise.
38985         (FPE_FLTINV): Likewise.
38986         (FPE_FLTSUB): Likewise.
38987         (SEGV_MAPERR): Likewise.
38988         (SEGV_ACCERR): Likewise.
38989         (BUS_ADRALN): Likewise.
38990         (BUS_ADRERR): Likewise.
38991         (BUS_OBJERR): Likewise.
38992         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38993         (TRAP_TRACE): Likewise.
38994         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38995         __USE_XOPEN2K8].
38996         (CLD_KILLED): Likewise.
38997         (CLD_DUMPED): Likewise.
38998         (CLD_TRAPPED): Likewise.
38999         (CLD_STOPPED): Likewise.
39000         (CLD_CONTINUED): Likewise.
39001         (POLL_IN): Likewise.
39002         (POLL_OUT): Likewise.
39003         (POLL_MSG): Likewise.
39004         (POLL_ERR): Likewise.
39005         (POLL_PRI): Likewise.
39006         (POLL_HUP): Likewise.
39007         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39008         Likewise.
39009         (ILL_ILLOPN): Likewise.
39010         (ILL_ILLADR): Likewise.
39011         (ILL_ILLTRP): Likewise.
39012         (ILL_PRVOPC): Likewise.
39013         (ILL_PRVREG): Likewise.
39014         (ILL_COPROC): Likewise.
39015         (ILL_BADSTK): Likewise.
39016         (FPE_INTDIV): Likewise.
39017         (FPE_INTOVF): Likewise.
39018         (FPE_FLTDIV): Likewise.
39019         (FPE_FLTOVF): Likewise.
39020         (FPE_FLTUND): Likewise.
39021         (FPE_FLTRES): Likewise.
39022         (FPE_FLTINV): Likewise.
39023         (FPE_FLTSUB): Likewise.
39024         (SEGV_MAPERR): Likewise.
39025         (SEGV_ACCERR): Likewise.
39026         (BUS_ADRALN): Likewise.
39027         (BUS_ADRERR): Likewise.
39028         (BUS_OBJERR): Likewise.
39029         (BUS_MCEERR_AR): Likewise.
39030         (BUS_MCEERR_AO): Likewise.
39031         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39032         (TRAP_TRACE): Likewise.
39033         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39034         __USE_XOPEN2K8].
39035         (CLD_KILLED): Likewise.
39036         (CLD_DUMPED): Likewise.
39037         (CLD_TRAPPED): Likewise.
39038         (CLD_STOPPED): Likewise.
39039         (CLD_CONTINUED): Likewise.
39040         (POLL_IN): Likewise.
39041         (POLL_OUT): Likewise.
39042         (POLL_MSG): Likewise.
39043         (POLL_ERR): Likewise.
39044         (POLL_PRI): Likewise.
39045         (POLL_HUP): Likewise.
39046         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39047         (ILL_ILLOPN): Likewise.
39048         (ILL_ILLADR): Likewise.
39049         (ILL_ILLTRP): Likewise.
39050         (ILL_PRVOPC): Likewise.
39051         (ILL_PRVREG): Likewise.
39052         (ILL_COPROC): Likewise.
39053         (ILL_BADSTK): Likewise.
39054         (FPE_INTDIV): Likewise.
39055         (FPE_INTOVF): Likewise.
39056         (FPE_FLTDIV): Likewise.
39057         (FPE_FLTOVF): Likewise.
39058         (FPE_FLTUND): Likewise.
39059         (FPE_FLTRES): Likewise.
39060         (FPE_FLTINV): Likewise.
39061         (FPE_FLTSUB): Likewise.
39062         (SEGV_MAPERR): Likewise.
39063         (SEGV_ACCERR): Likewise.
39064         (BUS_ADRALN): Likewise.
39065         (BUS_ADRERR): Likewise.
39066         (BUS_OBJERR): Likewise.
39067         (BUS_MCEERR_AR): Likewise.
39068         (BUS_MCEERR_AO): Likewise.
39069         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39070         (TRAP_TRACE): Likewise.
39071         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39072         __USE_XOPEN2K8].
39073         (CLD_KILLED): Likewise.
39074         (CLD_DUMPED): Likewise.
39075         (CLD_TRAPPED): Likewise.
39076         (CLD_STOPPED): Likewise.
39077         (CLD_CONTINUED): Likewise.
39078         (POLL_IN): Likewise.
39079         (POLL_OUT): Likewise.
39080         (POLL_MSG): Likewise.
39081         (POLL_ERR): Likewise.
39082         (POLL_PRI): Likewise.
39083         (POLL_HUP): Likewise.
39084         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39085         Likewise.
39086         (ILL_ILLOPN): Likewise.
39087         (ILL_ILLADR): Likewise.
39088         (ILL_ILLTRP): Likewise.
39089         (ILL_PRVOPC): Likewise.
39090         (ILL_PRVREG): Likewise.
39091         (ILL_COPROC): Likewise.
39092         (ILL_BADSTK): Likewise.
39093         (ILL_BADIADDR): Likewise.
39094         (ILL_BREAK): Likewise.
39095         (FPE_INTDIV): Likewise.
39096         (FPE_INTOVF): Likewise.
39097         (FPE_FLTDIV): Likewise.
39098         (FPE_FLTOVF): Likewise.
39099         (FPE_FLTUND): Likewise.
39100         (FPE_FLTRES): Likewise.
39101         (FPE_FLTINV): Likewise.
39102         (FPE_FLTSUB): Likewise.
39103         (FPE_DECOVF): Likewise.
39104         (FPE_DECDIV): Likewise.
39105         (FPE_DECERR): Likewise.
39106         (FPE_INVASC): Likewise.
39107         (FPE_INVDEC): Likewise.
39108         (SEGV_MAPERR): Likewise.
39109         (SEGV_ACCERR): Likewise.
39110         (SEGV_PSTKOVF): Likewise.
39111         (BUS_ADRALN): Likewise.
39112         (BUS_ADRERR): Likewise.
39113         (BUS_OBJERR): Likewise.
39114         (BUS_MCEERR_AR): Likewise.
39115         (BUS_MCEERR_AO): Likewise.
39116         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39117         (TRAP_TRACE): Likewise.
39118         (TRAP_BRANCH): Likewise.
39119         (TRAP_HWBKPT): Likewise.
39120         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39121         __USE_XOPEN2K8].
39122         (CLD_KILLED): Likewise.
39123         (CLD_DUMPED): Likewise.
39124         (CLD_TRAPPED): Likewise.
39125         (CLD_STOPPED): Likewise.
39126         (CLD_CONTINUED): Likewise.
39127         (POLL_IN): Likewise.
39128         (POLL_OUT): Likewise.
39129         (POLL_MSG): Likewise.
39130         (POLL_ERR): Likewise.
39131         (POLL_PRI): Likewise.
39132         (POLL_HUP): Likewise.
39133         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39134         (ILL_ILLOPN): Likewise.
39135         (ILL_ILLADR): Likewise.
39136         (ILL_ILLTRP): Likewise.
39137         (ILL_PRVOPC): Likewise.
39138         (ILL_PRVREG): Likewise.
39139         (ILL_COPROC): Likewise.
39140         (ILL_BADSTK): Likewise.
39141         (FPE_INTDIV): Likewise.
39142         (FPE_INTOVF): Likewise.
39143         (FPE_FLTDIV): Likewise.
39144         (FPE_FLTOVF): Likewise.
39145         (FPE_FLTUND): Likewise.
39146         (FPE_FLTRES): Likewise.
39147         (FPE_FLTINV): Likewise.
39148         (FPE_FLTSUB): Likewise.
39149         (SEGV_MAPERR): Likewise.
39150         (SEGV_ACCERR): Likewise.
39151         (BUS_ADRALN): Likewise.
39152         (BUS_ADRERR): Likewise.
39153         (BUS_OBJERR): Likewise.
39154         (BUS_MCEERR_AR): Likewise.
39155         (BUS_MCEERR_AO): Likewise.
39156         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39157         (TRAP_TRACE): Likewise.
39158         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39159         __USE_XOPEN2K8].
39160         (CLD_KILLED): Likewise.
39161         (CLD_DUMPED): Likewise.
39162         (CLD_TRAPPED): Likewise.
39163         (CLD_STOPPED): Likewise.
39164         (CLD_CONTINUED): Likewise.
39165         (POLL_IN): Likewise.
39166         (POLL_OUT): Likewise.
39167         (POLL_MSG): Likewise.
39168         (POLL_ERR): Likewise.
39169         (POLL_PRI): Likewise.
39170         (POLL_HUP): Likewise.
39171         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39172         (ILL_ILLOPN): Likewise.
39173         (ILL_ILLADR): Likewise.
39174         (ILL_ILLTRP): Likewise.
39175         (ILL_PRVOPC): Likewise.
39176         (ILL_PRVREG): Likewise.
39177         (ILL_COPROC): Likewise.
39178         (ILL_BADSTK): Likewise.
39179         (FPE_INTDIV): Likewise.
39180         (FPE_INTOVF): Likewise.
39181         (FPE_FLTDIV): Likewise.
39182         (FPE_FLTOVF): Likewise.
39183         (FPE_FLTUND): Likewise.
39184         (FPE_FLTRES): Likewise.
39185         (FPE_FLTINV): Likewise.
39186         (FPE_FLTSUB): Likewise.
39187         (SEGV_MAPERR): Likewise.
39188         (SEGV_ACCERR): Likewise.
39189         (BUS_ADRALN): Likewise.
39190         (BUS_ADRERR): Likewise.
39191         (BUS_OBJERR): Likewise.
39192         (BUS_MCEERR_AR): Likewise.
39193         (BUS_MCEERR_AO): Likewise.
39194         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39195         (TRAP_TRACE): Likewise.
39196         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39197         __USE_XOPEN2K8].
39198         (CLD_KILLED): Likewise.
39199         (CLD_DUMPED): Likewise.
39200         (CLD_TRAPPED): Likewise.
39201         (CLD_STOPPED): Likewise.
39202         (CLD_CONTINUED): Likewise.
39203         (POLL_IN): Likewise.
39204         (POLL_OUT): Likewise.
39205         (POLL_MSG): Likewise.
39206         (POLL_ERR): Likewise.
39207         (POLL_PRI): Likewise.
39208         (POLL_HUP): Likewise.
39209         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39210         (ILL_ILLOPN): Likewise.
39211         (ILL_ILLADR): Likewise.
39212         (ILL_ILLTRP): Likewise.
39213         (ILL_PRVOPC): Likewise.
39214         (ILL_PRVREG): Likewise.
39215         (ILL_COPROC): Likewise.
39216         (ILL_BADSTK): Likewise.
39217         (FPE_INTDIV): Likewise.
39218         (FPE_INTOVF): Likewise.
39219         (FPE_FLTDIV): Likewise.
39220         (FPE_FLTOVF): Likewise.
39221         (FPE_FLTUND): Likewise.
39222         (FPE_FLTRES): Likewise.
39223         (FPE_FLTINV): Likewise.
39224         (FPE_FLTSUB): Likewise.
39225         (SEGV_MAPERR): Likewise.
39226         (SEGV_ACCERR): Likewise.
39227         (BUS_ADRALN): Likewise.
39228         (BUS_ADRERR): Likewise.
39229         (BUS_OBJERR): Likewise.
39230         (BUS_MCEERR_AR): Likewise.
39231         (BUS_MCEERR_AO): Likewise.
39232         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39233         (TRAP_TRACE): Likewise.
39234         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39235         __USE_XOPEN2K8].
39236         (CLD_KILLED): Likewise.
39237         (CLD_DUMPED): Likewise.
39238         (CLD_TRAPPED): Likewise.
39239         (CLD_STOPPED): Likewise.
39240         (CLD_CONTINUED): Likewise.
39241         (POLL_IN): Likewise.
39242         (POLL_OUT): Likewise.
39243         (POLL_MSG): Likewise.
39244         (POLL_ERR): Likewise.
39245         (POLL_PRI): Likewise.
39246         (POLL_HUP): Likewise.
39247         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39248         (ILL_ILLOPN): Likewise.
39249         (ILL_ILLADR): Likewise.
39250         (ILL_ILLTRP): Likewise.
39251         (ILL_PRVOPC): Likewise.
39252         (ILL_PRVREG): Likewise.
39253         (ILL_COPROC): Likewise.
39254         (ILL_BADSTK): Likewise.
39255         (ILL_DBLFLT): Likewise.
39256         (ILL_HARDWALL): Likewise.
39257         (FPE_INTDIV): Likewise.
39258         (FPE_INTOVF): Likewise.
39259         (FPE_FLTDIV): Likewise.
39260         (FPE_FLTOVF): Likewise.
39261         (FPE_FLTUND): Likewise.
39262         (FPE_FLTRES): Likewise.
39263         (FPE_FLTINV): Likewise.
39264         (FPE_FLTSUB): Likewise.
39265         (SEGV_MAPERR): Likewise.
39266         (SEGV_ACCERR): Likewise.
39267         (BUS_ADRALN): Likewise.
39268         (BUS_ADRERR): Likewise.
39269         (BUS_OBJERR): Likewise.
39270         (BUS_MCEERR_AR): Likewise.
39271         (BUS_MCEERR_AO): Likewise.
39272         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39273         (TRAP_TRACE): Likewise.
39274         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39275         __USE_XOPEN2K8].
39276         (CLD_KILLED): Likewise.
39277         (CLD_DUMPED): Likewise.
39278         (CLD_TRAPPED): Likewise.
39279         (CLD_STOPPED): Likewise.
39280         (CLD_CONTINUED): Likewise.
39281         (POLL_IN): Likewise.
39282         (POLL_OUT): Likewise.
39283         (POLL_MSG): Likewise.
39284         (POLL_ERR): Likewise.
39285         (POLL_PRI): Likewise.
39286         (POLL_HUP): Likewise.
39287         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39288         (ILL_ILLOPN): Likewise.
39289         (ILL_ILLADR): Likewise.
39290         (ILL_ILLTRP): Likewise.
39291         (ILL_PRVOPC): Likewise.
39292         (ILL_PRVREG): Likewise.
39293         (ILL_COPROC): Likewise.
39294         (ILL_BADSTK): Likewise.
39295         (FPE_INTDIV): Likewise.
39296         (FPE_INTOVF): Likewise.
39297         (FPE_FLTDIV): Likewise.
39298         (FPE_FLTOVF): Likewise.
39299         (FPE_FLTUND): Likewise.
39300         (FPE_FLTRES): Likewise.
39301         (FPE_FLTINV): Likewise.
39302         (FPE_FLTSUB): Likewise.
39303         (SEGV_MAPERR): Likewise.
39304         (SEGV_ACCERR): Likewise.
39305         (BUS_ADRALN): Likewise.
39306         (BUS_ADRERR): Likewise.
39307         (BUS_OBJERR): Likewise.
39308         (BUS_MCEERR_AR): Likewise.
39309         (BUS_MCEERR_AO): Likewise.
39310         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39311         (TRAP_TRACE): Likewise.
39312         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39313         __USE_XOPEN2K8].
39314         (CLD_KILLED): Likewise.
39315         (CLD_DUMPED): Likewise.
39316         (CLD_TRAPPED): Likewise.
39317         (CLD_STOPPED): Likewise.
39318         (CLD_CONTINUED): Likewise.
39319         (POLL_IN): Likewise.
39320         (POLL_OUT): Likewise.
39321         (POLL_MSG): Likewise.
39322         (POLL_ERR): Likewise.
39323         (POLL_PRI): Likewise.
39324         (POLL_HUP): Likewise.
39325         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39326         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39328         [BZ #16670]
39329         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39330         before #include of <time.h>.
39331         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39332         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39333         (test-xfail-UNIX98/sched.h/conform): Likewise.
39335 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39337         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39338         error absence of trapping exception support.
39339         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39341 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39343         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39344         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39345         * timezone/Makefile (testdata): Move definition above include of
39346         Rules.
39347         (test-zones): New variable.
39348         (tests-special): Add zone files.
39349         (build-testdata): Use $(evaluate-test).
39351         * elf/Makefile (tests-special): Rename tests to end with .out.
39352         ($(objpfx)noload-mem): Likewise.
39353         ($(objpfx)tst-leaks1-mem): Likewise.
39354         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39355         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39356         $(objpfx)test-iconvconfig.out.
39357         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39358         set -e inside subshell and redirect output to file.
39359         * iconvdata/Makefile (generated): Rename tests to end with .out.
39360         Correct type.
39361         (tests-special): Rename tests to end with .out.
39362         ($(objpfx)mtrace-tst-loading): Likewise.
39363         * intl/Makefile (generated): Likewise.
39364         (tests-special): Likewise.
39365         ($(objpfx)mtrace-tst-gettext): Likewise.
39366         * misc/Makefile (generated): Likewise.
39367         (tests-special): Likewise.
39368         ($(objpfx)tst-error1-mem): Likewise.
39369         * nptl/Makefile (tests-special): Likewise.
39370         ($(objpfx)tst-stack3-mem): Likewise.
39371         (generated): Likewise.
39372         * posix/Makefile (generated): Likewise.
39373         (tests-special): Likewise.
39374         (xtests-special): Likewise.
39375         ($(objpfx)tst-fnmatch-mem): Likewise.
39376         ($(objpfx)bug-regex2-mem): Likewise.
39377         ($(objpfx)bug-regex14-mem): Likewise.
39378         ($(objpfx)bug-regex21-mem): Likewise.
39379         ($(objpfx)bug-regex31-mem): Likewise.
39380         ($(objpfx)tst-vfork3-mem): Likewise.
39381         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39382         ($(objpfx)tst-pcre-mem): Likewise.
39383         ($(objpfx)tst-boost-mem): Likewise.
39384         ($(objpfx)bug-ga2-mem): Likewise.
39385         ($(objpfx)bug-glob2-mem): Likewise.
39386         * resolv/Makefile (generate): Likewise.
39387         (tests-special): Likewise.
39388         (xtests-special): Likewise.
39389         (generated): Likewise.
39390         ($(objpfx)mtrace-tst-leaks): Likewise.
39391         ($(objpfx)mtrace-tst-leaks2): Likewise.
39393         * scripts/merge-test-results.sh: New file.
39394         * Makefile (tests-special-notdir): New variable.
39395         (tests): Run merge-test-results.sh.
39396         (xtests): Likewise.
39397         * Rules (tests-special-notdir): New variable.
39398         (xtests-special-notdir): Likewise.
39399         (tests): Run merge-test-results.sh
39400         (xtests): Likewise.
39402         * Makeconfig (test-xfail-name): New variable.
39403         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39404         compute variable name for expected failures.
39405         * conform/Makefile (conformtest-headers-data): New variable.
39406         (conformtest-standards): Likewise.
39407         (conformtest-headers-ISO): Likewise.
39408         (conformtest-headers-ISO99): Likewise.
39409         (conformtest-headers-ISO11): Likewise.
39410         (conformtest-headers-POSIX): Likewise.
39411         (conformtest-headers-XPG3): Likewise.
39412         (conformtest-headers-XPG4): Likewise.
39413         (conformtest-headers-UNIX98): Likewise.
39414         (conformtest-headers-XOPEN2K): Likewise.
39415         (conformtest-headers-POSIX2008): Likewise.
39416         (conformtest-headers-XOPEN2K8): Likewise.
39417         (conformtest-header-list-base): Likewise.
39418         (conformtest-header-list-tests): Likewise.
39419         (conformtest-header-base): Likewise.
39420         (conformtest-header-tests): Likewise.
39421         (tests-special): Add $(conformtest-header-list-tests).  If
39422         [$(fast-check) && !$(cross-compiling)], add
39423         $(conformtest-header-tests) instead of
39424         $(objpfx)run-conformtest.out.
39425         (generated): Add $(conformtest-header-list-base).  If
39426         [$(fast-check) && !$(cross-compiling)], add
39427         $(conformtest-header-base).  Remove previous setting.
39428         ($(conformtest-header-list-tests)): New target.
39429         (test-xfail-run-conformtest): Remove variable.
39430         ($(objpfx)run-conformtest.out): Remove target.
39431         (test-xfail-ISO11/complex.h/conform): New variable.
39432         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39433         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39434         (test-xfail-XPG3/varargs.h/conform): Likewise.
39435         (test-xfail-XPG4/varargs.h/conform): Likewise.
39436         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39437         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39438         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39439         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39440         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39441         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39442         (test-xfail-XPG3/ftw.h/conform): Likewise.
39443         (test-xfail-XPG3/grp.h/conform): Likewise.
39444         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39445         (test-xfail-XPG3/limits.h/conform): Likewise.
39446         (test-xfail-XPG3/pwd.h/conform): Likewise.
39447         (test-xfail-XPG3/search.h/conform): Likewise.
39448         (test-xfail-XPG3/signal.h/conform): Likewise.
39449         (test-xfail-XPG3/stdio.h/conform): Likewise.
39450         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39451         (test-xfail-XPG3/string.h/conform): Likewise.
39452         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39453         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39454         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39455         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39456         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39457         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39458         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39459         (test-xfail-XPG3/termios.h/conform): Likewise.
39460         (test-xfail-XPG3/time.h/conform): Likewise.
39461         (test-xfail-XPG3/unistd.h/conform): Likewise.
39462         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39463         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39464         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39465         (test-xfail-XPG4/netdb.h/conform): Likewise.
39466         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39467         (test-xfail-XPG4/signal.h/conform): Likewise.
39468         (test-xfail-XPG4/stdio.h/conform): Likewise.
39469         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39470         (test-xfail-XPG4/stropts.h/conform): Likewise.
39471         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39472         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39473         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39474         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39475         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39476         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39477         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39478         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39479         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39480         (test-xfail-XPG4/termios.h/conform): Likewise.
39481         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39482         (test-xfail-XPG4/unistd.h/conform): Likewise.
39483         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39484         (test-xfail-POSIX/sched.h/conform): Likewise.
39485         (test-xfail-POSIX/signal.h/conform): Likewise.
39486         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39487         (test-xfail-POSIX/tar.h/conform): Likewise.
39488         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39489         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39490         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39491         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39492         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39493         (test-xfail-UNIX98/sched.h/conform): Likewise.
39494         (test-xfail-UNIX98/signal.h/conform): Likewise.
39495         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39496         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39497         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39498         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39499         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39500         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39501         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39502         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39503         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39504         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39505         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39506         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39507         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39508         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39509         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39510         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39511         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39512         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39513         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39514         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39515         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39516         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39517         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39518         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39519         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39520         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39521         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39522         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39523         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39524         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39525         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39526         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39527         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39528         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39529         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39530         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39531         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39532         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39533         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39534         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39535         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39536         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39537         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39538         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39539         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39540         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39541         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39542         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39543         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39544         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39545         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39546         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39547         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39548         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39549         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39550         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39551         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39552         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39553         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39554         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39555         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39556         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39557         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39558         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39559         (conformtest-cc-flags): Likewise.
39560         ($(conformtest-header-tests): New target.
39561         * conform/check-header-lists.sh: New file.
39562         * conform/run-conformtest.sh: Remove.
39564         * conform/conformtest.pl: Allow ' and \ in values given for
39565         constants.
39566         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39567         inclusion.
39568         [POSIX] (sys/types.h): Likewise.
39569         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39570         inclusion.
39571         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39572         inclusion.
39573         * conform/data/signal.h-data (SIGIO): Remove expectation.
39574         [XPG3] (SIGBUS): Do not expect.
39575         [POSIX || XPG3] (SIGPOLL): Likewise.
39576         [POSIX || XPG3] (SIGPROF): Likewise.
39577         [POSIX || XPG3] (SIGSYS): Likewise.
39578         [XPG3] (SIGTRAP): Likewise.
39579         [POSIX || XPG3] (SIGURG): Likewise.
39580         [POSIX || XPG3] (SIGVTALRM): Likewise.
39581         [POSIX || XPG3] (SIGXCPU): Likewise.
39582         [POSIX || XPG3] (SIGXFSZ): Likewise.
39583         [POSIX] (SA_SIGINFO): Expect.
39584         [XPG3] (siginfo_t): Do not expect type or contents.
39585         [POSIX] (si_pid): Do not expect element.
39586         [POSIX] (si_uid): Likewise.
39587         [POSIX] (si_addr): Likewise.
39588         [POSIX] (si_status): Likewise.
39589         [POSIX] (si_band): Likewise.
39590         [XPG4] (si_value): Likewise.
39591         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39592         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39593         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39594         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39595         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39596         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39597         [POSIX || XPG3] (ILL_COPROC): Likewise.
39598         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39599         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39600         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39601         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39602         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39603         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39604         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39605         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39606         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39607         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39608         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39609         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39610         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39611         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39612         [POSIX || XPG3] (CLD_EXITED): Likewise.
39613         [POSIX || XPG3] (CLD_KILLED): Likewise.
39614         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39615         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39616         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39617         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39618         [POSIX || XPG3] (POLL_IN): Likewise.
39619         [POSIX || XPG3] (POLL_OUT): Likewise.
39620         [POSIX || XPG3] (POLL_MSG): Likewise.
39621         [POSIX || XPG3] (POLL_ERR): Likewise.
39622         [POSIX || XPG3] (POLL_PRI): Likewise.
39623         [POSIX || XPG3] (POLL_HUP): Likewise.
39624         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39625         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39626         (SIG*): Do not allow.
39627         [XPG3] (si_*): Likewise.
39628         [XPG3] (SI_*): Likewise.
39629         [XPG3 || XPG4] (sigev_*): Likewise.
39630         [XPG3 || XPG4] (SIGEV_*): Likewise.
39631         [XPG3 || XPG4] (sival_*): Likewise.
39632         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39633         [POSIX || XPG3] (BUS_*): Likewise.
39634         [POSIX || XPG3] (CLD_*): Likewise.
39635         [POSIX || XPG3] (FPE_*): Likewise.
39636         [POSIX || XPG3] (ILL_*): Likewise.
39637         [POSIX || XPG3] (POLL_*): Likewise.
39638         [POSIX || XPG3] (SEGV_*): Likewise.
39639         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39640         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39641         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39642         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39643         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39644         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39645         Specify type and value.
39646         (TVERSLEN): Likewise.
39647         (REGTYPE): Likewise.
39648         (AREGTYPE): Likewise.
39649         (LNKTYPE): Likewise.
39650         (SYMTYPE): Likewise.
39651         (CHRTYPE): Likewise.
39652         (BLKTYPE): Likewise.
39653         (DIRTYPE): Likewise.
39654         (FIFOTYPE): Likewise.
39655         (CONTTYPE): Likewise.
39656         (TSUID): Likewise.
39657         (TSGID): Likewise.
39658         (TSVTX): Likewise.
39659         (TUREAD): Likewise.
39660         (TUWRITE): Likewise.
39661         (TUEXEC): Likewise.
39662         (TGREAD): Likewise.
39663         (TGWRITE): Likewise.
39664         (TGEXEC): Likewise.
39665         (TOREAD): Likewise.
39666         (TOWRITE): Likewise.
39667         (TOEXEC): Likewise.
39668         [POSIX] (TSVTX): Expect constant.
39670 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39672         * Makefile (tests): Change dependencies to ....
39673         (tests-special): ... additions to this variable.
39674         (tests): Depend on $(tests-special).
39675         * Makerules (check-abi-list): New variable.
39676         (check-abi): Depend on $(check-abi-list).
39677         [$(subdir) = elf] (tests-special): Add
39678         $(objpfx)check-abi-libc.out.
39679         [$(build-shared) = yes && subdir] (tests-special): Add
39680         $(check-abi-list).
39681         [$(build-shared) = yes && subdir] (tests): Do not depend on
39682         check-abi.
39683         * Rules (tests): Depend on $(tests-special).
39684         (xtests): Depend on $(xtests-special).
39685         * catgets/Makefile (tests): Change dependencies to ....
39686         (tests-special): ... additions to this variable.
39687         * conform/Makefile (tests): Change dependencies to ....
39688         (tests-special): ... additions to this variable.
39689         * elf/Makefile (tests): Change dependencies to ....
39690         (tests-special): ... additions to this variable.
39691         * grp/Makefile (tests): Change dependencies to ....
39692         (tests-special): ... additions to this variable.
39693         * iconv/Makefile (xtests): Change dependencies to ....
39694         (xtests-special): ... additions to this variable.
39695         * iconvdata/Makefile (tests): Change dependencies to ....
39696         (tests-special): ... additions to this variable.
39697         * intl/Makefile (tests): Change dependencies to ....
39698         (tests-special): ... additions to this variable.  Also add
39699         $(objpfx)tst-gettext.out.
39700         * io/Makefile (tests): Change dependencies to ....
39701         (tests-special): ... additions to this variable.
39702         * libio/Makefile (tests): Change dependencies to ....
39703         (tests-special): ... additions to this variable.
39704         * malloc/Makefile (tests): Change dependencies to ....
39705         (tests-special): ... additions to this variable.
39706         * misc/Makefile (tests): Change dependencies to ....
39707         (tests-special): ... additions to this variable.
39708         * nptl/Makefile (tests): Change dependencies to ....
39709         (tests-special): ... additions to this variable.
39710         * nptl_db/Makefile (tests): Change dependencies to ....
39711         (tests-special): ... additions to this variable.
39712         * posix/Makefile (tests): Change dependencies to ....
39713         (tests-special): ... additions to this variable.
39714         (xtests): Change dependencies to ....
39715         (xtests-special): ... additions to this variable.
39716         * resolv/Makefile (tests): Change dependencies to ....
39717         (tests-special): ... additions to this variable.
39718         (xtests): Change dependencies to ....
39719         (xtests-special): ... additions to this variable.
39720         * stdio-common/Makefile (tests): Change dependencies to ....
39721         (tests-special): ... additions to this variable.
39722         (do-tst-unbputc): Remove target.
39723         (do-tst-printf): Likewise.
39724         * stdlib/Makefile (tests): Change dependencies to ....
39725         (tests-special): ... additions to this variable.
39726         * string/Makefile (tests): Change dependencies to ....
39727         (tests-special): ... additions to this variable.
39728         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39729         (tests-special): ... additions to this variable.
39731         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39732         whole file.
39733         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39734         whole file.
39735         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39736         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39738         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39739         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39740         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39741         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39742         * conform/data/libgen.h-data [XPG3]: Likewise.
39743         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39744         * conform/data/ndbm.h-data [XPG3]: Likewise.
39745         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39746         * conform/data/netdb.h-data [XPG3]: Likewise.
39747         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39748         * conform/data/poll.h-data [XPG3]: Likewise.
39749         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39750         * conform/data/strings.h-data [XPG3]: Likewise.
39751         * conform/data/stropts.h-data [XPG3]: Likewise.
39752         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39753         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39754         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39755         Likewise.
39756         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39757         * conform/data/sys/time.h-data [XPG3]: Likewise.
39758         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39759         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39760         * conform/data/sys/un.h-data [XPG3]: Likewise.
39761         * conform/data/syslog.h-data [XPG3]: Likewise.
39762         * conform/data/ucontext.h-data [XPG3]: Likewise.
39763         * conform/data/utmpx.h-data [XPG3]: Likewise.
39764         * conform/data/varargs.h-data [UNIX98]: Enable file.
39766         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39768         * math/libm-test.inc (struct test_f_f_data): Move expected results
39769         into structure for each rounding mode.
39770         (struct test_ff_f_data): Likewise.
39771         (struct test_ff_f_data_nexttoward): Likewise.
39772         (struct test_fi_f_data): Likewise.
39773         (struct test_fl_f_data): Likewise.
39774         (struct test_if_f_data): Likewise.
39775         (struct test_fff_f_data): Likewise.
39776         (struct test_c_f_data): Likewise.
39777         (struct test_f_f1_data): Likewise.
39778         (struct test_fF_f1_data): Likewise.
39779         (struct test_ffI_f1_data): Likewise.
39780         (struct test_c_c_data): Likewise.
39781         (struct test_cc_c_data): Likewise.
39782         (struct test_f_i_data): Likewise.
39783         (struct test_ff_i_data): Likewise.
39784         (struct test_f_l_data): Likewise.
39785         (struct test_f_L_data): Likewise.
39786         (struct test_fFF_11_data): Likewise.
39787         (RM_): New macro.
39788         (RM_FE_DOWNWARD): Likewise.
39789         (RM_FE_TONEAREST): Likewise.
39790         (RM_FE_TOWARDZERO): Likewise.
39791         (RM_FE_UPWARD): Likewise.
39792         (RUN_TEST_LOOP_f_f): Update references to expected results.
39793         (RUN_TEST_LOOP_2_f): Likewise.
39794         (RUN_TEST_LOOP_fff_f): Likewise.
39795         (RUN_TEST_LOOP_c_f): Likewise.
39796         (RUN_TEST_LOOP_f_f1): Likewise.
39797         (RUN_TEST_LOOP_fF_f1): Likewise.
39798         (RUN_TEST_LOOP_fI_f1): Likewise.
39799         (RUN_TEST_LOOP_ffI_f1): Likewise.
39800         (RUN_TEST_LOOP_c_c): Likewise.
39801         (RUN_TEST_LOOP_cc_c): Likewise.
39802         (RUN_TEST_LOOP_f_i): Likewise.
39803         (RUN_TEST_LOOP_f_i_tg): Likewise.
39804         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39805         (RUN_TEST_LOOP_f_b): Likewise.
39806         (RUN_TEST_LOOP_f_b_tg): Likewise.
39807         (RUN_TEST_LOOP_f_l): Likewise.
39808         (RUN_TEST_LOOP_f_L): Likewise.
39809         (RUN_TEST_LOOP_fFF_11): Likewise.
39810         * math/gen-libm-test.pl (parse_args): Output four copies of
39811         expected results for each test.
39813         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39814         (__ASSUME_UTIMES): Remove.
39815         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39816         (__ASSUME_UTIMES): Likewise.
39818         * math/gen-auto-libm-tests.c: Update comment on output format.
39819         (output_for_one_input_case): Generate before-rounding and
39820         after-rounding information as conditions on output flags not
39821         floating-point format.
39822         * math/auto-libm-test-out: Regenerated.
39823         * math/gen-libm-test.pl (cond_value): New function.
39824         (or_cond_value): Use cond_value.
39825         (generate_testfile): Handle conditional exceptions.
39827 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39829         * math/libm-test.inc (max_valid_error): New variable.
39830         (init_max_error): Take new argument specifying whether function
39831         results are exactly determined.  Set max_valid_error and bound
39832         other variables for errors based on this argument.
39833         (set_max_error): Do not record results above max_valid_error.
39834         (check_float_internal): Only accept errors of up to 0.5ulps if
39835         also at most max_valid_error.
39836         (START): Take new argument EXACT and pass it to init_max_error.
39837         (acos_test): Update call to START.
39838         (acos_test_tonearest): Likewise.
39839         (acos_test_towardzero): Likewise.
39840         (acos_test_downward): Likewise.
39841         (acos_test_upward): Likewise.
39842         (acosh_test): Likewise.
39843         (asin_test): Likewise.
39844         (asin_test_tonearest): Likewise.
39845         (asin_test_towardzero): Likewise.
39846         (asin_test_downward): Likewise.
39847         (asin_test_upward): Likewise.
39848         (asinh_test): Likewise.
39849         (atan_test): Likewise.
39850         (atanh_test): Likewise.
39851         (atan2_test): Likewise.
39852         (cabs_test): Likewise.
39853         (cacos_test): Likewise.
39854         (cacosh_test): Likewise.
39855         (carg_test): Likewise.
39856         (casin_test): Likewise.
39857         (casinh_test): Likewise.
39858         (catan_test): Likewise.
39859         (catanh_test): Likewise.
39860         (cbrt_test): Likewise.
39861         (ccos_test): Likewise.
39862         (ccosh_test): Likewise.
39863         (ceil_test): Likewise.
39864         (cexp_test): Likewise.
39865         (cimag_test): Likewise.
39866         (clog_test): Likewise.
39867         (clog10_test): Likewise.
39868         (conj_test): Likewise.
39869         (copysign_test): Likewise.
39870         (cos_test): Likewise.
39871         (cos_test_tonearest): Likewise.
39872         (cos_test_towardzero): Likewise.
39873         (cos_test_downward): Likewise.
39874         (cos_test_upward): Likewise.
39875         (cosh_test): Likewise.
39876         (cosh_test_tonearest): Likewise.
39877         (cosh_test_towardzero): Likewise.
39878         (cosh_test_downward): Likewise.
39879         (cosh_test_upward): Likewise.
39880         (cpow_test): Likewise.
39881         (cproj_test): Likewise.
39882         (creal_test): Likewise.
39883         (csin_test): Likewise.
39884         (csinh_test): Likewise.
39885         (csqrt_test): Likewise.
39886         (ctan_test): Likewise.
39887         (ctan_test_tonearest): Likewise.
39888         (ctan_test_towardzero): Likewise.
39889         (ctan_test_downward): Likewise.
39890         (ctan_test_upward): Likewise.
39891         (ctanh_test): Likewise.
39892         (ctanh_test_tonearest): Likewise.
39893         (ctanh_test_towardzero): Likewise.
39894         (ctanh_test_downward): Likewise.
39895         (ctanh_test_upward): Likewise.
39896         (erf_test): Likewise.
39897         (erfc_test): Likewise.
39898         (exp_test): Likewise.
39899         (exp_test_tonearest): Likewise.
39900         (exp_test_towardzero): Likewise.
39901         (exp_test_downward): Likewise.
39902         (exp_test_upward): Likewise.
39903         (exp10_test): Likewise.
39904         (exp10_test_tonearest): Likewise.
39905         (exp10_test_towardzero): Likewise.
39906         (exp10_test_downward): Likewise.
39907         (exp10_test_upward): Likewise.
39908         (pow10_test): Likewise.
39909         (exp2_test): Likewise.
39910         (expm1_test): Likewise.
39911         (expm1_test_tonearest): Likewise.
39912         (expm1_test_towardzero): Likewise.
39913         (expm1_test_downward): Likewise.
39914         (expm1_test_upward): Likewise.
39915         (fabs_test): Likewise.
39916         (fdim_test): Likewise.
39917         (floor_test): Likewise.
39918         (fma_test): Likewise.
39919         (fma_test_towardzero): Likewise.
39920         (fma_test_downward): Likewise.
39921         (fma_test_upward): Likewise.
39922         (fmax_test): Likewise.
39923         (fmin_test): Likewise.
39924         (fmod_test): Likewise.
39925         (fpclassify_test): Likewise.
39926         (frexp_test): Likewise.
39927         (hypot_test): Likewise.
39928         (ilogb_test): Likewise.
39929         (isfinite_test): Likewise.
39930         (finite_test): Likewise.
39931         (isgreater_test): Likewise.
39932         (isgreaterequal_test): Likewise.
39933         (isinf_test): Likewise.
39934         (isless_test): Likewise.
39935         (islessequal_test): Likewise.
39936         (islessgreater_test): Likewise.
39937         (isnan_test): Likewise.
39938         (isnormal_test): Likewise.
39939         (issignaling_test): Likewise.
39940         (isunordered_test): Likewise.
39941         (j0_test): Likewise.
39942         (j1_test): Likewise.
39943         (jn_test): Likewise.
39944         (ldexp_test): Likewise.
39945         (lgamma_test): Likewise.
39946         (gamma_test): Likewise.
39947         (lrint_test): Likewise.
39948         (lrint_test_tonearest): Likewise.
39949         (lrint_test_towardzero): Likewise.
39950         (lrint_test_downward): Likewise.
39951         (lrint_test_upward): Likewise.
39952         (llrint_test): Likewise.
39953         (llrint_test_tonearest): Likewise.
39954         (llrint_test_towardzero): Likewise.
39955         (llrint_test_downward): Likewise.
39956         (llrint_test_upward): Likewise.
39957         (log_test): Likewise.
39958         (log10_test): Likewise.
39959         (log1p_test): Likewise.
39960         (log2_test): Likewise.
39961         (logb_test): Likewise.
39962         (logb_test_downward): Likewise.
39963         (lround_test): Likewise.
39964         (llround_test): Likewise.
39965         (modf_test): Likewise.
39966         (nearbyint_test): Likewise.
39967         (nextafter_test): Likewise.
39968         (nexttoward_test): Likewise.
39969         (pow_test): Likewise.
39970         (pow_test_tonearest): Likewise.
39971         (pow_test_towardzero): Likewise.
39972         (pow_test_downward): Likewise.
39973         (pow_test_upward): Likewise.
39974         (remainder_test): Likewise.
39975         (drem_test): Likewise.
39976         (remainder_test_tonearest): Likewise.
39977         (drem_test_tonearest): Likewise.
39978         (remainder_test_towardzero): Likewise.
39979         (drem_test_towardzero): Likewise.
39980         (remainder_test_downward): Likewise.
39981         (drem_test_downward): Likewise.
39982         (remainder_test_upward): Likewise.
39983         (drem_test_upward): Likewise.
39984         (remquo_test): Likewise.
39985         (rint_test): Likewise.
39986         (rint_test_tonearest): Likewise.
39987         (rint_test_towardzero): Likewise.
39988         (rint_test_downward): Likewise.
39989         (rint_test_upward): Likewise.
39990         (round_test): Likewise.
39991         (scalb_test): Likewise.
39992         (scalbn_test): Likewise.
39993         (scalbln_test): Likewise.
39994         (signbit_test): Likewise.
39995         (sin_test): Likewise.
39996         (sin_test_tonearest): Likewise.
39997         (sin_test_towardzero): Likewise.
39998         (sin_test_downward): Likewise.
39999         (sin_test_upward): Likewise.
40000         (sincos_test): Likewise.
40001         (sinh_test): Likewise.
40002         (sinh_test_tonearest): Likewise.
40003         (sinh_test_towardzero): Likewise.
40004         (sinh_test_downward): Likewise.
40005         (sinh_test_upward): Likewise.
40006         (sqrt_test): Likewise.
40007         (sqrt_test_tonearest): Likewise.
40008         (sqrt_test_towardzero): Likewise.
40009         (sqrt_test_downward): Likewise.
40010         (sqrt_test_upward): Likewise.
40011         (tan_test): Likewise.
40012         (tan_test_tonearest): Likewise.
40013         (tan_test_towardzero): Likewise.
40014         (tan_test_downward): Likewise.
40015         (tan_test_upward): Likewise.
40016         (tanh_test): Likewise.
40017         (tgamma_test): Likewise.
40018         (trunc_test): Likewise.
40019         (y0_test): Likewise.
40020         (y1_test): Likewise.
40021         (yn_test): Likewise.
40022         (significand_test): Likewise.
40024         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40025         individual tests in comment.
40026         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40027         (prev_max_error): New variable.
40028         (prev_real_max_error): Likewise.
40029         (prev_imag_max_error): Likewise.
40030         (compare_ulp_data): Don't refer to test names in comment.
40031         (find_test_ulps): Remove function.
40032         (find_function_ulps): Likewise.
40033         (find_complex_function_ulps): Likewise.
40034         (init_max_error): Take function name as argument.  Look up ulps
40035         for that function.
40036         (print_ulps): Remove function.
40037         (print_max_error): Use prev_max_error instead of calling
40038         find_function_ulps.
40039         (print_complex_max_error): Use prev_real_max_error and
40040         prev_imag_max_error instead of calling find_complex_function_ulps.
40041         (check_float_internal): Take max_ulp parameter instead of calling
40042         find_test_ulps.  Don't call print_ulps.
40043         (check_float): Update call to check_float_internal.
40044         (check_complex): Update calls to check_float_internal.
40045         (START): Pass argument to init_max_error.
40046         * math/gen-libm-test.pl (%results): Don't include "kind"
40047         information.
40048         (parse_ulps): Don't handle ulps of individual tests.
40049         (print_ulps_file): Likewise.
40050         (output_ulps): Likewise.
40051         * math/README.libm-test: Update.
40052         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40053         individual tests.
40054         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40055         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40056         * sysdeps/arm/libm-test-ulps: Likewise.
40057         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40058         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40059         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40060         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40061         * sysdeps/microblaze/libm-test-ulps: Likewise.
40062         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40063         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40064         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40065         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40066         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40067         * sysdeps/sh/libm-test-ulps: Likewise.
40068         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40069         * sysdeps/tile/libm-test-ulps: Likewise.
40070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40072 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40074         * math/libm-test.inc (print_complex_max_error): Check separately
40075         whether real and imaginary errors are within allowed range and
40076         pass 0 to print_complex_function_ulps instead of value within
40077         allowed range.
40079 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40081         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40082         formatting.
40083         (get_handles_fopen): Likewise.
40084         (do_write_test): Likewise.
40086         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40088         * libio/fileops.c (do_ftell): Use cached offset when
40089         available.
40090         * libio/iofwide.c (do_ftell_wide): Likewise.
40091         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40092         _IO_file_attach.
40093         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40095         [BZ #16532]
40096         * libio/libioP.h (get_file_offset): New function.
40097         * libio/fileops.c (get_file_offset): Likewise.
40098         (do_ftell): Likewise.
40099         (_IO_new_file_seekoff): Split out ftell logic.
40100         * libio/wfileops.c (do_ftell_wide): Likewise.
40101         (_IO_wfile_seekoff): Split out ftell logic.
40102         * libio/tst-ftell-active-handler.c: New test case.
40103         * libio/Makefile (tests): Add it.
40105 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40107         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40108         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40110 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40112         [BZ #16639]
40113         * nscd/connections.c (nscd_init): Call do_exit.
40114         (start_threads): Call do_exit and notify_parent.
40115         (begin_drop_privileges): Call do_exit.
40116         (finish_drop_privileges): Likewise.
40117         * nscd/selinux.c (preserve_capabilities): Likewise.
40118         (install_real_capabilities): Likewise.
40119         (nscd_selinux_enabled): Likewise.
40120         (avc_create_thread): Likewise.
40121         (avc_alloc_lock): Likewise.
40122         (nscd_avc_init): Likewise.
40123         * nscd/nscd.c (parent_fd): New static variable.
40124         (main): Create a pipe between parent and child processes.
40125         Skip closing parent_fd.
40126         (monitor_child): New function.
40127         (do_exit): Likewise.
40128         (notify_parent): Likewise.
40129         * nscd/nscd.h (notify_parent): Likewise.
40130         (do_exit): Likewise.
40132 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40134         * malloc/malloc.c (__libc_calloc): Revert last change.
40136 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40140 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40142         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40144         implementation.
40145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40146         (__libc_ifunc_impl_list): Likewise.
40147         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40148         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40149         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40150         * string/strrchr.c: Define STRRCHR.
40152 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40154         * benchtest/bench-strtok.c (simple_strtok): Delete.
40155         (strtok_string): Use as benchmark.
40156         * string/strtok (STRTOK): New macro.
40158 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40160         * manual/threads.texi: Add header and standard comments to all
40161         functions.
40163         * elf/dl-lookup.c (check_match): New function.
40164         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40165         (do_lookup_x): Remove nested function check_match. Use non-nested
40166         function check_match.
40168 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40170         * csu/Makefile (generated, before-compile): Use += rather than =.
40171         * catgets/Makefile (generated, generated-dirs): Likewise.
40172         * debug/Makefile (generated): Likewise.
40173         * dlfcn/Makefile (generated): Likewise.
40174         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40175         * iconvdata/Makefile (before-compile, generated): Likewise.
40176         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40177         * libio/Makefile (generated): Likewise.
40178         * malloc/Makefile (generated): Likewise.
40179         * manual/Makefile (generated, generated-dirs): Likewise.
40180         * misc/Makefile (generated): Likewise.
40181         * posix/Makefile (generated): Likewise.
40182         * resolv/Makefile (generated): Likewise.
40183         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40184         * timezone/Makefile (generated, generated-dirs): Likewise.
40186         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40188 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40191         power8 implementation.
40192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40193         file: POWER8 llround ifunc implementation.
40194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40195         (__lllround): Add POWER8 implementation.
40196         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40197         POWER8 llround implementation.
40199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40200         power8 implementation.
40201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40202         file: POWER8 llrint ifunc implementation.
40203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40204         Add POWER8 implementation.
40205         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40206         POWER8 llrint implementation.
40208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40209         power8 implementation.
40210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40211         file: POWER8 finite ifunc implementation.
40212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40213         Add POWER8 implementation.
40214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40215         Likewise.
40216         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40217         POWER8 finite implementation.
40218         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40221         power8 implementation.
40222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40223         file: POWER8 isinf ifunc implementation.
40224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40225         POWER8 implementation.
40226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40227         Likewise.
40228         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40229         isinf implementation.
40230         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40232         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40233         (INIT_ARCH): Add hwcap2 initialization.
40234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40235         power8 implementation.
40236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40237         file: POWER8 isnan ifunc implementation.
40238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40239         POWER8 implementation.
40240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40241         Likewise.
40242         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40243         isnan implementation.
40244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40246 2014-02-27  Joey Ye  <joey.ye@arm.com>
40248         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40249         (_FP_NANFRAC_Q): Set to zero.
40251 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40253         [BZ #16623]
40254         * math/auto-libm-test-in: New test inputs.
40255         * math/auto-libm-test-out: Regenerate.
40256         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40257         and DA.
40258         (__cos): Likewise.
40259         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40261 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40263         * scripts/evaluate-test.sh: Take new argument indicating whether
40264         failure is expected.
40265         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40266         indicating whether failure is expected.
40267         * conform/Makefile (test-xfail-run-conformtest): New variable.
40268         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40269         level.
40270         * posix/Makefile (test-xfail-annexc): New variable.
40271         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40273 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40275         * argp/Makefile: Include Makeconfig immediately after defining
40276         subdir.
40277         * assert/Makefile: Likewise.
40278         * benchtests/Makefile: Likewise.
40279         * catgets/Makefile: Likewise.
40280         * conform/Makefile: Likewise.
40281         * crypt/Makefile: Likewise.
40282         * csu/Makefile: Likewise.
40283         (all): Remove target.
40284         * ctype/Makefile: Include Makeconfig immediately after defining
40285         subdir.
40286         * debug/Makefile: Likewise.
40287         * dirent/Makefile: Likewise.
40288         * dlfcn/Makefile: Likewise.
40289         * gmon/Makefile: Likewise.
40290         * gnulib/Makefile: Likewise.
40291         * grp/Makefile: Likewise.
40292         * gshadow/Makefile: Likewise.
40293         * hesiod/Makefile: Likewise.
40294         * hurd/Makefile: Likewise.
40295         (all): Remove target.
40296         * iconvdata/Makefile: Include Makeconfig immediately after
40297         defining subdir.
40298         * inet/Makefile: Likewise.
40299         * intl/Makefile: Likewise.
40300         * io/Makefile: Likewise.
40301         * libio/Makefile: Likewise.
40302         (all): Remove target.
40303         * locale/Makefile: Include Makeconfig immediately after defining
40304         subdir.
40305         * login/Makefile: Likewise.
40306         * mach/Makefile: Likewise.
40307         (all): Remove target.
40308         * malloc/Makefile: Include Makeconfig immediately after defining
40309         subdir.
40310         (all): Remove target.
40311         * manual/Makefile: Include Makeconfig immediately after defining
40312         subdir.
40313         * math/Makefile: Likewise.
40314         * misc/Makefile: Likewise.
40315         * nis/Makefile: Likewise.
40316         * nss/Makefile: Likewise.
40317         * po/Makefile: Likewise.
40318         (all): Remove target.
40319         * posix/Makefile: Include Makeconfig immediately after defining
40320         subdir.
40321         * pwd/Makefile: Likewise.
40322         * resolv/Makefile: Likewise.
40323         * resource/Makefile: Likewise.
40324         * rt/Makefile: Likewise.
40325         * setjmp/Makefile: Likewise.
40326         * shadow/Makefile: Likewise.
40327         * signal/Makefile: Likewise.
40328         * socket/Makefile: Likewise.
40329         * soft-fp/Makefile: Likewise.
40330         * stdio-common/Makefile: Likewise.
40331         * stdlib/Makefile: Likewise.
40332         * streams/Makefile: Likewise.
40333         * string/Makefile: Likewise.
40334         * sunrpc/Makefile: Likewise.
40335         (all): Remove target.
40336         * sysvipc/Makefile: Include Makeconfig immediately after defining
40337         subdir.
40338         * termios/Makefile: Likewise.
40339         * time/Makefile: Likewise.
40340         * timezone/Makefile: Likewise.
40341         (all): Remove target.
40342         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40343         subdir.
40344         * wctype/Makefile: Likewise.
40346 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40348         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40349         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40350         (libc_feholdexcept_setround_mips): Ditto.
40351         (libc_feholdsetround): New.
40352         (libc_feholdsetroundf): New.
40353         (libc_feholdsetroundl): New.
40354         (libc_feupdateenv_test_mips): New.
40355         (libc_feupdateenv_test): New.
40356         (libc_feupdateenv_testf): New.
40357         (libc_feupdateenv_testl): New.
40358         (libc_feresetround): New.
40359         (libc_feresetroundf): New.
40360         (libc_feresetroundl): New.
40361         (libc_fetestexcept_mips): New.
40362         (libc_fetestexcept): New.
40363         (libc_fetestexceptf): New.
40364         (libc_fetestexceptl): New.
40365         (HAVE_RM_CTX): New.
40366         (libc_feholdexcept_setround_mips_ctx): New.
40367         (libc_feholdexcept_setround_ctx): New.
40368         (libc_feholdexcept_setroundf_ctx): New.
40369         (libc_feholdexcept_setroundl_ctx): New.
40370         (libc_fesetenv_mips_ctx): New.
40371         (libc_fesetenv_ctx): New.
40372         (libc_fesetenv_ctxf): New.
40373         (libc_fesetenv_ctxl): New.
40374         (libc_feupdateenv_mips_ctx): New.
40375         (libc_feupdateenv_ctx): New.
40376         (libc_feupdateenvf_ctx): New.
40377         (libc_feupdateenvl_ctx): New.
40378         (libc_feholdsetround_mips_ctx): New.
40379         (libc_feholdsetround_ctx): New.
40380         (libc_feholdsetroundf_ctx): New.
40381         (libc_feholdsetroundl_ctx): New.
40382         (libc_feresetround_mips_ctx): New.
40383         (libc_feresetround_ctx): New.
40384         (libc_feresetroundf_ctx): New.
40385         (libc_feresetroundl_ctx): New.
40387 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40389         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40391         * manual/ipc.texi: New file.
40392         * manual/Makefile (chapters): Add ipc.
40393         * manual/job.texi: Add "Inter-Process Communication" to next.
40394         * manual/process.texi: Add "Inter-Process Communication" to prev.
40396 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40400 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40402         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40404         * manual/arith.texi: Fix spaces after sentences.
40405         * manual/charset.texi: Likewise.
40406         * manual/errno.texi: Likewise.
40407         * manual/install.texi: Likewise.
40408         * manual/llio.texi: Likewise.
40409         * manual/locale.texi: Likewise.
40410         * manual/maint.texi: Likewise.
40411         * manual/math.texi: Likewise.
40412         * manual/memory.texi: Likewise.
40413         * manual/message.texi: Likewise.
40414         * manual/probes.texi: Likewise.
40415         * manual/resource.texi: Likewise.
40416         * manual/signal.texi: Likewise.
40417         * manual/socket.texi: Likewise.
40418         * manual/stdio.texi: Likewise.
40419         * manual/string.texi: Likewise.
40420         * manual/time.texi: Likewise.
40421         * manual/users.texi: Likewise.
40423 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40425         [BZ #16632]
40426         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40427         _DEFAULT_SOURCE is defined.
40429 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40430             Carlos O'Donell  <carlos@redhat.com>
40432         [BZ #16613]
40433         * elf/dl-tls.c (_dl_count_modids): New function.
40434         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40435         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40436         audit library and increment generation counter.
40437         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40438         * elf/tst-audit9.c: New file.
40439         * elf/tst-auditmod9a.c: New file.
40440         * elf/tst-auditmod9b.c: New file.
40441         * elf/Makefile: Add rules to build and run tst-audit9.
40443 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40445         [BZ #15347]
40446         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40448 2014-02-25  Will Newton  <will.newton@linaro.org>
40450         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40451         (__longjmp): Restore sp and lr before restoring callee
40452         saved registers.  Add longjmp and longjmp_target
40453         SystemTap probe point.
40454         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40455         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40456         Define to zero to match jmpbuf layout.
40457         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40458         (__sigsetjmp): Save sp and lr before saving callee
40459         saved registers.  Add setjmp SystemTap probe point.
40461 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40463         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40465 2014-02-24  Andreas Schwab  <schwab@suse.de>
40467         [BZ #15804]
40468         * elf/pldd.c (wait_for_ptrace_stop): New function.
40469         (main): Call it after attaching.
40471 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40473         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40474         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40475         Versions files is now verboten.
40476         * hurd/Versions (libc: GLIBC_2.0):
40477         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40478         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40479         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40480         * mach/Versions: Likewise.
40482         * csu/Versions: Remove unused %include.
40483         * resolv/Versions: Likewise.
40485 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40487         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40488         ($(objpfx)check-local-headers.out): Likewise.
40489         ($(objpfx)begin-end-check.out): Likewise.
40490         * Makerules (check-abi-%.out): Likewise.
40491         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40492         ($(objpfx)test2.cat): Likewise.
40493         ($(objpfx)de/libc.cat): Likewise.
40494         ($(objpfx)test-gencat.out): Likewise.
40495         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40496         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40497         ($(objpfx)noload-mem): Likewise.
40498         ($(objpfx)tst-pathopt.out): Likewise.
40499         ($(objpfx)tst-rtld-load-self.out): Likewise.
40500         ($(objpfx)tst-array1-cmp.out): Likewise.
40501         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40502         ($(objpfx)tst-array2-cmp.out): Likewise.
40503         ($(objpfx)tst-array3-cmp.out): Likewise.
40504         ($(objpfx)tst-array4-cmp.out): Likewise.
40505         ($(objpfx)tst-array5-cmp.out): Likewise.
40506         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40507         ($(objpfx)check-textrel.out): Likewise.
40508         ($(objpfx)check-execstack.out): Likewise.
40509         ($(objpfx)check-localplt.out): Likewise.
40510         ($(objpfx)order2-cmp.out): Likewise.
40511         ($(objpfx)tst-leaks1-mem): Likewise.
40512         ($(objpfx)tst-leaks1-static-mem): Likewise.
40513         ($(objpfx)tst-initorder-cmp.out): Likewise.
40514         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40515         ($(objpfx)tst-unused-dep.out): Likewise.
40516         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40517         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40518         * iconv/Makefile (test-iconvconfig): Likewise.
40519         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40520         ($(objpfx)iconv-test.out): Likewise.
40521         ($(objpfx)tst-tables.out): Likewise.
40522         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40523         ($(objpfx)tst-gettext.out): Likewise.
40524         ($(objpfx)tst-translit.out): Likewise.
40525         ($(objpfx)tst-gettext2.out): Likewise.
40526         ($(objpfx)tst-gettext4.out): Likewise.
40527         ($(objpfx)tst-gettext6.out): Likewise.
40528         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40529         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40530         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40531         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40532         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40533         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40534         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40535         ($(objpfx)wordexp-tst.out): Likewise.
40536         ($(objpfx)annexc.out): Likewise.
40537         ($(objpfx)tst-fnmatch-mem): Likewise.
40538         ($(objpfx)bug-regex2-mem): Likewise.
40539         ($(objpfx)bug-regex14-mem): Likewise.
40540         ($(objpfx)bug-regex21-mem): Likewise.
40541         ($(objpfx)bug-regex31-mem): Likewise.
40542         ($(objpfx)tst-vfork3-mem): Likewise.
40543         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40544         ($(objpfx)tst-pcre-mem): Likewise.
40545         ($(objpfx)tst-boost-mem): Likewise.
40546         ($(objpfx)tst-getconf.out): Likewise.
40547         ($(objpfx)bug-ga2-mem): Likewise.
40548         ($(objpfx)bug-glob2-mem): Likewise.
40549         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40550         ($(objpfx)mtrace-tst-leaks2): Likewise.
40551         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40552         ($(objpfx)tst-printf.out): Likewise.
40553         ($(objpfx)tst-setvbuf1.out): Likewise.
40554         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40555         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40556         ($(objpfx)tst-fmtmsg.out): Likewise.
40557         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40558         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40560         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40561         * bits/sigaction.h [__USE_MISC]: Likewise.
40562         * bits/waitstatus.h: Update #endif comments.
40563         * ctype/ctype.h: Likewise.
40564         * dirent/dirent.h: Likewise.
40565         [__USE_MISC]: Remove redundant conditionals.
40566         * grp/grp.h: Update #endif comments.
40567         [__USE_GNU]: Remove redundant conditionals.
40568         [__USE_MISC]: Likewise.
40569         * inet/netinet/in.h [__USE_GNU]: Likewise.
40570         * io/sys/stat.h [__USE_MISC]: Likewise.
40571         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40572         * libio/bits/stdio.h: Update #endif comments.
40573         [__USE_MISC]: Remove redundant conditionals.
40574         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40575         * libio/stdio.h: Update #endif comments.
40576         [__USE_MISC]: Remove redundant conditionals.
40577         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40578         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40579         * math/math.h: Update #else and #endif comments.
40580         [__USE_MISC]: Remove redundant conditionals.
40581         * misc/sys/uio.h: Update #endif comments.
40582         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40583         * posix/glob.h [__USE_MISC]: Likewise.
40584         * posix/sys/types.h: Update #endif comments.
40585         [__USE_MISC]: Remove redundant conditionals.
40586         * posix/sys/wait.h: Update #endif comments.
40587         [__USE_MISC]: Remove redundant conditionals.
40588         * posix/unistd.h: Update #endif comments.
40589         [__USE_MISC]: Remove redundant conditionals.
40590         * pwd/pwd.h [__USE_GNU]: Likewise.
40591         [__USE_MISC]: Likewise.
40592         * resolv/netdb.h [__USE_GNU]: Likewise.
40593         * signal/signal.h: Update #endif comments.
40594         [__USE_MISC]: Remove redundant conditionals.
40595         * stdlib/stdlib.h: Update #else and #endif comments.
40596         [__USE_MISC]: Remove redundant conditionals.
40597         [__USE_GNU]: Likewise.
40598         * string/bits/string2.h [__USE_MISC]: Likewise.
40599         * string/string.h: Update #endif comments.
40600         [__USE_MISC]: Remove redundant conditionals.
40601         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40602         Likewise.
40603         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40604         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40605         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40606         Likewise.
40607         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40608         Likewise.
40609         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40610         comments.
40611         [__USE_MISC]: Remove redundant conditionals.
40612         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40613         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40614         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40615         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40616         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40617         Likewise.
40618         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40619         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40620         Likewise.
40621         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40622         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40623         Likewise.
40624         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40625         Likewise.
40626         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40627         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40628         Likewise.
40629         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40630         Likewise.
40631         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40632         * sysdeps/x86/bits/string.h: Update #endif comments.
40633         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40634         conditionals.
40635         * time/sys/time.h: Update #endif comments.
40636         * time/time.h: Likewise.
40637         [__USE_MISC]: Remove redundant conditionals.
40639 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40641         [BZ #16600]
40642         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40644 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40646         * Versions.def (librt): Add GLIBC_2.17.
40648 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40650         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40651         synonym for _SYS_AUXV_H to allow direct inclusion.
40652         * sysdeps/sparc/bits/hwcap.h: Likewise.
40653         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40654         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40655         * sysdeps/sparc/sysdep.h: Likewise.
40657 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40659         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40661 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40663         * benchtests/bench-strrchr.c: Print length instead of position.
40665 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40667         [BZ #16611]
40668         * sysdeps/unix/sysv/linux/kernel-features.h
40669         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40670         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40671         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40672         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40673         Likewise.
40674         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40675         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40676         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40677         (__ASSUME_SENDMMSG): Define instead of using previous
40678         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40679         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40680         (__ASSUME_SENDMMSG_SYSCALL): Define.
40681         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40682         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40683         Likewise.
40684         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40685         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40686         Likewise.
40687         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40688         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40689         Likewise.
40690         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40691         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40692         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40693         [__ASSUME_SENDMMSG]: Change conditionals to
40694         [__ASSUME_SENDMMSG_SOCKETCALL].
40695         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40696         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40697         Define.
40698         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40699         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40700         Likewise.
40701         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40702         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40703         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40704         [!__ASSUME_SENDMMSG]: Change conditional to
40705         [!__ASSUME_SENDMMSG_SOCKETCALL].
40706         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40707         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40708         Define.
40710         [BZ #16610]
40711         * sysdeps/unix/sysv/linux/kernel-features.h
40712         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40713         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40714         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40715         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40716         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40717         [__i386__ || __sparc__]
40718         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40719         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40720         (__ASSUME_RECVMMSG): Define instead of using previous
40721         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40722         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40723         (__ASSUME_RECVMMSG_SYSCALL): Define.
40724         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40725         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40726         Likewise.
40727         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40728         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40729         Likewise.
40730         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40731         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40732         Likewise.
40733         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40734         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40735         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40736         [__ASSUME_RECVMMSG]: Change condition to
40737         [__ASSUME_RECVMMSG_SOCKETCALL].
40738         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40739         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40740         Define.
40741         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40742         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40743         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40744         Likewise.
40745         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40746         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40747         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40748         [!__ASSUME_RECVMMSG]: Change condition to
40749         [!__ASSUME_RECVMMSG_SOCKETCALL].
40750         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40751         (__ASSUME_RECVMMSG_SYSCALL): Define.
40753         [BZ #16609]
40754         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40755         __powerpc__ || __s390__ || __sh__ || __sparc__]
40756         (__ASSUME_SOCKETCALL): Define.
40757         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40758         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40759         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40760         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40761         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40762         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40763         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40764         (__ASSUME_ACCEPT4): Define instead of using previous
40765         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40766         __powerpc__ || __sparc__ || __s390__)] condition.
40767         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40768         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40769         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40770         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40771         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40772         [!__ASSUME_ACCEPT4]: Change condition to
40773         [!__ASSUME_ACCEPT4_SOCKETCALL].
40774         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40775         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40776         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40777         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40778         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40779         __ASSUME_ACCEPT4_SYSCALL.
40780         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40781         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40782         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40783         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40784         __ASSUME_ACCEPT4_SYSCALL.
40785         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40786         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40787         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40788         [__ASSUME_ACCEPT4]: Change condition to
40789         [__ASSUME_ACCEPT4_SOCKETCALL].
40790         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40791         (__ASSUME_SOCKETCALL): Define.
40792         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40793         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40794         (__ASSUME_SOCKETCALL): Define.
40795         (__ASSUME_ACCEPT4): Remove.
40796         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40797         Define.
40798         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40799         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40800         Likewise.
40801         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40802         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40804         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40805         macro.
40806         (HWCAP_ARM_LPAE): Likewise.
40807         (HWCAP_ARM_EVTSTRM): Likewise.
40808         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40809         Add vpfd32, lpae and evtstrm.
40810         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40811         Increase to 22.
40813 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40815         * math/auto-libm-test-in: Add tests of clog10.
40816         * math/auto-libm-test-out: Regenerated.
40817         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40818         * sysdeps/i386/fpu/libm-test-ulps: Update.
40819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40821 2014-02-18  Andreas Schwab  <schwab@suse.de>
40823         [BZ #16574]
40824         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40825         Store non-zero if the second buffer was newly allocated.
40826         (send_dg): Likewise.
40827         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40828         to send_vc and send_dg.
40829         (res_nsend): Pass NULL for ansp2_malloced.
40830         * resolv/res_query.c (__libc_res_nquery): Add parameter
40831         answerp2_malloced and pass it down to __libc_res_nsend.
40832         (res_nquery): Pass additional NULL to __libc_res_nquery.
40833         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40834         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40835         second answer buffer if answerp2_malloced was set.
40836         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40837         (__libc_res_nquerydomain): Add parameter
40838         answerp2_malloced and pass it down to __libc_res_nquery.
40839         (res_nquerydomain): Pass additional NULL to
40840         __libc_res_nquerydomain.
40841         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40842         additional NULL to __libc_res_nsend and __libc_res_nquery.
40843         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40844         additional NULL to __libc_res_nsearch.
40845         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40846         parameter of __libc_res_nsearch to check for separately allocated
40847         second buffer.
40848         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40849         __libc_res_nquery.
40850         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40851         additional NULL to __libc_res_nquery.
40852         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40853         __libc_res_nsearch.
40854         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40855         * include/resolv.h: Update prototypes of __libc_res_nquery,
40856         __libc_res_nsearch, __libc_res_nsend.
40858 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40860         * math/auto-libm-test-in: Add tests of fma.
40861         * math/auto-libm-test-out: Regenerated.
40862         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40863         (fma_towardzero_test_data): Likewise.
40864         (fma_downward_test_data): Likewise.
40865         (fma_upward_test_data): Likewise.
40866         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40867         mpc_mode.
40868         (rounding_modes): Add values for new field.
40869         (func_calc_method): Add value mpfr_fff_f.
40870         (func_calc_desc): Add mpfr_fff_f union field.
40871         (test_function): Add field exact_args.
40872         (FUNC): Add macro argument EXACT_ARGS.
40873         (FUNC_mpfr_f_f): Update call to FUNC.
40874         (FUNC_mpfr_f_f): Likewise.
40875         (FUNC_mpfr_ff_f): Likewise.
40876         (FUNC_mpfr_if_f): Likewise.
40877         (FUNC_mpc_c_f): Likewise.
40878         (FUNC_mpc_c_c): Likewise.
40879         (test_functions): Add fma.  Update calls to FUNC.
40880         (handle_input_arg): Add argument exact_args.
40881         (add_test): Update call to handle_input_arg.
40882         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40883         (output_for_one_input_case): Update call to calc_generic_results.
40884         Recalculate exact zero results in each rounding mode.
40886         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40887         non-negative before setting low bit.
40888         * math/auto-libm-test-in: Mark one asin test possibly having
40889         spurious underflow.
40890         * math/auto-libm-test-out: Regenerated.
40891         * sysdeps/i386/fpu/libm-test-ulps: Update.
40892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40894 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40896         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40897         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40898         ports/sysdeps/unix/sysv/linux/microblaze.
40899         * README: Add missing listing for microblaze*-*-linux-gnu.
40901 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40903         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40904         duplicate code
40906 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40908         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40909         * sysdeps/unix/sysv/linux/ia64: Move directory from
40910         ports/sysdeps/unix/sysv/linux/ia64.
40911         * README: Update listing for ia64-*-linux-gnu.
40913 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40914             Joseph Myers  <joseph@codesourcery.com>
40916         * Makeconfig (test-name): New variable.
40917         (evaluate-test): Likewise.
40918         * Makerules (do-test-clean): Remove .test-result files.
40919         (common-mostlyclean): Likewise.
40920         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40921         * scripts/evaluate-test.sh: New file.
40923 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40925         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40926         separate $(objpfx)tst-fopenloc-cmp.out and
40927         $(objpfx)tst-fopenloc-mem.out targets.
40928         (tests): Update dependencies.
40929         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40930         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40931         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40932         (tst-rxspencer-no-utf8-ARGS): New variable.
40933         (tst-rxspencer-no-utf8-ENV): Likewise.
40934         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40935         instead of $(objpfx)tst-rxspencer-mem.
40936         ($(objpfx)tst-rxspencer-mem): Change target to
40937         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40938         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40939         * posix/tst-rxspencer-no-utf8.c: New file.
40941         * elf/Makefile ($(objpfx)order.out): Remove rule.
40942         [$(run-built-tests) = yes] (tests): Depend on
40943         $(objpfx)order-cmp.out.
40944         ($(objpfx)order-cmp.out): New rule.
40945         [$(run-built-tests) = yes] (tests): Depend on
40946         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40947         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40948         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40949         $(objpfx)tst-array5-static-cmp.out.
40950         ($(objpfx)tst-array1.out): Remove rule.
40951         ($(objpfx)tst-array1-cmp.out): New rule.
40952         ($(objpfx)tst-array1-static.out): Remove rule.
40953         ($(objpfx)tst-array1-static-cmp.out): New rule.
40954         ($(objpfx)tst-array2.out): Remove rule.
40955         ($(objpfx)tst-array2-cmp.out): New rule.
40956         ($(objpfx)tst-array3.out): Remove rule.
40957         ($(objpfx)tst-array3-cmp.out): New rule.
40958         ($(objpfx)tst-array4.out): Remove rule.
40959         ($(objpfx)tst-array4-cmp.out): New rule.
40960         ($(objpfx)tst-array5.out): Remove rule.
40961         ($(objpfx)tst-array5-cmp.out): New rule.
40962         ($(objpfx)tst-array5-static.out): Remove rule.
40963         ($(objpfx)tst-array5-static-cmp.out): New rule.
40964         [$(run-built-tests) = yes] (tests): Depend on
40965         $(objpfx)order2-cmp.out.
40966         ($(objpfx)order2.out): Remove rule.
40967         ($(objpfx)order2-cmp.out): New rule.
40968         ($(objpfx)tst-initorder.out): Remove rule.
40969         [$(run-built-tests) = yes] (tests): Depend on
40970         $(objpfx)tst-initorder-cmp.out.
40971         ($(objpfx)tst-initorder-cmp.out): New rule.
40972         ($(objpfx)tst-initorder2.out): Remove rule.
40973         [$(run-built-tests) = yes] (tests): Depend on
40974         $(objpfx)tst-initorder2-cmp.out.
40975         ($(objpfx)tst-initorder2-cmp.out): New rule.
40976         [$(run-built-tests) = yes] (tests): Depend on
40977         $(objpfx)tst-unused-dep-cmp.out.
40978         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40979         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40980         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40981         on $(objpfx)tst-setvbuf1-cmp.out.
40982         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40983         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40984         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40985         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40986         ($(objpfx)tst-svc.out): Remove rule.
40987         ($(objpfx)tst-svc-cmp.out): New rule.
40989 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40991         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40992         * ctype/ctype.h [__USE_MISC]: Likewise.
40993         * dirent/dirent.h [__USE_MISC]: Likewise.
40994         * grp/grp.h [__USE_MISC]: Likewise.
40995         * io/fcntl.h [__USE_MISC]: Likewise.
40996         * io/sys/stat.h [__USE_MISC]: Likewise.
40997         * libio/stdio.h [__USE_MISC]: Likewise.
40998         * posix/unistd.h [__USE_MISC]: Likewise.
40999         * pwd/pwd.h [__USE_MISC]: Likewise.
41000         * stdlib.h [__USE_MISC]: Likewise.
41001         * string/bits/string2.h [__USE_MISC]: Likewise.
41002         * string/string.h [__USE_MISC]: Likewise.
41003         * time/time.h [__USE_MISC]: Likewise.
41005 2014-02-13  Andreas Schwab  <schwab@suse.de>
41007         [BZ #16574]
41008         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41009         second answer buffer if it was separately allocated.
41011 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41013         * sysdeps/mips/math-tests.h: Include <features.h>.
41014         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41015         (ROUNDING_TESTS_long_double): Do not define.
41016         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41017         (EXCEPTION_TESTS_long_double): Likewise.
41018         * sysdeps/mips/mips64/libm-test-ulps: Update.
41020         * include/features.h (__USE_BSD): Remove macro definitions.
41021         (__USE_SVID): Likewise.
41022         (_BSD_SOURCE): Likewise.
41023         (_SVID_SOURCE): Likewise.
41024         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41025         from definition of _DEFAULT_SOURCE.
41026         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41027         [_DEFAULT_SOURCE].
41028         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41029         * bits/mman.h [__USE_BSD]: Likewise.
41030         * bits/termios.h [__USE_BSD]: Likewise.
41031         * bits/waitstatus.h [__USE_BSD]: Likewise.
41032         * ctype/ctype.h [__USE_SVID]: Likewise.
41033         * dirent/dirent.h [__USE_BSD]: Likewise.
41034         * grp/grp.h [__USE_SVID]: Likewise.
41035         [__USE_BSD]: Likewise.
41036         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41037         * io/fcntl.h [__USE_BSD]: Likewise.
41038         * io/ftw.h [__USE_BSD]: Likewise.
41039         * io/sys/stat.h [__USE_BSD]: Likewise.
41040         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41041         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41042         * libio/stdio.h [__USE_SVID]: Likewise.
41043         [__USE_BSD]: Likewise.
41044         * math/math.h [__USE_SVID]: Likewise.
41045         [__USE_BSD]: Likewise.
41046         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41047         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41048         * misc/search.h [__USE_SVID]: Likewise.
41049         * misc/sys/mman.h [__USE_BSD]: Likewise.
41050         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41051         * misc/sys/uio.h [__USE_BSD]: Likewise.
41052         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41053         * posix/glob.h [__USE_BSD]: Likewise.
41054         * posix/regex.h [__USE_BSD]: Likewise.
41055         * posix/sys/types.h [__USE_BSD]: Likewise.
41056         [__USE_SVID]: Likewise.
41057         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41058         * posix/sys/wait.h [__USE_BSD]: Likewise.
41059         [__USE_SVID]: Likewise.
41060         * posix/unistd.h [__USE_BSD]: Likewise.
41061         [__USE_SVID]: Likewise.
41062         * pwd/pwd.h [__USE_SVID]: Likewise.
41063         * resolv/netdb.h [__USE_BSD]: Likewise.
41064         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41065         * signal/signal.h [__USE_BSD]: Likewise.
41066         [__USE_SVID]: Likewise.
41067         * socket/sys/socket.h [__USE_BSD]: Likewise.
41068         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41069         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41070         [__USE_SVID]: Likewise.
41071         * string/bits/string2.h [__USE_BSD]: Likewise.
41072         [__USE_SVID]: Likewise.
41073         * string/bits/string3.h [__USE_BSD]: Likewise.
41074         * string/endian.h [__USE_BSD]: Likewise.
41075         * string/string.h [__USE_SVID]: Likewise.
41076         [__USE_BSD]: Likewise.
41077         * string/strings.h [__USE_BSD]: Likewise.
41078         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41079         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41080         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41081         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41082         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41083         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41084         Likewise.
41085         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41086         Likewise.
41087         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41088         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41089         Likewise.
41090         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41091         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41092         Likewise.
41093         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41094         Likewise.
41095         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41096         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41097         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41098         Likewise.
41099         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41100         Likewise.
41101         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41102         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41103         * termios/termios.h [__USE_BSD]: Likewise.
41104         * time/sys/time.h [__USE_BSD]: Likewise.
41105         * time/time.h [__USE_BSD]: Likewise.
41106         [__USE_SVID]: Likewise.
41108         * Makefile (subdir_targets): Remove subdir_lint.out.
41110         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41111         (do-tst-printf): Likewise.
41112         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41113         $(objpfx)tst-printf.out.
41115         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41117         * Makerules (check-abi-%): Change target to
41118         $(objpfx)check-abi-%.out.
41119         (check-abi target): Update dependencies.
41120         (check-abi-pattern variable): Redirect output of diff to $@.
41121         (check-abi variable): Likewise.
41122         * elf/Makefile (check-abi): Update dependencies.
41124         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41125         unused.
41126         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41127         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41128         subnormal range.
41129         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41130         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41131         value has largest subnormal exponent.
41132         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41133         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41134         * sysdeps/aarch64/soft-fp/sfp-machine.h
41135         (_FP_TININESS_AFTER_ROUNDING): New macro.
41136         * sysdeps/alpha/soft-fp/sfp-machine.h
41137         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41138         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41139         Likewise.
41140         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41141         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41142         * sysdeps/mips/soft-fp/sfp-machine.h
41143         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41144         * sysdeps/powerpc/soft-fp/sfp-machine.h
41145         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41146         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41147         Likewise.
41148         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41149         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41150         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41151         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41152         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41153         Likewise.
41155 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41157         [BZ #16545]
41158         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41159         model 1.
41161 2014-02-12  Richard Henderson  <rth@redhat.com>
41163         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41164         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41165         * sysdeps/unix/sysv/linux/alpha: Move directory from
41166         ports/sysdeps/unix/sysv/linux/alpha.
41167         * README: Update listing for alpha-*-linux-gnu.
41169 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41171         * include/features.h: Update comment documenting feature test
41172         macros.
41173         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41174         _DEFAULT_SOURCE.
41175         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41176         (_SVID_SOURCE): Likewise.
41177         (_DEFAULT_SOURCE): Update description of default features.
41178         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41179         with _GNU_SOURCE.
41180         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41181         (S_ISVTX): Likewise.
41182         * manual/math.texi (Mathematical Constants): Likewise.
41183         * manual/signal.texi (Interrupted Primitives): Likewise.
41184         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41185         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41186         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41187         Don't refer to _SVID_SOURCE in warning text.
41189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41191         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41192         already defined.
41193         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41194         * sysdeps/mips/dl-lookup.c: Remove.
41195         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41197 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41199         [BZ #16447]
41200         * math/auto-libm-test-in: Add testcase for expl.
41201         * math/auto-libm-test-out: Regenerate.
41202         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41203         calculation of unsafe.
41204         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41206 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41208         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41209         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41210         ports/sysdeps/unix/sysv/linux/aarch64.
41211         * README: Update listing for aarch64*-*-linux-gnu.
41213 2014-02-11  Will Newton  <will.newton@linaro.org>
41215         * manual/probes.texi (Mathematical Function Probes): Use
41216         "triggered" instead of "hit".
41218         * manual/probes.texi (Internal Probes): Add documentation
41219         of setjmp, longjmp and longjmp_target probes.
41221         * include/stap-probe.h: Add comment about probe argument
41222         format.
41224         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41225         definition.  (tr_where, tr_freehook, tr_mallochook,
41226         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41228 2014-02-11  David S. Miller  <davem@davemloft.net>
41230         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41231         processing int_tests.
41233 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41235         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41236         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41237         * sysdeps/unix/sysv/linux/mips: Move directory from
41238         ports/sysdeps/unix/sysv/linux/mips.
41239         * README: Update listing for mips-*-linux-gnu and
41240         mips64-*-linux-gnu.
41242 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41244         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41245         * sysdeps/unix/sysv/linux/m68k: Move directory from
41246         ports/sysdeps/unix/sysv/linux/m68k.
41247         * README: Update listing for m68k-*-linux-gnu.
41249 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41251         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41252         * sysdeps/unix/sysv/linux/generic: Move directory from
41253         ports/sysdeps/unix/sysv/linux/generic.
41254         * sysdeps/unix/sysv/linux/tile: Move directory from
41255         ports/sysdeps/unix/sysv/linux/tile.
41256         * README: Update listing for tile*-*-linux-gnu.
41258 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41260         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41261         __builtin_expect.
41262         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41263         * catgets/open_catalog.c (__open_catalog): Likewise.
41264         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41265         * debug/confstr_chk.c: Likewise.
41266         * debug/fread_chk.c (__fread_chk): Likewise.
41267         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41268         * debug/getgroups_chk.c: Likewise.
41269         * debug/mbsnrtowcs_chk.c: Likewise.
41270         * debug/mbsrtowcs_chk.c: Likewise.
41271         * debug/mbstowcs_chk.c: Likewise.
41272         * debug/memcpy_chk.c: Likewise.
41273         * debug/memmove_chk.c: Likewise.
41274         * debug/mempcpy_chk.c: Likewise.
41275         * debug/memset_chk.c: Likewise.
41276         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41277         * debug/strcat_chk.c (__strcat_chk): Likewise.
41278         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41279         * debug/strncat_chk.c (__strncat_chk): Likewise.
41280         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41281         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41282         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41283         * debug/wcpncpy_chk.c: Likewise.
41284         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41285         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41286         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41287         * debug/wcsncpy_chk.c: Likewise.
41288         * debug/wcsnrtombs_chk.c: Likewise.
41289         * debug/wcsrtombs_chk.c: Likewise.
41290         * debug/wcstombs_chk.c: Likewise.
41291         * debug/wmemcpy_chk.c: Likewise.
41292         * debug/wmemmove_chk.c: Likewise.
41293         * debug/wmempcpy_chk.c: Likewise.
41294         * debug/wmemset_chk.c: Likewise.
41295         * dirent/scandirat.c (SCANDIRAT): Likewise.
41296         * dlfcn/dladdr1.c (dladdr1): Likewise.
41297         * dlfcn/dladdr.c (dladdr): Likewise.
41298         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41299         * dlfcn/dlerror.c (__dlerror): Likewise.
41300         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41301         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41302         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41303         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41304         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41305         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41306         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41307         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41308         Likewise.
41309         * elf/dl-conflict.c: Likewise.
41310         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41311         * elf/dl-dst.h: Likewise.
41312         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41313         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41314         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41315         * elf/dl-init.c (call_init, _dl_init): Likewise.
41316         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41317         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41318         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41319         Likewise.
41320         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41321         Likewise.
41322         * elf/dl-minimal.c (__libc_memalign): Likewise.
41323         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41324         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41325         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41326         * elf/dl-sym.c (do_sym): Likewise.
41327         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41328         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41329         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41330         * elf/dl-writev.h (_dl_writev): Likewise.
41331         * elf/ldconfig.c (search_dir): Likewise.
41332         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41333         (dl_main): Likewise.
41334         * elf/setup-vdso.h (setup_vdso): Likewise.
41335         * grp/compat-initgroups.c (compat_call): Likewise.
41336         * grp/fgetgrent.c (fgetgrent): Likewise.
41337         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41338         * grp/putgrent.c (putgrent): Likewise.
41339         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41340         Likewise.
41341         * hurd/hurdinit.c: Likewise.
41342         * iconvdata/8bit-gap.c (struct): Likewise.
41343         * iconvdata/ansi_x3.110.c : Likewise.
41344         * iconvdata/big5.c : Likewise.
41345         * iconvdata/big5hkscs.c : Likewise.
41346         * iconvdata/cp1255.c: Likewise.
41347         * iconvdata/cp1258.c : Likewise.
41348         * iconvdata/cp932.c : Likewise.
41349         * iconvdata/euc-cn.c: Likewise.
41350         * iconvdata/euc-jisx0213.c : Likewise.
41351         * iconvdata/euc-jp.c: Likewise.
41352         * iconvdata/euc-jp-ms.c : Likewise.
41353         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41354         * iconvdata/gb18030.c : Likewise.
41355         * iconvdata/gbbig5.c (const): Likewise.
41356         * iconvdata/gbgbk.c: Likewise.
41357         * iconvdata/gbk.c : Likewise.
41358         * iconvdata/ibm1364.c : Likewise.
41359         * iconvdata/ibm930.c : Likewise.
41360         * iconvdata/ibm932.c: Likewise.
41361         * iconvdata/ibm933.c : Likewise.
41362         * iconvdata/ibm935.c : Likewise.
41363         * iconvdata/ibm937.c : Likewise.
41364         * iconvdata/ibm939.c : Likewise.
41365         * iconvdata/ibm943.c: Likewise.
41366         * iconvdata/iso_11548-1.c: Likewise.
41367         * iconvdata/iso-2022-cn.c : Likewise.
41368         * iconvdata/iso-2022-cn-ext.c : Likewise.
41369         * iconvdata/iso-2022-jp-3.c: Likewise.
41370         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41371         * iconvdata/iso-2022-kr.c : Likewise.
41372         * iconvdata/iso646.c (gconv_end): Likewise.
41373         * iconvdata/iso_6937-2.c : Likewise.
41374         * iconvdata/iso_6937.c : Likewise.
41375         * iconvdata/iso8859-1.c: Likewise.
41376         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41377         * iconvdata/shift_jisx0213.c : Likewise.
41378         * iconvdata/sjis.c : Likewise.
41379         * iconvdata/t.61.c : Likewise.
41380         * iconvdata/tcvn5712-1.c : Likewise.
41381         * iconvdata/tscii.c: Likewise.
41382         * iconvdata/uhc.c : Likewise.
41383         * iconvdata/unicode.c (gconv_end): Likewise.
41384         * iconvdata/utf-16.c (gconv_end): Likewise.
41385         * iconvdata/utf-32.c (gconv_end): Likewise.
41386         * iconvdata/utf-7.c (base64): Likewise.
41387         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41388         * iconv/gconv_close.c (__gconv_close): Likewise.
41389         * iconv/gconv_open.c (__gconv_open): Likewise.
41390         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41391         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41392         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41393         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41394         (ucs4le_internal_loop_single): Likewise.
41395         * iconv/iconv.c (iconv): Likewise.
41396         * iconv/iconv_close.c: Likewise.
41397         * iconv/loop.c (SINGLE): Likewise.
41398         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41399         * include/atomic.h: Likewise.
41400         * inet/inet6_option.c (option_alloc): Likewise.
41401         * intl/bindtextdom.c (set_binding_values): Likewise.
41402         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41403         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41404         * intl/localealias.c (read_alias_file): Likewise.
41405         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41406         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41407         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41408         * libio/fmemopen.c (fmemopen): Likewise.
41409         * libio/iofgets.c (_IO_fgets): Likewise.
41410         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41411         * libio/iofgetws.c (fgetws): Likewise.
41412         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41413         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41414         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41415         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41416         * locale/findlocale.c (_nl_find_locale): Likewise.
41417         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41418         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41419         Likewise.
41420         * locale/setlocale.c (setlocale): Likewise.
41421         * login/programs/pt_chown.c (main): Likewise.
41422         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41423         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41424         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41425         (mmap, mmap64, mremap, munmap): Likewise.
41426         * math/e_exp2l.c: Likewise.
41427         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41428         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41429         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41430         * math/s_catan.c (__catan): Likewise.
41431         * math/s_catanf.c (__catanf): Likewise.
41432         * math/s_catanh.c (__catanh): Likewise.
41433         * math/s_catanhf.c (__catanhf): Likewise.
41434         * math/s_catanhl.c (__catanhl): Likewise.
41435         * math/s_catanl.c (__catanl): Likewise.
41436         * math/s_ccosh.c (__ccosh): Likewise.
41437         * math/s_ccoshf.c (__ccoshf): Likewise.
41438         * math/s_ccoshl.c (__ccoshl): Likewise.
41439         * math/s_cexp.c (__cexp): Likewise.
41440         * math/s_cexpf.c (__cexpf): Likewise.
41441         * math/s_cexpl.c (__cexpl): Likewise.
41442         * math/s_clog10.c (__clog10): Likewise.
41443         * math/s_clog10f.c (__clog10f): Likewise.
41444         * math/s_clog10l.c (__clog10l): Likewise.
41445         * math/s_clog.c (__clog): Likewise.
41446         * math/s_clogf.c (__clogf): Likewise.
41447         * math/s_clogl.c (__clogl): Likewise.
41448         * math/s_csin.c (__csin): Likewise.
41449         * math/s_csinf.c (__csinf): Likewise.
41450         * math/s_csinh.c (__csinh): Likewise.
41451         * math/s_csinhf.c (__csinhf): Likewise.
41452         * math/s_csinhl.c (__csinhl): Likewise.
41453         * math/s_csinl.c (__csinl): Likewise.
41454         * math/s_csqrt.c (__csqrt): Likewise.
41455         * math/s_csqrtf.c (__csqrtf): Likewise.
41456         * math/s_csqrtl.c (__csqrtl): Likewise.
41457         * math/s_ctan.c (__ctan): Likewise.
41458         * math/s_ctanf.c (__ctanf): Likewise.
41459         * math/s_ctanh.c (__ctanh): Likewise.
41460         * math/s_ctanhf.c (__ctanhf): Likewise.
41461         * math/s_ctanhl.c (__ctanhl): Likewise.
41462         * math/s_ctanl.c (__ctanl): Likewise.
41463         * math/w_pow.c: Likewise.
41464         * math/w_powf.c: Likewise.
41465         * math/w_powl.c: Likewise.
41466         * math/w_scalb.c (sysv_scalb): Likewise.
41467         * math/w_scalbf.c (sysv_scalbf): Likewise.
41468         * math/w_scalbl.c (sysv_scalbl): Likewise.
41469         * misc/error.c (error_tail): Likewise.
41470         * misc/pselect.c (__pselect): Likewise.
41471         * nis/nis_callback.c (__nis_create_callback): Likewise.
41472         * nis/nis_call.c (__nisfind_server): Likewise.
41473         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41474         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41475         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41476         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41477         * nis/nis_lookup.c (nis_lookup): Likewise.
41478         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41479         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41480         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41481         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41482         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41483         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41484         * nis/nss_compat/compat-initgroups.c (add_group)
41485         (internal_getgrent_r): Likewise.
41486         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41487         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41488         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41489         (internal_getspnam_r): Likewise.
41490         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41491         (_nss_nis_getaliasbyname_r): Likewise.
41492         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41493         (_nss_nis_getntohost_r): Likewise.
41494         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41495         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41496         (_nss_nis_getgrgid_r): Likewise.
41497         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41498         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41499         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41500         (_nss_nis_gethostbyname4_r): Likewise.
41501         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41502         (initgroups_netid): Likewise.
41503         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41504         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41505         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41506         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41507         (_nss_nis_getprotobynumber_r): Likewise.
41508         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41509         (_nss_nis_getsecretkey): Likewise.
41510         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41511         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41512         (_nss_nis_getpwuid_r): Likewise.
41513         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41514         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41515         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41516         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41517         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41518         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41519         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41520         Likewise.
41521         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41522         (_nss_nisplus_getntohost_r): Likewise.
41523         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41524         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41525         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41526         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41527         Likewise.
41528         * nis/nss_nisplus/nisplus-initgroups.c
41529         (_nss_nisplus_initgroups_dyn): Likewise.
41530         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41531         (_nss_nisplus_getnetbyaddr_r): Likewise.
41532         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41533         (_nss_nisplus_getprotobynumber_r): Likewise.
41534         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41535         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41536         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41537         Likewise.
41538         * nis/nss_nisplus/nisplus-service.c
41539         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41540         (_nss_nisplus_getservbyport_r): Likewise.
41541         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41542         (_nss_nisplus_getspnam_r): Likewise.
41543         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41544         Likewise.
41545         * nscd/aicache.c (addhstaiX): Likewise.
41546         * nscd/cache.c (cache_search, prune_cache): Likewise.
41547         * nscd/connections.c (register_traced_file, send_ro_fd)
41548         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41549         (main_loop_epoll): Likewise.
41550         * nscd/grpcache.c (addgrbyX): Likewise.
41551         * nscd/hstcache.c (addhstbyX): Likewise.
41552         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41553         * nscd/mem.c (gc, mempool_alloc): Likewise.
41554         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41555         (addinnetgrX): Likewise.
41556         * nscd/nscd-client.h (__nscd_acquire_maplock)
41557         (__nscd_drop_map_ref): Likewise.
41558         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41559         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41560         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41561         Likewise.
41562         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41563         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41564         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41565         (__nscd_get_map_ref): Likewise.
41566         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41567         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41568         Likewise.
41569         * nscd/pwdcache.c (addpwbyX): Likewise.
41570         * nscd/selinux.c (preserve_capabilities): Likewise.
41571         * nscd/servicescache.c (addservbyX): Likewise.
41572         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41573         * posix/fnmatch.c (fnmatch): Likewise.
41574         * posix/getopt.c (_getopt_internal_r): Likewise.
41575         * posix/glob.c (glob, glob_in_dir): Likewise.
41576         * posix/wordexp.c (exec_comm_child): Likewise.
41577         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41578         (getanswer_r, gaih_getanswer_slice): Likewise.
41579         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41580         * resolv/res_init.c: Likewise.
41581         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41582         * resolv/res_query.c (__libc_res_nquery): Likewise.
41583         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41584         Likewise.
41585         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41586         * stdio-common/perror.c (perror): Likewise.
41587         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41588         * stdio-common/tmpnam.c (tmpnam): Likewise.
41589         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41590         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41591         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41592         Likewise.
41593         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41594         * stdlib/putenv.c (putenv): Likewise.
41595         * stdlib/setenv.c (__add_to_environ): Likewise.
41596         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41597         * stdlib/strtol_l.c (INTERNAL): Likewise.
41598         * string/memmem.c (memmem): Likewise.
41599         * string/strerror.c (strerror): Likewise.
41600         * string/strnlen.c (__strnlen): Likewise.
41601         * string/test-memmem.c (simple_memmem): Likewise.
41602         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41603         * sunrpc/pm_getport.c (__get_socket): Likewise.
41604         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41605         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41606         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41607         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41608         Likewise.
41609         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41610         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41611         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41612         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41613         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41614         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41615         Likewise.
41616         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41617         Likewise.
41618         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41619         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41620         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41621         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41622         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41624         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41625         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41626         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41627         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41628         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41629         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41630         Likewise.
41631         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41632         Likewise.
41633         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41634         Likewise.
41635         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41636         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41637         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41638         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41639         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41640         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41641         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41642         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41643         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41644         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41645         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41646         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41647         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41648         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41650         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41651         Likewise.
41652         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41653         Likewise.
41654         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41655         Likewise.
41656         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41657         Likewise.
41658         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41659         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41660         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41661         Likewise.
41662         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41663         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41664         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41665         * sysdeps/posix/sleep.c: Likewise.
41666         * sysdeps/posix/tempname.c: Likewise.
41667         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41668         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41669         Likewise.
41670         * sysdeps/powerpc/powerpc32/dl-machine.h
41671         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41672         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41674         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41675         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41676         Likewise.
41677         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41678         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41679         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41680         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41681         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41682         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41683         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41684         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41685         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41686         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41687         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41688         (elf_machine_lazy_rel): Likewise.
41689         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41690         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41691         (elf_machine_lazy_rel): Likewise.
41692         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41693         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41694         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41695         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41696         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41697         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41698         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41699         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41700         Likewise.
41701         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41702         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41703         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41704         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41705         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41706         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41707         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41708         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41709         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41710         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41711         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41712         Likewise.
41713         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41714         (__posix_fallocate64_l64): Likewise.
41715         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41716         (posix_fallocate): Likewise.
41717         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41718         Likewise.
41719         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41720         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41721         (getifaddrs_internal): Likewise.
41722         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41723         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41724         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41725         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41726         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41727         (__posix_fallocate64_l64): Likewise.
41728         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41729         Likewise.
41730         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41731         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41732         (__get_clockfreq): Likewise.
41733         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41734         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41735         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41736         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41737         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41738         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41739         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41740         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41741         Likewise.
41742         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41743         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41744         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41745         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41746         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41747         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41748         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41749         Likewise.
41750         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41751         (posix_fallocate): Likewise.
41752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41753         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41754         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41755         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41756         (elf_machine_rela, elf_machine_rela_relative)
41757         (elf_machine_lazy_rel): Likewise.
41758         * time/asctime.c (asctime_internal): Likewise.
41759         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41760         * time/tzset.c (__tzset_parse_tz): Likewise.
41761         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41762         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41763         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41764         * wcsmbs/wcsmbsload.h: Likewise.
41766         [BZ #15894]
41767         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41769         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41770         (arena_get2): Remove THREAD_STATS conditionals.
41771         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41772         (__malloc_stats, int): Likewise.
41774 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41776         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41777         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41779         * manual/setjmp.texi: Fix typos/grammar errors.
41781         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41782         Only return early when n is <= 0.  Delete unused return statement.
41784         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41785         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41786         * debug/tst-longjmp_chk3.c: New file.
41788         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41789         (test_main): Replace code with set_fortify_handler call.
41790         * debug/test-strcpy_chk.c: Likewise.
41791         * debug/tst-chk1.c: Likewise.
41792         * debug/tst-longjmp_chk.c: Likewise.
41793         * test-skeleton.c: Include fcntl.h & paths.h
41794         (set_fortify_handler): Define.
41796         * debug/tst-longjmp_chk.c: Add header comment and include
41797         ../test-skeleton.c.
41798         (do_test): Mark static.
41799         (TEST_FUNCTION): Define.
41801         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41802         (IP_PMTUDISC_INTERFACE): Likewise.
41803         (IP_MULTICAST_IF): Likewise.
41804         (IP_MULTICAST_TTL): Likewise.
41805         (IP_MULTICAST_LOOP): Likewise.
41806         (IP_ADD_MEMBERSHIP): Likewise.
41807         (IP_DROP_MEMBERSHIP): Likewise.
41808         (IP_UNBLOCK_SOURCE): Likewise.
41809         (IP_BLOCK_SOURCE): Likewise.
41810         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41811         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41812         (IP_MSFILTER): Likewise.
41813         (MCAST_JOIN_GROUP): Likewise.
41814         (MCAST_BLOCK_SOURCE): Likewise.
41815         (MCAST_UNBLOCK_SOURCE): Likewise.
41816         (MCAST_LEAVE_GROUP): Likewise.
41817         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41818         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41819         (MCAST_MSFILTER): Likewise.
41820         (IP_MULTICAST_ALL): Likewise.
41821         (IP_UNICAST_IF): Likewise.
41823         * timezone/Makefile: Delete $(have-ksh) check.
41824         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41825         * timezone/tzselect.ksh: Add +x mode bits.
41827         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41828         (ANON_INODE_FS_MAGIC): Likewise.
41829         (BDEVFS_MAGIC): Likewise.
41830         (BINFMTFS_MAGIC): Likewise.
41831         (BTRFS_TEST_MAGIC): Likewise.
41832         (CRAMFS_MAGIC_WEND): Likewise.
41833         (DEBUGFS_MAGIC): Likewise.
41834         (ECRYPTFS_SUPER_MAGIC): Likewise.
41835         (EXT3_SUPER_MAGIC): Likewise.
41836         (EXT4_SUPER_MAGIC): Likewise.
41837         (FUTEXFS_SUPER_MAGIC): Likewise.
41838         (HOSTFS_SUPER_MAGIC): Likewise.
41839         (HUGETLBFS_MAGIC): Likewise.
41840         (MINIX3_SUPER_MAGIC): Likewise.
41841         (MTD_INODE_FS_MAGIC): Likewise.
41842         (NILFS_SUPER_MAGIC): Likewise.
41843         (OPENPROM_SUPER_MAGIC): Likewise.
41844         (PIPEFS_MAGIC): Likewise.
41845         (PSTOREFS_MAGIC): Likewise.
41846         (QNX6_SUPER_MAGIC): Likewise.
41847         (RAMFS_MAGIC): Likewise.
41848         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41849         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41850         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41851         (SECURITYFS_MAGIC): Likewise.
41852         (SELINUX_MAGIC): Likewise.
41853         (SMACK_MAGIC): Likewise.
41854         (SOCKFS_MAGIC): Likewise.
41855         (SQUASHFS_MAGIC): Likewise.
41856         (STACK_END_MAGIC): Likewise.
41857         (TMPFS_MAGIC): Likewise.
41858         (USBDEVICE_SUPER_MAGIC): Likewise.
41859         (V9FS_MAGIC): Likewise.
41860         (XENFS_SUPER_MAGIC): Likewise.
41861         (CRAMFS_MAGIC): Fix typo in comment.
41862         (EXT2_SUPER_MAGIC): Update comment.
41863         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41865 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41867         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41868         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41869         * sysdeps/unix/sysv/linux/arm: Move directory from
41870         ports/sysdeps/unix/sysv/linux/arm.
41871         * README: Update listing for arm-*-linux-gnueabi.
41873         * README: Remove mention of am33.
41875 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41877         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41878         than the comma operator, to avoid "rhs of comma has no effect"
41879         compiler warnings.
41880         (__sigfillset, __sigandset, __sigorset): Likewise.
41881         * include/signal.h (__sigemptyset): Likewise.
41882         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41884 2014-02-07  Allan McRae  <allan@archlinux.org>
41886         * version.h (RELEASE): Set to "development".
41887         (VERSION): Set to "2.19.90"
41888         * NEWS: Add 2.20 section.
41890 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41892         [BZ #16529]
41893         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41895 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41897         * manual/contrib.texi: Update entry for Carlos O'Donell,
41898         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41900 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41902         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41904         * sysdeps/unix/sysv/linux/kernel-features.h
41905         [__LINUX_KERNEL_VERSION >= 0x020621]
41906         (__ASSUME_PROC_PID_TASK_COMM): Define.
41908 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41910         [BZ #16398]
41911         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41912         conversion when destination buffer does not have enough space.
41913         * libio/tst-ftell-partial-wide.c: New test case.
41914         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41916         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41917         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41918         Leonard and Allan McRae.
41920 2014-02-04  David S. Miller  <davem@davemloft.net>
41922         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41923         32-bit.
41925 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41928         New file
41929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41930         New file
41931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41932         New file.
41933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41934         New file.
41935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41936         New file.
41937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41938         New file.
41939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41940         New file.
41941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41942         New file.
41943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41944         New file.
41945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41946         New file.
41947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41948         New file.
41949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41950         New file.
41951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41952         New file.
41954 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41956         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41957         * shlib-versions: Likewise.
41959 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41960             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41962         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41963         (abilist-pattern): New variable, set to %-le.abilist.
41965         * Makerules (abilist-pattern): New variable.
41966         (vpath): Use $(abilist-pattern) in place of %.abilist.
41967         (check-abi-% pattern rule): Likewise.
41968         (check-abi, update-abi): Likewise.
41970 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41972         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41974 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41976         * manual/startup.texi: Add next, previous, and top entries for
41977         the `Program Arguments' and `Environment Variables' nodes.
41979 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41981         * manual/macros.texi: Add comments before MTASC-safety macros.
41983         * manual/users.texi: Document MTASC-safety properties.
41985         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41986         (pthread_getspecific, pthread_setspecific): Format with
41987         @deftypefun, and add @safety note.
41988         * manual/signal.texi: Move comments that analyze the above
41989         functions to their home place.
41991 2014-02-03  Allan McRae  <allan@archlinux.org>
41993         * po/sl.po: Update Slovenian translation from translation project.
41995 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41997         * manual/time.texi (timegm): Add missing blank after @c.
41998         Reported by Joseph Myers <joseph@codesourcery.com>.
42000 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42002         * manual/check-safety.sh: New.
42003         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42005         * manual/terminal.texi: Document MTASC-safety properties.
42007         * manual/filesys.texi: Document MTASC-safety properties.
42009         * manual/errno.texi: Document MTASC-safety properties.
42011         * manual/intro.texi: Document safety identifiers and
42012         conditionals.
42014         * manual/string.texi (wcstok): Fix prototype.
42015         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42017         * manual/time.texi: Document MTASC-safety properties.
42019         * manual/string.texi: Document MTASC-safety properties.
42021         * manual/threads.texi: Document MTASC-safety properties.
42023         * manual/stdio.texi: Document MTASC-safety properties.
42025         * manual/syslog.texi: Document MTASC-safety properties.
42027         * manual/sysinfo.texi: Document MTASC-safety properties.
42029         * manual/startup.texi: Document MTASC-safety properties.
42031         * manual/socket.texi: Document MTASC-safety properties.
42033         * manual/signal.texi: Document MTASC-safety properties.
42035 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42037         * manual/setjmp.texi: Document MTASC-safety properties.
42039         * manual/search.texi: Document MTASC-safety properties.
42041         * manual/resource.texi: Document MTASC-safety properties.
42043         * manual/process.texi: Document MTASC-safety properties.
42045         * manual/platform.texi: Document MTASC-safety properties.
42047         * manual/pipe.texi: Document MTASC-safety properties.
42049         * manual/pattern.texi: Document MTASC-safety properties.
42051         * manual/message.texi: Document MTASC-safety properties.
42053         [BZ #12751]
42054         * manual/memory.texi: Document MTASC-safety properties.
42056         * manual/math.texi: Document MTASC-safety properties.
42058         * manual/locale.texi: Document MTASC-safety properties.
42060         * manual/llio.texi: Document MTASC-safety properties.
42062         * manual/libdl.texi: New.
42064         * manual/lang.texi: Document MTASC-safety properties.
42066         * manual/job.texi: Document MTASC-safety properties.
42068         * manual/getopt.texi: Document MTASC-safety properties.
42070         * manual/ctype.texi: Document MTASC-safety properties.
42072 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42074         [BZ #16046]
42075         * csu/libc-tls.c (static_map): Remove variable.
42076         (__libc_setup_tls): Use main executable's link map for TLS data.
42077         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42078         casing for LM_ID_BASE and GL(dl_nns).
42079         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42080         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42081         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42082         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42083         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42084         member.
42085         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42086         l_phnum members.
42088 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42090         * manual/debug.texi: Document MTASC-safety properties.
42092 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42094         [BZ #16510]
42095         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42096         of __x86_64__ when disabling x87 inline functions.
42098 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42100         * manual/charset.texi: Document MTASC-safety properties.
42102         * manual/crypt.texi: Document MTASC-safety properties.
42104         * manual/conf.texi: Document MTASC-safety properties.
42106         * manual/arith.texi: Document MTASC-safety properties.
42108         * manual/argp.texi: Document MTASC-safety properties.
42110         * manual/macros.texi: Introduce macros to document multi
42111         thread, asynchronous signal and asynchronous cancellation
42112         safety properties.
42113         * manual/intro.texi: Introduce the properties themselves.
42115 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42117         * sysdeps/sh/sh4/Makefile: New file.
42119 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42121         * math/gen-libm-test.pl ($srcdir): New variable.
42122         ($auto_input): Use it.
42124 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42126         [BZ #16506]
42127         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42128         access beyond array bounds when parsing netgroups file.
42130         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42131         the old buffer before realloc.
42133 2014-01-27  Allan McRae  <allan@archlinux.org>
42135         * po/fr.po: Update French translation from translation project.
42137 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42139         * sysdeps/sh/libm-test-ulps: Regenerate.
42141 2014-01-24  David S. Miller  <davem@davemloft.net>
42143         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42145 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42147         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42148         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42150 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42152         [BZ #16474]
42153         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42154         string pointers after reallocation.
42156 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42158         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42159         __SH4A__ instead of __SH_FPU_ANY__.
42161 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42163         * sysdeps/sh/fpu_control.h: New file.
42164         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42165         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42166         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42167         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42168         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42169         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42170         * sysdeps/sh/sys/ucontext.h: Remove.
42171         * sysdeps/sh/sys: Remove directory.
42173 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42175         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42176         s390/sys/ucontext.h.
42177         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42178         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42180 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42182         [BZ #15605]
42183         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42185 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42187         [BZ#16431]
42188         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42189         Adjust the vDSO correctly for internal calls.
42190         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42192 2014-01-20  Allan McRae  <allan@archlinux.org>
42194         * po/ca.po: Update Catalan translation from translation project.
42196 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42198         * sysdeps/s390/sotruss-lib.c: New file.
42200 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42202         [BZ#16430]
42203         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42204         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42205         local calls issues by not having a PLT stub required for IFUNC calls.
42206         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42208 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42210         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42211         * math/test-fpucw-static.c: Likewise.
42213 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42215         [BZ #16453]
42216         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42218 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42220         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42221         implementation for powerpc.
42223 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42225         [BZ #14782]
42226         * sysdeps/posix/system.c (__libc_system): Do not enable
42227         asynchronous cancellation.
42229 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42231         [BZ #16427]
42232         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42233         handling only for numbers special also in the IEEE case.
42235 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42237         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42239 2014-01-11  Allan McRae  <allan@archlinux.org>
42241         * po/bg.po: Update Bulgarian translation from translation project.
42243         * po/de.po: Update German translation from translation project.
42245 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42247         * sysdeps/generic/gcc-compat.h: New file.
42249 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42251         * benchtests/asin-inputs: Correct slow inputs.
42252         * benchtests/acos-inputs: Likewise.
42254 2014-01-10  Allan McRae  <allan@archlinux.org>
42256         * po:sv.po: Update Swedish translation from translation project.
42258         * po/vi.po: Update Vietnamese translation from translation project.
42260         * po/eo.po: Update Esperanto translation from translation project.
42262         * po/cs.po: Update Czech translation from translation project.
42264         * po/nl.po: Update Dutch translation from translation project.
42266         * po/pl.po: Update Polish translation from translation project.
42268         * po/ru.po: Update Russian translation from translation project.
42270         * po/uk.po: Update Ukrainian translation from translation project.
42272 2014-01-08  Brooks Moses  <bmoses@google.com>
42274         * elf/dl-load.c: Fix comment typo.
42276 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42278         * po/header.pot: Rename to...
42279         * po/pot.header: ... this.
42280         * po/Makefile: Use pot.header.
42282 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42283             Maxim Kuvyrkov  <maxim@kugelworks.com>
42285         [BZ #16394]
42286         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42287         SRC and DEST against LEN.
42289 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42291         [BZ #16414]
42292         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42293         implementation.
42294         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42296 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42300 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42302         [BZ #16408]
42303         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42304         for large positive arguments.
42306 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42308         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42310         * math/auto-libm-test-in: Mark various tests with
42311         xfail-rounding:ldbl-128ibm.
42312         * math/auto-libm-test-out: Regenerated.
42314         [BZ #16407]
42315         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42316         Increase overflow threshold.
42318 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42320         [BZ #14286]
42321         * stdio-common/vfprintf.c: Check for integer overflow.
42323 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42325         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42326         the first argument and return value of __tls_get_addr_internal.
42328 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42330         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42331         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42333 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42335         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42336         * sysdeps/s390/rtld-global-offsets.sym: New file.
42337         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42338         GLIBC_2.19 symbol.
42339         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42340         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42341         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42342         ... this.
42343         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42344         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42345         ... this.
42346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42347         Regenerate.
42348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42349         Regenerate.
42350         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42351         halfs of GPRs for high_gprs contexts.
42352         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42353         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42354         field.
42355         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42356         uc_flags field.
42357         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42358         64 bit versions:
42359         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42360         for high GPRs (uc_high_gprs) and for future extensions
42361         (__reserved).
42362         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42363         for future extensions (__reserved).
42364         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42365         64 bit versions:
42366         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42367         SC_HIGHGPRS offset definition.
42368         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42369         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42371         * Versions.def: Add GLIBC_2.19 for libpthread.
42372         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42373         siglongjmp for libpthread with GLIBC_2.19 symver.
42374         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42375         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42376         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42377         * sysdeps/s390/__longjmp.c: New file.
42378         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42379         * sysdeps/s390/longjmp.c: New file.
42380         * sysdeps/s390/setjmp.S: New file.
42381         * sysdeps/s390/sigjmp.S: New file.
42382         * sysdeps/s390/v1-longjmp.c: New file.
42383         * sysdeps/s390/v1-setjmp.h: New file.
42384         * sysdeps/s390/v1-sigjmp.c: New file.
42385         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42386         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42387         GLIBC_2.19 version.
42388         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42389         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42390         versioned symbols for ____longjmp_chk.
42391         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42392         Likewise.
42393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42394         Regenerate.
42395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42396         Regenerate.
42397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42398         Regenerate.
42399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42400         Regenerate.
42401         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42402         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42403         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42404         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42405         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42406         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42407         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42408         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42409         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42410         * sysdeps/s390/rtld-__longjmp.c: New file.
42411         * sysdeps/s390/rtld-setjmp.S: New file.
42413 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42415         [BZ #16400]
42416         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42417         Return -__logl (x) for small positive arguments without evaluating
42418         a polynomial.
42420 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42422         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42423         Rename to ...
42424         (__ptrace_peeksiginfo_args): ... this.
42425         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42426         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42427         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42429 2014-01-06  Allan McRae  <allan@archlinux.org>
42431         * inet/netinet/in.h: Fix typo in comment.
42433 2014-01-05  Andreas Jaeger  <aj@suse.de>
42435         * sysdeps/i386/fpu/libm-test-ulps: Update.
42437 2014-01-05  Allan McRae  <allan@archlinux.org>
42439         * po/libc.pot: Regenerated.
42441         * malloc/memusagestat.c: Fix gettext call formatting.
42443 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42445         * nscd/nscd.c: Improve usage() output.
42447 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42449         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42450         * sysdeps/unix/sysv/linux/configure: Regenerated.
42451         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42452         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42454 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42456         [BZ #16390]
42457         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42458         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42460 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42462         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42463         extra tokens at end of #undef directive.
42464         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42465         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42466         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42468 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42470         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42472         * math/auto-libm-test-in: Mark various tests with
42473         xfail-rounding:ldbl-128ibm.
42474         * math/auto-libm-test-out: Regenerated.
42476 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42478         [BZ #16386]
42479         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42480         numbers with subnormal high part when calculating exponent.
42482         [BZ #16385]
42483         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42484         fabs.
42486         [BZ #16384]
42487         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42488         M_LN2l.
42489         (__ieee754_acoshl): Use __log1pl not __log1p.
42491 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42493         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42494         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42495         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42496         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42497         (reused_arena, arena_get2): Convert to GNU style.
42498         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42499         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42500         (memalign_check, __malloc_set_state): Likewise.
42501         * malloc/mallocbug.c (main): Likewise.
42502         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42503         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42504         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42505         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42506         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42507         (__posix_memalign, malloc_info): Likewise.
42508         * malloc/malloc.h: Likewise.
42509         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42510         (mallochook, memalignhook, reallochook, mabort): Likewise.
42511         * malloc/mcheck.h: Likewise.
42512         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42513         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42514         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42515         * malloc/morecore.c (__default_morecore): Likewise.
42516         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42517         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42518         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42519         (print_and_abort): Likewise.
42520         * malloc/obstack.h: Likewise.
42521         * malloc/set-freeres.c (__libc_freeres): Likewise.
42522         * malloc/tst-mallocstate.c (main): Likewise.
42523         * malloc/tst-mtrace.c (main): Likewise.
42524         * malloc/tst-realloc.c (do_test): Likewise.
42526 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42528         [BZ #16366]
42529         * nscd/netgroupcache.c (do_notfound): New function.
42530         (addgetnetgrentX): Use it.
42532         [BZ # 16365]
42533         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42534         NSS_STATUS_NOTFOUND.
42536 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42538         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42541 2014-01-01  Allan McRae  <allan@archlinux.org>
42543         * scripts/update-copyrights: Update configure input file suffix.
42545         * NEWS: Update copyright year.
42546         * catgets/gencat.c: Likewise.
42547         * csu/version.c: Likewise.
42548         * debug/catchsegv.sh: Likewise.
42549         * debug/pcprofiledump.c: Likewise.
42550         * debug/xtrace.sh: Likewise.
42551         * elf/ldconfig.c: Likewise.
42552         * elf/ldd.bash.in: Likewise.
42553         * elf/pldd.c: Likewise.
42554         * elf/sotruss.ksh: Likewise.
42555         * elf/sprof.c: Likewise.
42556         * iconv/iconv_prog.c: Likewise.
42557         * iconv/iconvconfig.c: Likewise.
42558         * locale/programs/locale.c: Likewise.
42559         * locale/programs/localedef.c: Likewise.
42560         * login/programs/pt_chown.c: Likewise.
42561         * malloc/memusage.sh: Likewise.
42562         * malloc/memusagestat.c: Likewise.
42563         * malloc/mtrace.pl: Likewise.
42564         * manual/libc.texinfo: Likewise.
42565         * nscd/nscd.c: Likewise.
42566         * nss/getent.c: Likewise.
42567         * nss/makedb.c: Likewise.
42568         * posix/getconf.c: Likewise.
42569         * scripts/test-installation.pl: Likewise.
42571         * All files with FSF copyright notices: Update copyright dates
42572         using scripts/update-copyrights.
42573         * intl/plural.c: Regenerated.
42574         * locale/programs/charmap-kw.h: Likewise.
42575         * locale/programs/locfile-kw.h: Likewise.
42577 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42579         * sysdeps/unix/sysv/linux/configure: Regenerated.
42580         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42581         the linux/fanotify.h header.
42582         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42583         HAVE_LINUX_FANOTIFY_H is defined.
42585 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42587         * benchtests/cos-inputs: New inputs.
42588         * benchtests/sin-inputs: Likewise.
42590         * benchtests/atan-inputs: New inputs. Fix name of multiple
42591         precision fallback inputs.
42593         * benchtests/atanh-inputs: New inputs.
42594         * benchtests/tanh-inputs: Likewise.
42596         * benchtests/acosh-inputs: New inputs.
42597         * benchtests/asinh-inputs: Likewise.
42599         * benchtests/cosh-inputs: New inputs.
42600         * benchtests/sinh-inputs: Likewise.
42602         * benchtests/acos-inputs: Add more inputs.
42603         * benchtests/asin-inputs: Likewise.
42605 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42607         [BZ #16375]
42608         * manual/arith.texi: Fix spelling.
42609         * manual/charset.texi: Likewise.
42610         * manual/errno.texi: Likewise.
42611         * manual/filesys.texi: Likewise.
42612         * manual/lang.texi: Likewise.
42613         * manual/llio.texi: Likewise.
42614         * manual/locale.texi: Likewise.
42615         * manual/message.texi: Likewise.
42616         * manual/resource.texi: Likewise.
42617         * manual/search.texi: Likewise.
42618         * manual/setjmp.texi: Likewise.
42619         * manual/stdio.texi: Likewise.
42620         * manual/string.texi: Likewise.
42621         * manual/sysinfo.texi: Likewise.
42622         * manual/time.texi: Likewise.
42624 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42626         * po/sl.po: New file.
42628 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42630         * .gitignore: Add core/.gdbinit/.gdb_history.
42632 2013-12-27  Allan McRae  <allan@archlinux.org>
42634         [BZ #16369]
42635         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42636         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42638 2013-12-24  Brooks Moses  <bmoses@google.com>
42640         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42641         all compilers that claim C++98 compliance, not just GCC.
42642         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42643         Likewise.
42645 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42647         * NEWS: Restore accidentally deleted bug-fix entries.
42649 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42650             Ondřej Bílka  <neleai@seznam.cz>
42652         [BZ #15073]
42653         * malloc/malloc.c (_int_free): Perform sanity check only if we
42654         have_lock.
42656 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42658         [BZ #12986]
42659         * manual/stdio.texi (String Input Conversions): Clarify that character
42660         classes are not supported.
42662 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42666 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42668         [BZ #16337]
42669         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42670         Calculate results for small negative arguments directly rather
42671         than using reflection formula with special underflow handling.
42673         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42674         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42675         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42676         (fchflags): Likewise.
42677         (revoke): Likewise.
42678         (setlogin): Likewise.
42679         (sigaltstack): Likewise.
42680         (wait4): Likewise.
42681         (sigblock): Remove.
42682         (sigsetmask): Likewise.
42683         (wait3): Likewise.
42684         (waitpid): Likewise.
42685         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42686         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42687         file.
42688         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42689         * sysdeps/unix/bsd/Makefile: ... here.
42690         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42691         * sysdeps/unix/bsd/Versions: ... here.
42692         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42693         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42694         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42695         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42696         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42697         * sysdeps/unix/bsd/sigblock.c: ... here.
42698         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42699         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42700         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42701         * sysdeps/unix/bsd/sigvec.c: ... here.
42702         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42703         * sysdeps/unix/bsd/tcdrain.c: ... here.
42704         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42705         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42706         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42707         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42708         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42709         * sysdeps/unix/bsd/wait.c: ... here.
42710         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42711         * sysdeps/unix/bsd/wait3.c: ... here.
42712         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42713         * sysdeps/unix/bsd/waitpid.c: ... here.
42715 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42717         [BZ #16356]
42718         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42719         round-to-nearest for [!USE_AS_EXPM1L].
42720         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42721         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42722         more tests of exp and exp10.  Expect some exp10 tests to miss
42723         exceptions or fail in directed rounding modes.
42724         * math/auto-libm-test-out: Regenerated.
42725         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42726         (exp10_test_tonearest): New function.
42727         (exp10_towardzero_test_data): New array.
42728         (exp10_test_towardzero): New function.
42729         (exp10_downward_test_data): New array.
42730         (exp10_test_downward): New function.
42731         (exp10_upward_test_data): New array.
42732         (exp10_test_upward): New function.
42733         (main): Call the new functions.
42734         * sysdeps/i386/fpu/libm-test-ulps: Update.
42735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42737 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42739         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42740         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42741         * math/auto-libm-test-out: Regenerated.
42742         * math/libm-test.inc (acosh_test_data): Add more tests.
42743         (atanh_test_data): Likewise.
42744         (ceil_test_data): Likewise.
42745         (copysign_test_data): Likewise.
42746         * sysdeps/i386/fpu/libm-test-ulps: Update.
42747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42749         * timezone/checktab.awk: Update from tzcode 2013i.
42750         * timezone/private.h: Likewise.
42751         * timezone/scheck.c: Likewise.
42752         * timezone/tzfile.h: Likewise.
42753         * timezone/tzselect.ksh: Likewise.
42754         * timezone/zdump.c: Likewise.
42755         * timezone/zic.c: Likewise.
42757         * math/auto-libm-test-in: Add tests of cpow.
42758         * math/auto-libm-test-out: Regenerated.
42759         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42760         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42761         mpc_cc_c.
42762         (func_calc_desc): Add mpc_cc_c union field.
42763         (test_functions): Add cpow.
42764         (special_fill_2pi): New function.
42765         (special_real_inputs): Add 2pi.
42766         (calc_generic_results): Handle mpc_cc_c.
42767         * sysdeps/i386/fpu/libm-test-ulps: Update.
42768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42770         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42771         csqrt, ctan and ctanh.
42772         * math/auto-libm-test-out: Regenerated.
42773         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42774         (TEST_COND_x86): Likewise.
42775         (ccos_test_data): Use AUTO_TESTS_c_c.
42776         (ccosh_test_data): Likewise.
42777         (cexp_test_data): Likewise.
42778         (clog_test_data): Likewise.
42779         (csqrt_test_data): Likewise.
42780         (ctan_test_data): Likewise.
42781         (ctan_tonearest_test_data): Likewise.
42782         (ctan_towardzero_test_data): Likewise.
42783         (ctan_downward_test_data): Likewise.
42784         (ctan_upward_test_data): Likewise.
42785         (ctanh_test_data): Likewise.
42786         (ctanh_tonearest_test_data): Likewise.
42787         (ctanh_towardzero_test_data): Likewise.
42788         (ctanh_downward_test_data): Likewise.
42789         (ctanh_upward_test_data): Likewise.
42790         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42791         mpc_c_c.
42792         (func_calc_desc): Add mpc_c_c union field.
42793         (FUNC_mpc_c_c): New macro.
42794         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42795         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42796         ctanh.
42797         (special_fill_min_subnorm_p120): New function.
42798         (special_real_inputs): Add min_subnorm_p120.
42799         (calc_generic_results): Handle mpc_c_c.
42800         * sysdeps/i386/fpu/libm-test-ulps: Update.
42801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42803 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42805         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42806         (do_sin_slow): New functions.
42807         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42808         (cslow2, csloww1, csloww2): Use the new functions.
42810         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42811         Use M to change sign of result instead of X.  Assume X is
42812         positive.
42813         (csloww1): Likewise.
42814         (__sin): Adjust.
42815         (__cos): Adjust.
42817         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42818         arguments A and DA.
42819         (__sin): Adjust.
42820         (__cos): Likewise.
42822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42823         (__cos): Likewise.
42824         (sloww1): Don't adjust sign of DX.
42825         (csloww1): Likewise.
42826         (sloww2): Use X directly and don't adjust sign of DX.
42827         (csloww2): Likewise.
42829 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42831         * math/auto-libm-test-in: Add tests of cabs and carg.
42832         * math/auto-libm-test-out: Regenerated.
42833         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42834         (carg_test_data): Likewise.
42835         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42836         mpc_c_f.
42837         (func_calc_desc): Add mpc_c_f union field.
42838         (test_functions): Add cabs and carg.
42839         (calc_generic_results): Handle mpc_c_f.
42841         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42842         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42843         as a macro and a compat symbol.
42844         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42845         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42846         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42847         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42848         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42849         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42850         not use .hidden.
42851         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42852         Likewise.
42853         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42854         Likewise.
42855         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42856         Likewise.
42857         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42858         Likewise.
42859         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42860         Likewise.
42861         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42862         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42863         from GLIBC_2.3.2.
42865 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42869 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42871         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42872         trailing whitespace removed.
42873         * scripts/config.guess: Update to version 2013-11-29.
42874         * scripts/config.sub: Update to version 2013-10-01.
42876         * math/auto-libm-test-in: Add tests of sincos.
42877         * math/auto-libm-test-out: Regenerated.
42878         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42879         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42880         mpfr_f_11.
42881         (func_calc_desc): Add mpfr_f_11 union field.
42882         (test_functions): Add sincos.
42883         (calc_generic_results): Handle mpfr_f_11.
42884         * sysdeps/i386/fpu/libm-test-ulps: Update.
42885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42887 2013-12-19  Andreas Schwab  <schwab@suse.de>
42889         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42890         CALL_MCOUNT.
42891         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42892         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42893         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42895 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42897         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42898         * sysdeps/i386/fpu/libm-test-ulps: Update.
42899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42901         [BZ #16293]
42902         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42903         round-to-nearest mode when using frndint.
42904         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42905         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42906         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42907         Likewise.
42908         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42909         sinh test to fail.
42910         * math/auto-libm-test-out: Regenerated.
42911         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42912         (TEST_COND_x86): Likewise.
42913         (expm1_tonearest_test_data): New array.
42914         (expm1_test_tonearest): New function.
42915         (expm1_towardzero_test_data): New array.
42916         (expm1_test_towardzero): New function.
42917         (expm1_downward_test_data): New array.
42918         (expm1_test_downward): New function.
42919         (expm1_upward_test_data): New array.
42920         (expm1_test_upward): New function.
42921         (main): Run the new test functions.
42922         * sysdeps/i386/fpu/libm-test-ulps: Update.
42923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42925         * include/features.h: Update comment documenting feature test
42926         macros.  Mention _DEFAULT_SOURCE in comment.
42927         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42928         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42929         _BSD_SOURCE and _SVID_SOURCE.
42930         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42931         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42932         !_SVID_SOURCE]: Likewise.
42933         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42934         (__USE_POSIX_IMPLICITLY): Define.
42935         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42936         (_POSIX_SOURCE): Undefine and redefine.
42937         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42938         (_POSIX_C_SOURCE): Likewise.
42939         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42940         (Feature Test Macros): Update documentation of default features.
42942 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42944         * benchtests/Makefile: Add bench-strtok.
42945         * benchtests/bench-strtok.c: New file: strtok benchtest.
42947 2013-12-19  Allan McRae  <allan@archlinux.org>
42949         * manual/install.texi: Suppress menu for plain text output.
42950         * INSTALL: Regenerated.
42952 2013-12-18  Brooks Moses  <bmoses@google.com>
42954         [BZ #15846]
42955         * misc/getauxval.c: Include errno.h.
42956         (__getauxval): Set errno to ENOENT if the requested type is not
42957         found.
42958         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42959         don't declare with __attribute_const__.
42960         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42961         * manual/startup.texi: Document that getauxval sets errno.
42963 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42965         * math/auto-libm-test-in: Add tests of jn and yn.
42966         * math/auto-libm-test-out: Regenerated.
42967         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42968         (yn_test_data): Likewise.
42969         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42970         mpfr_if_f.
42971         (func_calc_desc): Add mpfr_if_f union field.
42972         (FUNC_mpfr_if_f): New macro.
42973         (test_functions): Add jn and yn.
42974         (calc_generic_results): Assert type of second input for
42975         mpfr_ff_f.  Handle mpfr_if_f.
42976         (output_for_one_input_case): Disable all checking for arguments
42977         fitting floating-point types in case of an integer argument.
42978         * sysdeps/i386/fpu/libm-test-ulps: Update.
42979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42982         Don't expect fegetround reference in libm.so.
42984 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42986         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42987         $(config-cflags-nofma).
42989 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42991         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42992         * math/auto-libm-test-out: Regenerated.
42994         [BZ #16338]
42995         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42996         to determine exponent and adjust argument to have exponent of -1.
42997         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42998         log2.
42999         * math/auto-libm-test-out: Regenerated.
43000         * sysdeps/i386/fpu/libm-test-ulps: Update.
43001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43003 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43005         * manual/probes.texi: Remove cases when per-thread arenas are
43006         disabled.
43008 2013-12-18  Andreas Schwab  <schwab@suse.de>
43010         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43011         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43012         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43013         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43014         * sysdeps/i386/i686/multiarch/Makefile: Update.
43015         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43017 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43019         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43020         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43022 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43024         [BZ #15968]
43025         Support TZ transition times < 00:00:00.
43026         This is needed for version-3 tz-format files; it supports time
43027         stamps past 2037 for America/Godthab (the only entry in the tz
43028         database for which this change is relevant).
43029         * manual/time.texi (TZ Variable): Document transition times
43030         from -167:59:59 through -00:00:01.
43031         * time/tzset.c (tz_rule): Time of day is now signed.
43032         (__tzset_parse_tz): Parse negative time of day.
43034         Document TZ transition times >= 25:00:00.
43035         * manual/time.texi (TZ Variable): Document transition times from
43036         25:00:00 through 167:59:59.  These are already supported, and this
43037         support will help with version-3 tz-format files.
43039         * manual/time.texi (TZ Variable): Modernize North America example
43040         to reflect current (i.e., 2007-and-later) daylight saving rules.
43042         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43044 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43046         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43047         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43048         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43050         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43051         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43052         * sysdeps/unix/bsd/clock.c: Likewise.
43053         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43054         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43055         * sysdeps/unix/bsd/init-posix.c: Likewise.
43056         * sysdeps/unix/bsd/poll.c: Likewise.
43057         * sysdeps/unix/bsd/ptsname.c: Likewise.
43058         * sysdeps/unix/bsd/seekdir.c: Likewise.
43059         * sysdeps/unix/bsd/setegid.c: Likewise.
43060         * sysdeps/unix/bsd/seteuid.c: Likewise.
43061         * sysdeps/unix/bsd/setgid.c: Likewise.
43062         * sysdeps/unix/bsd/setrgid.c: Likewise.
43063         * sysdeps/unix/bsd/setruid.c: Likewise.
43064         * sysdeps/unix/bsd/setsid.c: Likewise.
43065         * sysdeps/unix/bsd/setuid.c: Likewise.
43066         * sysdeps/unix/bsd/sigaction.c: Likewise.
43067         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43068         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43069         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43070         * sysdeps/unix/bsd/telldir.c: Likewise.
43071         * sysdeps/unix/bsd/times.c: Likewise.
43072         * sysdeps/unix/bsd/usleep.c: Likewise.
43074         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43075         ($(objpfx)libbsd-compat.a): Remove rule.
43077         * include/features.h (__FAVOR_BSD): Do not define.
43078         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43079         features conflicting with POSIX.
43080         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43081         (_BSD_SOURCE): Remove description of not being a subset of other
43082         feature test macros.
43083         * manual/job.texi (getpgrp): Do not document BSD version.
43084         (getpgid): Do not document by reference to BSD getpgrp.
43085         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43086         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43087         * signal/signal.h [__FAVOR_BSD]: Likewise.
43088         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43089         instead of making contents conditional on [__FAVOR_BSD].
43090         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43092 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43096 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43098         [BZ #16314]
43099         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43100         values below 2**-450, not 2**-500.
43101         * math/auto-libm-test-in: Don't allow spurious underflow from
43102         hypot.
43103         * math/auto-libm-test-out: Regenerated.
43105         [BZ #16316]
43106         [BZ #16330]
43107         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43108         values of ha and hb and sort them after adjusting subnormal
43109         arguments.
43110         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43111         Likewise.
43112         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43113         values of ea and eb and sort them after adjusting subnormal
43114         arguments.
43115         * math/auto-libm-test-in: Do not expect some hypot tests of
43116         subnormals to fail.  Add more hypot tests.
43117         * math/auto-libm-test-out: Regenerated.
43119 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43121         [BZ #13304]
43122         * sysdeps/sh/s_fma.c: New file.
43123         * sysdeps/sh/s_fmaf.c: New file.
43124         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43125         version.
43126         * sysdeps/sh/Implies: Add sh/soft-fp.
43128 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43130         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43131         level of indirection to members `objname', `errstring', `malloced'.
43132         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43133         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43134         it as the __longjmp argument (just pass 1 instead).
43135         (_dl_catch_error): Initialize C with argument pointers and address of
43136         volatile local ERRCODE rather than copying values out of C at return.
43138 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43140         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43141         * math/auto-libm-test-out: Regenerated.
43142         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43143         (hypot_test_data): Likewise.
43144         (pow_test_data): Likewise.
43145         (pow_tonearest_test_data): Likewise.
43146         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43147         mpfr_ff_f.
43148         (func_calc_desc): Add mpfr_ff_f union field.
43149         (FUNC_mpfr_ff_f): New macro.
43150         (test_functions): Add atan2, hypot and pow.
43151         (special_fill_min): New function.
43152         (special_fill_minus_min): Likewise.
43153         (special_fill_min_subnorm): Likewise.
43154         (special_fill_minus_min_subnorm): Likewise.
43155         (special_real_inputs): Add min, -min, min_subnorm and
43156         -min_subnorm.
43157         (calc_generic_results): Handle mpfr_ff_f.
43158         * sysdeps/i386/fpu/libm-test-ulps: Update.
43159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43161 2013-12-16  Will Newton  <will.newton@linaro.org>
43163         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43164         (Aligned Memory Blocks): Add documentation for aligned_alloc
43165         and suggest it as an alternative to posix_memalign.
43166         (Hooks for Malloc): Document __memalign_hook is also called
43167         for aligned_alloc.  (Summary of Malloc): Add summary for
43168         aligned alloc.  Document __memalign_hook is also called
43169         for aligned_alloc.
43171 2013-12-16  Will Newton  <will.newton@linaro.org>
43173         * manual/memory.texi (Malloc Examples): Clarify default
43174         alignment documentation.  Suggest posix_memalign rather
43175         than memalign or valloc.
43176         (Aligned Memory Blocks): Remove suggestion to use memalign
43177         or valloc.  Remove obsolete comment about BSD.
43178         Document memalign errno values and mark the function obsolete.
43179         Document posix_memalign returned error codes.  Mark valloc
43180         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43181         called for posix_memalign and valloc.
43182         (Summary of Malloc): Add posix_memalign to function summary.
43183         __memalign_hook is also called for posix_memalign and valloc.
43185 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43187         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43188         TAYLOR_SIN.
43189         (__sin): Adjust.
43190         (__cos): Likewise.
43191         (sloww): Use mynumber union.  Expand ternary operator into
43192         if-else statements.
43193         (cslow): use mynumber union.
43195 2013-12-16  Allan McRae  <allan@archlinux.org>
43197         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43198         * configure: Regenerated.
43200         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43202         [BZ #14120]
43203         * configure.ac: Added --enable-maintainer-mode. Check for
43204         autoconf when enabled.
43205         * configure: Regenerated.
43207         * nscd/nscd.service: New file.
43208         * nscd/nscd.tmpfiles: New file.
43210 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43212         [BZ #12100]
43213         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43214         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43215         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43216         (strstr): Add __strstr_sse2_unaligned ifunc.
43217         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43218         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43219         (strcasestr): Remove __strcasestr_sse42 ifunc.
43220         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43221         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43224 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43226         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43227         * sysdeps/sh/bits/fenv.h: ... here.
43228         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43230 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43232         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43235         hypotf multiarch implementations.
43236         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43237         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43238         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43239         multiarch hypot for PPC64.
43240         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43241         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43242         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43243         multiarch hypotf for PPC64.
43245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43246         modff multiarch implementations.
43247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43250         multiarch modf for PPC64.
43251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43254         multiarch modff for PPC64.
43256         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43257         and logl multiarch implementations.
43258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43261         multiarch logb for PPC64.
43262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43265         multiarch logb for PPC64.
43266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43269         multiarch logb for PPC64.
43271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43272         isinff multiarch implementation.
43273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43274         file.
43275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43277         multiarch isinf for PPC64.
43278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43279         file.
43280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43281         multiarch isinff for PPC64.
43283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43284         finitef multiarch implementation.
43285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43286         file.
43287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43289         multiarch finite for PPC64.
43290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43291         file.
43292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43293         multiarch finitef for PPC64.
43295         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43296         lrint multiarch implementation.
43297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43298         file.
43299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43301         multiarch llrint for PPC64.
43302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43303         multiarch lrint for PPC64.
43305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43306         copysignf multiarch implementation.
43307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43308         file.
43309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43310         file.
43311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43312         multiarch copysign for PPC64.
43313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43314         multiarch copysignf for PPC64.
43316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43317         multiarch implementation.
43318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43319         file.
43320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43321         file.
43322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43323         file.
43324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43325         file.
43326         multiarch llround for PPC64.
43327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43328         multiarch trunc for PPC64.
43329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43330         multiarch truncf for PPC64.
43332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43333         multiarch implementation.
43334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43335         file.
43336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43337         file.
43338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43339         file.
43340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43341         file.
43342         multiarch llround for PPC64.
43343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43344         multiarch round for PPC64.
43345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43346         multiarch roundf for PPC64.
43348         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43349         multiarch implementation.
43350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43351         file.
43352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43353         file.
43354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43355         file.
43356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43357         file.
43358         multiarch llround for PPC64.
43359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43360         multiarch floor for PPC64.
43361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43362         multiarch floorf for PPC64.
43364         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43365         multiarch implementation.
43366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43367         file.
43368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43369         file.
43370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43371         file.
43372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43373         file.
43374         multiarch llround for PPC64.
43375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43376         multiarch ceil for PPC64.
43377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43378         multiarch ceilf for PPC64.
43380         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43381         multiarch implementation.
43382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43383         file.
43384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43385         file.
43386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43387         file.
43388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43389         multiarch llround for PPC64.
43390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43391         multiarch lround for PPC64.
43393         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43394         multiarch implementation.
43395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43398         file.
43399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43402         multiarch isnan for PPC64.
43403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43404         multiarch isnanf for PPC64.
43406         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43407         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43408         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43409         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43410         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43413         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43414         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43415         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43416         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43418         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43419         multiarch implementations.
43420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43421         (__libc_ifunc_impl_list): Likewise.
43422         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43423         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43424         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43425         multiarch stpcpy for PPC64.
43427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43428         multiarch implementations.
43429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43430         (__libc_ifunc_impl_list): Likewise.
43431         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43432         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43433         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43434         multiarch strcpy for PPC64.
43436         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43437         redefine function name.
43438         (_wordcopy_fwd_dest_aligned): Likewise.
43439         (_wordcopy_bwd_aligned): Likewise.
43440         (_wordcopy_bwd_dest_aligned): Likewise.
43441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43442         multiarch implementations.
43443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43444         (__libc_ifunc_impl_list): Likewise.
43445         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43446         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43447         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43448         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43449         multiarch wcscpy for PPC64.
43451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43452         multiarch implementations.
43453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43454         (__libc_ifunc_impl_list): Likewise.
43455         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43456         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43457         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43458         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43459         multiarch wcscpy for PPC64.
43461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43462         multiarch implementations.
43463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43464         (__libc_ifunc_impl_list): Likewise.
43465         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43466         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43467         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43468         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43469         multiarch wcsrchr for PPC64.
43471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43472         multiarch implementations.
43473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43474         (__libc_ifunc_impl_list): Likewise.
43475         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43476         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43477         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43478         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43479         multiarch wcschr for PPC64.
43481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43482         multiarch implementations.
43483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43484         (__libc_ifunc_impl_list): Likewise.
43485         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43486         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43487         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43488         multiarch strchrnul for PPC64.
43490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43491         implementations.
43492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43493         (__libc_ifunc_impl_list): Likewise.
43494         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43495         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43496         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43497         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43498         strchr for PPC64.
43500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43501         implementations.
43502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43503         (__libc_ifunc_impl_list): Likewise.
43504         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43505         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43506         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43507         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43508         strncmp for PPC64.
43510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43511         multiarch implementations.
43512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43513         (__libc_ifunc_impl_list): Likewise.
43514         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43515         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43516         strncasecmp for PPC64.
43517         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43518         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43519         multiarch strncasecmp_l for PPC64.
43521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43522         multiarch implementations.
43523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43524         (__libc_ifunc_impl_list): Likewise.
43525         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43526         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43527         multiarch strcasecmp for PPC64.
43528         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43529         file.
43530         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43531         multiarch strcasecmp_l for PPC64.
43533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43534         implementations.
43535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43536         (__libc_ifunc_impl_list): Likewise.
43537         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43538         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43539         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43540         strnlen for PPC64.
43542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43543         implementations.
43544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43545         (__libc_ifunc_impl_list): Likewise.
43546         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43547         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43548         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43549         strlen for PPC64.
43551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43552         implementations.
43553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43554         (__libc_ifunc_impl_list): Likewise.
43555         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43556         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43557         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43558         rawmemrchr for PPC64.
43560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43561         implementation.
43562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43563         (__libc_ifunc_impl_list): Likewise.
43564         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43565         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43566         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43567         memrchr for PPC64.
43569         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43570         implementation.
43571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43572         (__libc_ifunc_impl_list): Likewise.
43573         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43574         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43575         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43576         memchr for PPC64.
43578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43579         implementation.
43580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43581         (__libc_ifunc_impl_list): Likewise.
43582         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43583         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43584         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43585         mempcpy for PPC64.
43587         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43588         avoid cretion of __bzero symbol.
43589         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43590         Likewise.
43591         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43592         Likewise.
43593         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43594         Likewise.
43595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43596         multiarch implementations.
43597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43598         (__libc_ifunc_impl_list): Likewise.
43599         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43600         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43601         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43602         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43603         bzero for PPC32.
43604         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43605         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43606         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43607         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43608         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43609         memset for PPC64.
43610         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43612         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43613         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43614         implementations.
43615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43616         (__libc_ifunc_impl_list): Likewise.
43617         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43618         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43619         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43620         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43621         memcmp for PPC64.
43623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43624         multiarch for POWER/PPC64.
43625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43626         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43627         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43628         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43629         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43630         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43631         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43632         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43633         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43634         memcpy for PPC64.
43636         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43637         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43638         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43639         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43640         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43641         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43642         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43643         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43644         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43645         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43646         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43647         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43648         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43649         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43650         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43659 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43661         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43663 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43665         * benchtests/Makefile (bench): Add exp2 and log2.
43666         (LDLIBS-bench-exp2): Add -lm.
43667         (LDLIBS-bench-log2): Likewise.
43668         * benchtests/exp2-inputs: New inputs file.
43669         * benchtests/log2-inputs: New inputs file.
43670         * benchtests/log-inputs: Add new inputs.
43671         * benchtests/tan-inputs: Likewise.
43673 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43675         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43676         definition...
43677         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43678         (csloww2): ... from here.
43680         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43681         instead of structures.
43682         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43683         (POLYNOMIAL): Likewise.
43684         (TAYLOR_SLOW): Likewise.
43685         (__sin): Likewise.
43686         (__cos): Likewise.
43687         (slow1): Likewise.
43688         (slow2): Likewise.
43689         (sloww): Likewise.
43690         (sloww1); Likewise.
43691         (sloww2): Likewise.
43692         (bsloww1): Likewise.
43693         (bsloww2): Likewise.
43694         (cslow2): Likewise.
43695         (csloww): Likewise.
43696         (csloww1): Likewise.
43697         (csloww2): Likewise.
43699 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43701         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43702         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43703         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43704         * malloc/hooks.c (realloc_check): Likewise.
43706         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43707         * malloc/arena.c: Remove PER_THREAD conditional.
43708         [!PER_THREAD]: Remove code.
43709         (ptmalloc_unlock_all2): Likewise.
43710         (ptmalloc_init): Likewise.
43711         (_int_new_arena): Likewise.
43712         (arena_get2): Likewise.
43713         * malloc/hooks.c (__malloc_get_state): Likewise.
43714         (__malloc_set_state): Likewise.
43715         * malloc/malloc.c: Likewise.
43716         (struct malloc_state): Likewise.
43717         (struct malloc_par): Likewise.
43718         (__libc_realloc): Likewise.
43719         (__libc_mallopt): Likewise.
43721 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43723         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43725 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43727         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43728         macro to a function.  Check for zero perturb_byte.
43729         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43731         * malloc/malloc.c: (force_reg): Remove.
43732         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43733         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43734         force_reg by atomic_forced_read.
43735         * malloc/arena.c (ptmalloc_init): Likewise.
43736         * malloc/hooks.c (top_check): Likewise.
43738 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43742 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43746 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43748         * math/auto-libm-test-in: Add tests of lgamma.
43749         * math/auto-libm-test-out: Regenerated.
43750         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43751         (M_LOG_2_SQRT_PIl): Likewise.
43752         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43753         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43754         mpfr_f_f1.
43755         (func_calc_desc): Add mpfr_f_f1 union field.
43756         (ARGS1): New macro.
43757         (ARGS2): Likewise.
43758         (ARGS3): Likewise.
43759         (ARGS4): Likewise.
43760         (RET1): Likewise.
43761         (RET2): Likewise.
43762         (CALC): Likewise.
43763         (FUNC): Likewise.
43764         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43765         (test_functions): Add lgamma.
43766         (calc_generic_results): Handle mpfr_f_f1.
43767         * sysdeps/i386/fpu/libm-test-ulps: Update.
43768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43770 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43772         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43773         __mpn_add_n for PowerPC64/POWER7.
43774         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43775         __mpn_sub_n for PowerPC64/POWER7.
43777         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43778         __mpn_addmul_1 for PowerPC64.
43779         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43780         __mpn_submul_1 for PowerPC64.
43781         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43782         for PowerPC64.
43783         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43784         for PowerPC64.
43786 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43788         [BZ #15089]
43789         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43791 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43793         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43795         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43796         add multiarch folders.
43797         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43798         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43799         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43800         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43801         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43802         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43803         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43804         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43805         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43806         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43807         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43816         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43818         New file.
43819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43820         New file.
43821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43822         multiarch __ieee754_hypot for PowerPC32.
43823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43824         New file.
43825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43826         New file.
43827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43828         multiarch __ieee754_hypotf for PowerPC32.
43830         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43831         long_double_symbol only if __logbl is defined.
43832         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43833         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43835         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43836         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43837         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43838         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43839         path for implementation.
43840         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43841         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43843         logb, and logbl multiarch implementations for PowerPC32.
43844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43845         file.
43846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43847         file.
43848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43849         multiarch logb for PowerPC32.
43850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43851         file.
43852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43853         file.
43854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43855         multiarch logbf for PowerPC32.
43856         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43858         file.
43859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43860         multiarch logbl implementation for PowerPC32.
43862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43863         and modff multiarch implementations.
43864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43865         New file.
43866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43867         New file.
43868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43869         multiarch modf for PowerPC32.
43870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43871         New file.
43872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43873         New file.
43874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43875         multiarch modff for PowerPC32.
43877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43878         and lrintf multiarch implementations.
43879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43880         New file.
43881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43882         New file.
43883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43884         multiarch lrint for PowerPC32.
43885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43886         file: multiarch lrintf for PowerPC32.
43888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43889         and lroundf multiarch implementations.
43890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43891         New file.
43892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43893         New file.
43894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43895         New file.
43896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43897         multiarch lround for PowerPC32.
43898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43899         file: multiarch lroundf for PowerPC32.
43901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43902         copysign and copysignf multiarch implementations.
43903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43904         New file.
43905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43906         New file.
43907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43908         file: multiarch copysign for PowerPC32.
43909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43910         file: multiarch copysignf for PowerPC32.
43912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43913         and truncf multiarch implementations.
43914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43915         New file.
43916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43917         file.
43918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43919         multiarch trunc for PowerPC32.
43920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43921         New file.
43922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43923         New file.
43924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43925         multiarch truncf for PowerPC32.
43927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43928         and roundf multiarch implementations.
43929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43930         New file.
43931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43932         file.
43933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43934         multiarch round for PowerPC32.
43935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43936         New file.
43937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43938         New file.
43939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43940         multiarch roundf for PowerPC32.
43942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43943         and floorf multiarch implementations.
43944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43945         New file.
43946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43947         file.
43948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43949         multiarch floor for PowerPC32.
43950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43951         New file.
43952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43953         New file.
43954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43955         multiarch floorf for PowerPC32.
43957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43958         and ceilf multiarch implementations.
43959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43960         New file.
43961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43962         file.
43963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43964         multiarch ceil for PowerPC32.
43965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43966         New file.
43967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43968         file.
43969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43970         multiarch ceilf for PowerPC32.
43972         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43973         is defined.
43974         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43975         FINITEF is defined.
43976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43977         and finitef multiarch implementations.
43978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43979         New file.
43980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43981         file.
43982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43983         multiarch finite for PowerPC32.
43984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43985         New file.
43986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43987         file: multiarch finitef for PowerPC32.
43989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43990         and isinff multiarch implementations.
43991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43992         file.
43993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43994         file.
43995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43996         multiarch isinf for PowerPC32.
43997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43998         New file.
43999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44000         multiarch isinff for PowerPC32.
44002         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44003         alias when __isnan is defined.
44004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44005         and isnanf multiarch implementations.
44006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44007         file.
44008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44009         file.
44010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44011         file.
44012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44013         file.
44014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44015         multiarch isnan for PowerPC32.
44016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44017         New file.
44018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44019         New file.
44020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44021         multiarch isnanf for PowerPC32.
44023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44024         and sqrtf multiarch implementations.
44025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44026         file.
44027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44028         file.
44029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44030         multiarch sqrt for PowerPC32.
44031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44032         file.
44033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44034         file.
44035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44036         multiarch sqrtf for PowerPC32.
44038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44039         and llroundf multiarch implementations.
44040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44041         New file.
44042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44043         New file.
44044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44045         New file.
44046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44047         file: multiarch llround for PowerPC32.
44048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44049         file: multiarch llroundf for PowerPC32.
44051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44052         multiarch PowerPC32 fpu implementations.
44053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44054         New file.
44055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44056         New file.
44057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44058         multiarch llrint for PowerPC32.
44059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44060         New file.
44061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44062         New file.
44063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44064         file.
44066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44068         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44069         file.
44070         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44071         file.
44072         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44073         file.
44074         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44075         multiarch wordcopy for PPC32.
44076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44077         wordcopy objects.
44078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44079         (__libc_ifunc_impl_list): Likewise.
44080         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44081         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44082         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44083         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44084         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44085         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44087         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44089         file.
44090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44091         file.
44092         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44093         file.
44094         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44095         multiarch wcscpy for PPC32.
44096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44097         multiarch objects.
44098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44099         (__libc_ifunc_impl_list): Likewise.
44100         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44101         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44102         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44103         sysdeps/powerpc/power6/wcscpy.c.
44105         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44107         file.
44108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44109         file.
44110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44111         file.
44112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44113         multiarch wcsrchr for PPC32.
44114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44115         multiarch objects.
44116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44117         (__libc_ifunc_impl_list): Likewise.
44118         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44119         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44120         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44121         sysdeps/powerpc/power6/wcsrchr.c.
44123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44124         file.
44125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44126         file.
44127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44129         multiarch wcschr for PPc32.
44130         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44131         multiarch objects.
44132         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44133         (__libc_ifunc_impl_list): Likewise.
44134         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44135         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44136         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44137         sysdeps/powerpc/power6/wcschr.c.
44139         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44140         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44141         file.
44142         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44143         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44144         file: multiarch strchr for PPC32.
44145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44146         multiarch objects.
44147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44148         (__libc_ifunc_impl_list): Likewise.
44150         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44151         name.
44152         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44153         file.
44154         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44155         file.
44156         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44157         multiarch strchrnul for PPC32.
44158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44159         multiarch objects.
44160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44161         (__libc_ifunc_impl_list): Likewise.
44163         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44164         file.
44165         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44166         multiarch strncasecmp for PPC32.
44167         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44168         file.
44169         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44170         multiarch strncasecmp_l for PPC32.
44171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44172         strncasecmp multiarch objects.
44173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44174         (__libc_ifunc_impl_list): Likewise.
44176         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44177         file.
44178         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44179         multiarch strncasecmp for PPC32.
44180         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44181         New file.
44182         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44183         multiarch strcasecmp_l for PPC32.
44184         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44185         multiarch objects.
44186         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44187         (__libc_ifunc_impl_list): Likewise.
44189         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44190         file.
44191         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44192         file.
44193         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44194         multiarch strncmp for PPC32.
44195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44196         multiarch objects.
44197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44198         (__libc_ifunc_impl_list): Likewise.
44200         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44201         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44202         file.
44203         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44204         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44205         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44206         multiarch objects.
44207         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44208         (__libc_ifunc_impl_list): Likewise.
44210         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44211         file.
44212         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44213         file.
44214         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44216         multiarch objects.
44217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44218         (__libc_ifunc_impl_list): Likewise.
44220         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44221         file.
44222         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44223         file.
44224         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44225         multiarch rawmemchr for PPC32.
44226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44227         multiarch objects.
44228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44229         (__libc_ifunc_impl_list): Likewise.
44231         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44232         file.
44233         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44234         file.
44235         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44236         file: memrchr multiarch for PPC32.
44237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44238         multiarch objects.
44239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44240         (__libc_ifunc_impl_list): Likewise.
44242         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44243         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44244         file.
44245         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44246         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44247         multiarch memchr for PPC32.
44248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44249         multiarch objects.
44250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44251         (__libc_ifunc_impl_list): Likewise.
44253         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44254         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44255         file.
44256         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44257         file.
44258         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44259         file: multiarch mempcpy for PPC32.
44260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44261         multiarch objects.
44262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44263         (__libc_ifunc_impl_list): Likewise.
44265         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44266         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44267         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44268         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44269         multiarch bzero for PPC32.
44270         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44271         file.
44272         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44273         file.
44274         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44275         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44276         file: multiarch memset for PPC32.
44277         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44279         memset multiarch objects.
44280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44281         (__libc_ifunc_impl_list): Likewise.
44283         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44284         file.
44285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44286         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44287         memcmp for PPC32.
44288         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44290         multiarch objects.
44291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44292         (__libc_ifunc_impl_list): Likewise.
44294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44297         file.
44298         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44299         file.
44300         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44301         file.
44302         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44303         multiarch memcpy for PPC32.
44304         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44305         multiarch objects.
44306         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44307         (__libc_ifunc_impl_list): Likewise.
44309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44310         support multiarch for POWER/PPC32.
44311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44312         Likewise.
44313         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44315         Implies file to make multiarch folder appers before the fpu and
44316         default folder for power4 configuration.
44318 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44320         * scripts/bench.pl: Append volatile keyword to type.
44322 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44324         * sysdeps/sh/sotruss-lib.c: New file.
44325         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44327 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44331 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44333         [BZ #6810]
44334         * math/w_tgamma.c: Include <errno.h>.
44335         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44336         * math/w_tgammaf.c: Include <errno.h>.
44337         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44338         * math/w_tgammal.c: Include <errno.h>.
44339         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44340         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44341         underflow.  Add more tgamma tests.
44342         * math/auto-libm-test-out: Regenerated.
44343         * sysdeps/i386/fpu/libm-test-ulps: Update.
44344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44346         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44347         sin, sinh, tan, tanh, tgamma, y0 and y1.
44348         * math/auto-libm-test-out: Regenerated.
44349         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44350         (TEST_COND_x86): Likewise.
44351         (M_E2l): Remove macro.
44352         (M_E3l): Likewise.
44353         (M_2_SQRT_PIl): Likewise.
44354         (M_SQRT_PIl): Likewise.
44355         (M_1_DIV_El): Likewise.
44356         (log_test_data): Use AUTO_TESTS_f_f.
44357         (log10_test_data): Likewise.
44358         (log1p_test_data): Likewise.
44359         (log2_test_data): Likewise.
44360         (sin_test_data): Likewise.
44361         (sin_tonearest_test_data): Likewise.
44362         (sin_towardzero_test_data): Likewise.
44363         (sin_downward_test_data): Likewise.
44364         (sin_upward_test_data): Likewise.
44365         (sinh_test_data): Likewise.
44366         (sinh_tonearest_test_data): Likewise.
44367         (sinh_towardzero_test_data): Likewise.
44368         (sinh_downward_test_data): Likewise.
44369         (sinh_upward_test_data): Likewise.
44370         (tan_test_data): Likewise.
44371         (tan_tonearest_test_data): Likewise.
44372         (tan_towardzero_test_data): Likewise.
44373         (tan_downward_test_data): Likewise.
44374         (tan_upward_test_data): Likewise.
44375         (tanh_test_data): Likewise.
44376         (tgamma_test_data): Likewise.
44377         (y0_test_data): Likewise.
44378         (y1_test_data): Likewise.
44379         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44380         (special_real_inputs): Add pi/4.
44381         * sysdeps/i386/fpu/libm-test-ulps: Update.
44382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44384 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44386         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44387         "longjmp_target" static probes.
44388         (__longjmp): Rename to __longjmp_symbol.
44389         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44390         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44391         on which longjmp to generate.
44392         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44393         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44394         probe.
44395         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44396         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44397         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44398         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44399         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44400         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44402         __longjmp_symbol based on which __longjmp to generate.
44403         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44404         probe.
44405         (setjmp): Rename to setjmp_symbol.
44406         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44407         (_setjmp): Rename to _setjmp_symbol.
44408         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44409         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44410         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44411         which setjmp to generate.
44412         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44413         "longjmp_target" static probes.
44415 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44417         * benchtests/README: Add note about output arguments.
44418         * benchtests/bench-sincos.c: Remove file.
44419         * benchtests/sincos-inputs: New file.
44420         * scripts/bench.pl: Identify output arguments and define
44421         static variables for them.
44423         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44425         [BZ #15941]
44426         * Makefile (INSTALL): Add install-plain.texi as the primary
44427         dependency.
44428         * manual/install-plain.texi: New file.
44429         * manual/install.texi: Include node directive only for
44430         non-plaintext output.
44432 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44434         * stdlib/longlong.h: Update from GCC.
44436         [BZ #6807]
44437         [BZ #15901]
44438         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44439         * math/w_j0f.c (y0f): Likewise.
44440         * math/w_j0l.c (__y0l): Likewise.
44441         * math/w_j1.c (y1): Likewise.
44442         * math/w_j1f.c (y1f): Likewise.
44443         * math/w_j1l.c (__y1l): Likewise.
44444         * math/w_jn.c (yn): Likewise.
44445         * math/w_jnf.c (ynf): Likewise.
44446         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44447         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44448         value for Bessel function domain errors outside _SVID_ mode.
44449         Adjust sign of return value for yn (negative integer, 0).
44450         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44451         by zero in return for negative x and set sign appropriately for
44452         negative n.
44453         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44454         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44455         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44456         expectations in error cases.
44457         (y1_test_data): Likewise.
44458         (yn_test_data): Likewise.
44459         * sysdeps/i386/fpu/libm-test-ulps: Update.
44460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44462 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44464         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44465         "64" to "64-v1".  Add "64-v2".
44466         (abi-64-options): Rename to ...
44467         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44468         (abi-64-condition): Rename to ...
44469         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44470         (abi-64-ld-soname): Rename to ...
44471         (abi-64-v1-ld-soname): ... this.
44472         (abi-64-v2-options): Define.
44473         (abi-64-v2-condition): Likewise.
44474         (abi-64-v2-ld-soname): Likewise.
44475         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44476         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44481 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44482             Alan Modra  <amodra@gmail.com>
44484         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44485         New versions for use with the ELFv2 ABI.
44486         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44487         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44488         declaration.
44489         (struct La_ppc64v2_retval): Likewise.
44490         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44491         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44492         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44493         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44494         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44495         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44496         Do not save or restore CR.
44497         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44498         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44499         return values for ELFv2 ABI.  Fix location of FPR return registers.
44500         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44501         updated values for _CALL_ELF == 2.
44502         (La_regs, La_retval, int_retval): Likewise.
44504 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44506         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44507         (FRAME_MIN_SIZE_PARM): Likewise.
44508         (FRAME_BACKCHAIN): Likewise.
44509         (FRAME_CR_SAVE): Likewise.
44510         (FRAME_LR_SAVE): Likewise.
44511         (FRAME_TOC_SAVE): Likewise.
44512         (FRAME_PARM_SAVE): Likewise.
44513         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44514         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44515         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44516         (call_mcount_parm_offset): New macro.
44517         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44518         (PROF): Use symbolic stack frame offsets.
44519         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44520         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44521         Redefine in terms of FRAME_MIN_SIZE.
44522         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44523         (_dl_profile_resolve): Likewise.  Update comment.
44524         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44525         symbols stack frame offsets.
44526         (__sigsetjmp): Likewise.
44527         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44528         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44529         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44530         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44533         (FRAME_BACKCHAIN): Remove.
44534         (FRAME_CR_SAVE): Likewise.
44535         (FRAME_LR_SAVE): Likewise.
44536         (FRAME_COMPILER_DW): Likewise.
44537         (FRAME_LINKER_DW): Likewise.
44538         (FRAME_TOC_SAVE): Likewise.
44539         (FRAME_PARM_SAVE): Likewise.
44540         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44541         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44542         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44544         (CHECK_SP): Use symbolic stack frame offsets.
44545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44546         zone" instead of caller's parameter save area for temp storage.
44547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44548         Likewise.  Also, use symbolic stack frame offsets.
44549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44550         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44551         our own stack frame instead of the caller's.
44552         (__socket): Use symbolic stack frame offsets.
44554 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44555             Alan Modra  <amodra@gmail.com>
44557         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44558         Define.
44559         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44560         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44561         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44562         New function.
44563         (elf_machine_fixup_plt): Call it.
44564         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44565         reloc arguments.
44566         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44567         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44568         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44569         r2 before calling target.
44571 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44572             Alan Modra  <amodra@gmail.com>
44574         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44575         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44576         versions of macros to support ELFv2 ABI.
44577         (LOCALENTRY): New macro.
44578         (ENTRY, EALIGN): Use it.
44579         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44580         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44581         fall through into ENTRY entry point.
44582         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44583         Only define if _CALL_ELF != 2.
44585         (elf_machine_matches_host): Verify ABI version matches.
44586         (RTLD_START): Use LOCALENTRY.
44587         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44588         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44589         (PLT_ENTRY_WORDS): New macro.
44590         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44591         (elf_machine_runtime_setup): Support ELFv2 ABI.
44592         (elf_machine_fixup_plt): Likewise.
44593         (elf_machine_plt_conflict): Likewise.
44594         (resolve_ifunc): Likewise.
44595         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44596         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44597         Likewise.
44598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44599         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44601         (makecontext): Support ELFv2 ABI.
44602         * elf/elf.h (EF_PPC64_ABI): Define.
44604 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44606         * sysdeps/powerpc/powerpc64/sysdep.h
44607         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44608         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44609         (ENTRY) [ASSEMBLER]: ... but instead here ...
44610         (EALIGN) [ASSEMBLER]: ... and here.
44611         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44612         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44613         (ENTRY_2) [!ASSEMBLER]: Use it.
44614         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44615         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44616         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44617         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44618         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44620         Use PPC64_LOAD_FUNCPTR.
44622         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44624 2013-12-04  Alan Modra  <amodra@gmail.com>
44626         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44627         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44628         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44629         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44632         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44633         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44634         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44635         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44636         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44638 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44641         (__makecontext): Fix incorrect CFI when backtracing out of
44642         context created via makecontext.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44644         (__setcontext): Fix incorrect CFI during switch to new context.
44645         (__novec_setcontext): Likewise.
44647 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44649         [BZ #4772]
44650         * time/strptime_l.c (__strptime_internal): Allow modifiers
44651         in strptime.
44652         * time/tst-strptime.c (day_tests): Add testcase.
44654 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44656         * scripts/bench.pl: Skip over blank lines.
44658 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44660         [BZ #926]
44661         * manual/time.texi (Calendar Time): Clarify what timezone functions
44662         use.
44664 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44668 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44670         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44671         implementation.
44672         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44673         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44674         * debug/memset_chk.c (__memset_chk): Likewise.
44675         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44676         * debug/strncpy_chk.c: Likewise.
44678 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44680         [BZ #15268]
44681         [BZ #15425]
44682         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44683         (__ieee754_exp): For possibly underflowing results, check size of
44684         result and force underflow exception if required.
44685         * math/auto-libm-test-in: Add more tests of exp.
44686         * math/auto-libm-test-out: Regenerated.
44687         * sysdeps/i386/fpu/libm-test-ulps: Update.
44688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44690         [BZ #16283]
44691         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44692         * math/w_exp2f.c (__exp2f): Likewise.
44693         * math/w_exp2l.c (__exp2l): Likewise.
44694         * math/auto-libm-test-in: Do not allow missing errno on exp2
44695         underflow.
44696         * math/auto-libm-test-out: Regenerated.
44698 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44700         [BZ #16274]
44701         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44702         handle filename validation.
44703         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44704         (do_open): Delete.
44706 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44708         [BZ #6786]
44709         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44710         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44711         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44712         <float.h>.
44713         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44714         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44715         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44716         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44717         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44718         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44719         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44720         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44721         Add more erfc tests.
44722         * math/auto-libm-test-out: Regenerated.
44723         * sysdeps/i386/fpu/libm-test-ulps: Update.
44724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44726         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44727         exp2, expm1, j0 and j1.
44728         * math/auto-libm-test-out: Regenerated.
44729         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44730         (erfc_test_data): Likewise.
44731         (exp_test_data): Likewise.
44732         (exp_tonearest_test_data): Likewise.
44733         (exp_towardzero_test_data): Likewise.
44734         (exp_downward_test_data): Likewise.
44735         (exp_upward_test_data): Likewise.
44736         (exp10_test_data): Likewise.
44737         (exp2_test_data): Likewise.
44738         (expm1_test_data): Likewise.
44739         (j0_test_data): Likewise.
44740         (j1_test_data): Likewise.
44741         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44742         (input_flag_type): Add flag_xfail_rounding.
44743         (input_flags): Add xfail-rounding.
44744         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44745         (output_for_one_input_case): Handle flag_xfail_rounding.
44746         * sysdeps/i386/fpu/libm-test-ulps: Update.
44747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44749 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44751         [BZ #16289]
44752         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44753         division by 0.
44755 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44757         [BZ #16195]
44758         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44759         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44760         (STAP_PROBE0): New macro.
44761         (STAP_PROBE1): Likewise.
44762         (STAP_PROBE2): Likewise.
44763         (STAP_PROBE3): Likewise.
44764         (STAP_PROBE4): Likewise.
44766 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44768         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44770 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44772         * benchtests/Makefile (bench): Add sqrt.
44773         (LDLIBS-bench-sqrt): New.
44774         * benchtests/sqrt-input: New.
44776 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44778         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44779         (GAIH_EAI): Likewise.
44780         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44781         (gaih_inet): Likewise.
44782         (getaddrinfo): Don't use GAIH_EAI.
44784         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44785         (struct gaih): Remove definition.
44787 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44789         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44790         Use HERRNOP directly.
44792 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44796 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44798         * math/gen-auto-libm-tests.c (test_functions): Add more
44799         single-argument functions.
44800         (special_fill_pi_2): New function.
44801         (special_fill_minus_pi_2): Likewise.
44802         (special_fill_pi_6): Likewise.
44803         (special_fill_minus_pi_6): Likewise.
44804         (special_fill_pi_3): Likewise.
44805         (special_fill_2pi_3): Likewise.
44806         (special_fill_e): Likewise.
44807         (special_fill_1_e): Likewise.
44808         (special_fill_e_minus_1): Likewise.
44809         (special_real_inputs): Add more special inputs.
44810         (output_for_one_input_case): Do not require ERANGE on underflow to
44811         zero if round-to-nearest result does not underflow to zero, unless
44812         exact results required.
44813         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44814         atan, atanh, cbrt, cos and cosh.
44815         * math/auto-libm-test-out: Regenerated.
44816         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44817         (acos_tonearest_test_data): Likewise.
44818         (acos_towardzero_test_data): Likewise.
44819         (acos_downward_test_data): Likewise.
44820         (acos_upward_test_data): Likewise.
44821         (acosh_test_data): Likewise.
44822         (asin_test_data): Likewise.
44823         (asin_tonearest_test_data): Likewise.
44824         (asin_towardzero_test_data): Likewise.
44825         (asin_upward_test_data): Likewise.
44826         (asinh_test_data): Likewise.
44827         (atan_test_data): Likewise.
44828         (atanh_test_data): Likewise.
44829         (cbrt_test_data): Likewise.
44830         (cos_test_data): Likewise.
44831         (cos_tonearest_test_data): Likewise.
44832         (cos_towardzero_test_data): Likewise.
44833         (cos_downward_test_data): Likewise.
44834         (cos_upward_test_data): Likewise.
44835         (cosh_test_data): Likewise.
44836         (cosh_tonearest_test_data): Likewise.
44837         (cosh_towardzero_test_data): Likewise.
44838         (cosh_downward_test_data): Likewise.
44839         (cosh_upward_test_data): Likewise.
44840         * sysdeps/i386/fpu/libm-test-ulps: Update.
44841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44843 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44845         [BZ #6787]
44846         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44847         * math/w_exp10f.c (__exp10f): Likewise.
44848         * math/w_exp10l.c (__exp10l): Likewise.
44849         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44850         errno settings in existing tests.
44852         [BZ #14032]
44853         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44854         precision control set to double precision.
44855         * sysdeps/i386/fpu/w_sqrt.c: New file.
44856         * math/auto-libm-test-in: Add more tests.
44857         * math/auto-libm-test-out: Update.
44859         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44860         (sqrt_test_tonearest): New function.
44861         (sqrt_towardzero_test_data): New variable.
44862         (sqrt_test_towardzero): New function.
44863         (sqrt_downward_test_data): New variable.
44864         (sqrt_test_downward): New function.
44865         (sqrt_upward_test_data): New variable.
44866         (sqrt_test_upward): New function.
44867         (main): Call the new functions.
44869         * math/gen-auto-libm-tests.c: New file.
44870         * math/auto-libm-test-in: Likewise.
44871         * math/auto-libm-test-out: New generated file.
44872         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44873         variables.
44874         (%beautify): Add generated representations of zero.
44875         (top level): Set $auto_input and call parse_auto_input.
44876         (beautify): Remove trailing "f" from hex float constants.
44877         (parse_args): Handle XFAIL_TEST.
44878         (convert_condition): New function.
44879         (or_value): Likewise.
44880         (or_cond_value): Likewise.
44881         (generate_testfile): Handle AUTO_TESTS_* lines.
44882         (parse_auto_input): New function.
44883         * math/libm-test.inc (XFAIL_TEST): New macro.
44884         (ERRNO_UNCHANGED): Update value.
44885         (ERRNO_EDOM): Likewise.
44886         (ERRNO_ERANGE): Likewise.
44887         (IGNORE_RESULT): Likewise.
44888         (TEST_COND_flt_32): New macro.
44889         (TEST_COND_dbl_64): Likewise.
44890         (TEST_COND_ldbl_96_intel): Likewise.
44891         (TEST_COND_ldbl_96_m68k): Likewise.
44892         (TEST_COND_ldbl_128): Likewise.
44893         (TEST_COND_ldbl_128ibm): Likewise.
44894         (TEST_COND_long32): Likewise.
44895         (TEST_COND_long64): Likewise.
44896         (TEST_COND_before_rounding): Likewise.
44897         (TEST_COND_after_rounding): Likewise.
44898         (enable_test): Handle XFAIL_TEST flag.
44899         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44900         with finite results.
44901         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44902         auto-libm-test-out.
44904 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44905             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44907         [BZ #16214]
44908         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44909         __tls_get_addr_internal instead of __tls_get_offset in order to
44910         avoid GOT pointer dependency.  Make rtld export
44911         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44912         __tls_get_addr since we are a __tls_get_offset platform.
44913         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44914         GOT pointer being set up before.
44915         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44917 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44919         * manual/math.texi (Errors in Math Functions): Document accuracy
44920         goals.
44922         [BZ #15004]
44923         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44924         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44925         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44926         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44927         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44928         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44929         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44930         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44931         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44932         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44933         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44934         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44935         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44936         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44937         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44938         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44940         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44941         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44942         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44943         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44944         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44945         Likewise.
44946         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44947         Likewise.
44948         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44949         Likewise.
44950         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44951         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44952         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44953         atomic-feupdateenv and flt-rounds.
44954         * sysdeps/powerpc/nofpu/Versions (libc): Add
44955         __atomic_feholdexcept, __atomic_feclearexcept,
44956         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44957         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44958         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44959         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44960         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44961         here.
44962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44963         Update.
44965         * manual/arith.texi (FP Exceptions): Document that exceptions may
44966         not be raised when matherr is used.
44967         (Math Error Reporting): Document overflow in directed rounding
44968         modes.  Document that errno may not be set when finite values are
44969         returned on overflow.  Document intent to set errno on underflow
44970         only for underflow to zero.
44972         [BZ #16271]
44973         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44974         round-to-nearest then adjust result for other rounding modes.
44975         * include/fenv.h (fegetround): Use libm_hidden_proto.
44976         * math/fegetround.c (fegetround): Use libm_hidden_def.
44977         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44978         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44979         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44980         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44981         Likewise.
44982         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44983         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44984         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44985         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44987 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44989         [BZ #16077]
44990         * nss/Versions (libnss_files): Add
44991         _nss_files_gethostbyname3_r.
44992         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44993         New function.
44994         (HOST_DB_LOOKUP): Remove macro.
44995         (_nss_files_gethostbyname_r): Implement function without the
44996         HOST_DB_LOOKUP macro.
44997         (_nss_files_gethostbyname2_r): Likewise.
44999 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45001         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45003 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45005         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45006         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45007         warning.
45009 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45011         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45012         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45013         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45014         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45015         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45016         __fe_nomask_env_priv and attribute_hidden.
45017         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45018         (libc_feupdateenv_test_ppc): Likewise.
45019         (libc_feresetround_ppc): Likewise.
45020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45021         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45022         compat_symbol macro.
45023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45024         (__fe_nomask_env): Likewise.
45025         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45027 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45029         * string/Makefile: Remove ifunc tests.
45030         * string/test-string.h: Define TEST_IFUNC.
45031         * string/test-bcopy-ifunc.c: Remove.
45032         * string/test-bzero-ifunc.c: Likewise.
45033         * string/test-memccpy-ifunc.c: Likewise.
45034         * string/test-memchr-ifunc.c: Likewise.
45035         * string/test-memcmp-ifunc.c: Likewise.
45036         * string/test-memcpy-ifunc.c: Likewise.
45037         * string/test-memmem-ifunc.c: Likewise.
45038         * string/test-memmove-ifunc.c: Likewise.
45039         * string/test-mempcpy-ifunc.c: Likewise.
45040         * string/test-memrchr-ifunc.c: Likewise.
45041         * string/test-memset-ifunc.c: Likewise.
45042         * string/test-rawmemchr-ifunc.c: Likewise.
45043         * string/test-stpcpy-ifunc.c: Likewise.
45044         * string/test-stpncpy-ifunc.c: Likewise.
45045         * string/test-strcasecmp-ifunc.c: Likewise.
45046         * string/test-strcasestr-ifunc.c: Likewise.
45047         * string/test-strcat-ifunc.c: Likewise.
45048         * string/test-strchr-ifunc.c: Likewise.
45049         * string/test-strchrnul-ifunc.c: Likewise.
45050         * string/test-strcmp-ifunc.c: Likewise.
45051         * string/test-strcpy-ifunc.c: Likewise.
45052         * string/test-strcspn-ifunc.c: Likewise.
45053         * string/test-strlen-ifunc.c: Likewise.
45054         * string/test-strncasecmp-ifunc.c: Likewise.
45055         * string/test-strncat-ifunc.c: Likewise.
45056         * string/test-strncmp-ifunc.c: Likewise.
45057         * string/test-strncpy-ifunc.c: Likewise.
45058         * string/test-strnlen-ifunc.c: Likewise.
45059         * string/test-strpbrk-ifunc.c: Likewise.
45060         * string/test-strrchr-ifunc.c: Likewise.
45061         * string/test-strspn-ifunc.c: Likewise.
45062         * string/test-strstr-ifunc.c: Likewise.
45064 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45066         * benchtests/Makefile: Remove ifunc tests.
45067         * benchtests/bench-string.h: Define TEST_IFUNC.
45068         * benchtests/bench-bcopy-ifunc.c: Remove.
45069         * benchtests/bench-bzero-ifunc.c: Likewise.
45070         * benchtests/bench-memccpy-ifunc.c: Likewise.
45071         * benchtests/bench-memchr-ifunc.c: Likewise.
45072         * benchtests/bench-memcmp-ifunc.c: Likewise.
45073         * benchtests/bench-memcpy-ifunc.c: Likewise.
45074         * benchtests/bench-memmem-ifunc.c: Likewise.
45075         * benchtests/bench-memmove-ifunc.c: Likewise.
45076         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45077         * benchtests/bench-memrchr-ifunc.c: Likewise.
45078         * benchtests/bench-memset-ifunc.c: Likewise.
45079         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45080         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45081         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45082         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45083         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45084         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45085         * benchtests/bench-strcat-ifunc.c: Likewise.
45086         * benchtests/bench-strchr-ifunc.c: Likewise.
45087         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45088         * benchtests/bench-strcmp-ifunc.c: Likewise.
45089         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45090         * benchtests/bench-strcpy-ifunc.c: Likewise.
45091         * benchtests/bench-strcspn-ifunc.c: Likewise.
45092         * benchtests/bench-strlen-ifunc.c: Likewise.
45093         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45094         * benchtests/bench-strncat-ifunc.c: Likewise.
45095         * benchtests/bench-strncmp-ifunc.c: Likewise.
45096         * benchtests/bench-strncpy-ifunc.c: Likewise.
45097         * benchtests/bench-strnlen-ifunc.c: Likewise.
45098         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45099         * benchtests/bench-strrchr-ifunc.c: Likewise.
45100         * benchtests/bench-strsep-ifunc.c: Likewise.
45101         * benchtests/bench-strspn-ifunc.c: Likewise.
45102         * benchtests/bench-strstr-ifunc.c: Likewise.
45104 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45106         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45108 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45110         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45111         * rt/aio.h: Likewise.
45112         * sysdeps/gnu/bits/utmp.h: Likewise.
45113         * sysdeps/gnu/bits/utmpx.h: Likewise.
45114         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45115         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45116         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45117         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45118         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45119         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45120         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45121         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45122         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45123         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45124         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45125         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45126         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45128         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45129         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45130         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45131         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45132         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45133         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45134         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45135         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45136         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45137         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45138         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45139         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45140         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45141         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45142         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45143         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45144         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45145         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45146         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45147         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45148         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45149         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45150         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45151         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45152         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45153         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45154         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45155         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45157 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45159         [BZ #16245]
45160         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45161         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45163 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45165         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45166         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45167         Likewise.
45169 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45171         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45172         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45173         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45174         (__fesetround): Remove define.
45175         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45176         rounding and exceptions handling.
45177         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45178         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45179         (__fe_nomask_env): Likewise.
45180         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45181         __fegetround instead of fegetround.
45182         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45183         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45185 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45187         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45188         it's there.
45190         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45192 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45194         [BZ #11157]
45195         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45196         (encrypt_r): Likewise.
45197         * malloc/obstack.h (obstack_free): Likewise.
45198         * posix/unistd.h (encrypt): Likewise.
45200 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45202         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45203         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45204         DL_CALL_DT_FINI() that call the functions directly.
45205         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45206         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45207         * elf/dl-fini.c: Likewise.
45209 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45211         * malloc/hooks.c (memalign_check): Add alignment rounding.
45212         * malloc/malloc.c (_mid_memalign): New function.
45213         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45214         Implement by calling _mid_memalign.
45215         * manual/probes.texi (Memory Allocation Probes): Remove
45216         memory_valloc_retry and memory_pvalloc_retry.
45218 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45220         * locale/programs/locarchive.c (open_archive): Add const
45221         qualifier to ARCHIVEFNAME and copy default fname to
45222         DEFAULT_FNAME.
45224         [BZ #15601]
45225         * libio/tst-widetext.input: Rename Oriya to Odia.
45226         * locale/iso-639.def: Likewise.
45228         * manual/probes.texi (Mathematical Function Probes): Add
45229         documentation for sin, cos, asin and acos probes.
45230         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45231         (__sin32): Add slowasin probe.
45232         (__cos32): Add slowacos probe.
45233         (__mpsin): Add slowsin probe.
45234         (__mpcos): Add slowcos probe.
45236 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45238         [BZ #15483]
45239         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45240         thread-local __sim_exceptions_thread and global
45241         __sim_exceptions_global.
45242         (__sim_disabled_exceptions): Change to thread-local
45243         __sim_disabled_exceptions_thread and global
45244         __sim_disabled_exceptions_global.
45245         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45246         and global __sim_round_mode_global.
45247         (__simulate_exceptions): Use thread-local floating-point state and
45248         set global state from it as needed.
45249         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45250         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45251         __sim_round_mode_thread.
45252         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45253         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45254         and global __sim_exceptions_global.
45255         (__sim_disabled_exceptions): Change to thread-local
45256         __sim_disabled_exceptions_thread and global
45257         __sim_disabled_exceptions_global.
45258         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45259         and global __sim_round_mode_global.
45260         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45261         (SIM_SET_GLOBAL): Likewise.
45262         * sysdeps/powerpc/soft-fp/sfp-machine.h
45263         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45264         __sim_round_mode_thread.
45265         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45266         __sim_disabled_exceptions_thread.
45267         (__sim_exceptions): Change to __sim_exceptions_thread.
45268         (__sim_disabled_exceptions): Change to
45269         __sim_disabled_exceptions_thread.
45270         (__sim_round_mode): Change to __sim_round_mode_thread.
45271         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45272         thread-local floating-point state and set global state from it as
45273         needed.
45274         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45275         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45276         (__sim_disabled_exceptions): Remove extern declaration.
45277         (feenableexcept): Use thread-local floating-point state and set
45278         global state from it as needed.
45279         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45280         extern declaration.
45281         (__sim_disabled_exceptions): Likewise.
45282         (__sim_round_mode): Likewise.
45283         (__fegetenv): Use thread-local floating-point state.
45284         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45285         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45286         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45287         floating-point state and set global state from it as needed.
45288         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45289         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45290         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45291         Likewise.
45292         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45293         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45294         Likewise.
45295         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45296         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45297         Use __sim_round_mode_thread.
45298         * math/test-fenv-tls.c: New file.
45299         * math/Makefile (tests): Add test-fenv-tls.
45300         ($(objpfx)test-fenv-tls): Depend on
45301         $(common-objpfx)nptl/libpthread.so.
45303 2013-11-19  Andreas Schwab  <schwab@suse.de>
45305         * locale/programs/locale.c (show_info): Decode wordarray elements.
45306         * locale/categories.def (LC_MONETARY): Add element for
45307         _NL_MONETARY_CRNCYSTR.
45308         * locale/C-monetary.c (conversion_rate): New variable.
45309         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45310         element.
45312 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45314         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45315         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45317 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45319         * elf/Makefile (tst-auxv): New test.
45320         * elf/tst-auxv.c: New
45321         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45323 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45325         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45326         (hidden_proto): Caller changed.
45327         (hidden_tls_proto): New macro.
45328         (libc_hidden_tls_proto): Likewise.
45329         (rtld_hidden_tls_proto): Likewise.
45330         (libm_hidden_tls_proto): Likewise.
45331         (libresolv_hidden_tls_proto): Likewise.
45332         (librt_hidden_tls_proto): Likewise.
45333         (libdl_hidden_tls_proto): Likewise.
45334         (libnss_files_hidden_tls_proto): Likewise.
45335         (libnsl_hidden_tls_proto): Likewise.
45336         (libnss_nisplus_hidden_tls_proto): Likewise.
45337         (libutil_hidden_tls_proto): Likewise.
45339 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45341         [BZ #10253]
45342         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45343         (decompose_rpath): Defer expansion to fillin_rpath.
45344         (_dl_init_paths): Pass linkmap to fillin_rpath.
45346 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45348         * benchtests/Makefile: Add strsep.
45349         * benchtests/bench-strsep.c: New file: strsep benchtest.
45350         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45352 2013-11-18  Andreas Schwab  <schwab@suse.de>
45354         * locale/programs/locale.c (show_info) [case byte]: Check for
45355         '\377' instead of '\177'.
45356         * locale/C-monetary.c (not_available): Always use "\377".
45357         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45358         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45359         detect unavailable sign_posn locale elements.
45360         * locale/localeconv.c (__localeconv): For grouping and
45361         mon_grouping handle "\177" and "\377" like no grouping.
45362         (INT_ELEM): New macro.  Use it to set all numeric members.
45363         * locale/programs/ld-monetary.c (monetary_read)
45364         <tok_mon_grouping>: Normalize single -1 to the empty string.
45365         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45366         Likewise.
45368 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45370         [BZ #16055]
45371         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45372         when we match (nil).
45373         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45375 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45377         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45378         (NO_TEST_INLINE): Update value.
45379         (ERRNO_UNCHANGED): Likewise.
45380         (ERRNO_EDOM): Likewise.
45381         (ERRNO_ERANGE): Likewise.
45382         (IGNORE_RESULT): Likewise.
45383         (check_float_internal): Check signs of NaN results if
45384         TEST_NAN_SIGN used.
45385         (check_complex): Pass TEST_NAN_SIGN flag through to second
45386         check_float_internal call.
45387         (copysign_test_data): Add tests with quiet NaNs as second
45388         argument.  Use TEST_NAN_SIGN.
45389         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45390         TEST_NAN_SIGN.
45391         (signbit_test_data): Add tests of quiet NaN argument.
45392         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45394         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45395         $ignore_result.
45396         (parse_args): Handle function results specified as IGNORE.
45397         * math/libm-test.inc (IGNORE_RESULT): New macro.
45398         (check_float_internal): Do not check numerical result if flag
45399         IGNORE_RESULT set.
45400         (check_complex): Pass through IGNORE_RESULT to second
45401         check_float_internal call.
45402         (check_int): Do not check numerical result if flag IGNORE_RESULT
45403         set.
45404         (check_long): Likewise.
45405         (check_bool): Likewise.
45406         (check_longlong): Likewise.
45407         (lrint_test_data): Add tests of infinite and NaN arguments.
45408         (lrint_tonearest_test_data): Likewise.
45409         (lrint_towardzero_test_data): Likewise.
45410         (lrint_downward_test_data): Likewise.
45411         (lrint_upward_test_data): Likewise.
45412         (llrint_test_data): Likewise.
45413         (llrint_tonearest_test_data): Likewise.
45414         (llrint_towardzero_test_data): Likewise.
45415         (llrint_downward_test_data): Likewise.
45416         (llrint_upward_test_data): Likewise.
45417         (lround_test_data): Likewise.
45418         (llround_test_data): Likewise.
45420         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45421         (ERRNO_UNCHANGED): Update value.
45422         (ERRNO_EDOM): Likewise.
45423         (ERRNO_ERANGE): Likewise.
45424         (NO_TEST_INLINE_FLOAT): New macro.
45425         (NO_TEST_INLINE_DOUBLE): Likewise.
45426         (enable_test): New function.
45427         (RUN_TEST_f_f): Check enable_test before running test.
45428         (RUN_TEST_2_f): Likewise.
45429         (RUN_TEST_fff_f): Likewise.
45430         (RUN_TEST_c_f): Likewise.
45431         (RUN_TEST_f_f1): Likewise.
45432         (RUN_TEST_fF_f1): Likewise.
45433         (RUN_TEST_fI_f1): Likewise.
45434         (RUN_TEST_ffI_f1): Likewise.
45435         (RUN_TEST_c_c): Likewise.
45436         (RUN_TEST_cc_c): Likewise.
45437         (RUN_TEST_f_i): Likewise.
45438         (RUN_TEST_f_i_tg): Likewise.
45439         (RUN_TEST_ff_i_tg): Likewise.
45440         (RUN_TEST_f_b): Likewise.
45441         (RUN_TEST_f_b_tg): Likewise.
45442         (RUN_TEST_f_l): Likewise.
45443         (RUN_TEST_f_L): Likewise.
45444         (RUN_TEST_fFF_11): Likewise.
45445         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45446         conditionals.
45447         (cosh_test_data): Likewise.
45448         (exp_test_data): Likewise.
45449         (expm1_test_data): Likewise.
45450         (hypot_test_data): Likewise.
45451         (pow_test_data): Likewise.
45452         (sinh_test_data): Likewise.
45453         (tanh_test_data): Likewise.
45454         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45455         flags argument.
45457         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45458         tests with quiet NaN input and output.
45459         (acosh_test_data): Likewise.
45460         (asin_test_data): Likewise.
45461         (asinh_test_data): Likewise.
45462         (atan_test_data): Likewise.
45463         (atanh_test_data): Likewise.
45464         (atan2_test_data): Likewise.
45465         (cbrt_test_data): Likewise.
45466         (cos_test_data): Likewise.
45467         (cosh_test_data): Likewise.
45468         (erf_test_data): Likewise.
45469         (erfc_test_data): Likewise.
45470         (exp_test_data): Likewise.
45471         (exp10_test_data): Likewise.
45472         (exp2_test_data): Likewise.
45473         (expm1_test_data): Likewise.
45474         (hypot_test_data): Likewise.
45475         (j0_test_data): Likewise.
45476         (j1_test_data): Likewise.
45477         (jn_test_data): Likewise.
45478         (lgamma_test_data): Likewise.
45479         (log_test_data): Likewise.
45480         (log10_test_data): Likewise.
45481         (log1p_test_data): Likewise.
45482         (log2_test_data): Likewise.
45483         (pow_test_data): Likewise.
45484         (scalb_test_data): Likewise.
45485         (sin_test_data): Likewise.
45486         (sincos_test_data): Likewise.
45487         (sinh_test_data): Likewise.
45488         (tan_test_data): Likewise.
45489         (tanh_test_data): Likewise.
45490         (tgamma_test_data): Likewise.
45491         (y0_test_data): Likewise.
45492         (y1_test_data): Likewise.
45493         (yn_test_data): Likewise.
45495         [BZ #16167]
45496         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45497         argument being NaN and avoid computations with second argument in
45498         that case.
45499         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45500         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45501         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45503 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45505         * locale/iso-639.def: Add Chitwani Tharu (the).
45507 2013-11-14  Andreas Schwab  <schwab@suse.de>
45509         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45510         word instead of empty string.
45512 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45515         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45517         (__fe_nomask_env): Likewise.
45519 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45521         * benchtests/bench-timing.h: Include time.h.
45523 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45525         [BZ #15997]
45526         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45527         to 3.4.0 for x32.
45528         * sysdeps/unix/sysv/linux/configure: Regenerated.
45530 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45532         [BZ #16151]
45533         * stdlib/strtod_l.c (round_and_return): Do not consider
45534         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45535         exponent one less than half the least subnormal exponent.
45536         * stdlib/test-strtod-round-data: Add more tests.
45537         * stdlib/tst-strtod-round.c (tests): Regenerated.
45539 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45541         [BZ #14143]
45542         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45543         (__fe_mask_env): Likewise.
45544         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45545         libm_hidden_proto and add function prototype.
45546         (__fe_mask_env): Add function prototype.
45547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45548         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45550         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45552         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45554 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45556         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45557         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45559 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45561         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45562         of htab_find_slot().
45564 2013-11-11  David S. Miller  <davem@davemloft.net>
45566         [BZ #16150]
45567         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45568         symbol in the non-vis3 case in static builds.
45569         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45570         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45571         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45572         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45574 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45576         [BZ #387]
45577         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45578         it is empty.
45580 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45582         * benchtests/Makefile: Add bench-strtod.
45583         * benchtests/bench-strtod.c: New file: strtod benchtest
45585 2013-11-11  Andreas Schwab  <schwab@suse.de>
45587         [BZ #16153]
45588         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45589         terminating NUL in key length.
45591 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45593         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45594         Add artificial ODP entry for vDSO symbol for PPC64.
45595         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45596         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45598 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45600         [BZ #15374]
45601         * nss/getent.c (services_keys): Recognize services starting with digit.
45603 2013-11-06  David S. Miller  <davem@davemloft.net>
45605         [BZ #15985]
45606         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45607         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45609 2013-11-06  Will Newton  <will.newton@linaro.org>
45611         * manual/memory.texi (Malloc Examples): Remove register
45612         keyword from examples.
45614 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45616         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45618 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45620         [BZ #6981]
45621         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45622         depending on [__GCC_IEC_559 > 0].
45623         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45624         depending on [__GCC_IEC_559_COMPLEX > 0].
45626 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45628         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45629         to iso-639.def.
45631 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45633         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45635 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45637         [BZ #16112]
45638         * malloc/malloc (malloc_info): Do not handle first bin as
45639         special case.
45641 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45643         * locale/iso-639.def: Add Central Nahuatl (nhn).
45645 2013-11-01  Bruno Haible  <bruno@clisp.org>
45647         [BZ #7003]
45648         * manual/math.texi (BSD Random): Specify range upper bound as
45649         in POSIX.
45651 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45653         * locale/iso-639.def: Add Meadow Mari (mhr).
45655 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45657         [BZ #14752], [BZ #15763]
45658         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45659         Validate name.
45660         * rt/tst_shm.c: Add test for escaping directory.
45662 2013-10-31  Andreas Schwab  <schwab@suse.de>
45664         [BZ #15917]
45665         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45666         followed by 'x' as part of digit sequence.
45667         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45669 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45671         [BZ #16037]
45672         * configure.ac: allow GNU Make 4.0 and greater.
45673         * configure: Regenerated.
45675 2013-10-30  Will Newton  <will.newton@linaro.org>
45677         [BZ #16038]
45678         * malloc/hooks.c (memalign_check): Limit alignment to the
45679         maximum representable power of two.
45680         * malloc/malloc.c (__libc_memalign): Likewise.
45681         * malloc/tst-memalign.c (do_test): Add test for very
45682         large alignment values.
45683         * malloc/tst-posix_memalign.c (do_test): Likewise.
45685 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45687         [BZ #11087]
45688         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45689         (munmap_chunk): Likewise.
45690         (mremap_chunk): Likewise.
45692 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45694         [BZ #15799]
45695         * stdlib/div.c (div): Remove obsolete code.
45696         * stdlib/ldiv.c (ldiv): Likewise.
45697         * stdlib/lldiv.c (lldiv): Likewise.
45699 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45701         [BZ #16071]
45702         * nss/nss_files/files-XXX.c (get_contents_ret): New
45703         enumerator.
45704         (get_contents): New function.
45705         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45707 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45709         * configure.in: Moved to ...
45710         * configure.ac: ... here. Change reference to configure.in
45711         to configure.ac.
45712         * sysdeps/arm/preconfigure.ac: ... here.
45713         configure.in to configure.ac.
45714         * sysdeps/gnu/configure.in: Moved to ...
45715         * sysdeps/gnu/configure.ac: ... here.
45716         * sysdeps/i386/configure.in: Moved to ...
45717         * sysdeps/i386/configure.ac: ... here.
45718         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45719         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45720         * sysdeps/mach/configure.in: Moved to ...
45721         * sysdeps/mach/configure.ac: ... here.
45722         * sysdeps/mach/hurd/configure.in: Moved to ...
45723         * sysdeps/mach/hurd/configure.ac: ... here.
45724         * sysdeps/powerpc/configure.in: Moved to ...
45725         * sysdeps/powerpc/configure.ac: ... here.
45726         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45727         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45728         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45729         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45730         * sysdeps/s390/s390-32/configure.in: Moved to ...
45731         * sysdeps/s390/s390-32/configure.ac: ... here.
45732         * sysdeps/s390/s390-64/configure.in: Moved to ...
45733         * sysdeps/s390/s390-64/configure.ac: ... here.
45734         * sysdeps/sh/configure.in: Moved to ...
45735         * sysdeps/sh/configure.ac: ... here.
45736         * sysdeps/sparc/configure.in: Moved to ...
45737         * sysdeps/sparc/configure.ac: ... here.
45738         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45739         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45740         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45741         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45742         * sysdeps/x86_64/configure.in: Moved to ...
45743         * sysdeps/x86_64/configure.ac: ... here.
45744         * sysdeps/x86_64/preconfigure.in: Moved to ...
45745         * sysdeps/x86_64/preconfigure.ac: ... here.
45746         * aclocal.m4: Change reference to configure.in to configure.ac.
45747         * config.h.in: Likewise.
45748         * manual/install.texi: Likewise.
45749         * manual/maint.texi: Likewise.
45750         * Makefile: Likewise.
45751         * malloc/Makefile: Likewise.
45752         * nscd/Makefile: Likewise.
45753         * Makeconfig: Change reference to configure.in and
45754         preconfigure.in to configure.ac and preconfigure.ac
45755         respectively.
45756         * INSTALL: Regenerated.
45757         * configure: Likewise.
45758         * sysdeps/gnu/configure: Likewise.
45759         * sysdeps/i386/configure: Likewise.
45760         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45761         * sysdeps/mach/configure: Likewise.
45762         * sysdeps/mach/hurd/configure: Likewise.
45763         * sysdeps/powerpc/configure: Likewise.
45764         * sysdeps/powerpc/powerpc32/configure: Likewise.
45765         * sysdeps/powerpc/powerpc64/configure: Likewise.
45766         * sysdeps/s390/s390-32/configure: Likewise.
45767         * sysdeps/s390/s390-64/configure: Likewise.
45768         * sysdeps/sh/configure: Likewise.
45769         * sysdeps/sparc/configure: Likewise.
45770         * sysdeps/unix/sysv/linux/configure: Likewise.
45771         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45772         * sysdeps/x86_64/configure: Likewise.
45773         * sysdeps/x86_64/preconfigure: Likewise.
45775 2013-10-29  Andreas Schwab  <schwab@suse.de>
45777         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45779 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45781         * benchtests/pow-inputs: Add new inputs.
45783         * benchtests/exp-inputs: Add new inputs.
45785         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45786         conditional check for return value.
45787         (__cos32): Likewise.
45789 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45791         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45792         to provide a boost for large inputs with word alignment.
45793         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45794         implementation based on optimized PPC64 strcpy.
45795         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45796         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45797         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45798         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45800 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45802         [BZ #2801]
45803         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45805 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45807         [BZ #14876]
45808         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45809         * time/tst-strptime.c (day_tests): Add testcase.
45811 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45813         [BZ #14029]
45814         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45816 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45818         [BZ #16074]
45819         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45820         MAP_FAILED on error.
45822 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45824         [BZ #16072]
45825         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45826         heap for large requests.
45828 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45830         [BZ #9954]
45831         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45832         result if the result has no associated interface.
45833         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45834         interface for all 127.X.Y.Z addresses.
45836 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45838         * locale/iso-639.def: Add Ligurian (lij)
45840 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45842         [BZ #15825]
45843         * sunrpc/rpc_main.c: Document rpcgen -5.
45845 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45847         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45849 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45851         [BZ #10278]
45852         * posix/glob.c: Match only directories when trailing slash is present.
45853         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45854         (main): Add testcase.
45856 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45858         [BZ #15670]
45859         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45861 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45863         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45864         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45865         AUTH_DES and cindex for FIPS 140-2.
45866         (DES Encryption): Add cindex FIPS 46-3.
45868         * locale/locarchive.h (struct locarhandle): Add fname.
45869         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45870         if an optional argument was specified to --list-archive,
45871         otherwise NULL.
45872         * locale/programs/locarchive.c (show_archive_content): Take new
45873         argument fname and pass it via ah.fname to open_archive.
45874         * locale/programs/localedef.h: Update decl.
45875         (open_archive): If AH->fname is non-null, open that file
45876         rather than the default file name, and don't ignore ENOENT.
45877         (create_archive): Set AH.fname to NULL.
45878         (delete_locales_from_archive): Likewise.
45879         (add_locales_to_archive): Likewise.
45880         * locale/programs/locfile.c (write_all_categories): Likewise.
45882 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45883             Aldy Hernandez  <aldyh@redhat.com>
45885         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45886         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45887         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45888         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45889         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45890         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45891         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45892         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45893         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45894         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45895         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45896         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45897         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45898         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45899         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45900         Likewise.
45901         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45902         Likewise.
45903         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45904         Likewise.
45905         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45906         Likewise.
45907         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45908         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45909         Likewise.
45910         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45911         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45912         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45913         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45914         Likewise.
45915         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45916         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45917         * sysdeps/powerpc/preconfigure: Likewise.
45918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45919         Likewise.
45920         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45921         Replace contents of file by #include of <fenv_libc.h>.
45922         * sysdeps/powerpc/soft-fp/sfp-machine.h
45923         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45924         and <sys/prctl.h>.
45925         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45927         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45931         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45932         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45933         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45934         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45935         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45936         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45938         Allow copysignl PLT reference to be missing.
45940 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45941             Joseph Myers  <joseph@codesourcery.com
45943         [BZ #15948]
45944         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45945         single character.
45946         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45948 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45950         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45951         * elf/tst-tls1.c: Likewise.
45952         * elf/tst-tls10.h: Likewise.
45953         * elf/tst-tls14.c: Likewise.
45954         * elf/tst-tls2.c: Likewise.
45955         * elf/tst-tls3.c: Likewise.
45956         * elf/tst-tls4.c: Likewise.
45957         * elf/tst-tls5.c: Likewise.
45958         * elf/tst-tls6.c: Likewise.
45959         * elf/tst-tls7.c: Likewise.
45960         * elf/tst-tls8.c: Likewise.
45961         * elf/tst-tls9.c: Likewise.
45962         * elf/tst-tlsmod1.c: Likewise.
45963         * elf/tst-tlsmod13.c: Likewise.
45964         * elf/tst-tlsmod13a.c: Likewise.
45965         * elf/tst-tlsmod14a.c: Likewise.
45966         * elf/tst-tlsmod16a.c: Likewise.
45967         * elf/tst-tlsmod16b.c: Likewise.
45968         * elf/tst-tlsmod2.c: Likewise.
45969         * elf/tst-tlsmod3.c: Likewise.
45970         * elf/tst-tlsmod4.c: Likewise.
45971         * elf/tst-tlsmod5.c: Likewise.
45972         * elf/tst-tlsmod6.c: Likewise.
45974 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45976         [BZ #12486]
45977         * malloc/malloc.c: remove checks for statistics.
45979 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45981         [BZ #15277]
45982         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45983         * inet/tst-network.c: Add testcase.
45985 2013-10-17  Andreas Schwab  <schwab@suse.de>
45987         [BZ #15218]
45988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45989         to determine canonical name.
45991 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45993         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45994         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45995         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45996         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45997         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45998         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45999         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46000         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46001         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46002         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46003         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46004         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46005         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46006         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46007         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46008         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46009         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46010         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46011         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46012         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46013         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46014         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46015         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46016         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46017         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46018         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46019         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46020         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46021         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46022         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46023         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46024         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46025         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46026         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46027         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46028         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46029         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46030         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46031         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46032         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46033         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46034         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46035         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46036         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46037         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46038         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46039         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46040         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46041         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46042         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46043         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46044         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46045         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46046         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46047         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46048         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46049         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46050         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46052 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46054         [BZ #16041]
46055         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46056         make result into a quiet NaN.
46058 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46060         * soft-fp/adddf3.c: Fix horizontal whitespace.
46061         * soft-fp/addsf3.c: Likewise.
46062         * soft-fp/addtf3.c: Likewise.
46063         * soft-fp/divdf3.c: Likewise.
46064         * soft-fp/divsf3.c: Likewise.
46065         * soft-fp/divtf3.c: Likewise.
46066         * soft-fp/double.h: Likewise.
46067         * soft-fp/eqdf2.c: Likewise.
46068         * soft-fp/eqsf2.c: Likewise.
46069         * soft-fp/eqtf2.c: Likewise.
46070         * soft-fp/extenddftf2.c: Likewise.
46071         * soft-fp/extended.h: Likewise.
46072         * soft-fp/extendsfdf2.c: Likewise.
46073         * soft-fp/extendsftf2.c: Likewise.
46074         * soft-fp/extendxftf2.c: Likewise.
46075         * soft-fp/fixdfdi.c: Likewise.
46076         * soft-fp/fixdfsi.c: Likewise.
46077         * soft-fp/fixdfti.c: Likewise.
46078         * soft-fp/fixsfdi.c: Likewise.
46079         * soft-fp/fixsfsi.c: Likewise.
46080         * soft-fp/fixsfti.c: Likewise.
46081         * soft-fp/fixtfdi.c: Likewise.
46082         * soft-fp/fixtfsi.c: Likewise.
46083         * soft-fp/fixtfti.c: Likewise.
46084         * soft-fp/fixunsdfdi.c: Likewise.
46085         * soft-fp/fixunsdfsi.c: Likewise.
46086         * soft-fp/fixunsdfti.c: Likewise.
46087         * soft-fp/fixunssfdi.c: Likewise.
46088         * soft-fp/fixunssfsi.c: Likewise.
46089         * soft-fp/fixunssfti.c: Likewise.
46090         * soft-fp/fixunstfdi.c: Likewise.
46091         * soft-fp/fixunstfsi.c: Likewise.
46092         * soft-fp/fixunstfti.c: Likewise.
46093         * soft-fp/floatdidf.c: Likewise.
46094         * soft-fp/floatdisf.c: Likewise.
46095         * soft-fp/floatditf.c: Likewise.
46096         * soft-fp/floatsidf.c: Likewise.
46097         * soft-fp/floatsisf.c: Likewise.
46098         * soft-fp/floatsitf.c: Likewise.
46099         * soft-fp/floattidf.c: Likewise.
46100         * soft-fp/floattisf.c: Likewise.
46101         * soft-fp/floattitf.c: Likewise.
46102         * soft-fp/floatundidf.c: Likewise.
46103         * soft-fp/floatundisf.c: Likewise.
46104         * soft-fp/floatunditf.c: Likewise.
46105         * soft-fp/floatunsidf.c: Likewise.
46106         * soft-fp/floatunsisf.c: Likewise.
46107         * soft-fp/floatunsitf.c: Likewise.
46108         * soft-fp/floatuntidf.c: Likewise.
46109         * soft-fp/floatuntisf.c: Likewise.
46110         * soft-fp/floatuntitf.c: Likewise.
46111         * soft-fp/fmadf4.c: Likewise.
46112         * soft-fp/fmasf4.c: Likewise.
46113         * soft-fp/fmatf4.c: Likewise.
46114         * soft-fp/gedf2.c: Likewise.
46115         * soft-fp/gesf2.c: Likewise.
46116         * soft-fp/getf2.c: Likewise.
46117         * soft-fp/ledf2.c: Likewise.
46118         * soft-fp/lesf2.c: Likewise.
46119         * soft-fp/letf2.c: Likewise.
46120         * soft-fp/muldf3.c: Likewise.
46121         * soft-fp/mulsf3.c: Likewise.
46122         * soft-fp/multf3.c: Likewise.
46123         * soft-fp/negdf2.c: Likewise.
46124         * soft-fp/negsf2.c: Likewise.
46125         * soft-fp/negtf2.c: Likewise.
46126         * soft-fp/op-1.h: Likewise.
46127         * soft-fp/op-2.h: Likewise.
46128         * soft-fp/op-4.h: Likewise.
46129         * soft-fp/op-8.h: Likewise.
46130         * soft-fp/op-common.h: Likewise.
46131         * soft-fp/quad.h: Likewise.
46132         * soft-fp/single.h: Likewise.
46133         * soft-fp/soft-fp.h: Likewise.
46134         * soft-fp/sqrtdf2.c: Likewise.
46135         * soft-fp/sqrtsf2.c: Likewise.
46136         * soft-fp/sqrttf2.c: Likewise.
46137         * soft-fp/subdf3.c: Likewise.
46138         * soft-fp/subsf3.c: Likewise.
46139         * soft-fp/subtf3.c: Likewise.
46140         * soft-fp/truncdfsf2.c: Likewise.
46141         * soft-fp/trunctfdf2.c: Likewise.
46142         * soft-fp/trunctfsf2.c: Likewise.
46143         * soft-fp/trunctfxf2.c: Likewise.
46144         * soft-fp/unorddf2.c: Likewise.
46145         * soft-fp/unordsf2.c: Likewise.
46146         * soft-fp/unordtf2.c: Likewise.
46148 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46150         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46151         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46153 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46155         * elf/dl-libc.c: Clear initfini list after freeing.
46157 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46159         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46160         * soft-fp/addsf3.c: Likewise.
46161         * soft-fp/addtf3.c: Likewise.
46162         * soft-fp/divdf3.c: Likewise.
46163         * soft-fp/divsf3.c: Likewise.
46164         * soft-fp/divtf3.c: Likewise.
46165         * soft-fp/double.h: Likewise.
46166         * soft-fp/eqdf2.c: Likewise.
46167         * soft-fp/eqsf2.c: Likewise.
46168         * soft-fp/eqtf2.c: Likewise.
46169         * soft-fp/extenddftf2.c: Likewise.
46170         * soft-fp/extended.h: Likewise.
46171         * soft-fp/extendsfdf2.c: Likewise.
46172         * soft-fp/extendsftf2.c: Likewise.
46173         * soft-fp/extendxftf2.c: Likewise.
46174         * soft-fp/fixdfdi.c: Likewise.
46175         * soft-fp/fixdfsi.c: Likewise.
46176         * soft-fp/fixdfti.c: Likewise.
46177         * soft-fp/fixsfdi.c: Likewise.
46178         * soft-fp/fixsfsi.c: Likewise.
46179         * soft-fp/fixsfti.c: Likewise.
46180         * soft-fp/fixtfdi.c: Likewise.
46181         * soft-fp/fixtfsi.c: Likewise.
46182         * soft-fp/fixtfti.c: Likewise.
46183         * soft-fp/fixunsdfdi.c: Likewise.
46184         * soft-fp/fixunsdfsi.c: Likewise.
46185         * soft-fp/fixunsdfti.c: Likewise.
46186         * soft-fp/fixunssfdi.c: Likewise.
46187         * soft-fp/fixunssfsi.c: Likewise.
46188         * soft-fp/fixunssfti.c: Likewise.
46189         * soft-fp/fixunstfdi.c: Likewise.
46190         * soft-fp/fixunstfsi.c: Likewise.
46191         * soft-fp/fixunstfti.c: Likewise.
46192         * soft-fp/floatdidf.c: Likewise.
46193         * soft-fp/floatdisf.c: Likewise.
46194         * soft-fp/floatditf.c: Likewise.
46195         * soft-fp/floatsidf.c: Likewise.
46196         * soft-fp/floatsisf.c: Likewise.
46197         * soft-fp/floatsitf.c: Likewise.
46198         * soft-fp/floattidf.c: Likewise.
46199         * soft-fp/floattisf.c: Likewise.
46200         * soft-fp/floattitf.c: Likewise.
46201         * soft-fp/floatundidf.c: Likewise.
46202         * soft-fp/floatundisf.c: Likewise.
46203         * soft-fp/floatunsidf.c: Likewise.
46204         * soft-fp/floatunsisf.c: Likewise.
46205         * soft-fp/floatuntidf.c: Likewise.
46206         * soft-fp/floatuntisf.c: Likewise.
46207         * soft-fp/floatuntitf.c: Likewise.
46208         * soft-fp/fmadf4.c: Likewise.
46209         * soft-fp/fmasf4.c: Likewise.
46210         * soft-fp/fmatf4.c: Likewise.
46211         * soft-fp/gedf2.c: Likewise.
46212         * soft-fp/gesf2.c: Likewise.
46213         * soft-fp/getf2.c: Likewise.
46214         * soft-fp/ledf2.c: Likewise.
46215         * soft-fp/lesf2.c: Likewise.
46216         * soft-fp/letf2.c: Likewise.
46217         * soft-fp/muldf3.c: Likewise.
46218         * soft-fp/mulsf3.c: Likewise.
46219         * soft-fp/multf3.c: Likewise.
46220         * soft-fp/negdf2.c: Likewise.
46221         * soft-fp/negsf2.c: Likewise.
46222         * soft-fp/negtf2.c: Likewise.
46223         * soft-fp/op-1.h: Likewise.
46224         * soft-fp/op-2.h: Likewise.
46225         * soft-fp/op-4.h: Likewise.
46226         * soft-fp/op-8.h: Likewise.
46227         * soft-fp/op-common.h: Likewise.
46228         * soft-fp/quad.h: Likewise.
46229         * soft-fp/single.h: Likewise.
46230         * soft-fp/soft-fp.h: Likewise.
46231         * soft-fp/sqrtdf2.c: Likewise.
46232         * soft-fp/sqrtsf2.c: Likewise.
46233         * soft-fp/sqrttf2.c: Likewise.
46234         * soft-fp/subdf3.c: Likewise.
46235         * soft-fp/subsf3.c: Likewise.
46236         * soft-fp/subtf3.c: Likewise.
46237         * soft-fp/truncdfsf2.c: Likewise.
46238         * soft-fp/trunctfdf2.c: Likewise.
46239         * soft-fp/trunctfsf2.c: Likewise.
46240         * soft-fp/trunctfxf2.c: Likewise.
46241         * soft-fp/unorddf2.c: Likewise.
46242         * soft-fp/unordsf2.c: Likewise.
46243         * soft-fp/unordtf2.c: Likewise.
46245 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46247         [BZ #15672]
46248         * misc/error.c (error_tail): Fix possible buffer overflow.
46250 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46252         [BZ #13028]
46253         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46254         address.
46256 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46258         [BZ #832]
46259         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46260         testing pipefail option.
46262 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46264         * soft-fp/double.h: Indent preprocessor directives inside #if.
46265         * soft-fp/extended.h: Likewise.
46266         * soft-fp/op-2.h: Likewise.
46267         * soft-fp/op-4.h: Likewise.
46268         * soft-fp/op-common.h: Likewise.
46269         * soft-fp/quad.h: Likewise.
46270         * soft-fp/single.h: Likewise.
46271         * soft-fp/soft-fp.h: Likewise.
46273 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46275         * iconv/iconv_prog.c: Fix typos.
46276         * stdio-common/psiginfo-data.h: Likewise.
46278 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46280         [BZ #15764]
46281         * locale/setlocale.c: Fix typo.
46283 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46285         [BZ #16036]
46286         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46287         signaling NaN arguments.
46288         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46289         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46291         [BZ #14910]
46292         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46293         unordered operands.
46294         * soft-fp/gesf2.c (__gesf2): Likewise.
46295         * soft-fp/getf2.c (__getf2): Likewise.
46296         * soft-fp/ledf2.c (__ledf2): Likewise.
46297         * soft-fp/lesf2.c (__lesf2): Likewise.
46298         * soft-fp/letf2.c (__letf2): Likewise.
46300         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46301         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46302         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46303         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46304         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46305         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46306         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46307         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46308         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46309         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46310         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46311         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46312         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46313         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46314         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46315         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46316         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46317         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46318         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46319         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46320         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46321         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46322         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46323         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46324         * soft-fp/floattidf.c (__floattidf): Likewise.
46325         * soft-fp/floattisf.c (__floattisf): Likewise.
46326         * soft-fp/floattitf.c (__floattitf): Likewise.
46327         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46328         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46329         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46330         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46331         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46332         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46333         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46334         * soft-fp/gesf2.c (__gesf2): Likewise.
46335         * soft-fp/getf2.c (__getf2): Likewise.
46336         * soft-fp/ledf2.c (__ledf2): Likewise.
46337         * soft-fp/lesf2.c (__lesf2): Likewise.
46338         * soft-fp/letf2.c (__letf2): Likewise.
46340         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46341         Undefine and redefine.
46342         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46343         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46344         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46345         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46346         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46347         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46348         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46349         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46350         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46351         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46352         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46353         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46354         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46355         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46356         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46358         [BZ #16032]
46359         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46360         without decrementing exponent if mantissa >= that for the
46361         denominator, not >.
46362         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46363         denominator, not >.  Decrement exponent in < case instead of
46364         incrementing in >= case.
46365         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46366         without decrementing exponent if mantissa >= that for the
46367         denominator, not >.
46369         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46370         computing saturated result for unsigned overflow.
46372 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46373             Jeff Law  <law@redhat.com>
46375         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46376         (atan2Mp): Add systemtap probe marker.
46377         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46378         (__ieee754_log): Add systemtap probe marker.
46379         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46380         (atanMp): Add systemtap probe marker.
46381         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46382         (tanMp): Add systemtap probe marker.
46383         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46384         (__slowexp): Add systemtap probe marker.
46385         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46386         (__slowpow): Add systemtap probe marker.
46387         * manual/probes.texi: Document probes.
46389 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46391         [BZ #15362]
46392         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46393         written.
46394         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46395         written.
46396         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46397         written to buffer but not flushed.
46398         * libio/iofwrite_u.c:  Likewise.
46399         * libio/iopadn.c:  Return bytes returned even if EOF was
46400         encountered.
46401         * libio/iowpadn.c:  Likewise.
46402         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46403         if _IO_padn does not write the whole buffer.
46404         [!COMPILE_WPRINTF] (PAD): Likewise.
46406 2013-10-10  David S. Miller  <davem@davemloft.net>
46408         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46409         directory block.
46411 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46413         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46414         instead of FSF address.
46415         * soft-fp/fixdfti.c: Likewise.
46416         * soft-fp/fixsfti.c: Likewise.
46417         * soft-fp/fixtfti.c: Likewise.
46418         * soft-fp/fixunsdfti.c: Likewise.
46419         * soft-fp/fixunssfti.c: Likewise.
46420         * soft-fp/fixunstfti.c: Likewise.
46421         * soft-fp/floattidf.c: Likewise.
46422         * soft-fp/floattisf.c: Likewise.
46423         * soft-fp/floattitf.c: Likewise.
46424         * soft-fp/floatuntidf.c: Likewise.
46425         * soft-fp/floatuntisf.c: Likewise.
46426         * soft-fp/floatuntitf.c: Likewise.
46427         * soft-fp/trunctfxf2.c: Likewise.
46429         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46430         * soft-fp/fixdfti.c: Likewise.
46431         * soft-fp/fixsfti.c: Likewise.
46432         * soft-fp/fixtfti.c: Likewise.
46433         * soft-fp/fixunsdfti.c: Likewise.
46434         * soft-fp/fixunssfti.c: Likewise.
46435         * soft-fp/fixunstfti.c: Likewise.
46436         * soft-fp/floattidf.c: Likewise.
46437         * soft-fp/floattisf.c: Likewise.
46438         * soft-fp/floattitf.c: Likewise.
46439         * soft-fp/floatuntidf.c: Likewise.
46440         * soft-fp/floatuntisf.c: Likewise.
46441         * soft-fp/floatuntitf.c: Likewise.
46442         * soft-fp/trunctfxf2.c: Likewise.
46444 2013-10-10  David S. Miller  <davem@davemloft.net>
46446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46448 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46450         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46451         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46452         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46453         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46454         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46455         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46456         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46458         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46459         for NaNs before doing comparisons on argument.
46460         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46461         Likewise.
46463 2013-10-10  Will Newton  <will.newton@linaro.org>
46465         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46466         passed to _int_memalign does not overflow.
46468 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46470         * scripts/bench.pl: Add include-sources directive.
46471         * benchtests/README: Update documentation.
46473 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46475         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46476         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46477         instead of FP_INIT_ROUNDMODE.
46478         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46479         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46481         [BZ #16034]
46482         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46483         copy class of input value.
46484         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46485         not handle exceptions.
46486         * soft-fp/negsf2.c (__negsf2): Likewise.
46487         * soft-fp/negtf2.c (__negtf2): Likewise.
46488         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46490 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46492         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46493         semicolon.  From Linux kernel.
46495 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46497         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46499 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46501         [BZ #156]
46502         * manual/socket.texi: Added statement about buffer
46503         for gethostbyname2_r.
46505 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46507         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46508         Use .p2align directive instead, throughout.
46509         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46510         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46511         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46512         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46513         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46514         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46515         * sysdeps/x86_64/strchr.S: Likewise.
46516         * sysdeps/x86_64/strrchr.S: Likewise.
46518 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46520         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46522         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46524         * sysdeps/generic/math_private.h (__mpsin1): Remove
46525         declaration.
46526         (__mpcos1): Likewise.
46527         (__mpsin): New argument __range_reduce.
46528         (__mpcos): Likewise.
46529         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46530         (slow): Use __mpsin and __mpcos.
46531         (slow1): Likewise.
46532         (slow2): Likewise.
46533         (sloww): Likewise.
46534         (sloww1): Likewise.
46535         (sloww2): Likewise.
46536         (bsloww): Likewise.
46537         (bsloww1): Likewise.
46538         (bsloww2): Likewise.
46539         (cslow2): Likewise.
46540         (csloww): Likewise.
46541         (csloww1): Likewise.
46542         (csloww2): Likewise.
46543         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46544         range_reduce.  Merge in __mpsin1.
46545         (__mpcos): Likewise.
46546         (__mpsin1): Remove.
46547         (__mpcos1): Likewise.
46549 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46551         * locale/loadlocale.c (_nl_intern_locale_data): Use
46552         LOCFILE_ALIGNED_P.
46553         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46554         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46555         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46556         obstack data is appropriately aligned.
46557         (obstack_int32_grow_fast): Likewise.
46558         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46559         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46560         (add_locale_uint32_array): Likewise.
46562 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46564         * benchtests/Makefile: Remove ARGLIST and RET variables.
46565         ($(objpfx)bench-%.c): Pass only function name to the script.
46566         * benchtests/README: Update documentation.
46567         * benchtests/acos-inputs: Add new directives.
46568         * benchtests/acosh-inputs: Likewise.
46569         * benchtests/asin-inputs: Likewise.
46570         * benchtests/asinh-inputs: Likewise.
46571         * benchtests/atan-inputs: Likewise.
46572         * benchtests/atanh-inputs: Likewise.
46573         * benchtests/cos-inputs: Likewise.
46574         * benchtests/cosh-inputs: Likewise.
46575         * benchtests/exp-inputs: Likewise.
46576         * benchtests/log-inputs: Likewise.
46577         * benchtests/pow-inputs: Likewise.
46578         * benchtests/rint-inputs: Likewise.
46579         * benchtests/sin-inputs: Likewise.
46580         * benchtests/sinh-inputs: Likewise.
46581         * benchtests/tan-inputs: Likewise.
46582         * benchtests/tanh-inputs: Likewise.
46583         * scripts/bench.pl: Add support for new directives.
46585 2013-10-07  Alan Modra  <amodra@gmail.com>
46587         * README: Fix careless merge.
46589 2013-10-05  Alan Modra  <amodra@gmail.com>
46591         * NEWS: Mention powerpc64le support and bugs fixed.
46592         * README: Both big-endian and little-endian powerpc64 supported.
46594 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46596         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46597         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46598         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46599         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46601 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46603         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46604         match prototype.
46606 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46608         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46609         Move -mhard-float appending from
46610         ports/sysdeps/powerpc/powerpc32/Makefile.
46611         [$(with-fp) = yes] (ASFLAGS): Likewise.
46612         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46613         * sysdeps/powerpc/nofpu: Move directory from
46614         ports/sysdeps/powerpc/nofpu.
46615         * sysdeps/powerpc/soft-fp: Move directory from
46616         ports/sysdeps/powerpc/soft-fp.
46617         * sysdeps/powerpc/powerpc32/405: Move directory from
46618         ports/sysdeps/powerpc/powerpc32/405.
46619         * sysdeps/powerpc/powerpc32/440: Move directory from
46620         ports/sysdeps/powerpc/powerpc32/440.
46621         * sysdeps/powerpc/powerpc32/464: Move directory from
46622         ports/sysdeps/powerpc/powerpc32/464.
46623         * sysdeps/powerpc/powerpc32/476: Move directory from
46624         ports/sysdeps/powerpc/powerpc32/476.
46625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46626         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46628         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46630         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46632         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46634         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46635         * README: Update for powerpc-*-linux-gnu software floating point
46636         support in libc.
46638         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46639         case to powerpc/powerpc32*.
46640         * sysdeps/unix/sysv/linux/configure: Regenerated.
46642         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46643         (_FPU_MASK_OM): Define as 0x04.
46644         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46645         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46646         0x00c10080.
46647         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46648         0x0000003c.
46649         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46652         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46653         getcontext_e500.
46654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46655         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46656         setcontext_e500.
46657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46658         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46659         and setcontext_e500.
46661 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46663         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46665 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46667         * manual/threads.texi (Default Thread Attributes): Fix typo.
46669 2013-10-04  Will Newton  <will.newton@linaro.org>
46671         * malloc/Makefile: Add tst-memalign.
46672         * malloc/tst-memalign.c: New file.
46674         * malloc/tst-posix_memalign.c: Add comments.
46675         (do_test): Add comments and call free on all potentially
46676         allocated pointers. Add space after cast.
46678         * malloc/tst-pvalloc.c: Add comments.
46679         (do_test): Add comments and call free on all potentially
46680         allocated pointers. Remove duplicate check for NULL pointer.
46681         Add space after cast.
46683         * malloc/tst-valloc.c: Add comments.
46684         (do_test): Add comments and call free on all potentially
46685         allocated pointers. Remove duplicate check for NULL pointer.
46686         Add space after cast.
46688 2013-10-04  Alan Modra  <amodra@gmail.com>
46690         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46691         Use stdint types in rather than __attribute__((mode())).
46692         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46694 2013-10-04  Alan Modra  <amodra@gmail.com>
46696         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46697         Correct handling of unaligned relocs for little-endian.
46698         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46700 2013-10-04  Alan Modra  <amodra@gmail.com>
46702         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46703         * configure: Regenerate.
46704         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46705         * shlib-versions: Likewise.
46707 2013-10-04  Alan Modra  <amodra@gmail.com>
46709         * string/tester.c (test_memrchr): Increment reported test cycle.
46711 2013-10-04  Alan Modra  <amodra@gmail.com>
46713         * string/test-memcpy.c (do_one_test): When reporting errors, print
46714         string address and don't overrun end of string.
46716 2013-10-04  Alan Modra  <amodra@gmail.com>
46718         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46719         insrdi.  Make better use of reg selection to speed exit slightly.
46720         Schedule entry path a little better.  Remove useless "are we done"
46721         checks on entry to main loop.  Handle wrapping around zero address.
46722         Correct main loop count.  Handle single left-over word from main
46723         loop inline rather than by using loop_small.  Remove extra word
46724         case in loop_small caused by wrong loop count.  Add little-endian
46725         support.
46726         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46727         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46728         cache hint.
46729         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46730         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46731         support.  Avoid rlwimi.
46732         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46734 2013-10-04  Alan Modra  <amodra@gmail.com>
46736         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46737         insrdi.  Formatting.
46738         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46739         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46740         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46741         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46742         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46743         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46745 2013-10-04  Alan Modra  <amodra@gmail.com>
46747         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46748         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46749         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46750         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46751         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46752         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46753         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46754         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46755         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46756         use of regs.  Use power7 mtocrf.  Tidy function tails.
46758 2013-10-04  Alan Modra  <amodra@gmail.com>
46760         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46761         Formatting.  Consistently use rXXX register defines or rN defines.
46762         Use early exit labels that avoid restoring unused non-volatile regs.
46763         Make cr field use more consistent with rWORDn compares.  Rename
46764         regs used as shift registers for unaligned loop, using rN defines
46765         for short lifetime/multiple use regs.
46766         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46767         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46768         addi 1,1,64 to pop stack frame.  Simplify return value code.
46769         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46771 2013-10-04  Alan Modra  <amodra@gmail.com>
46773         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46774         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46775         rather than rlwimi.
46776         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46777         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46778         little-endian support.  Correct typos.
46779         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46780         rather than rlwimi.
46781         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46782         in loop and entry code to keep "and." results.
46783         (strchr): Add little-endian support.  Comment.  Move cntlzd
46784         earlier in tail.
46785         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46787 2013-10-04  Alan Modra  <amodra@gmail.com>
46789         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46790         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46791         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46792         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46794 2013-10-04  Alan Modra  <amodra@gmail.com>
46796         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46797         (rTMP): Define as r11.
46798         (strcmp): Add little-endian support.  Optimise tail.
46799         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46800         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46801         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46802         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46803         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46804         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46805         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46807 2013-10-04  Alan Modra  <amodra@gmail.com>
46809         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46810         little-endian support.  Remove unnecessary "are we done" tests.
46811         Handle "s" wrapping around zero and extremely large "size".
46812         Correct main loop count.  Handle single left-over word from main
46813         loop inline rather than by using small_loop.  Correct comments.
46814         Delete "zero" tail, use "end_max" instead.
46815         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46817 2013-10-04  Alan Modra  <amodra@gmail.com>
46819         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46820         support.  Don't branch over align.
46821         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46822         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46823         support.  Rearrange tmp reg use to suit.  Comment.
46824         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46826 2013-10-04  Alan Modra  <amodra@gmail.com>
46828         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46830 2013-10-04  Alan Modra  <amodra@gmail.com>
46832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46833         conditional form of branch and link when obtaining pc.
46834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46836 2013-10-04  Alan Modra  <amodra@gmail.com>
46838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46839         HIWORD/LOWORD.
46840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46843 2013-10-04  Alan Modra  <amodra@gmail.com>
46845         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46846         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46847         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46848         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46849         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46850         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46851         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46852         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46853         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46854         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46856 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46857             Alistair Popple <alistair@ozlabs.au.ibm.com>
46858             Alan Modra <amodra@gmail.com>
46860         [BZ #15723]
46861         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46862         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46863         _dl_hwcap access for little-endian.
46864         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46865         destroy vmx regs when saving unaligned.
46866         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46867         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46868         destroy vmx regs when saving unaligned.
46870 2013-10-04  Alan Modra  <amodra@gmail.com>
46872         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46873         Don't use a union to pack hi/low value.
46875 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46877         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46878         for little-endian.
46879         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46880         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46881         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46882         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46883         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46885 2013-10-04  Alan Modra  <amodra@gmail.com>
46887         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46888         constants to usual value for .cst8 section, and remove redundant
46889         high address load.
46890         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46891         constant for 0x1p52.  Load little-endian words of double from
46892         correct stack offsets.
46894 2013-10-04  Alan Modra  <amodra@gmail.com>
46896         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46897         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46898         words of double from correct stack offsets.
46899         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46900         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46901         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46902         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46903         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46904         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46905         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46906         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46907         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46908         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46909         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46910         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46911         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46912         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46913         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46914         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46915         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46917 2013-10-04  Alan Modra  <amodra@gmail.com>
46919         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46920         64-bit int/double union.
46921         (_FPU_SETCW): Likewise.
46922         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46923         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46925 2013-10-04  Alan Modra  <amodra@gmail.com>
46927         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46928         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46930 2013-10-04  Alan Modra  <amodra@gmail.com>
46932         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46933         use vector int constants.
46934         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46936 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46938         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46939         array with long long.
46940         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46941         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46942         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46943         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46944         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46945         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46946         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46947         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46948         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46949         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46950         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46951         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46952         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46954 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46956         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46957         (__signbit): Likewise.  Correct for little-endian.
46958         (__signbitl): Call __signbit.
46959         (lrint): Correct for little-endian.
46960         (lrintf): Call lrint.
46962 2013-10-04  Alan Modra  <amodra@gmail.com>
46964         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46965         union 32-bit int array member with 64-bit int array.
46966         (t515, tm256): Double rather than long double.
46967         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46969 2013-10-04  Alan Modra  <amodra@gmail.com>
46971         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46972         Delete.
46973         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46974         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46975         version of math_ldbl.h.
46977 2013-10-04  Alan Modra  <amodra@gmail.com>
46979         [BZ #15734], [BZ #15735]
46980         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46981         all uses of ieee875 long double macros and unions.  Simplify test
46982         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46983         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46984         normalize after ldbl_extract_mantissa, and don't add hidden bit
46985         already handled.  Don't treat low word of ieee854 mantissa like
46986         low word of IBM long double and mask off bit when testing for
46987         zero.
46988         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46989         all uses of ieee875 long double macros and unions.  Simplify tests
46990         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46991         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46992         two1022, instead use their values.  Recognise that tests for large
46993         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46994         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46995         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46996         test for 0.0L and nan.  Correct negation.
46997         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46998         ieee875 long double macros and unions.  Correct output for large
46999         magnitude x.  Correct absolute value calculation.
47000         (__erfcl): Likewise.
47001         * math/libm-test.inc: Add tests for errors discovered in IBM long
47002         double versions of fmodl, remainderl, erfl and erfcl.
47004 2013-10-04  Alan Modra  <amodra@gmail.com>
47006         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47007         all uses of ieee854 long double macros and unions.  Simplify tests
47008         for long doubles that are fully specified by the high double.
47009         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47010         Likewise.
47011         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47012         Remove dead code too.
47013         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47014         (__ieee754_ynl): Likewise.
47015         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47016         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47017         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47018         Remove dead code too.
47019         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47020         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47021         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47022         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47023         Simplify.
47024         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47025         Simplify.
47026         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47027         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47028         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47029         Comment on variable precision.
47030         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47031         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47032         Likewise.
47033         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47034         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47035         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47036         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47037         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47039 2013-10-04  Alan Modra  <amodra@gmail.com>
47041         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47042         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47043         all uses of ieee854 long double macros and unions.
47044         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47045         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47046         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47047         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47048         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47049         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47050         Likewise.
47051         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47052         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47053         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47054         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47055         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47056         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47057         Simplify sign and nan test too.
47058         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47059         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47060         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47061         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47062         Likewise.
47063         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47064         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47065         Likewise.
47066         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47067         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47068         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47069         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47070         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47071         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47073 2013-10-04  Alan Modra  <amodra@gmail.com>
47075         * stdio-common/printf_size.c (__printf_size): Don't use
47076         union ieee854_long_double in fpnum union.
47077         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47078         signbit macro to retrieve sign from long double.
47079         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47080         retrieve sign from long double.
47081         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47082         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47083         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47084         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47085         * math/test-misc.c (main): Don't use union ieee854_long_double.
47087 2013-10-04  Alan Modra  <amodra@gmail.com>
47089         [BZ #15680]
47090         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47091         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47092         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47093         calculation.  Remove unnecessary test for denormal exponent.
47094         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47095         Correct handling of denormals.  Avoid undefined shift behaviour.
47096         Correct normalisation of low mantissa when low double is denormal.
47097         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47098         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47099         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47100         Correct normalisation of low mantissa.  Test for overflow of high
47101         mantissa and normalise.
47102         (ldbl_nearbyint): Use more readable constant for two52.
47103         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47104         (__mpn_construct_long_double): Fix test for overflow of high
47105         mantissa and correct normalisation.  Avoid undefined shift.
47107 2013-10-04  Alan Modra  <amodra@gmail.com>
47109         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47110         (union ibm_extended_long_double): Define as an array of ieee754_double.
47111         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47112         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47113         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47114         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47115         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47116         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47117         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47118         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47119         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47120         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47121         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47123 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47125         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47126         page size instead of calling getpagesize.
47128         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47129         (LOCFILE_ALIGN_MASK): Likewise.
47130         (LOCFILE_ALIGN_UP): Likewise.
47131         (LOCFILE_ALIGNED_P): Likewise.
47132         * locale/programs/ld-collate.c (collate_output): Use the new
47133         macros instead of __alignof__ (int32_t).
47134         * locale/weight.h (findidx): Likewise.
47136 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47138         [BZ #431]
47139         * manual/string.texi: Fix strncat and wcsncat.
47141 2013-10-03  Brooks Moses  <bmoses@google.com>
47143         [BZ #15915]
47144         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47145         * Makerules: ...here, and adjust associated comments.
47147 2013-10-02  Will Newton  <will.newton@linaro.org>
47149         * malloc/Makefile: Add tst-pvalloc.
47150         * malloc/tst-pvalloc.c: New file.
47152 2013-10-02  Will Newton  <will.newton@linaro.org>
47154         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47155         improve test coverage.
47157 2013-10-02  Will Newton  <will.newton@linaro.org>
47159         * malloc/Makefile: Add tst-posix_memalign.
47160         * malloc/tst-posix_memalign.c: New file.
47162 2013-10-01  Eric Blake  <eblake@redhat.com>
47164         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47165         Use __THROWNL rather than __THROW on static functions.
47167 2013-09-30  Petr Machata  <pmachata@redhat.com>
47169         * elf/elf.h (R_AARCH64_ABS16): New macro.
47170         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47171         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47172         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47173         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47174         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47175         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47176         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47177         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47178         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47179         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47180         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47181         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47182         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47183         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47184         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47185         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47186         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47187         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47188         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47189         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47190         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47191         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47192         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47193         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47194         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47195         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47196         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47197         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47198         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47199         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47200         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47201         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47202         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47203         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47204         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47205         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47206         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47207         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47208         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47209         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47210         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47211         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47212         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47213         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47214         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47215         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47216         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47217         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47218         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47219         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47220         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47221         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47222         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47223         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47224         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47225         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47226         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47227         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47228         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47229         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47230         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47231         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47232         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47233         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47234         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47235         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47236         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47237         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47238         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47239         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47240         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47241         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47242         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47243         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47244         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47245         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47246         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47247         (R_AARCH64_TLSDESC_LDR): Likewise.
47248         (R_AARCH64_TLSDESC_ADD): Likewise.
47249         (R_AARCH64_TLSDESC_CALL): Likewise.
47251 2013-09-30  Andreas Schwab  <schwab@suse.de>
47253         [BZ #15048]
47254         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47255         the nss database lookup.
47256         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47259 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47261         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47263 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47265         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47266         ${Bash-specific parameter/pattern/string} parameter expansion.
47267         * sysdeps/unix/make-syscalls.sh: Likewise.
47269 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47271         * sysdeps/sh/stackguard-macros.h: New file.
47273 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47276         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47277         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47278         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47279         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47280         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47282 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47284         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47285         Fix thread ID register.
47287 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47289         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47290         [POSIX || UNIX98]: Require rather than permitting all symbols from
47291         <time.h>.
47292         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47293         element of struct sched_param.
47294         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47295         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47296         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47297         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47298         constant.
47300 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47302         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47303         argument calculation.
47305 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47307         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47308         Expect macro.
47309         [POSIX] (pthread_attr_t): Do not require type.
47310         [POSIX] (pthread_cond_t): Likewise.
47311         [POSIX] (pthread_condattr_t): Likewise.
47312         [POSIX] (pthread_key_t): Likewise.
47313         [POSIX] (pthread_mutex_t): Likewise.
47314         [POSIX] (pthread_mutexattr_t): Likewise.
47315         [POSIX] (pthread_once_t): Likewise.
47316         [POSIX] (pthread_t): Likewise.
47317         [POSIX-based standards] (pthread_atfork): Expect function.
47319 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47320             Richard Sandiford  <richard@codesourcery.com>
47322         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47323         (swap_endianness_p): New extern variable.
47324         (set_big_endian): New inline function.
47325         (maybe_swap_uint32): Likewise.
47326         (maybe_swap_uint32_array): Likewise.
47327         (maybe_swap_uint32_obstack): Likewise.
47328         * locale/programs/locfile.c: Include <stdbool.h>.
47329         (swap_endianness_p): New variable.
47330         (add_locale_uint32): Call maybe_swap_uint32.
47331         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47332         (write_locale_data): Call maybe_swap_uint32_array.
47333         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47334         maybe_swap_uint32.
47335         (obstack_int32_grow_fast): Likewise.
47336         (output_weightwc): Call maybe_swap_uint32_obstack.
47337         (collate_output): Likewise.
47338         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47339         (OPT_LITTLE_ENDIAN): Likewise.
47340         (options): Add --little-endian and --big-endian options.
47341         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47342         * locale/programs/locarchive.c: Include "locfile.h".
47343         (GET): New macro.
47344         (SET): Likewise.
47345         (INC): Likewise.
47346         (create_archive): Use the new macros to access fields of
47347         structures directly mapped from or written to locale archives.
47348         (oldlocrecentcmp): Likewise.
47349         (enlarge_archive): Likewise.
47350         (insert_name): Likewise.
47351         (add_alias): Likewise.
47352         (add_locale): Likewise.
47353         (delete_locales_from_archive): Likewise.
47354         (show_archive_content): Likewise.
47355         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47356         locale data.
47358 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47360         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47361         http://www.gnu.org/doc/freemanuals.texi.
47362         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47364 2013-09-24  Will Newton  <will.newton@linaro.org>
47366         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47367         macro.
47369 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47371         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47372         unsigned char.
47374 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47376         * manual/threads.texi (POSIX Threads): Fix a typo.
47378 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47380         [BZ #14547]
47381         * string/tst-strcoll-overflow.c: New test case.
47382         * string/Makefile (xtests): Add tst-strcoll-overflow.
47383         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47384         cache if string sizes may cause integer overflow.
47386         [BZ #14547]
47387         * string/strcoll_l.c (coll_seq): New members rule, idx,
47388         save_idx and back_us.
47389         (get_next_seq_nocache): New function.
47390         (do_compare_nocache): New function.
47391         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47392         when malloc fails.
47394 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47396         [BZ #15754]
47397         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47398         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47399         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47401         [BZ #15754]
47402         * elf/Makefile (tests): Add tst-ptrguard1.
47403         (tests-static): Add tst-ptrguard1-static.
47404         (tst-ptrguard1-ARGS): Define.
47405         (tst-ptrguard1-static-ARGS): Define.
47406         * elf/tst-ptrguard1.c: New file.
47407         * elf/tst-ptrguard1-static.c: New file.
47408         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47409         * sysdeps/i386/stackguard-macros.h: Likewise.
47410         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47411         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47412         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47413         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47414         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47415         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47417 2013-09-23  Hector Marco  <hecmargi@upv.es>
47418             Ismael Ripoll  <iripoll@disca.upv.es>
47419             Carlos O'Donell  <carlos@redhat.com>
47421         [BZ #15754]
47422         * sysdeps/generic/stackguard-macros.h: Define
47423         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47424         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47425         Define __pointer_chk_guard_local.
47426         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47427         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47429 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47431         [BZ #15859]
47432         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47434 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47436         * include/string.h (__ffs): Declare as hidden.
47437         * string/ffs.c (__ffs): Define as hidden.
47438         * sysdeps/i386/ffs.c (__ffs): Likewise.
47439         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47440         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47441         * sysdeps/s390/ffs.c (__ffs): Likewise.
47442         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47444 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47446         * NEWS: Mention malloc probes.
47448         * malloc/arena.c (new_heap): New memory_heap_new probe.
47449         (grow_heap): New memory_heap_more probe.
47450         (shrink_heap): New memory_heap_less probe.
47451         (heap_trim): New memory_heap_free probe.
47452         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47453         (systrim): New memory_sbrk_less probe.
47454         * manual/probes.texi: Document them.
47456         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47457         * manual/probes.texi: Document it.
47459         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47460         (__libc_realloc): Add memory_realloc_retry probe.
47461         (__libc_memalign): Add memory_memalign_retry probe.
47462         (__libc_valloc): Add memory_valloc_retry probe.
47463         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47464         (__libc_calloc): Add memory_calloc_retry probe.
47465         * manual/probes.texi: Document them.
47467         * malloc/arena.c (get_free_list): Add probe
47468         memory_arena_reuse_free_list.
47469         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47470         and memory_arena_reuse.
47471         (arena_get2) [!PER_THREAD]: Likewise.
47472         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47473         memory_arena_reuse_realloc.
47474         * manual/probes.texi: Document them.
47476         * malloc/malloc.c (__libc_free): Add
47477         memory_mallopt_free_dyn_thresholds probe.
47478         (__libc_mallopt): Add multiple memory_mallopt probes.
47479         * manual/probes.texi: Document them.
47481         * malloc/malloc.c: Include stap-probe.h.
47482         (__libc_mallopt): Add memory_mallopt probe.
47483         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47484         * manual/probes.texi: New.
47485         * manual/Makefile (chapters): Add probes.
47486         * manual/threads.texi: Set next node.
47488 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47490         [BZ #15963, #13985]
47491         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47492         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47493         Add `Chinese' to `nan' entry name.
47495 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47497         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47498         (POLYNOMIAL): Likewise.
47499         (TAYLOR_SINCOS): Likewise.
47500         (TAYLOR_SLOW): Likewise.
47501         (__sin): Use TAYLOR_SINCOS.
47502         (__cos): Likewise.
47503         (slow): Use TAYLOR_SLOW.
47504         (sloww): Likewise.
47505         (bsloww): Likewise.
47506         (csloww): Likewise.
47508 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47510         * stdlib/strtod_l.c: Fix buffer overrun.
47512 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47514         * benchtests/Makefile (bench): Add sincos.
47515         * benchtests/bench-sincos.c: New file.
47517         * math/libm-test.inc (cos_test_data): New test inputs.
47518         (sin_test_data): Likewise.
47520         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47521         macro.
47522         (__sin): Use it.
47523         (__cos): Likewise.
47524         (slow1): Likewise.
47525         (slow2): Likewise.
47526         (sloww1): Likewise.
47527         (sloww2): Likewise.
47528         (bsloww1): Likewise.
47529         (bsloww2): Likewise.
47530         (cslow2): Likewise.
47531         (csloww1): Likewise.
47532         (csloww2): Likewise.
47534         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47535         function.
47536         (__sin): Use it.
47537         (__cos): Likewise.
47539         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47540         gotos.
47541         (__cos): Likewise.
47543 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47545         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47546         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47547         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47548         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47549         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47550         * elf/cache.c (print_entry): Handle the new cache flags.
47552 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47553             Aldy Hernandez  <aldyh@redhat.com>
47555         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47556         Change condition to [_SOFT_FLOAT].
47557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47568         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47569         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47572         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47573         declaration.
47575 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47577         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47578         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47579         (__longjmp): Use LOAD_GP to load saved GPRs.
47580         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47581         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47582         (__sigsetjmp): Use SAVE_GP to save GPRs.
47584         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47585         Do not append -msoft-float.
47586         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47588 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47590         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47592 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47594         [BZ #15966]
47595         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47596         (_FPU_GETCW): Use initial "__" on variable and field names but not
47597         on macro parameter name.
47598         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47599         parentheses around reference to macro parameter.
47601 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47603         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47604         prototype.
47605         (ctype_startup): Use uint32_t in cast and sizeof for
47606         ctype->charnames.
47608 2013-09-11  Jia Liu  <proljc@gmail.com>
47610         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47611         __daddr_t_defined.
47612         [__FreeBSD__]: Likewise.
47614 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47616         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47617         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47618         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47619         (strchr): Remove __strchr_sse42 ifunc selection.
47620         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47621         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47623 2013-09-11  Will Newton  <will.newton@linaro.org>
47625         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47626         parameter to RES. Remove hardcoded 1000 value.
47627         * benchtests/bench-skeleton.c (main): Pass RES parameter
47628         to TIMING_INIT and multiply result by 1000.
47630 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47634 2013-09-11  Andreas Schwab  <schwab@suse.de>
47636         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47637         if not defined.
47638         (O_TMPFILE) [__USE_GNU]: Define.
47639         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47640         Define.
47642 2013-09-11  Will Newton  <will.newton@linaro.org>
47644         [BZ #15857]
47645         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47646         does not overflow.
47648 2013-09-11  Will Newton  <will.newton@linaro.org>
47650         [BZ #15856]
47651         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47652         does not overflow.
47654 2013-09-11  Will Newton  <will.newton@linaro.org>
47656         [BZ #15855]
47657         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47658         does not overflow.
47660 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47662         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47663         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47664         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47665         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47666         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47668 2013-09-10  Allan McRae  <allan@archlinux.org>
47670         [BZ #15748]
47671         * manual/arith.texi (Parsing of Floats): Clarify
47672         cross-reference.
47674         [BZ #15849]
47675         * manual/install.texi (Running make install): Mention
47676         --enable-pt-chown.
47677         * INSTALL: Regenerated.
47679 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47681         * csu/init-first.c (_init): Remove the !SHARED condition around
47682         FPU control word initialization.
47683         * elf/dl-support.c (_dl_fpu_control): New variable.
47684         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47685         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47686         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47687         * math/test-fpucw-static.c: New file.
47688         * math/test-fpucw-ieee.c: New file.
47689         * math/test-fpucw-ieee-static.c: New file.
47690         * math/Makefile (tests): Add `test-fpucw-ieee' and
47691         `$(tests-static)'.
47692         (tests-static): New variable.
47693         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47694         dependency to...
47695         [($(build-shared),yes)]
47696         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47697         ... this.
47698         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47699         New dependency.
47701 2013-09-09  Allan McRae  <allan@archlinux.org>
47703         [BZ #15939]
47704         * manual/string.texi (Collation Functions): Fix typo in
47705         strcoll example.
47706         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47708         [BZ #15893]
47709         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47711         [BZ #15892]
47712         * libio/memstream.c (open_memstream): Fix memory leak.
47713         * libio/wmemstream.c (open_wmemstream): Likewise.
47715         [BZ #15895]
47716         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47718 2013-09-09  Will Newton  <will.newton@linaro.org>
47720         * malloc/Makefile: Add tst-realloc to tests.
47721         * malloc/tst-realloc.c: New file.
47723 2013-09-09  Allan McRae  <allan@archlinux.org>
47725         [BZ #15844]
47726         * COPYING: Update from GNU website to fix FSF address.
47727         * COPYING.LIB: Likewise.
47729 2013-09-06  David S. Miller  <davem@davemloft.net>
47731         * po/zh_TW.po: Update Chinese (traditional) translation from
47732         translation project.
47734 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47735             Joseph Myers  <joseph@codesourcery.com>
47737         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47738         "localeinfo.h".
47739         (obstack_chunk_alloc): New macro.
47740         (obstack_chunk_free): Likewise.
47741         (record_offset): New function.
47742         (init_locale_data): Likewise.
47743         (align_locale_data): Likewise.
47744         (add_locale_empty): Likewise.
47745         (add_locale_raw_data): Likewise.
47746         (add_locale_raw_obstack): Likewise.
47747         (add_locale_string): Likewise.
47748         (add_locale_wstring): Likewise.
47749         (add_locale_uint32): Likewise.
47750         (add_locale_uint32_array): Likewise.
47751         (add_locale_char): Likewise.
47752         (start_locale_structure): Likewise.
47753         (end_locale_structure): Likewise.
47754         (start_locale_prelude): Likewise.
47755         (end_locale_prelude): Likewise.
47756         (write_locale_data): Take locale_file structure rather than an
47757         iovec.
47758         * locale/programs/locfile.h: Include "obstack.h".
47759         (struct locale_file): Change to store locale file contents instead
47760         of header.
47761         (init_locale_data): New prototype.
47762         (align_locale_data): Likewise.
47763         (add_locale_empty): Likewise.
47764         (add_locale_raw_data): Likewise.
47765         (add_locale_raw_obstack): Likewise.
47766         (add_locale_string): Likewise.
47767         (add_locale_wstring): Likewise.
47768         (add_locale_uint32): Likewise.
47769         (add_locale_uint32_array): Likewise.
47770         (add_locale_char): Likewise.
47771         (start_locale_structure): Likewise.
47772         (end_locale_structure): Likewise.
47773         (start_locale_prelude): Likewise.
47774         (end_locale_prelude): Likewise.
47775         (write_locale_data): Update prototype.
47776         * locale/programs/3level.h (struct TABLE): Remove result field.
47777         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47778         Use new locale_file interface.
47779         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47780         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47781         * locale/programs/ld-address.c (address_output): Use new
47782         locale_file interface.
47783         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47784         NO_ADD_LOCALE.
47785         (collate_finish): Don't call collseq_table_finalize.
47786         (collate_output): Use new locale_file interface.
47787         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47788         in file.
47789         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47790         (TABLE): Move defines earlier in file.
47791         (ELEMENT): Likewise.
47792         (DEFAULT): Likewise.
47793         (wctrans_table_add): Move macro and inline function earlier in
47794         file.
47795         (struct wctype_table): Move type earlier in file.
47796         (add_locale_wctype_table): New static prototype.
47797         (struct locale_ctype_t): Use logical types instead of struct iovec
47798         pointers for members.
47799         (ctype_output): Use new locale_file interface.
47800         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47801         new locale_file interface.
47802         (allocate_arrays): Update for use of new locale_file interface.
47803         * locale/programs/ld-identification.c (identification_output): Use
47804         new locale_file interface.
47805         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47806         * locale/programs/ld-messages.c (messages_output): Likewise.
47807         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47808         * locale/programs/ld-name.c (name_output): Likewise.
47809         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47810         * locale/programs/ld-paper.c (paper_output): Likewise.
47811         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47812         * locale/programs/ld-time.c (time_output): Likewise.
47814 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47816         * benchtests/Makefile: Add memrchr benchmark.
47817         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47818         benchmark as memrchr.
47819         * benchtests/bench-memrchr-ifunc.c: New file.
47820         * benchtests/bench-memrchr.c: New file.
47822 2013-09-06   Will Newton  <will.newton@linaro.org>
47824         * benchtests/Makefile (string-bench): Add memcpy.
47826 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47827             Cong Wang  <amwang@redhat.com>
47829         [BZ #15850]
47830         * sysdeps/unix/sysv/linux/bits/in.h
47831         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47832         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47833         before __USE_KERNEL_IPV6_DEFS uses.
47834         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47835         IPPROTO_BEETPH.
47836         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47837         sockaddr_in6, or ipv6_mreq.
47839 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47841         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47842         memory access for final bytes in some large inputs.
47843         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47845 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47847         * string/test-memrchr.c: New file.
47848         * string/test-memrchr-ifunc.c: New file.
47849         * string/Makefile: Add new memrchr testcase.
47851 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47853         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47854         fanotify_init returns EPERM.
47856 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47858         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47859         errors.
47860         (top level): Treat second token from macro or constant entries for
47861         allowed headers as allowed.
47862         * include/complex.h: Condition internal declarations on
47863         [!_ISOMAC].
47864         * include/fenv.h: Condition include of <stdbool.h> and internal
47865         declarations on [!_ISOMAC].
47867 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47869         [BZ #15923]
47870         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47872 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47874         * configure.in (--enable-versioning): Remove configure option.
47875         (libc_cv_asm_symver_directive): Remove configure test.
47876         (libc_cv_ld_version_script_option): Likewise.
47877         (VERSIONING): Remove variable and AC_SUBST.
47878         (DO_VERSIONING): Remove AC_DEFINE.
47879         * configure: Regenerated.
47880         * config.h.in (DO_VERSIONING): Remove macro.
47881         * Makerules [$(versioning) = yes]: Change conditionals to
47882         [$(build-shared) = yes].
47883         * config.make.in (versioning): Remove variable.
47884         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47885         [$(build-shared) = yes].
47886         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47887         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47888         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47889         [$(build-shared) = yes].
47890         * extra-lib.mk [$(versioning) = yes]: Likewise.
47891         * hurd/Makefile [$(versioning) = yes]: Likewise.
47892         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47893         [SHARED].
47894         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47895         [SHARED].
47896         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47897         [SHARED && !NO_HIDDEN].
47898         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47899         [SHARED].
47900         [SHARED && DO_VERSIONING]: Likewise..
47901         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47902         [$(build-shared) = yes].
47903         * manual/install.texi (--disable-versioning): Remove
47904         documentation.
47905         * INSTALL: Regenerated.
47906         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47907         to [SHARED].
47908         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47909         [$(build-shared) = yes].
47910         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47911         * sysdeps/i386/i686/multiarch/strstr-c.c
47912         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47913         [SHARED && !NO_HIDDEN].
47914         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47915         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47916         * sysdeps/powerpc/powerpc32/dl-machine.c
47917         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47918         * sysdeps/powerpc/powerpc32/sysdep.h
47919         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47920         to [SHARED && PIC && !NO_HIDDEN].
47921         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47922         conditional to [SHARED].
47924 2013-09-04   Will Newton  <will.newton@linaro.org>
47926         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47927         * benchtests/bench-string.h: Include bench-timing.h instead
47928         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47929         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47930         call to HP_TIMING_DIFF_INIT.
47931         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47932         instead of hp-timing.h macros.
47933         * benchtests/bench-memchr.c: Likewise.
47934         * benchtests/bench-memcmp.c: Likewise.
47935         * benchtests/bench-memcpy.c: Likewise.
47936         * benchtests/bench-memmem.c: Likewise.
47937         * benchtests/bench-memmove.c: Likewise.
47938         * benchtests/bench-memset.c: Likewise.
47939         * benchtests/bench-rawmemchr.c: Likewise.
47940         * benchtests/bench-strcasecmp.c: Likewise.
47941         * benchtests/bench-strcasestr.c: Likewise.
47942         * benchtests/bench-strcat.c: Likewise.
47943         * benchtests/bench-strchr.c: Likewise.
47944         * benchtests/bench-strcmp.c: Likewise.
47945         * benchtests/bench-strcpy.c: Likewise.
47946         * benchtests/bench-strcpy_chk.c: Likewise.
47947         * benchtests/bench-strlen.c: Likewise.
47948         * benchtests/bench-strncasecmp.c: Likewise.
47949         * benchtests/bench-strncat.c: Likewise.
47950         * benchtests/bench-strncmp.c: Likewise.
47951         * benchtests/bench-strncpy.c: Likewise.
47952         * benchtests/bench-strnlen.c: Likewise.
47953         * benchtests/bench-strpbrk.c: Likewise.
47954         * benchtests/bench-strrchr.c: Likewise.
47955         * benchtests/bench-strspn.c: Likewise.
47956         * benchtests/bench-strstr.c: Likewise.
47958 2013-09-04  Will Newton  <will.newton@linaro.org>
47960         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47962 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47964         [BZ #15427]
47965         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47966         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47967         * math/libm-test.inc (lgamma_test_data): Add more tests.
47968         * sysdeps/i386/fpu/libm-test-ulps: Update.
47969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47971 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47973         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47975         Add ifunc.
47976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47977         Add strcmp-sse2-unaligned
47978         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47980 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47982         * Versions.def (libc): Add GLIBC_2.19.
47984 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47986         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47987         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47989 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47991         [BZ #14155]
47992         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47993         intermediate calculations in recurrence.
47994         (__ieee754_ynf): Likewise.
47995         * math/libm-test.inc (jn_test_data): Do not allow spurious
47996         underflow exception.  Add more tests.
47997         (yn_test_data): Add more tests.
47998         * sysdeps/i386/fpu/libm-test-ulps: Update.
47999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48001 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48003         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48005 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48007         * csu/init-first.c: Fix then/than typos.
48008         * locale/programs/ld-collate.c: Likewise.
48009         * locale/programs/linereader.h: Likewise.
48010         * manual/charset.texi: Likewise.
48011         * manual/filesys.texi: Likewise.
48012         * manual/stdio.texi: Likewise.
48013         * manual/string.texi: Likewise.
48014         * stdlib/fmtmsg.c: Likewise.
48015         * sysdeps/i386/stpncpy.S: Likewise.
48016         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48017         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48018         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48019         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48021 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48023         * elf/dl-open.c: Fix typos.
48024         * iconvdata/gbbig5.c: Likewise.
48025         * iconvdata/iso-2022-jp.c: Likewise.
48026         * iconv/gconv_int.h: Likewise.
48027         * iconv/loop.c: Likewise.
48028         * nis/rpcsvc/nis.h: Likewise.
48029         * resolv/ns_name.c: Likewise.
48030         * stdio-common/vfscanf.c: Likewise.
48031         * streams/stropts.h: Likewise.
48032         * sunrpc/rpc_thread.c: Likewise.
48033         * sysdeps/i386/strpbrk.S: Likewise.
48034         * sysdeps/ieee754/k_standard.c: Likewise.
48035         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48036         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48037         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48038         * sysdeps/mach/hurd/profil.c: Likewise.
48039         * sysdeps/s390/dl-procinfo.h: Likewise.
48040         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48041         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48042         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48043         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48044         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48046 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48048         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48051 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48053         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48054         aix specific files.
48055         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48056         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48057         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48058         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48059         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48060         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48061         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48062         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48064 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48065             Roland McGrath  <roland@hack.frob.com>
48067         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48068         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48070 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48072         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48073         __executable_start symbol instead of _start.
48075 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48077         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48078         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48079         Move macros to...
48080         * sysdeps/gnu/ldsodefs.h: ... this new file.
48082         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48083         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48084         instead of ELFOSABI_LINUX.
48086         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48087         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48088         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48089         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48090         Likewise.
48091         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48092         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48093         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48094         Likewise.
48095         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48096         (ibm_extended_long_double): Add ieee_nan member.
48097         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48098         (do_test): New function.
48100         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48101         TEST_TRUNC.
48102         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48103         functions, renamed from truncdfsf_test, trunctfsf_test,
48104         trunctfdf_test.
48105         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48106         functions.
48107         (do_test): Run all these.
48109 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48111         * argp/argp-help.c: Fix typos.
48112         * argp/argp-parse.c: Likewise.
48113         * debug/backtracesyms.c: Likewise.
48114         * elf/elf.h: Likewise.
48115         * malloc/malloc.c: Likewise.
48116         * nis/nis_print.c: Likewise.
48117         * resolv/res_comp.c: Likewise.
48118         * stdlib/stdlib.h: Likewise.
48119         * sunrpc/clnt_tcp.c: Likewise.
48120         * sunrpc/clnt_udp.c: Likewise.
48121         * sunrpc/clnt_unix.c: Likewise.
48122         * sysdeps/unix/bsd/ptsname.c: Likewise.
48123         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48124         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48126         Likewise.
48127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48128         Likewise.
48129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48130         Likewise.
48131         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48133 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48135         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48138 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48140         [BZ #15897]
48141         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48142         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48143         ($(objpfx)bug-dl-leaf): New rule.
48144         ($(objpfx)bug-dl-leaf.so): Likewise.
48145         ($(objpfx)bug-dl-leaf.out): Likewise.
48146         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48147         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48148         * dlfcn/bug-dl-leaf.c: New test.
48149         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48150         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48151         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48152         (dlclose): Likewise.
48153         (dlmopen): Likewise.
48155 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48157         * include/netdb.h [!_ISOMAC]:
48158         Don't include <tls.h>.
48159         (h_errno, __libc_h_errno): Move declaration and macros out of
48160         [_LIBC_REENTRANT].
48162         * include/resolv.h [_RESOLV_H_]:
48163         Don't include <tls.h>.
48164         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48165         * resolv/res_libc.c: Don't include <tls.h>.
48166         (_res): Use __attribute__ ((nocommon)) in place of
48167         __attribute__ ((section (".bss"))).
48169         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48170         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48172         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48174         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48175         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48177         * resolv/res_mkquery.c: Include <sys/time.h>.
48179         * inet/ifreq.c: Moved to ...
48180         * sysdeps/unix/ifreq.c: ... here.
48181         * inet/ifreq.c: New file, true stub version.
48183         * socket/sa_len.c: New file.
48184         * socket/Makefile (aux): Add it.
48185         * sysdeps/unix/sysv/linux/Makefile
48186         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48187         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48188         and #include <socket/sa_len.c>.
48189         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48190         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48192         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48193         * bits/socket.h: ... here.
48195         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48196         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48197         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48199 2013-08-27  Andreas Schwab  <schwab@suse.de>
48201         [BZ #15736]
48202         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48203         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48204         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48205         * string/test-strcasecmp.c (test_main): Run tests in several
48206         locales.
48207         * string/test-strncasecmp.c (test_main): Likewise.
48209         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48210         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48211         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48212         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48213         (__strncasecmp_ssse3) [PIC]: Likewise.
48215 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48217         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48219         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48220         instead of explicitly declaring xdecrypt.
48221         * nis/nss_nis/nis-publickey.c: Likewise.
48223 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48225         [BZ #15890]
48226         * nscd/aicache.c: Include res_hconf.h.
48227         (addhstaiX): Initialize res_hconf.
48229 2013-08-26  Andreas Schwab  <schwab@suse.de>
48231         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48232         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48234 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48236         * nscd/aicache.c (addhstaiX): Fix indentation.
48238 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48240         * configure.ac: Quote $build_pt_chown test.
48241         * configure: Regenerated.
48243 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48245         [BZ #15532]
48246         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48247         * math/s_cexpf.c (__cexpf): Likewise.
48248         * math/s_cexpl.c (__cexpl): Likewise.
48249         * math/libm-test.inc (cexp_test_data): Correct expected return
48250         value for NaN + i0.  Add another test.
48252 2013-08-22  David S. Miller  <davem@davemloft.net>
48254         * po/ca.po: Update Catalan translation from translation project.
48255         * po/uk.po: Add Ukrainian translations from translation project.
48257 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48259         [BZ #15797]
48260         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48261         is infinite, not alongside NaN test.
48262         * math/s_fdimf.c (__fdimf): Likewise.
48263         * math/s_fdiml.c (__fdiml): Likewise.
48264         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48265         errno is unchanged.
48267 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48269         * argp/argp-help.c: Fix typos.
48270         * crypt/speeds.c: Likewise.
48271         * csu/check_fds.c: Likewise.
48272         * elf/dl-load.c: Likewise.
48273         * elf/dl-open.c: Likewise.
48274         * elf/reldep3.c: Likewise.
48275         * elf/reldep.c: Likewise.
48276         * elf/sprof.c: Likewise.
48277         * iconv/iconv_charmap.c: Likewise.
48278         * iconv/skeleton.c: Likewise.
48279         * iconv/strtab.c: Likewise.
48280         * io/lockf64.c: Likewise.
48281         * libio/libioP.h: Likewise.
48282         * resolv/gai_notify.c: Likewise.
48283         * resolv/ns_name.c: Likewise.
48284         * resolv/ns_samedomain.c: Likewise.
48285         * resolv/res_send.c: Likewise.
48286         * stdlib/random.c: Likewise.
48287         * sunrpc/rpc/xdr.h: Likewise.
48288         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48289         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48290         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48291         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48292         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48293         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48294         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48295         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48296         * sysdeps/mach/hurd/check_fds.c: Likewise.
48297         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48298         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48299         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48300         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48301         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48302         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48303         * sysdeps/pthread/aio_notify.c: Likewise.
48304         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48305         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48306         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48307         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48308         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48310 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48312         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48313         version if bit_Slow_SSE4_2 is set.
48314         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48315         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48317 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48319         [BZ #15867]
48320         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48321         trampoline stack frame information.
48322         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48323         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48324         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48325         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48326         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48327         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48328         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48329         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48330         sa_flags value.
48331         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48332         interrupting a syscall and set with option SA_SIGINFO.
48334 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48336         [BZ #15531]
48337         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48338         argument is infinite.
48339         * math/s_cprojf.c (__cprojf): Likewise.
48340         * math/s_cprojl.c (__cprojl): Likewise.
48341         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48342         * math/libm-test.inc (cproj_test_data): Add more tests.
48344         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48346         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48347         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48348         size.  Use __ffs to determine corresponding shift.
48350 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48351             Roland McGrath  <roland@hack.frob.com>
48353         * Makefile (INSTALL): Remove trailing blank lines from output of
48354         makeinfo.
48356 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48358         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48359         Align 32 bit compat elf_greg to 8 bytes.
48361 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48363         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48365 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48367         * string/strcoll_l.c (coll_seq): New structure.
48368         (get_next_seq_cached): New function.
48369         (get_next_seq): New function.
48370         (do_compare): New function.
48371         (STRCOLL): Use GNU style definition.  Simplify implementation
48372         by using get_next_seq, get_next_seq_cached and do_compare.
48374 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48376         [BZ #14699]
48377         CVE-2013-4237
48378         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48379         member.
48380         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48381         member.
48382         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48383         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48384         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48385         conditional.
48386         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48387         GETDENTS_64BIT_ALIGNED.
48388         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48389         * manual/filesys.texi (Reading/Closing Directory): Document
48390         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48391         strongly.
48392         * manual/conf.texi (Limits for Files): Add portability note to
48393         NAME_MAX, PATH_MAX.
48394         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48396 2013-08-13  Andreas Schwab  <schwab@suse.de>
48398         [BZ #15749]
48399         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48400         of fabs.
48401         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48402         LDBL_MAX_EXP >= 16384]: Add tests for it.
48404 2013-08-12  David S. Miller  <davem@davemloft.net>
48406         * version.h (RELEASE): Set to "development".
48407         (VERSION): Set to "2.18.90".
48408         * NEWS: Add 2.19 section.
48410 2013-08-03  David S. Miller  <davem@davemloft.net>
48412         * po/ko.po: Update Korean translation from translation project.
48414 2013-08-01  David S. Miller  <davem@davemloft.net>
48416         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48417         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48418         Bilka.
48420 2013-07-30  David S. Miller  <davem@davemloft.net>
48422         * po/fr.po: Update French translation from translation project.
48424 2013-07-28  David S. Miller  <davem@davemloft.net>
48426         * po/cs.po: Update Czech translation from translation project.
48428         * po/sv.po: Update Swedish translation from translation project.
48430 2013-07-27  David S. Miller  <davem@davemloft.net>
48432         * po/eo.po: Update Esperanto translation from translation project.
48434         * po/vi.po: Update Vietnamese translation from translation project.
48436         * po/de.po: Update German translation from translation project.
48438 2013-07-26  David S. Miller  <davem@davemloft.net>
48440         * po/bg.po: Update Bulgarian translation from translation project.
48442         * po/nl.po: Update Dutch translation from translation project.
48443         * po/pl.po: Update Polish translation from translation project.
48444         * po/ru.po: Update Russian translation from translation project.
48446 2013-07-24  David S. Miller  <davem@davemloft.net>
48448         * po/libc.pot: Update.
48450 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48452         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48453         variable page size.
48454         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48455         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48456         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48458 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48460         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48462 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48463             Andreas Schwab  <schwab@suse.de>
48464             Roland McGrath  <roland@hack.frob.com>
48465             Joseph Myers  <joseph@codesourcery.com>
48466             Carlos O'Donell  <carlos@redhat.com>
48468         [BZ #15755]
48469         * config.h.in: Define HAVE_PT_CHOWN.
48470         * config.make.in (build-pt-chown): New variable.
48471         * configure.in (--enable-pt_chown): New configure option.
48472         * configure: Regenerate.
48473         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48474         build-pt-chown is enabled.
48475         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48476         pt_chown to fix pty ownership.
48477         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48478         CLOSE_ALL_FDS.
48479         * manual/install.texi (Configuring and compiling): Mention
48480         --enable-pt_chown. Add @findex for grantpt.
48481         * INSTALL: Regenerate.
48483 2013-07-20  David S. Miller  <davem@davemloft.net>
48485         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48486         difference between 32-bit and 64-bit.
48488 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48490         [BZ #15711]
48491         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48492         Avoid system header dependency with -ffreestanding.
48493         ($(objpfx)bits/syscall%d): Likewise.
48495 2013-07-13  David S. Miller  <davem@davemloft.net>
48497         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48498         underflows from atanl/atan2l due to bug 15319.
48499         (casinh_test_data): Likewise.
48501 2013-07-07  David S. Miller  <davem@davemloft.net>
48503         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48505 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48507         * sysdeps/i386/fpu/libm-test-ulps: Update.
48508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48510 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48512         * configure.in (--enable-lock-elision): Fix message text.
48513         * INSTALL: Regenerate.
48514         * configure: Regenerate.
48516 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48520 2013-07-03  Andreas Jaeger  <aj@suse.de>
48522         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48523         define.
48524         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48525         (ptrace_peeksiginfo_args): Add.
48526         (__ptrace_peeksiginfo_flags): Add.
48527         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48528         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48529         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48531 2013-07-03  Allan McRae  <allan@archlinux.org>
48533         * sysdeps/i386/fpu/libm-test-ulps: Update.
48535 2013-07-02  David S. Miller  <davem@davemloft.net>
48537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48539 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48543 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48545         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48548 2013-07-02  Andi Kleen <ak@linux.intel.com>
48550         * config.h.in (ENABLE_LOCK_ELISION): Add.
48551         * configure.in (--enable-lock-elision): Add option.
48552         * manual/install.texi: Document --enable lock elision.
48553         * configure: Regenerate
48554         * INSTALL: Regenerate.
48556 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48558         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48559         SSE4.2 strcasecmp for libc.a.
48560         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48562 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48564         [BZ #13304]
48565         * soft-fp/op-common.h (_FP_FMA): New macro.
48566         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48567         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48568         (_FP_MUL_MEAT_1_imm): ... here.
48569         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48570         (_FP_MUL_MEAT_1_wide): ... here.
48571         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48572         (_FP_MUL_MEAT_1_hard): ... here.
48573         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48574         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48575         (_FP_MUL_MEAT_2_wide): ... here.
48576         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48577         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48578         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48579         (_FP_MUL_MEAT_2_gmp): ... here.
48580         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48581         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48582         (_FP_MUL_MEAT_4_wide): ... here.
48583         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48584         (_FP_MUL_MEAT_4_gmp): ... here.
48585         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48586         (_FP_WFRACBITS_DW_S): Likewise.
48587         (_FP_WFRACXBITS_DW_S): Likewise.
48588         (_FP_HIGHBIT_DW_S): Likewise.
48589         (FP_FMA_S): Likewise.
48590         (_FP_FRAC_HIGH_DW_S): Likewise.
48591         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48592         (_FP_WFRACBITS_DW_D): Likewise.
48593         (_FP_WFRACXBITS_DW_D): Likewise.
48594         (_FP_HIGHBIT_DW_D): Likewise.
48595         (FP_FMA_D): Likewise.
48596         (_FP_FRAC_HIGH_DW_D): Likewise.
48597         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48598         (_FP_WFRACBITS_DW_E): Likewise.
48599         (_FP_WFRACXBITS_DW_E): Likewise.
48600         (_FP_HIGHBIT_DW_E): Likewise.
48601         (FP_FMA_E): Likewise.
48602         (_FP_FRAC_HIGH_DW_E): Likewise.
48603         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48604         (_FP_WFRACBITS_DW_Q): Likewise.
48605         (_FP_WFRACXBITS_DW_Q): Likewise.
48606         (_FP_HIGHBIT_DW_Q): Likewise.
48607         (FP_FMA_Q): Likewise.
48608         (_FP_FRAC_HIGH_DW_Q): Likewise.
48609         * soft-fp/fmasf4.c: New file.
48610         * soft-fp/fmadf4.c: Likewise.
48611         * soft-fp/fmatf4.c: Likewise.
48613 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48616         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48617         Silvermont.
48618         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48619         macro.
48620         (index_Slow_SSE4_2): Likewise.
48621         (index_Prefer_PMINUB_for_stringop): Likewise.
48622         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48623         bit_Slow_SSE4_2 is set.
48624         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48625         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48627 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48629         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48630         rtld_global._dl_hwcap2.
48631         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48632         POWER8.
48633         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48634         POWER8 feature descriptions defined in _dl_hwcap2.
48635         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48636         string handling for POWER8 feature bits.
48637         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48638         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48639         _dl_powerpc_cap_flags.
48640         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48641         * sysdeps/powerpc/rtld-global-offsets.sym
48642         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48643         _dl_hwcap2 in the rtld_global_ro structure.
48645 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48647         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48648         hardware capabilities in support of AT_HWCAP2.
48649         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48650         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48651         GLRO(dl_hwcap2).
48652         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48653         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48654         explicitly the unknown a_type display mechanism is used.
48655         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48656         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48657         struct member.
48658         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48659         to macro prototype for AT_HWCAP2 support.
48660         * sysdeps/i386/dl-procinfo.h: Likewise.
48661         * sysdeps/s390/dl-procinfo.h: Likewise.
48662         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48663         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48664         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48665         return -1 for unknown a_type display fallback.
48666         * sysdeps/sparc/dl-procinfo.h: Likewise.
48667         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48668         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48670 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48672         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48673         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48675 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48677         [BZ #12492]
48678         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48679         mprotect making __stack_prot writable.
48681 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48682             Joseph Myers  <joseph@codesourcery.com>
48684         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48685         as being properly aligned.
48687 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48689         * dlfcn/modstatic5.c: New file.
48690         * dlfcn/tststatic5.c: New file.
48691         * dlfcn/Makefile (tests): Add tststatic5.
48692         (tests-static): Likewise.
48693         (modules-names): Add modstatic5.
48694         (tststatic5-ENV): New variable.
48695         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48697         [BZ #15022]
48698         * elf/dl-support.c (_dl_main_map): New variable.
48699         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48700         (_dl_nns, _dl_load_adds): Set to 1.
48701         (_dl_initial_searchlist): Refer to _dl_main_map.
48702         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48703         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48704         call to _dl_get_origin.
48705         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48706         around call_map.
48707         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48708         * dlfcn/modstatic3.c: New file.
48709         * dlfcn/tststatic3.c: New file.
48710         * dlfcn/tststatic4.c: New file.
48711         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48712         (tests-static): Likewise.
48713         (modules-names): Add modstatic3.
48714         (tststatic3-ENV, tststatic4-ENV): New variables.
48715         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48716         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48718 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48720         * configure.in (CC): Require GCC version 4.4 or later.
48721         * configure: Regenerated.
48722         * manual/install.texi (Tools for Compilation): Update GCC version
48723         requirement.
48724         * INSTALL: Regenerated.
48726 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48728         [BZ #15674]
48729         * string/test-memcmp.c (check2): New.
48730         (main): Call check2.
48732         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48734 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48736         [BZ #15022]
48737         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48738         over to...
48739         (dl_open_worker) [!SHARED]: ... here.
48741 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48743         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48745 2013-06-25  Richard Henderson  <rth@redhat.com>
48747         * locale/programs/locarchive.c: Include <libc-internal.h>
48749 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48751         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48752         trailing whitespace removed.
48754 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48756         [BZ #10283]
48757         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48758         * locale/programs/locarchive.c: Include libc-mmap.h.
48759         (prepare_address_space): Take two new outputs (the mmap base and len).
48760         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48761         values.
48762         (create_archive): Declare new mmap base and len values for
48763         prepare_address_space, and store the result in ah.
48764         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48765         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48766         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48767         Declare new mmap base and len values for
48768         prepare_address_space, and store the result in new_ah.
48769         (open_archive): Declare new mmap base and len values for
48770         prepare_address_space, and store the result in ah.
48771         (close_archive): If ah->mmap_base is not NULL, use that and
48772         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48773         * sysdeps/generic/libc-mmap.h: New file.
48775 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48777         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48778         (ALIGN_UP): Likewise.
48779         (PTR_ALIGN_DOWN): Likewise.
48780         (PTR_ALIGN_UP): Likewise.
48782 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48784         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48785         entry mapped to PPC_PLATFORM_POWER8.
48786         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48787         POWER8.
48788         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48789         (_dl_string_platform): Add case for exporting platform position for
48790         POWER8.
48791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48792         search path to sysdeps/powerpc/powerpc32/power8 directory.
48793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48794         search path to sysdeps/powerpc/powerpc64/power8 directory.
48795         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48796         power7 directories.
48797         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48798         power7 directories.
48800 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48802         * INSTALL: Regenerate.
48804         * nscd/connections.c (nscd_init): Fix comment.
48806 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48808         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48810         [BZ #15667]
48811         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48812         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48814 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48816         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48817         DL_DST_REQ_STATIC.
48818         (DL_DST_REQ_STATIC): Remove macro.
48820 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48822         [BZ #7006]
48823         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48824         with a shift of 0 bits.
48826 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48828         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48829         $(tststatic-ENV).
48831 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48833         [BZ #15655]
48834         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48836 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48838         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48839         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48840         accepts -fno-tree-loop-distribute-patterns.
48841         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48842         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48843         recursive call.
48844         * string/memset.c (memset): Likewise.
48845         * string/test-memmove.c (simple_memmove): Disable loop transformation
48846         to library calls.
48847         * string/test-memset.c (simple_memset): Likewise.
48848         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48849         * benchtests/bench-memset.c (simple_memset): Likewise.
48850         * configure: Regenerated.
48852 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48854         * math/test-misc.c (main): Ignore fesetround failure when failures
48855         of subsequent rounding tests would be ignored.
48857         [BZ #15654]
48858         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48859         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48860         * math/fegetenv.c (__fegetenv): Return 0.
48861         * math/fegetexcept.c (fegetexcept): Return 0.
48862         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48863         FE_TONEAREST.
48864         * math/feholdexcpt.c (feholdexcept): Return 0.
48865         * math/fesetenv.c (__fesetenv): Return 0.
48866         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48867         argument FE_TONEAREST.
48868         * math/feupdateenv.c (__feupdateenv): Return 0.
48869         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48871 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48873         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48874         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48875         ($(objpfx)rtld-%.os rules): Use them.
48877 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48879         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48880         fields.
48882 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48884         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48885         length of target pattern, then descending length of dependency pattern.
48886         * configure.in (AWK): Require gawk 3.1.2 or newer.
48887         * manual/install.texi (Tools for Compilation): Say that we do.
48888         * configure: Regenerated.
48890         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48891         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48892         * scripts/sysd-rules.awk: ... this new script.
48893         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48894         than a glob-style pattern.
48896 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48898         * math/test-misc.c (main): Do not treat incorrectly rounded
48899         conversions as failure unless ROUNDING_TESTS passes.
48901 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48903         [BZ #15631]
48904         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48905         restore exception state around main square root computation, then
48906         check for inexactness explicitly.
48908         * math/libm-test.inc (fma_test_data): Add another test.
48910 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48912         * manual/threads.texi (Non-POSIX Extensions): New document
48913         node.  Document pthread_getattr_default_np and
48914         pthread_setattr_default_np.
48916         * Versions.def (libpthread): Add GLIBC_2.18.
48917         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48919         Likewise.
48920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48921         Likewise.
48922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48923         Likewise.
48924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48925         Likewise.
48926         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48927         Likewise.
48928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48929         Likewise.
48930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48931         Likewise.
48932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48933         Likewise.
48934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48935         Likewise.
48937 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48940         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48942 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48943             H.J. Lu  <hjl.tools@gmail.com>
48945         [BZ #15627]
48946         * sysdeps/x86_64/rtld-memset.c: Remove file.
48947         * sysdeps/x86_64/rtld-memset.S: New file.
48949 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48951         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48952         (test_in_one_mode): Take arguments for whether the rounding mode
48953         is supported for each floating-point type.
48954         (do_test): Pass new arguments to test_in_one_mode using
48955         ROUNDING_TESTS.
48957 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48959         * posix/tst-waitid.c (do_test): Distinguish different instances of
48960         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48961         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48962         before entering the kernel for waitpid.
48964 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48966         * NEWS: Fix note on clock function precision.  Text by Roland
48967         McGrath.
48969 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48971         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48972         it into place only when and if the sanity check passes.
48974 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48976         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48977         output for whether conversion result is exact.  Take argument
48978         indicating whether type is IBM long double.
48979         (round_for_all): Change need_exact field to ibm_ld.
48980         * stdlib/tst-strtod-round.c (struct exactness): New type.
48981         (struct test): Change bool ld_ok field to struct exactness exact.
48982         (TEST): Update all definitions for change to field.
48983         (tests): Regenerate array contents.
48984         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48985         field value.  Check for IBM long double here.
48986         (do_test): Update calls to test_in_one_mode.
48988 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48990         [BZ #12515]
48991         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48992         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48994 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48996         [BZ #15605]
48997         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48998         generated by the compiler on loop optimizations.
48999         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49000         general definitions.
49002 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49004         * math/bug-nextafter.c: Include <math-tests.h>.
49005         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49006         the relevant type.
49007         * math/bug-nexttoward.c: Include <math-tests.h>.
49008         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49009         the relevant type.
49010         * math/test-misc.c: Include <math-tests.h>.
49011         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49012         the relevant type.
49014 2013-06-12  Andreas Jaeger  <aj@suse.de>
49016         * po/ia.po: Update Interlingua translation from translation
49017         project.
49019 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49021         * include/fenv.h: Include stdbool.h.
49022         (struct rm_ctx): New structure.
49023         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49024         Define macro.
49025         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49026         (SET_RESTORE_ROUNDF): Likewise.
49027         (SET_RESTORE_ROUNDL): Likewise.
49028         (SET_RESTORE_ROUND_NOEX): Likewise.
49029         (SET_RESTORE_ROUND_NOEXF): Likewise.
49030         (SET_RESTORE_ROUND_NOEXL): Likewise.
49031         (SET_RESTORE_ROUND_53BIT): Likewise.
49032         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49033         (libc_feresetround_noexf_ctx): Likewise.
49034         (libc_feresetround_noexl_ctx): Likewise.
49035         (libc_feholdsetround_53bit_ctx): Likewise.
49036         (libc_feresetround_53bit_ctx): Likewise.
49037         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49038         (libc_feholdexcept_setround_sse_ctx): New function.
49039         (libc_fesetenv_sse_ctx): Likewise.
49040         (libc_feupdateenv_sse_ctx): Likewise.
49041         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49042         (libc_feholdexcept_setround_387_ctx): Likewise.
49043         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49044         (libc_feholdsetround_387_prec_ctx): Likewise.
49045         (libc_feholdsetround_387_ctx): Likewise.
49046         (libc_feholdsetround_387_53bit_ctx): Likewise.
49047         (libc_feholdsetround_sse_ctx): Likewise.
49048         (libc_feresetround_sse_ctx): Likewise.
49049         (libc_feresetround_387_ctx): Likewise.
49050         (libc_feupdateenv_387_ctx): Likewise.
49051         (libc_feholdexcept_setroundf_ctx): Define macro.
49052         (libc_fesetenvf_ctx): Likewise.
49053         (libc_feupdateenvf_ctx): Likewise.
49054         (libc_feholdsetroundf_ctx): Likewise.
49055         (libc_feresetroundf_ctx): Likewise.
49056         (libc_feholdexcept_setround_ctx): Likewise.
49057         (libc_fesetenv_ctx): Likewise.
49058         (libc_feupdateenv_ctx): Likewise.
49059         (libc_feholdsetround_ctx): Likewise.
49060         (libc_feresetround_ctx): Likewise.
49061         (libc_feholdexcept_setroundl_ctx): Likewise.
49062         (libc_feupdateenvl_ctx): Likewise.
49063         (libc_feholdsetroundl_ctx): Likewise.
49064         (libc_feresetroundl_ctx): Likewise.
49065         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49066         (libc_feresetround_53bit_ctx): Likewise.
49068 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49070         * locale/iso-639.def: Convert to UTF-8.
49072 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49074         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49075         (EXCEPTION_TESTS_double): Likewise.
49076         (EXCEPTION_TESTS_long_double): Likewise.
49077         (EXCEPTION_TESTS): Likewise.
49078         * math/libm-test.inc (test_exceptions): Only test exceptions if
49079         EXCEPTION_TESTS (FLOAT).
49081 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49083         * benchtests/Makefile (string-bench): Add strcpy_chk and
49084         stpcpy_chk.
49085         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49086         * benchtests/bench-stpcpy_chk.c: New file.
49087         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49088         * benchtests/bench-strcpy_chk.c: New file.
49089         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49090         code.
49091         (do_test): Likewise.
49093 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49095         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49096         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49097         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49098         with tabs where appropriate.
49099         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49100         dl-procinfo.h.
49101         [PPC_PLATFORM_PPC440]: Likewise.
49102         [PPC_PLATFORM_PPC464]: Likewise.
49103         [PPC_PLATFORM_PPC476]: Likewise.
49104         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49105         ppc464, and ppc476 platform strings merging from ports/
49106         dl-procinfo.h.
49108 2013-06-11  Andreas Schwab  <schwab@suse.de>
49110         [BZ #14991]
49111         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49112         (from_ucs4_idx): Regenerate.
49113         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49114         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49115         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49116         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49117         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49118         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49119         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49120         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49121         from FROM_LOOP and TO_LOOP specific macros.
49122         (BODY): Handle combining characters.
49123         * iconvdata/BIG5HKSCS.irreversible: Update.
49124         * iconvdata/BIG5HKSCS.precomposed: New file.
49125         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49126         characters.
49127         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49129 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49131         * include/sys/time.h: Fix indentation and add copyright header.
49133         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49134         (do_test): Likewise.
49135         * string/test-memchr.c (do_one_test): Likewise.
49136         (do_test): Likewise.
49137         * string/test-memcmp.c (do_one_test): Likewise.
49138         (do_test): Likewise.
49139         * string/test-memcpy.c (do_one_test): Likewise.
49140         (do_test): Likewise.
49141         * string/test-memmem.c (do_one_test): Likewise.
49142         (do_test): Likewise.
49143         (do_random_tests): Likewise.
49144         * string/test-memmove.c (do_one_test): Likewise.
49145         (do_test): Likewise.
49146         * string/test-memset.c (do_one_test): Likewise.
49147         (do_test): Likewise.
49148         * string/test-rawmemchr.c (do_one_test): Likewise.
49149         (do_test): Likewise.
49150         * string/test-strcasecmp.c (do_one_test): Likewise.
49151         (do_test): Likewise.
49152         * string/test-strcasestr.c (do_one_test): Likewise.
49153         (do_test): Likewise.
49154         * string/test-strcat.c (do_one_test): Likewise.
49155         (do_test): Likewise.
49156         * string/test-strchr.c (do_one_test): Likewise.
49157         (do_test): Likewise.
49158         * string/test-strcmp.c (do_one_test): Likewise.
49159         (do_test): Likewise.
49160         * string/test-strcpy.c (do_one_test): Likewise.
49161         (do_test): Likewise.
49162         * string/test-string.h: Likewise.
49163         (test_init): Likewise.
49164         * string/test-strlen.c (do_one_test): Likewise.
49165         (do_test): Likewise.
49166         * string/test-strncasecmp.c (do_one_test): Likewise.
49167         (do_test): Likewise.
49168         * string/test-strncat.c (do_one_test): Likewise.
49169         (do_test): Likewise.
49170         * string/test-strncmp.c (do_one_test): Likewise.
49171         (do_test_limit): Likewise.
49172         (do_test): Likewise.
49173         * string/test-strncpy.c (do_one_test): Likewise.
49174         (do_test): Likewise.
49175         * string/test-strnlen.c (do_one_test): Likewise.
49176         (do_test): Likewise.
49177         * string/test-strpbrk.c (do_one_test): Likewise.
49178         (do_test): Likewise.
49179         * string/test-strrchr.c (do_one_test): Likewise.
49180         (do_test): Likewise.
49181         * string/test-strspn.c (do_one_test): Likewise.
49182         (do_test): Likewise.
49183         * string/test-strstr.c (do_one_test): Likewise.
49184         (do_test): Likewise.
49186         * benchtests/Makefile (string-bench): Add string benchmarks.
49187         * benchtests/bench-bcopy-ifunc.c: New file.
49188         * benchtests/bench-bcopy.c: New file.
49189         * benchtests/bench-bzero-ifunc.c: New file.
49190         * benchtests/bench-bzero.c: New file.
49191         * benchtests/bench-memccpy-ifunc.c: New file.
49192         * benchtests/bench-memccpy.c: New file.
49193         * benchtests/bench-memchr-ifunc.c: New file.
49194         * benchtests/bench-memchr.c: New file.
49195         * benchtests/bench-memcmp-ifunc.c: New file.
49196         * benchtests/bench-memcmp.c: New file.
49197         * benchtests/bench-memmem-ifunc.c: New file.
49198         * benchtests/bench-memmem.c: New file.
49199         * benchtests/bench-memmove-ifunc.c: New file.
49200         * benchtests/bench-memmove.c: New file.
49201         * benchtests/bench-mempcpy-ifunc.c: New file.
49202         * benchtests/bench-mempcpy.c: New file.
49203         * benchtests/bench-memset-ifunc.c: New file.
49204         * benchtests/bench-memset.c: New file.
49205         * benchtests/bench-rawmemchr-ifunc.c: New file.
49206         * benchtests/bench-rawmemchr.c: New file.
49207         * benchtests/bench-stpcpy-ifunc.c: New file.
49208         * benchtests/bench-stpcpy.c: New file.
49209         * benchtests/bench-stpncpy-ifunc.c: New file.
49210         * benchtests/bench-stpncpy.c: New file.
49211         * benchtests/bench-strcasecmp-ifunc.c: New file.
49212         * benchtests/bench-strcasecmp.c: New file.
49213         * benchtests/bench-strcasestr-ifunc.c: New file.
49214         * benchtests/bench-strcasestr.c: New file.
49215         * benchtests/bench-strcat-ifunc.c: New file.
49216         * benchtests/bench-strcat.c: New file.
49217         * benchtests/bench-strchr-ifunc.c: New file.
49218         * benchtests/bench-strchr.c: New file.
49219         * benchtests/bench-strchrnul-ifunc.c: New file.
49220         * benchtests/bench-strchrnul.c: New file.
49221         * benchtests/bench-strcmp-ifunc.c: New file.
49222         * benchtests/bench-strcmp.c: New file.
49223         * benchtests/bench-strcpy-ifunc.c: New file.
49224         * benchtests/bench-strcpy.c: New file.
49225         * benchtests/bench-strcspn-ifunc.c: New file.
49226         * benchtests/bench-strcspn.c: New file.
49227         * benchtests/bench-strlen-ifunc.c: New file.
49228         * benchtests/bench-strlen.c: New file.
49229         * benchtests/bench-strncasecmp-ifunc.c: New file.
49230         * benchtests/bench-strncasecmp.c: New file.
49231         * benchtests/bench-strncat-ifunc.c: New file.
49232         * benchtests/bench-strncat.c: New file.
49233         * benchtests/bench-strncmp-ifunc.c: New file.
49234         * benchtests/bench-strncmp.c: New file.
49235         * benchtests/bench-strncpy-ifunc.c: New file.
49236         * benchtests/bench-strncpy.c: New file.
49237         * benchtests/bench-strnlen-ifunc.c: New file.
49238         * benchtests/bench-strnlen.c: New file.
49239         * benchtests/bench-strpbrk-ifunc.c: New file.
49240         * benchtests/bench-strpbrk.c: New file.
49241         * benchtests/bench-strrchr-ifunc.c: New file.
49242         * benchtests/bench-strrchr.c: New file.
49243         * benchtests/bench-strspn-ifunc.c: New file.
49244         * benchtests/bench-strspn.c: New file.
49245         * benchtests/bench-strstr-ifunc.c: New file.
49246         * benchtests/bench-strstr.c: New file.
49248         * benchtests/Makefile: Disable parallel execution of targets.
49249         (string-bench): Add memcpy.
49250         (benchset): New variable to store a list of benchmark sets.
49251         (bench-func): Renamed from bench.
49252         (bench-set): New target.
49253         (bench): Depend on bench-func and bench-set.
49254         * benchtests/README: Add section on benchmark sets.
49255         * benchtests/bench-memcpy-ifunc.c: New file.
49256         * benchtests/bench-memcpy.c: New file.
49257         * benchtests/bench-string.h: New file.
49259 2013-06-11  Andreas Schwab  <schwab@suse.de>
49261         [BZ #15577]
49262         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49263         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49264         values in the triple.
49265         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49266         terminator in the group key.
49268 2013-06-11  Andreas Jaeger  <aj@suse.de>
49270         * po/zh_TW.po: Update Chinese (traditional) translation from
49271         translation project.
49273 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49275         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49276         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49277         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49278         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49279         (clock_getcpuclockid): Likewise.
49280         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49281         Add weak_alias and libc_hidden_def.
49282         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49283         * rt/clock_gettime.c (clock_gettime): Rename to
49284         __clock_gettime.  Add weak_alias and libc_hidden_def.
49285         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49286         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49287         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49288         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49289         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49290         Likewise.
49291         * rt/clock_settime.c (clock_settime): Rename to
49292         __clock_settime.  Add weak_alias and libc_hidden_def.
49293         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49295 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49297         * mach/err_boot.sub: Remove trailing whitespace.
49298         * mach/err_ipc.sub: Likewise.
49299         * mach/err_mach.sub: Likewise.
49301         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49302         (ROUNDING_TESTS_double): Likewise.
49303         (ROUNDING_TESTS_long_double): Likewise.
49304         (ROUNDING_TESTS): Likewise.
49305         * math/libm-test.inc: Include <math-tests.h>.
49306         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49307         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49308         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49309         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49311 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49313         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49314         of assigning.
49316 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49318         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49319         otherwise empty TRANS lines.
49320         * sysdeps/gnu/errlist.c: Regenerated.
49322         * catgets/gencat.c (error_print): Use (void) in function
49323         definition.
49324         * crypt/crypt_util.c (__init_des): Likewise.
49325         * crypt/speeds.c (Stop): Likewise.
49326         (main): Likewise.
49327         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49328         * inet/ruserpass.c (token): Likewise.
49329         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49330         * intl/localealias.c (extend_alias_table): Likewise.
49331         * intl/plural-exp.c (init_germanic_plural): Likewise.
49332         * libio/fcloseall.c (__fcloseall): Likewise.
49333         * libio/genops.c (_IO_flush_all): Likewise.
49334         (_IO_flush_all_linebuffered): Likewise.
49335         (_IO_cleanup): Likewise.
49336         (_IO_iter_begin): Likewise.
49337         (_IO_iter_end): Likewise.
49338         (_IO_list_lock): Likewise.
49339         (_IO_list_unlock): Likewise.
49340         (_IO_list_resetlock): Likewise.
49341         * libio/getchar.c (getchar): Likewise.
49342         * libio/getchar_u.c (getchar_unlocked): Likewise.
49343         * libio/getwchar.c (getwchar): Likewise.
49344         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49345         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49346         * login/getpt.c (__getpt): Likewise.
49347         * login/tst-utmp.c (main): Likewise.
49348         * malloc/hooks.c (__malloc_check_init): Likewise.
49349         * malloc/malloc.c (__malloc_stats): Likewise.
49350         * malloc/mtrace.c (tr_break): Likewise.
49351         (mtrace): Likewise.
49352         (muntrace): Likewise.
49353         * misc/fstab.c (endfsent): Likewise.
49354         * misc/getclktck.c (__getclktck): Likewise.
49355         * misc/getdtsz.c (__getdtablesize): Likewise.
49356         * misc/gethostid.c (gethostid): Likewise.
49357         * misc/getpagesize.c (__getpagesize): Likewise.
49358         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49359         (__get_nprocs): Likewise.
49360         (__get_phys_pages): Likewise.
49361         (__get_avphys_pages): Likewise.
49362         * misc/getttyent.c (getttyent): Likewise.
49363         (setttyent): Likewise.
49364         (endttyent): Likewise.
49365         * misc/getusershell.c (getusershell): Likewise.
49366         (endusershell): Likewise.
49367         (setusershell): Likewise.
49368         (initshells): Likewise.
49369         * misc/hsearch.c (__hdestroy): Likewise.
49370         * misc/sync.c (sync): Likewise.
49371         * misc/syslog.c (closelog_internal): Likewise.
49372         (closelog): Likewise.
49373         * misc/ttyslot.c (ttyslot): Likewise.
49374         * misc/vhangup.c (vhangup): Likewise.
49375         * posix/fork.c (__fork): Likewise.
49376         * posix/getegid.c (__getegid): Likewise.
49377         * posix/geteuid.c (__geteuid): Likewise.
49378         * posix/getgid.c (__getgid): Likewise.
49379         * posix/getpid.c (__getpid): Likewise.
49380         * posix/getppid.c (__getppid): Likewise.
49381         * posix/getuid.c (__getuid): Likewise.
49382         * posix/pause.c (pause): Likewise.
49383         * posix/setpgrp.c (setpgrp): Likewise.
49384         * posix/setsid.c (__setsid): Likewise.
49385         * posix/test-vfork.c (noop): Likewise.
49386         * resolv/gethnamaddr.c (_endhtent): Likewise.
49387         (_gethtent): Likewise.
49388         (ht_endhostent): Likewise.
49389         (gethostent): Likewise.
49390         (dns_service): Likewise.
49391         * stdlib/drand48.c (drand48): Likewise.
49392         * stdlib/lrand48.c (lrand48): Likewise.
49393         * stdlib/mrand48.c (mrand48): Likewise.
49394         * stdlib/rand.c (rand): Likewise.
49395         * stdlib/random.c (__random): Likewise.
49396         * stdlib/setenv.c (clearenv): Likewise.
49397         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49398         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49399         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49400         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49401         (__get_nprocs): Likewise.
49402         (__get_phys_pages): Likewise.
49403         (__get_avphys_pages): Likewise.
49404         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49405         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49406         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49407         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49408         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49409         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49410         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49411         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49412         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49413         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49414         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49415         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49416         * sysdeps/posix/clock.c (clock): Likewise.
49417         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49418         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49419         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49420         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49421         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49422         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49423         (__get_nprocs_conf): Likewise.
49424         (__get_phys_pages): Likewise.
49425         (__get_avphys_pages): Likewise.
49426         * time/clock.c (clock): Likewise.
49427         * time/tzset.c (__tzname_max): Likewise.
49429 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49431         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49432         (__bswap_32): Do not use "register".
49433         * crypt/crypt.c (_ufc_doit_r): Likewise.
49434         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49435         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49436         * gmon/gmon.c (__monstartup): Likewise.
49437         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49438         * hurd/hurdmalloc.c (more_memory): Likewise.
49439         (malloc): Likewise.
49440         (free): Likewise.
49441         (realloc): Likewise.
49442         (malloc_fork_prepare): Likewise.
49443         (malloc_fork_parent): Likewise.
49444         (malloc_fork_child): Likewise.
49445         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49446         (_svcauth_des): Likewise.
49447         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49448         * inet/inet_net.c (inet_network): Likewise.
49449         * inet/inet_netof.c (inet_netof): Likewise.
49450         * inet/rcmd.c (__validuser2_sa): Likewise.
49451         * io/fts.c (fts_open): Likewise.
49452         (fts_load): Likewise.
49453         (fts_close): Likewise.
49454         (fts_read): Likewise.
49455         (fts_children): Likewise.
49456         (fts_build): Likewise.
49457         (fts_stat): Likewise.
49458         (fts_sort): Likewise.
49459         (fts_alloc): Likewise.
49460         (fts_lfree): Likewise.
49461         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49462         (_IO_file_xsgetn): Likewise.
49463         (_IO_file_xsgetn_mmap): Likewise.
49464         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49465         (_IO_cookie_write): Likewise.
49466         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49467         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49468         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49469         * malloc/obstack.c (_obstack_begin): Likewise.
49470         (_obstack_begin_1): Likewise.
49471         (_obstack_newchunk): Likewise.
49472         (_obstack_allocated_p): Likewise.
49473         (obstack_free): Likewise.
49474         (_obstack_memory_used): Likewise.
49475         * misc/getttyent.c (getttynam): Likewise.
49476         (getttyent): Likewise.
49477         (skip): Likewise.
49478         (value): Likewise.
49479         * misc/getusershell.c (initshells): Likewise.
49480         * misc/syslog.c (__vsyslog_chk): Likewise.
49481         * misc/ttyslot.c (ttyslot): Likewise.
49482         * nis/nis_hash.c (__nis_hash): Likewise.
49483         * posix/fnmatch_loop.c (FCT): Likewise.
49484         * posix/getconf.c (print_all): Likewise.
49485         (main): Likewise.
49486         * posix/getopt.c (exchange): Likewise.
49487         * posix/glob.c (globfree): Likewise.
49488         (prefix_array): Likewise.
49489         (__glob_pattern_type): Likewise.
49490         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49491         (NS_GET32): Likewise.
49492         (NS_PUT16): Likewise.
49493         (NS_PUT32): Likewise.
49494         * resolv/gethnamaddr.c (getanswer): Likewise.
49495         (gethostbyname2): Likewise.
49496         (gethostbyaddr): Likewise.
49497         (_gethtent): Likewise.
49498         (_gethtbyname2): Likewise.
49499         (_gethtbyaddr): Likewise.
49500         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49501         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49502         * resolv/res_init.c (__res_vinit): Likewise.
49503         (net_mask): Likewise.
49504         * resolv/res_mkquery.c (outchar): Likewise.
49505         (PRINT): Likewise.
49506         * stdio-common/printf_fp.c (outchar): Likewise.
49507         (PRINT): Likewise.
49508         * stdio-common/printf_fphex.c (outchar): Likewise.
49509         (PRINT): Likewise.
49510         * stdio-common/printf_size.c (outchar): Likewise.
49511         (PRINT): Likewise.
49512         * stdio-common/test_rdwr.c (main): Likewise.
49513         * stdio-common/tfformat.c (matches): Likewise.
49514         * stdio-common/vfprintf.c (outchar): Likewise.
49515         (printf_unknown): Likewise.
49516         (buffered_vfprintf): Likewise.
49517         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49518         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49519         (ReadFile): Likewise.
49520         * stdlib/qsort.c (SWAP): Likewise.
49521         (_quicksort): Likewise.
49522         * stdlib/setenv.c (__add_to_environ): Likewise.
49523         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49524         * stdlib/strtol_l.c (__strtol_l): Likewise.
49525         * stdlib/tst-strtod.c (main): Likewise.
49526         * stdlib/tst-strtol.c (main): Likewise.
49527         * stdlib/tst-strtoll.c (main): Likewise.
49528         * string/bits/string2.h (__strcmp_cc): Likewise.
49529         (__strcmp_cg): Likewise.
49530         (__strcspn_c1): Likewise.
49531         (__strcspn_c2): Likewise.
49532         (__strcspn_c3): Likewise.
49533         (__strspn_c1): Likewise.
49534         (__strspn_c2): Likewise.
49535         (__strspn_c3): Likewise.
49536         (__strsep_1c): Likewise.
49537         (__strsep_2c): Likewise.
49538         (__strsep_3c): Likewise.
49539         * string/memccpy.c (__memccpy): Likewise.
49540         * string/stpcpy.c (__stpcpy): Likewise.
49541         * string/strcmp.c (strcmp): Likewise.
49542         * string/strrchr.c (strrchr): Likewise.
49543         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49544         Likewise.
49545         * sysdeps/mach/hurd/getcwd.c
49546         (_hurd_canonicalize_directory_name_internal): Likewise.
49547         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49548         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49549         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49550         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49551         Likewise, in both definitions.
49552         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49553         definitions.
49554         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49555         64] (__bswap_64): Likewise.
49556         * time/test_time.c (main): Likewise.
49557         * time/tzfile.c (__tzfile_read): Likewise.
49558         (__tzfile_compute): Likewise.
49559         * time/tzset.c (__tzset_parse_tz): Likewise.
49560         (tzset_internal): Likewise.
49561         (compute_change): Likewise.
49562         * wcsmbs/wcscat.c (__wcscat): Likewise.
49563         * wcsmbs/wcschr.c (wcschr): Likewise.
49564         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49565         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49566         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49567         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49568         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49569         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49570         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49571         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49572         * wcsmbs/wmemset.c (wmemset): Likewise.
49574 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49576         * scripts/config.guess: Update to version 2013-05-16.
49577         * scripts/config.sub: Update to version 2013-04-24.
49578         * scripts/install-sh: Update to version 2011-11-20.07.
49579         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49580         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49582 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49584         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49585         * elf/sln.c: Likewise.
49586         * hurd/hurd/ioctl.h: Likewise.
49587         * hurd/hurdmalloc.c: Likewise.
49588         * hurd/xattr.c: Likewise.
49589         * include/shlib-compat.h: Likewise.
49590         * inet/ruserpass.c: Likewise.
49591         * libio/iofgets_u.c: Likewise.
49592         * libio/iofgetws_u.c: Likewise.
49593         * locale/programs/ld-identification.c: Likewise.
49594         * locale/programs/ld-time.c: Likewise.
49595         * mach/msg-destroy.c: Likewise.
49596         * nss/nss_files/files-netgrp.c: Likewise.
49597         * resolv/res_data.c: Likewise.
49598         * soft-fp/op-1.h: Likewise.
49599         * soft-fp/op-2.h: Likewise.
49600         * soft-fp/op-4.h: Likewise.
49601         * soft-fp/op-common.h: Likewise.
49602         * stdio-common/printf_fphex.c: Likewise.
49603         * stdlib/strtod_l.c: Likewise.
49604         * sunrpc/rpc/clnt.h: Likewise.
49605         * sysdeps/generic/framestate.c: Likewise.
49606         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49607         * sysdeps/i386/bsd-setjmp.S: Likewise.
49608         * sysdeps/i386/__longjmp.S: Likewise.
49609         * sysdeps/i386/setjmp.S: Likewise.
49610         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49611         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49612         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49613         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49615         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49616         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49617         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49618         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49619         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49620         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49621         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49622         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49623         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49624         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49625         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49626         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49627         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49628         * sysdeps/ieee754/support.c: Likewise.
49629         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49630         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49631         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49632         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49633         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49634         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49635         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49636         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49637         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49638         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49639         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49640         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49641         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49642         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49643         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49644         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49645         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49648 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49650         * posix/transbug.c: Remove executable mode.
49652 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49654         * crypt/speeds.c: Remove trailing whitespace.
49655         * dlfcn/default.c: Likewise.
49656         * elf/ifuncdep2.c: Likewise.
49657         * elf/ifuncmain1.c: Likewise.
49658         * elf/ifuncmain1vis.c: Likewise.
49659         * elf/testobj.h: Likewise.
49660         * elf/tst-stackguard1.c: Likewise.
49661         * gmon/sys/gmon.h: Likewise.
49662         * hurd/hurdmsg.c: Likewise.
49663         * hurd/new-fd.c: Likewise.
49664         * hurd/ports-get.c: Likewise.
49665         * iconvdata/ibm1008_420.c: Likewise.
49666         * inet/tst-getni1.c: Likewise.
49667         * inet/tst-getni2.c: Likewise.
49668         * libio/ioungetc.c: Likewise.
49669         * libio/wfiledoalloc.c: Likewise.
49670         * manual/libm-err-tab.pl: Likewise.
49671         * math/w_dremf.c: Likewise.
49672         * misc/ftruncate.c: Likewise.
49673         * posix/bug-glob2.c: Likewise.
49674         * posix/tst-pcre.c: Likewise.
49675         * posix/wait4.c: Likewise.
49676         * resolv/README: Likewise.
49677         * resolv/res_debug.h: Likewise.
49678         * resolv/tst-inet_ntop.c: Likewise.
49679         * setjmp/bug269-setjmp.c: Likewise.
49680         * soft-fp/extended.h: Likewise.
49681         * soft-fp/op-1.h: Likewise.
49682         * soft-fp/op-2.h: Likewise.
49683         * soft-fp/op-4.h: Likewise.
49684         * soft-fp/op-8.h: Likewise.
49685         * soft-fp/testit.c: Likewise.
49686         * stdio-common/bug16.c: Likewise.
49687         * stdlib/random.c: Likewise.
49688         * sunrpc/rpcsvc/rquota.x: Likewise.
49689         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49690         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49691         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49692         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49693         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49694         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49695         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49696         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49697         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49698         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49699         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49700         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49701         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49702         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49703         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49704         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49705         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49706         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49707         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49708         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49709         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49710         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49711         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49712         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49713         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49714         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49715         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49716         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49717         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49718         * sysdeps/ieee754/s_lib_version.c: Likewise.
49719         * sysdeps/mach/hurd/check_fds.c: Likewise.
49720         * sysdeps/mach/hurd/getsockname.c: Likewise.
49721         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49722         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49723         * sysdeps/powerpc/bits/link.h: Likewise.
49724         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49725         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49726         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49727         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49728         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49729         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49730         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49731         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49732         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49733         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49734         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49735         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49736         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49737         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49738         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49739         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49740         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49741         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49742         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49743         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49744         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49745         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49746         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49747         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49748         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49749         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49750         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49751         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49752         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49753         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49754         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49755         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49756         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49757         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49758         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49759         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49760         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49761         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49762         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49763         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49764         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49765         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49766         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49767         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49768         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49769         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49770         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49771         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49772         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49773         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49774         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49775         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49776         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49777         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49778         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49779         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49780         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49781         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49782         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49783         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49784         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49785         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49786         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49787         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49788         * sysdeps/powerpc/sysdep.h: Likewise.
49789         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49790         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49791         * sysdeps/sh/dl-trampoline.S: Likewise.
49792         * sysdeps/sh/memset.S: Likewise.
49793         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49794         * sysdeps/sh/strlen.S: Likewise.
49795         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49796         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49797         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49798         * sysdeps/sparc/sparc32/rem.S: Likewise.
49799         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49800         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49801         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49802         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49803         * sysdeps/sparc/sparc32/urem.S: Likewise.
49804         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49805         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49806         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49807         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49808         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49809         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49810         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49811         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49812         * sysdeps/unix/bsd/times.c: Likewise.
49813         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49814         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49818         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49819         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49820         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49821         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49822         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49823         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49824         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49825         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49826         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49827         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49828         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49829         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49830         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49831         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49832         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49833         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49834         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49835         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49836         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49837         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49838         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49839         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49840         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49841         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49842         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49843         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49844         * sysdeps/x86_64/strcspn.S: Likewise.
49846 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49848         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49849         generated file.  Regenerate properly from gen-translit.pl.
49850         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49851         locale/C-translit.h.
49853 2013-06-05  Andreas Schwab  <schwab@suse.de>
49855         [BZ #15100]
49856         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49857         week as 6 instead of -1.
49858         * time/tst-strptime.c (day_tests): Add test case.
49860 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49862         * sysdeps/generic/math_private.h
49863         (libc_feholdexcept_setround_53bit): Replace with
49864         libc_feholdsetround_53bit.
49865         (libc_feupdateenv_53bit): Replace with
49866         libc_feresetround_53bit.
49867         (SET_RESTORE_ROUND_53BIT): Adjust.
49869 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49871         * string/test-strchrnul.c: Add copyright header.
49873         * posix/tst-getaddrinfo4.c: Increase test timeout.
49875 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49877         [BZ #15536]
49878         * math/libm-test.inc (MAX_EXP): Remove
49879         (MIN_EXP): Define.
49880         (ulp): Use MIN_EXP - MANT_DIG.
49881         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49883 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49885         * po/be.po: Revert last change.
49886         * po/zh_CN.po: Likewise.
49887         * po/header.pot: Likewise.
49889 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49891         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49892         link-libc-deps to empty as target-specific variable.
49893         * Makerules (link-libc-args): New variable.
49894         (libc-for-link): Likewise.
49895         (link-libc-deps): Likewise.
49896         (lib%.so): Depend on $(link-libc-deps).  Link with
49897         $(link-libc-args).
49898         (build-module): Link with $(link-libc-args).
49899         (build-module-asneeded): Likewise.
49900         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49901         list of objects.
49902         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49903         target-specific variable.
49904         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49905         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49906         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49907         libc.
49908         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49909         libc and ld.so.
49910         ($(objpfx)libpcprofile.so): Likewise.
49911         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49912         libc_nonshared.a.
49913         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49914         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49915         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49916         $(link-libc-deps).
49917         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49918         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49919         * login/Makefile ($(objpfx)libutil.so): Likewise.
49920         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49921         * math/Makefile ($(objpfx)libm.so): Likewise.
49922         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49923         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49924         variable instead of depending directly on libc.
49925         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49926         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49927         $(link-libc-deps).
49928         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49929         libc.
49930         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49931         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49932         ($(objpfx)libanl.so): Likewise.
49933         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49934         ld.so.
49935         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49936         $(link-libc-deps).
49937         * sysdeps/i386/fpu/Makefile: Remove file.
49938         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49939         ($(objpfx)libm.so): Remove dependency on ld.so.
49941 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49943         [BZ # 15553]
49944         * nis/yp_xdr.c (XDRMAXNAME): Define.
49945         (XDRMAXRECORD): Define.
49946         (xdr_domainname): Use XDRMAXNAME.
49947         (xdr_mapname): Likewise.
49948         (xdr_peername): Likewise.
49949         (xdr_keydat): Use XDRMAXRECORD.
49950         (xdr_valdat): Likewise.
49952 2013-05-30  Jeff Law  <law@redhat.com>
49954         [BZ #14256]
49955         * manual/errno.texi (ESTALE): Update to account for more than
49956         just NFS file systems.
49957         * sysdeps/gnu/errlist.c: Regenerated.
49959 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49961         [BZ #15465]
49962         * elf/Makefile (tests): Add tst-null-argv.
49963         (modules-names):  Add tst-null-argv-lib.
49964         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49965         (tst-null-argv-ENV): Set environment for tst-null-argv.
49966         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49967         (RTLD_PROGNAME): New macro.
49968         * elf/tst-null-argv.c: New test case.
49969         * elf/tst-null-argv-lib.c: Library for test case.
49970         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49971         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49972         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49973         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49974         * elf/dl-init.c (call_init): Likewise.
49975         (_dl_init): Likewise.
49976         * elf/dl-load.c (print_search_path): Likewise.
49977         (_dl_map_object): Likewise.
49978         * elf/dl-lookup.c (do_lookup_x): Likewise.
49979         (add_dependency): Likewise.
49980         (_dl_lookup_symbol_x): Likewise.
49981         (_dl_debug_bindings): Likewise.
49982         * elf/dl-open.c (_dl_show_scope): Likewise.
49983         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49984         * elf/dl-version.c (match_symbol): Likewise.
49985         (_dl_check_map_versions): Likewise.
49986         * elf/rtld.c (dl_main): Likewise.
49987         (print_unresolved): Use RTLD_PROGNAME.
49988         (print_missing_version): Likewise.
49989         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49990         (elf_machine_rela): Likewise.
49991         * sysdeps/powerpc/powerpc32/dl-machine.c
49992         (__process_machine_rela): Likewise.
49993         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49994         Likewise.
49995         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49996         Likewise.
49997         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49998         Likewise.
49999         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50000         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50001         Likewise.
50002         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50003         Likewise.
50004         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50006 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50008         * po/be.po: Add descriptive title.
50009         * po/zh_CN.po: Likewise.
50010         * po/header.pot: Likewise.
50012 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50014         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50015         error message.
50016         (enlarge_archive): Likewise.
50018 2013-05-28  Ben North  <ben@redfrontdoor.org>
50020         * manual/arith.texi (frexp): It is the magnitude of the return
50021         value which lies in [0.5, 1), not the return value itself.
50023 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50027 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50029         * stdio-common/bug26.c (main): Correct fscanf template.
50031         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50032         declare _dl_skip_args.
50034         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50035         Don't declare.
50037         * manual/platform.texi: Add missing @end deftypefun.
50039 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50041         [BZ #15529]
50042         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50043         bit of mantissa of 2^16382.
50044         * math/libm-test.inc (hypot_test_data): Add more tests.
50046         * math/libm-test.inc: Add drem and pow10 to list of tested
50047         functions.
50048         (pow10_test): New function.
50049         (drem_test): Likewise.
50050         (drem_test_tonearest): Likewise.
50051         (drem_test_towardzero): Likewise.
50052         (drem_test_downward): Likewise.
50053         (drem_test_upward): Likewise.
50054         (main): Call the new functions.
50056         * math/libm-test.inc (finite_test_data): Remove.
50057         (finite_test): Run tests from isfinite_test_data.
50058         (gamma_test_data): Remove.
50059         (gamma_test): Run tests from lgamma_test_data.
50060         * sysdeps/i386/fpu/libm-test-ulps: Update.
50061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50063 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50065         * manual/platform.texi: Add PowerPC PPR function set documentation.
50066         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50067         implementation.
50069 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50071         * math/libm-test.inc (MAX_EXP): Define.
50072         (ULPDIFF): Define.
50073         (ulp): New function.
50074         (check_float_internal): Use ULPDIFF.
50075         (cpow_test): Disable failing test.
50076         (check_ulp): Test ulp() implemetnation.
50077         (main): Call check_ulp before starting tests.
50079 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50081         * math/gen-libm-test.pl (generate_testfile): Do not handle
50082         START_DATA and END_DATA.
50083         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50084         END_DATA.
50085         (acos_tonearest_test_data): Likewise.
50086         (acos_towardzero_test_data): Likewise.
50087         (acos_downward_test_data): Likewise.
50088         (acos_upward_test_data): Likewise.
50089         (acosh_test_data): Likewise.
50090         (asin_test_data): Likewise.
50091         (asin_tonearest_test_data): Likewise.
50092         (asin_towardzero_test_data): Likewise.
50093         (asin_downward_test_data): Likewise.
50094         (asin_upward_test_data): Likewise.
50095         (asinh_test_data): Likewise.
50096         (atan_test_data): Likewise.
50097         (atanh_test_data): Likewise.
50098         (atan2_test_data): Likewise.
50099         (cabs_test_data): Likewise.
50100         (cacos_test_data): Likewise.
50101         (cacosh_test_data): Likewise.
50102         (carg_test_data): Likewise.
50103         (casin_test_data): Likewise.
50104         (casinh_test_data): Likewise.
50105         (catan_test_data): Likewise.
50106         (catanh_test_data): Likewise.
50107         (cbrt_test_data): Likewise.
50108         (ccos_test_data): Likewise.
50109         (ccosh_test_data): Likewise.
50110         (ceil_test_data): Likewise.
50111         (cexp_test_data): Likewise.
50112         (cimag_test_data): Likewise.
50113         (clog_test_data): Likewise.
50114         (clog10_test_data): Likewise.
50115         (conj_test_data): Likewise.
50116         (copysign_test_data): Likewise.
50117         (cos_test_data): Likewise.
50118         (cos_tonearest_test_data): Likewise.
50119         (cos_towardzero_test_data): Likewise.
50120         (cos_downward_test_data): Likewise.
50121         (cos_upward_test_data): Likewise.
50122         (cosh_test_data): Likewise.
50123         (cosh_tonearest_test_data): Likewise.
50124         (cosh_towardzero_test_data): Likewise.
50125         (cosh_downward_test_data): Likewise.
50126         (cosh_upward_test_data): Likewise.
50127         (cpow_test_data): Likewise.
50128         (cproj_test_data): Likewise.
50129         (creal_test_data): Likewise.
50130         (csin_test_data): Likewise.
50131         (csinh_test_data): Likewise.
50132         (csqrt_test_data): Likewise.
50133         (ctan_test_data): Likewise.
50134         (ctan_tonearest_test_data): Likewise.
50135         (ctan_towardzero_test_data): Likewise.
50136         (ctan_downward_test_data): Likewise.
50137         (ctan_upward_test_data): Likewise.
50138         (ctanh_test_data): Likewise.
50139         (ctanh_tonearest_test_data): Likewise.
50140         (ctanh_towardzero_test_data): Likewise.
50141         (ctanh_downward_test_data): Likewise.
50142         (ctanh_upward_test_data): Likewise.
50143         (erf_test_data): Likewise.
50144         (erfc_test_data): Likewise.
50145         (exp_test_data): Likewise.
50146         (exp_tonearest_test_data): Likewise.
50147         (exp_towardzero_test_data): Likewise.
50148         (exp_downward_test_data): Likewise.
50149         (exp_upward_test_data): Likewise.
50150         (exp10_test_data): Likewise.
50151         (exp2_test_data): Likewise.
50152         (expm1_test_data): Likewise.
50153         (fabs_test_data): Likewise.
50154         (fdim_test_data): Likewise.
50155         (finite_test_data): Likewise.
50156         (floor_test_data): Likewise.
50157         (fma_test_data): Likewise.
50158         (fma_towardzero_test_data): Likewise.
50159         (fma_downward_test_data): Likewise.
50160         (fma_upward_test_data): Likewise.
50161         (fmax_test_data): Likewise.
50162         (fmin_test_data): Likewise.
50163         (fmod_test_data): Likewise.
50164         (fpclassify_test_data): Likewise.
50165         (frexp_test_data): Likewise.
50166         (gamma_test_data): Likewise.
50167         (hypot_test_data): Likewise.
50168         (ilogb_test_data): Likewise.
50169         (isfinite_test_data): Likewise.
50170         (isgreater_test_data): Likewise.
50171         (isgreaterequal_test_data): Likewise.
50172         (isinf_test_data): Likewise.
50173         (isless_test_data): Likewise.
50174         (islessequal_test_data): Likewise.
50175         (islessgreater_test_data): Likewise.
50176         (isnan_test_data): Likewise.
50177         (isnormal_test_data): Likewise.
50178         (issignaling_test_data): Likewise.
50179         (isunordered_test_data): Likewise.
50180         (j0_test_data): Likewise.
50181         (j1_test_data): Likewise.
50182         (jn_test_data): Likewise.
50183         (ldexp_test_data): Likewise.
50184         (lgamma_test_data): Likewise.
50185         (lrint_test_data): Likewise.
50186         (lrint_tonearest_test_data): Likewise.
50187         (lrint_towardzero_test_data): Likewise.
50188         (lrint_downward_test_data): Likewise.
50189         (lrint_upward_test_data): Likewise.
50190         (llrint_test_data): Likewise.
50191         (llrint_tonearest_test_data): Likewise.
50192         (llrint_towardzero_test_data): Likewise.
50193         (llrint_downward_test_data): Likewise.
50194         (llrint_upward_test_data): Likewise.
50195         (log_test_data): Likewise.
50196         (log10_test_data): Likewise.
50197         (log1p_test_data): Likewise.
50198         (log2_test_data): Likewise.
50199         (logb_test_data): Likewise.
50200         (logb_downward_test_data): Likewise.
50201         (lround_test_data): Likewise.
50202         (llround_test_data): Likewise.
50203         (modf_test_data): Likewise.
50204         (nearbyint_test_data): Likewise.
50205         (nextafter_test_data): Likewise.
50206         (nexttoward_test_data): Likewise.
50207         (pow_test_data): Likewise.
50208         (pow_tonearest_test_data): Likewise.
50209         (pow_towardzero_test_data): Likewise.
50210         (pow_downward_test_data): Likewise.
50211         (pow_upward_test_data): Likewise.
50212         (remainder_test_data): Likewise.
50213         (remainder_tonearest_test_data): Likewise.
50214         (remainder_towardzero_test_data): Likewise.
50215         (remainder_downward_test_data): Likewise.
50216         (remainder_upward_test_data): Likewise.
50217         (remquo_test_data): Likewise.
50218         (rint_test_data): Likewise.
50219         (rint_tonearest_test_data): Likewise.
50220         (rint_towardzero_test_data): Likewise.
50221         (rint_downward_test_data): Likewise.
50222         (rint_upward_test_data): Likewise.
50223         (round_test_data): Likewise.
50224         (scalb_test_data): Likewise.
50225         (scalbn_test_data): Likewise.
50226         (scalbln_test_data): Likewise.
50227         (signbit_test_data): Likewise.
50228         (sin_test_data): Likewise.
50229         (sin_tonearest_test_data): Likewise.
50230         (sin_towardzero_test_data): Likewise.
50231         (sin_downward_test_data): Likewise.
50232         (sin_upward_test_data): Likewise.
50233         (sincos_test_data): Likewise.
50234         (sinh_test_data): Likewise.
50235         (sinh_tonearest_test_data): Likewise.
50236         (sinh_towardzero_test_data): Likewise.
50237         (sinh_downward_test_data): Likewise.
50238         (sinh_upward_test_data): Likewise.
50239         (sqrt_test_data): Likewise.
50240         (tan_test_data): Likewise.
50241         (tan_tonearest_test_data): Likewise.
50242         (tan_towardzero_test_data): Likewise.
50243         (tan_downward_test_data): Likewise.
50244         (tan_upward_test_data): Likewise.
50245         (tanh_test_data): Likewise.
50246         (tgamma_test_data): Likewise.
50247         (trunc_test_data): Likewise.
50248         (y0_test_data): Likewise.
50249         (y1_test_data): Likewise.
50250         (yn_test_data): Likewise.
50251         (significand_test_data): Likewise.
50253         * math/gen-libm-test.pl (@functions): Remove variable.
50254         (generate_testfile): Don't handle START and END lines.
50255         * math/libm-test.inc (START): New macro.
50256         (END): Likewise.
50257         (END_COMPLEX): Likewise.
50258         (acos_test): Use END macro without arguments.
50259         (acos_test_tonearest): Likewise.
50260         (acos_test_towardzero): Likewise.
50261         (acos_test_downward): Likewise.
50262         (acos_test_upward): Likewise.
50263         (acosh_test): Likewise.
50264         (asin_test): Likewise.
50265         (asin_test_tonearest): Likewise.
50266         (asin_test_towardzero): Likewise.
50267         (asin_test_downward): Likewise.
50268         (asin_test_upward): Likewise.
50269         (asinh_test): Likewise.
50270         (atan_test): Likewise.
50271         (atanh_test): Likewise.
50272         (atan2_test): Likewise.
50273         (cabs_test): Likewise.
50274         (cacos_test): Use END_COMPLEX macro without arguments.
50275         (cacosh_test): Likewise.
50276         (carg_test): Use END macro without arguments.
50277         (casin_test): Use END_COMPLEX macro without arguments.
50278         (casinh_test): Likewise.
50279         (catan_test): Likewise.
50280         (catanh_test): Likewise.
50281         (cbrt_test): Use END macro without arguments.
50282         (ccos_test): Use END_COMPLEX macro without arguments.
50283         (ccosh_test): Likewise.
50284         (ceil_test): Use END macro without arguments.
50285         (cexp_test): Use END_COMPLEX macro without arguments.
50286         (cimag_test): Use END macro without arguments.
50287         (clog_test): Use END_COMPLEX macro without arguments.
50288         (clog10_test): Likewise.
50289         (conj_test): Likewise.
50290         (copysign_test): Use END macro without arguments.
50291         (cos_test): Likewise.
50292         (cos_test_tonearest): Likewise.
50293         (cos_test_towardzero): Likewise.
50294         (cos_test_downward): Likewise.
50295         (cos_test_upward): Likewise.
50296         (cosh_test): Likewise.
50297         (cosh_test_tonearest): Likewise.
50298         (cosh_test_towardzero): Likewise.
50299         (cosh_test_downward): Likewise.
50300         (cosh_test_upward): Likewise.
50301         (cpow_test): Use END_COMPLEX macro without arguments.
50302         (cproj_test): Likewise.
50303         (creal_test): Use END macro without arguments.
50304         (csin_test): Use END_COMPLEX macro without arguments.
50305         (csinh_test): Likewise.
50306         (csqrt_test): Likewise.
50307         (ctan_test): Likewise.
50308         (ctan_test_tonearest): Likewise.
50309         (ctan_test_towardzero): Likewise.
50310         (ctan_test_downward): Likewise.
50311         (ctan_test_upward): Likewise.
50312         (ctanh_test): Likewise.
50313         (ctanh_test_tonearest): Likewise.
50314         (ctanh_test_towardzero): Likewise.
50315         (ctanh_test_downward): Likewise.
50316         (ctanh_test_upward): Likewise.
50317         (erf_test): Use END macro without arguments.
50318         (erfc_test): Likewise.
50319         (exp_test): Likewise.
50320         (exp_test_tonearest): Likewise.
50321         (exp_test_towardzero): Likewise.
50322         (exp_test_downward): Likewise.
50323         (exp_test_upward): Likewise.
50324         (exp10_test): Likewise.
50325         (exp2_test): Likewise.
50326         (expm1_test): Likewise.
50327         (fabs_test): Likewise.
50328         (fdim_test): Likewise.
50329         (finite_test): Likewise.
50330         (floor_test): Likewise.
50331         (fma_test): Likewise.
50332         (fma_test_towardzero): Likewise.
50333         (fma_test_downward): Likewise.
50334         (fma_test_upward): Likewise.
50335         (fmax_test): Likewise.
50336         (fmin_test): Likewise.
50337         (fmod_test): Likewise.
50338         (fpclassify_test): Likewise.
50339         (frexp_test): Likewise.
50340         (gamma_test): Likewise.
50341         (hypot_test): Likewise.
50342         (ilogb_test): Likewise.
50343         (isfinite_test): Likewise.
50344         (isgreater_test): Likewise.
50345         (isgreaterequal_test): Likewise.
50346         (isinf_test): Likewise.
50347         (isless_test): Likewise.
50348         (islessequal_test): Likewise.
50349         (islessgreater_test): Likewise.
50350         (isnan_test): Likewise.
50351         (isnormal_test): Likewise.
50352         (issignaling_test): Likewise.
50353         (isunordered_test): Likewise.
50354         (j0_test): Likewise.
50355         (j1_test): Likewise.
50356         (jn_test): Likewise.
50357         (ldexp_test): Likewise.
50358         (lgamma_test): Likewise.
50359         (lrint_test): Likewise.
50360         (lrint_test_tonearest): Likewise.
50361         (lrint_test_towardzero): Likewise.
50362         (lrint_test_downward): Likewise.
50363         (lrint_test_upward): Likewise.
50364         (llrint_test): Likewise.
50365         (llrint_test_tonearest): Likewise.
50366         (llrint_test_towardzero): Likewise.
50367         (llrint_test_downward): Likewise.
50368         (llrint_test_upward): Likewise.
50369         (log_test): Likewise.
50370         (log10_test): Likewise.
50371         (log1p_test): Likewise.
50372         (log2_test): Likewise.
50373         (logb_test): Likewise.
50374         (logb_test_downward): Likewise.
50375         (lround_test): Likewise.
50376         (llround_test): Likewise.
50377         (modf_test): Likewise.
50378         (nearbyint_test): Likewise.
50379         (nextafter_test): Likewise.
50380         (nexttoward_test): Likewise.
50381         (pow_test): Likewise.
50382         (pow_test_tonearest): Likewise.
50383         (pow_test_towardzero): Likewise.
50384         (pow_test_downward): Likewise.
50385         (pow_test_upward): Likewise.
50386         (remainder_test): Likewise.
50387         (remainder_test_tonearest): Likewise.
50388         (remainder_test_towardzero): Likewise.
50389         (remainder_test_downward): Likewise.
50390         (remainder_test_upward): Likewise.
50391         (remquo_test): Likewise.
50392         (rint_test): Likewise.
50393         (rint_test_tonearest): Likewise.
50394         (rint_test_towardzero): Likewise.
50395         (rint_test_downward): Likewise.
50396         (rint_test_upward): Likewise.
50397         (round_test): Likewise.
50398         (scalb_test): Likewise.
50399         (scalbn_test): Likewise.
50400         (scalbln_test): Likewise.
50401         (signbit_test): Likewise.
50402         (sin_test): Likewise.
50403         (sin_test_tonearest): Likewise.
50404         (sin_test_towardzero): Likewise.
50405         (sin_test_downward): Likewise.
50406         (sin_test_upward): Likewise.
50407         (sincos_test): Likewise.
50408         (sinh_test): Likewise.
50409         (sinh_test_tonearest): Likewise.
50410         (sinh_test_towardzero): Likewise.
50411         (sinh_test_downward): Likewise.
50412         (sinh_test_upward): Likewise.
50413         (sqrt_test): Likewise.
50414         (tan_test): Likewise.
50415         (tan_test_tonearest): Likewise.
50416         (tan_test_towardzero): Likewise.
50417         (tan_test_downward): Likewise.
50418         (tan_test_upward): Likewise.
50419         (tanh_test): Likewise.
50420         (tgamma_test): Likewise.
50421         (trunc_test): Likewise.
50422         (y0_test): Likewise.
50423         (y1_test): Likewise.
50424         (yn_test): Likewise.
50425         (significand_test): Likewise.
50427 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50429         [BZ #15381]
50430         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50432 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50434         [BZ #14894]
50435         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50436         __ppc_mdoio and __ppc_mdoom.
50437         * manual/platform.texi: Document new functions __ppc_yield,
50438         __ppc_mdoio and __ppc_mdoom.
50440 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50442         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50443         (main): Mention "tls" pseudo-hwcap is legacy.
50444         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50446 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50448         * math/gen-libm-test.pl (parse_args): Output only string of
50449         arguments as text for test name, not full call or descriptions of
50450         tests for extra outputs.
50451         (generate_testfile): Do not pass function name to parse_args.
50452         Generate this_func variable from START.
50453         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50454         field to arg_str.
50455         (struct test_ff_f_data): Likewise.
50456         (test_ff_f_data_nexttoward): Likewise.
50457         (struct test_fi_f_data): Likewise.
50458         (struct test_fl_f_data): Likewise.
50459         (struct test_if_f_data): Likewise.
50460         (struct test_fff_f_data): Likewise.
50461         (struct test_c_f_data): Likewise.
50462         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50463         (struct test_fF_f1_data): Likewise.
50464         (struct test_ffI_f1_data): Likewise.
50465         (struct test_c_c_data): Rename test_name field to arg_str.
50466         (struct test_cc_c_data): Likewise.
50467         (struct test_f_i_data): Likewise.
50468         (struct test_ff_i_data): Likewise.
50469         (struct test_f_l_data): Likewise.
50470         (struct test_f_L_data): Likewise.
50471         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50472         and extra2_name.
50473         (COMMON_TEST_SETUP): New macro.
50474         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50475         (COMMON_TEST_CLEANUP): Likewise.
50476         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50477         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50478         macros.
50479         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50480         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50481         macros.
50482         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50483         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50484         cleanup macros.
50485         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50486         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50487         macros.
50488         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50489         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50490         macros.
50491         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50492         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50493         cleanup macros.
50494         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50495         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50496         cleanup macros.
50497         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50498         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50499         cleanup macros.
50500         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50501         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50502         macros.
50503         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50504         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50505         macros.
50506         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50507         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50508         macros.
50509         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50510         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50511         cleanup macros.
50512         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50513         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50514         cleanup macros.
50515         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50516         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50517         macros.
50518         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50519         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50520         cleanup macros.
50521         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50522         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50523         macros.
50524         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50525         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50526         macros.
50527         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50528         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50529         cleanup macros.
50530         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50532 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50534         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50535         to _sifields.sigfault.
50536         (si_addr_lsb): Define new macro.
50537         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50538         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50539         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50541 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50543         [BZ #15441]
50544         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50545         returns -1.
50546         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50547         null return -1.
50548         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50549         loading the domain.
50551 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50553         * math/gen-libm-test.pl (parse_args): Do not include expected
50554         result in test name.
50555         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50556         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50557         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50558         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50559         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50562 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50564         * benchtests/Makefile: Sort function entries.
50566         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50567         tanh, asinh, acosh, atanh.
50568         * benchtests/acos-inputs: New file.
50569         * benchtests/acosh-inputs: New file.
50570         * benchtests/asin-inputs: New file.
50571         * benchtests/asinh-inputs: New file.
50572         * benchtests/atanh-inputs: New file.
50573         * benchtests/cosh-inputs: New file.
50574         * benchtests/log-inputs: New file.
50575         * benchtests/sinh-inputs: New file.
50576         * benchtests/tanh-inputs: New file.
50578 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50580         [BZ #15339]
50581         * posix/tst-getaddrinfo4.c: New test.
50582         * posix/Makefile (tests): Add it.
50584 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50586         [BZ #15339]
50587         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50588         when no services were used.
50589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50590         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50592 2013-05-21  Andreas Schwab  <schwab@suse.de>
50594         [BZ #15014]
50595         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50596         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50597         successful.
50598         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50599         redundant variable declarations and reallocation of buffer when
50600         parsing as IPv6 address.  Always set NSS status when called from
50601         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50602         buffer too small.  Correct computation of needed size.
50603         * nss/Makefile (tests): Add test-digits-dots.
50604         * nss/test-digits-dots.c: New test.
50606 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50608         * benchtests/Makefile: Remove instructions for adding
50609         benchmark tests.
50610         * benchtests/README: New file to explain how to execute and
50611         enhance the benchmark tests.
50613 2013-05-21  Andreas Schwab  <schwab@suse.de>
50615         [BZ #15493]
50616         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50617         * setjmp/tst-sigsetjmp.c: New test.
50619 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50621         * sysdeps/x86_64/memset.S (memset): New implementation.
50622         (__bzero): Likewise.
50623         (__memset_tail): New function.
50625 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50627         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50628         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50629         __memcpy_sse2_unaligned ifunc selection.
50630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50631         Add memcpy-sse2-unaligned.S.
50632         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50633         Add: __memcpy_sse2_unaligned.
50635 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50637         [BZ #15490]
50638         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50639         math_force_eval before restoring floating-point envrionment.
50640         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50641         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50642         Likewise.
50643         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50644         <math_private.h>.
50645         (__nearbyintl): Use math_force_eval before restoring
50646         floating-point environment.
50647         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50649         * math/gen-libm-test.pl (special_functions): Remove.
50650         (parse_args): Don't handle TEST_extra.  Handle functions with no
50651         return value.
50652         * math/libm-test.inc (struct test_sincos_data): Replace with
50653         struct test_fFF_11_data.
50654         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50655         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50656         (sincos_test_data): Change element type to struct
50657         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50658         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50659         RUN_TEST_LOOP_sincos.
50660         * math/README.libm-test: Don't mention special handling of
50661         individual functions.
50662         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50663         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50664         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50665         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50666         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50669         * math/gen-libm-test.pl (get_variable): Remove function.
50670         (parse_args): Don't show pointer parameters to call in test
50671         names.  Use "extra output N" in test names for extra outputs
50672         rather than naming variables.
50674 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50676         [BZ #15488]
50677         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50678         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50679         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50680         double tests.
50681         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50682         disable.
50683         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50684         check_long_double.
50686         * math/gen-libm-test.pl (@tests): Remove variable.
50687         ($count): Likewise.
50688         (new_test): Remove function.
50689         (show_exceptions): New function.
50690         (special_functions): Use show_exceptions instead of new_test.
50691         (parse_args): Likewise.
50692         (generate_testfile): Pass only function name in generated call to
50693         print_max_error or print_complex_max_error.
50694         (get_ulps): Do not handle complex tests specially.
50695         (output_test): Rename to ...
50696         (get_all_ulps_for_test): ... this.  Return a string rather than
50697         printing to a file.  Require ulps to be present.
50698         (output_ulps): Generate arrays rather than #defines.
50699         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50700         (struct ulp_data): New type.
50701         (BUILD_COMPLEX_ULP): Remove macro.
50702         (compare_ulp_data): New function.
50703         (find_ulps): Likewise.
50704         (find_test_ulps): Likewise.
50705         (find_function_ulps): Likewise.
50706         (find_complex_function_ulps): Likewise.
50707         (print_max_error): Determine allowed ulps using
50708         find_function_ulps.
50709         (print_complex_max_error): Determine allowed ulps using
50710         find_complex_function_ulps.
50711         (check_float_internal): Determine max ulps using find_test_ulps.
50712         (check_float): Do not take max_ulp parameter.  Update call to
50713         check_float_internal.
50714         (check_complex): Likewise.
50715         (check_int): Do not take max_ulp parameter.
50716         (check_long): Likewise.
50717         (check_bool): Likewise.
50718         (check_longlong): Likewise.
50719         (struct test_f_f_data): Remove max_ulp field.
50720         (struct test_ff_f_data): Likewise.
50721         (struct test_ff_f_data_nexttoward): Likewise.
50722         (struct test_fi_f_data): Likewise.
50723         (struct test_fl_f_data): Likewise.
50724         (struct test_if_f_data): Likewise.
50725         (struct test_fff_f_data): Likewise.
50726         (struct test_c_f_data): Likewise.
50727         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50728         (struct test_fF_f1_data): Likewise.
50729         (struct test_ffI_f1_data): Likewise.
50730         (struct test_c_c_data): Remove max_ulp field.
50731         (struct test_cc_c_data): Likewise.
50732         (struct test_f_i_data): Likewise.
50733         (struct test_ff_i_data): Likewise.
50734         (struct test_f_l_data): Likewise.
50735         (struct test_f_L_data): Likewise.
50736         (struct test_sincos_data): Likewise.
50737         (RUN_TEST_f_f): Do not handle ulps.
50738         (RUN_TEST_LOOP_f_f): Likewise.
50739         (RUN_TEST_2_f): Likewise.
50740         (RUN_TEST_LOOP_2_f): Likewise.
50741         (RUN_TEST_fff_f): Likewise.
50742         (RUN_TEST_LOOP_fff_f): Likewise.
50743         (RUN_TEST_c_f): Likewise.
50744         (RUN_TEST_LOOP_c_f): Likewise.
50745         (RUN_TEST_f_f1): Likewise.
50746         (RUN_TEST_LOOP_f_f1): Likewise.
50747         (RUN_TEST_fF_f1): Likewise.
50748         (RUN_TEST_LOOP_fF_f1): Likewise.
50749         (RUN_TEST_fI_f1): Likewise.
50750         (RUN_TEST_LOOP_fI_f1): Likewise.
50751         (RUN_TEST_ffI_f1): Likewise.
50752         (RUN_TEST_LOOP_ffI_f1): Likewise.
50753         (RUN_TEST_c_c): Likewise.
50754         (RUN_TEST_LOOP_c_c): Likewise.
50755         (RUN_TEST_cc_c): Likewise.
50756         (RUN_TEST_LOOP_cc_c): Likewise.
50757         (RUN_TEST_f_i): Likewise.
50758         (RUN_TEST_LOOP_f_i): Likewise.
50759         (RUN_TEST_f_i_tg): Likewise.
50760         (RUN_TEST_LOOP_f_i_tg): Likewise.
50761         (RUN_TEST_ff_i_tg): Likewise.
50762         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50763         (RUN_TEST_f_b): Likewise.
50764         (RUN_TEST_LOOP_f_b): Likewise.
50765         (RUN_TEST_f_b_tg): Likewise.
50766         (RUN_TEST_LOOP_f_b_tg): Likewise.
50767         (RUN_TEST_f_l): Likewise.
50768         (RUN_TEST_LOOP_f_l): Likewise.
50769         (RUN_TEST_f_L): Likewise.
50770         (RUN_TEST_LOOP_f_L): Likewise.
50771         (RUN_TEST_sincos): Likewise.
50772         (RUN_TEST_LOOP_sincos): Likewise.
50774 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50776         [BZ #15480]
50777         [BZ #15485]
50778         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50779         main case of finite arguments, set rounding mode to FE_TONEAREST
50780         and discard exceptions.
50781         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50782         exceptions.
50783         (remainder_tonearest_test_data): New variable.
50784         (remainder_test_tonearest): New function.
50785         (remainder_towardzero_test_data): New variable.
50786         (remainder_test_towardzero): New function.
50787         (remainder_downward_test_data): New variable.
50788         (remainder_test_downward): New function.
50789         (remainder_upward_test_data): New variable.
50790         (remainder_test_upward): New function.
50791         (main): Call the new test functions.
50793         * math/libm-test.inc (struct test_f_f1_data): Remove field
50794         extra_init.
50795         (struct test_fF_f1_data): Likewise.
50796         (struct test_ffI_f1_data): Likewise.
50797         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50798         based on value of EXTRA_EXPECTED.
50799         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50800         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50801         EXTRA_VAR based on value of EXTRA_EXPECTED.
50802         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50803         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50804         EXTRA_VAR based on value of EXTRA_EXPECTED.
50805         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50806         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50807         EXTRA_VAR based on value of EXTRA_EXPECTED.
50808         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50809         * math/gen-libm-test.pl (parse_args): Don't output initializers
50810         for extra output values.
50812         * math/libm-test.inc (check_int): Expect result to be exactly
50813         equal to expected value and do not handle ulps.
50814         (check_long): Likewise.
50815         (check_longlong): Likewise.
50817         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50818         exceptions.
50819         (cimag_test_data): Likewise.
50820         (conj_test_data): Likewise.
50821         (copysign_test_data): Likewise.
50822         (cproj_test_data): Likewise.
50823         (creal_test_data): Likewise.
50824         (fabs_test_data): Likewise.
50825         (fdim_test_data): Likewise.
50826         (finite_test_data): Likewise.
50827         (floor_test_data): Likewise.
50828         (fmax_test_data): Likewise.
50829         (fmin_test_data): Likewise.
50830         (fmod_test_data): Likewise.
50831         (fpclassify_test_data): Likewise.
50832         (frexp_test_data): Likewise.
50833         (ilogb_test_data): Likewise.
50834         (isfinite_test_data): Likewise.
50835         (isgreater_test_data): Likewise.
50836         (isgreaterequal_test_data): Likewise.
50837         (isinf_test_data): Likewise.
50838         (isless_test_data): Likewise.
50839         (islessequal_test_data): Likewise.
50840         (islessgreater_test_data): Likewise.
50841         (isnan_test_data): Likewise.
50842         (isnormal_test_data): Likewise.
50843         (issignaling_test_data): Likewise.
50844         (isunordered_test_data): Likewise.
50845         (ldexp_test_data): Likewise.
50846         (lrint_test_data): Likewise.
50847         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50848         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50849         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50850         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50851         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50852         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50853         test input.
50854         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50855         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50856         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50857         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50858         that test input.
50859         (lrint_downward_test_data): Test for "inexact" exceptions.
50860         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50861         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50862         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50863         test input.
50864         (lrint_upward_test_data): Test for "inexact" exceptions.
50865         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50866         test input.
50867         (llrint_test_data): Test for "inexact" exceptions.
50868         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50869         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50870         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50871         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50872         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50873         (llrint_downward_test_data): Test for "inexact" exceptions.
50874         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50875         (llrint_upward_test_data): Test for "inexact" exceptions.
50876         (logb_test_data): Likewise.
50877         (logb_downward_test_data): Likewise.
50878         (nextafter_test_data): Likewise.
50879         (nexttoward_test_data): Likewise.
50880         (remainder_test_data): Likewise.
50881         (remquo_test_data): Likewise.
50882         (scalbn_test_data): Likewise.
50883         (scalbln_test_data): Likewise.
50884         (signbit_test_data): Likewise.
50885         (sqrt_test_data): Likewise.
50886         (significand_test_data): Likewise.
50888 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50890         [BZ #15424]
50891         * benchtests/bench-modf.c (struct args): Mark arg0 as
50892         volatile.
50893         * scripts/bench.pl: Mark members of struct args as volatile.
50895 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50897         [BZ # 15497]
50898         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50899         negative infinity on POWER6 or lower.
50900         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50902 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50904         [BZ #15442]
50905         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50906         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50907         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50908         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50909         (_FP_SETQNAN): New macro.
50910         (_FP_SETQNAN_SEMIRAW): Likewise.
50911         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50912         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50913         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50914         (FP_EXTEND): Use _FP_FRAC_SNANP.
50915         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50916         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50917         into account.
50918         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50919         New macro.
50920         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50921         Likewise.
50923 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50925         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50926         with DIVIDE_BY_ZERO_EXCEPTION.
50927         (gamma_test_data): Likewise.
50928         (lgamma_test_data): Likewise.
50929         (log_test_data): Likewise.
50930         (log10_test_data): Likewise.
50931         (log2_test_data): Likewise.
50932         (tgamma_test_data): Likewise.
50934         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50935         (acos_test_tonearest): Likewise.
50936         (acos_test_towardzero): Likewise.
50937         (acos_test_downward): Likewise.
50938         (acos_test_upward): Likewise.
50939         (acosh_test): Likewise.
50940         (asin_test): Likewise.
50941         (asin_test_tonearest): Likewise.
50942         (asin_test_towardzero): Likewise.
50943         (asin_test_downward): Likewise.
50944         (asin_test_upward): Likewise.
50945         (asinh_test): Likewise.
50946         (atan_test): Likewise.
50947         (atanh_test): Likewise.
50948         (atan2_test): Likewise.
50949         (cabs_test): Likewise.
50950         (cacos_test): Likewise.
50951         (cacosh_test): Likewise.
50952         (casin_test): Likewise.
50953         (casinh_test): Likewise.
50954         (catan_test): Likewise.
50955         (catanh_test): Likewise.
50956         (cbrt_test): Likewise.
50957         (ccos_test): Likewise.
50958         (ccosh_test): Likewise.
50959         (cexp_test): Likewise.
50960         (clog_test): Likewise.
50961         (clog10_test): Likewise.
50962         (cos_test): Likewise.
50963         (cos_test_tonearest): Likewise.
50964         (cos_test_towardzero): Likewise.
50965         (cos_test_downward): Likewise.
50966         (cos_test_upward): Likewise.
50967         (cosh_test): Likewise.
50968         (cosh_test_tonearest): Likewise.
50969         (cosh_test_towardzero): Likewise.
50970         (cosh_test_downward): Likewise.
50971         (cosh_test_upward): Likewise.
50972         (cpow_test): Likewise.
50973         (csin_test): Likewise.
50974         (csinh_test): Likewise.
50975         (csqrt_test): Likewise.
50976         (ctan_test): Likewise.
50977         (ctan_test_tonearest): Likewise.
50978         (ctan_test_towardzero): Likewise.
50979         (ctan_test_downward): Likewise.
50980         (ctan_test_upward): Likewise.
50981         (ctanh_test): Likewise.
50982         (ctanh_test_tonearest): Likewise.
50983         (ctanh_test_towardzero): Likewise.
50984         (ctanh_test_downward): Likewise.
50985         (ctanh_test_upward): Likewise.
50986         (erf_test): Likewise.
50987         (erfc_test): Likewise.
50988         (exp_test): Likewise.
50989         (exp_test_tonearest): Likewise.
50990         (exp_test_towardzero): Likewise.
50991         (exp_test_downward): Likewise.
50992         (exp_test_upward): Likewise.
50993         (exp10_test): Likewise.
50994         (exp2_test): Likewise.
50995         (expm1_test): Likewise.
50996         (fmod_test): Likewise.
50997         (gamma_test): Likewise.
50998         (hypot_test): Likewise.
50999         (j0_test): Likewise.
51000         (j1_test): Likewise.
51001         (jn_test): Likewise.
51002         (lgamma_test): Likewise.
51003         (log_test): Likewise.
51004         (log10_test): Likewise.
51005         (log1p_test): Likewise.
51006         (log2_test): Likewise.
51007         (logb_test_downward): Likewise.
51008         (pow_test): Likewise.
51009         (pow_test_tonearest): Likewise.
51010         (pow_test_towardzero): Likewise.
51011         (pow_test_downward): Likewise.
51012         (pow_test_upward): Likewise.
51013         (remainder_test): Likewise.
51014         (remquo_test): Likewise.
51015         (sin_test): Likewise.
51016         (sin_test_tonearest): Likewise.
51017         (sin_test_towardzero): Likewise.
51018         (sin_test_downward): Likewise.
51019         (sin_test_upward): Likewise.
51020         (sincos_test): Likewise.
51021         (sinh_test): Likewise.
51022         (sinh_test_tonearest): Likewise.
51023         (sinh_test_towardzero): Likewise.
51024         (sinh_test_downward): Likewise.
51025         (sinh_test_upward): Likewise.
51026         (sqrt_test): Likewise.
51027         (tan_test): Likewise.
51028         (tan_test_tonearest): Likewise.
51029         (tan_test_towardzero): Likewise.
51030         (tan_test_downward): Likewise.
51031         (tan_test_upward): Likewise.
51032         (tanh_test): Likewise.
51033         (tgamma_test): Likewise.
51034         (y0_test): Likewise.
51035         (y1_test): Likewise.
51036         (yn_test): Likewise.
51038         * math/gen-libm-test.pl (adjust_arg): Remove function.
51039         (special_function): Remove argument $in_func.  Only handle
51040         generating output for tables of tests, not inside functions.
51041         (parse_args): Likewise.
51042         (generate_testfile): Remove variable $in_func.  Update call to
51043         parse_args.
51044         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51045         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51046         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51047         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51048         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51049         (MAX_VALUE_INIT): Rename macro to max_value.
51050         (MIN_VALUE_INIT): Rename macro to min_value.
51051         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51052         (plus_zero): Remove variable.
51053         (minus_zero): Likewise.
51054         (plus_infty): Likewise.
51055         (minus_infty): Likewise.
51056         (qnan_value): Likewise.
51057         (max_value): Likewise.
51058         (min_value): Likewise.
51059         (min_subnorm_value): Likewise.
51061 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51063         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51064         uint64_t or uint32_t usage.
51065         * crypt/sha256-block.c: Likewise.
51066         * crypt/sha256-crypt.c: Likewise.
51067         * crypt/sha256.c: Likewise.
51068         * crypt/sha512-block.c: Likewise.
51069         * crypt/sha512-crypt.c: Likewise.
51070         * crypt/sha512.c: Likewise.
51071         * debug/backtrace-tst.c: Likewise.
51072         * debug/pcprofiledump.c: Likewise.
51073         * elf/cache.c: Likewise.
51074         * elf/dl-cache.c: Likewise.
51075         * elf/dl-misc.c: Likewise.
51076         * elf/dl-profile.c: Likewise.
51077         * elf/dl-support.c: Likewise.
51078         * elf/ldconfig.c: Likewise.
51079         * elf/sprof.c: Likewise.
51080         * iconv/dummy-repertoire.c: Likewise.
51081         * iconv/iconv_charmap.c: Likewise.
51082         * iconv/skeleton.c: Likewise.
51083         * iconvdata/8bit-generic.c: Likewise.
51084         * iconvdata/cp737.h: Likewise.
51085         * iconvdata/cp775.h: Likewise.
51086         * iconvdata/ibm1008.h: Likewise.
51087         * iconvdata/ibm1025.h: Likewise.
51088         * iconvdata/ibm1046.h: Likewise.
51089         * iconvdata/ibm1097.h: Likewise.
51090         * iconvdata/ibm1112.h: Likewise.
51091         * iconvdata/ibm1122.h: Likewise.
51092         * iconvdata/ibm1123.h: Likewise.
51093         * iconvdata/ibm1124.h: Likewise.
51094         * iconvdata/ibm1129.h: Likewise.
51095         * iconvdata/ibm1130.h: Likewise.
51096         * iconvdata/ibm1132.h: Likewise.
51097         * iconvdata/ibm1133.h: Likewise.
51098         * iconvdata/ibm1137.h: Likewise.
51099         * iconvdata/ibm1140.h: Likewise.
51100         * iconvdata/ibm1141.h: Likewise.
51101         * iconvdata/ibm1142.h: Likewise.
51102         * iconvdata/ibm1143.h: Likewise.
51103         * iconvdata/ibm1144.h: Likewise.
51104         * iconvdata/ibm1145.h: Likewise.
51105         * iconvdata/ibm1146.h: Likewise.
51106         * iconvdata/ibm1147.h: Likewise.
51107         * iconvdata/ibm1148.h: Likewise.
51108         * iconvdata/ibm1149.h: Likewise.
51109         * iconvdata/ibm1153.h: Likewise.
51110         * iconvdata/ibm1154.h: Likewise.
51111         * iconvdata/ibm1155.h: Likewise.
51112         * iconvdata/ibm1156.h: Likewise.
51113         * iconvdata/ibm1157.h: Likewise.
51114         * iconvdata/ibm1158.h: Likewise.
51115         * iconvdata/ibm1160.h: Likewise.
51116         * iconvdata/ibm1161.h: Likewise.
51117         * iconvdata/ibm1162.h: Likewise.
51118         * iconvdata/ibm1163.h: Likewise.
51119         * iconvdata/ibm1164.h: Likewise.
51120         * iconvdata/ibm1166.h: Likewise.
51121         * iconvdata/ibm1167.h: Likewise.
51122         * iconvdata/ibm12712.h: Likewise.
51123         * iconvdata/ibm1390.h: Likewise.
51124         * iconvdata/ibm1399.h: Likewise.
51125         * iconvdata/ibm16804.h: Likewise.
51126         * iconvdata/ibm4517.h: Likewise.
51127         * iconvdata/ibm4899.h: Likewise.
51128         * iconvdata/ibm4909.h: Likewise.
51129         * iconvdata/ibm4971.h: Likewise.
51130         * iconvdata/ibm5347.h: Likewise.
51131         * iconvdata/ibm803.h: Likewise.
51132         * iconvdata/ibm856.h: Likewise.
51133         * iconvdata/ibm901.h: Likewise.
51134         * iconvdata/ibm902.h: Likewise.
51135         * iconvdata/ibm9030.h: Likewise.
51136         * iconvdata/ibm9066.h: Likewise.
51137         * iconvdata/ibm921.h: Likewise.
51138         * iconvdata/ibm922.h: Likewise.
51139         * iconvdata/ibm9448.h: Likewise.
51140         * iconvdata/isiri-3342.h: Likewise.
51141         * iconvdata/jis0201.h: Likewise.
51142         * include/link.h: Likewise.
51143         * include/netdb.h: Likewise.
51144         * inet/check_native.c: Likewise.
51145         * inet/check_pf.c: Likewise.
51146         * inet/getipv4sourcefilter.c: Likewise.
51147         * inet/getnameinfo.c: Likewise.
51148         * inet/getsourcefilter.c: Likewise.
51149         * inet/htonl.c: Likewise.
51150         * inet/setipv4sourcefilter.c: Likewise.
51151         * inet/setsourcefilter.c: Likewise.
51152         * inet/test-inet6_opt.c: Likewise.
51153         * inet/tst-network.c: Likewise.
51154         * locale/C-collate.c: Likewise.
51155         * locale/C-ctype.c: Likewise.
51156         * locale/C-time.c: Likewise.
51157         * locale/C-translit.h: Likewise.
51158         * locale/loadarchive.c: Likewise.
51159         * locale/programs/3level.h: Likewise.
51160         * locale/programs/charmap.c: Likewise.
51161         * locale/programs/charmap.h: Likewise.
51162         * locale/programs/ld-address.c: Likewise.
51163         * locale/programs/ld-collate.c: Likewise.
51164         * locale/programs/ld-ctype.c: Likewise.
51165         * locale/programs/ld-identification.c: Likewise.
51166         * locale/programs/ld-measurement.c: Likewise.
51167         * locale/programs/ld-messages.c: Likewise.
51168         * locale/programs/ld-monetary.c: Likewise.
51169         * locale/programs/ld-name.c: Likewise.
51170         * locale/programs/ld-numeric.c: Likewise.
51171         * locale/programs/ld-paper.c: Likewise.
51172         * locale/programs/ld-telephone.c: Likewise.
51173         * locale/programs/ld-time.c: Likewise.
51174         * locale/programs/linereader.c: Likewise.
51175         * locale/programs/locale.c: Likewise.
51176         * locale/programs/locarchive.c: Likewise.
51177         * locale/programs/locfile.h: Likewise.
51178         * locale/programs/repertoire.c: Likewise.
51179         * locale/programs/simple-hash.c: Likewise.
51180         * locale/programs/simple-hash.h: Likewise.
51181         * malloc/memusage.c: Likewise.
51182         * malloc/memusagestat.c: Likewise.
51183         * nis/nis_defaults.c: Likewise.
51184         * nis/nis_hash.c: Likewise.
51185         * nis/nis_print.c: Likewise.
51186         * nis/nis_xdr.c: Likewise.
51187         * nscd/connections.c: Likewise.
51188         * nscd/hstcache.c: Likewise.
51189         * nscd/nscd_gethst_r.c: Likewise.
51190         * nscd/nscd_getserv_r.c: Likewise.
51191         * nscd/nscd_helper.c: Likewise.
51192         * nscd/servicescache.c: Likewise.
51193         * nss/makedb.c: Likewise.
51194         * nss/nss_db/db-XXX.c: Likewise.
51195         * nss/nss_db/db-initgroups.c: Likewise.
51196         * nss/nss_db/db-netgrp.c: Likewise.
51197         * nss/nss_files/files-network.c: Likewise.
51198         * nss/nss_files/files-parse.c: Likewise.
51199         * posix/bug-regex5.c: Likewise.
51200         * posix/fnmatch_loop.c: Likewise.
51201         * posix/regcomp.c: Likewise.
51202         * posix/regexec.c: Likewise.
51203         * posix/tst-rfc3484-2.c: Likewise.
51204         * posix/tst-rfc3484-3.c: Likewise.
51205         * posix/tst-rfc3484.c: Likewise.
51206         * resolv/nss_dns/dns-canon.c: Likewise.
51207         * resolv/nss_dns/dns-network.c: Likewise.
51208         * resolv/res_init.c: Likewise.
51209         * resolv/res_mkquery.c: Likewise.
51210         * resolv/tst-aton.c: Likewise.
51211         * stdlib/cxa_atexit.c: Likewise.
51212         * stdlib/cxa_finalize.c: Likewise.
51213         * stdlib/gen-fpioconst.c: Likewise.
51214         * stdlib/strtol_l.c: Likewise.
51215         * string/tst-endian.c: Likewise.
51216         * sunrpc/auth_des.c: Likewise.
51217         * sunrpc/clnt_udp.c: Likewise.
51218         * sunrpc/rtime.c: Likewise.
51219         * sunrpc/svcauth_des.c: Likewise.
51220         * sunrpc/xdr.c: Likewise.
51221         * sunrpc/xdr_intXX_t.c: Likewise.
51222         * sunrpc/xdr_rec.c: Likewise.
51223         * sysdeps/generic/ldconfig.h: Likewise.
51224         * sysdeps/generic/ldsodefs.h: Likewise.
51225         * sysdeps/generic/memusage.h: Likewise.
51226         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51227         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51228         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51229         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51230         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51231         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51232         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51233         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51234         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51235         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51236         * sysdeps/posix/getaddrinfo.c: Likewise.
51237         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51238         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51239         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51240         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51241         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51242         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51243         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51244         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51245         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51246         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51247         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51248         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51249         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51250         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51251         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51252         * sysdeps/x86_64/dl-tls.h: Likewise.
51253         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51254         * time/alt_digit.c: Likewise.
51255         * time/era.c: Likewise.
51256         * wcsmbs/tst-c16c32-1.c: Likewise.
51258 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51260         * math/libm-test.inc (struct test_sincos_data): New type.
51261         (RUN_TEST_LOOP_sincos): New macro.
51262         (sincos_test_data): New variable.
51263         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51265 2013-05-16  Richard Henderson  <rth@redhat.com>
51267         * math/atest-exp2.c (LIMB64): New macro.
51268         (CONSTSZ): New macro.
51269         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51270         (hexdig): Move ...
51271         (print_mpn_fp): ... to function scope.
51272         (read_mpn_hex): Remove.
51273         (get_log2): Remove.
51274         (exp2_mpn): Use mp_log2.
51275         (main): Use mp_exp1.
51277 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51279         * math/libm-test.inc: Remove comment about not testing "inexact"
51280         exceptions.
51281         (INEXACT_EXCEPTION): New macro.
51282         (NO_INEXACT_EXCEPTION): Likewise.
51283         (INVALID_EXCEPTION_OK): Update value.
51284         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51285         (OVERFLOW_EXCEPTION_OK): Likewise.
51286         (UNDERFLOW_EXCEPTION_OK): Likewise.
51287         (IGNORE_ZERO_INF_SIGN): Likewise.
51288         (ERRNO_UNCHANGED): Likewise.
51289         (ERRNO_EDOM): Likewise.
51290         (ERRNO_ERANGE): Likewise.
51291         (test_exceptions): Handle testing "inexact" exceptions.
51292         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51293         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51294         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51295         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51296         INEXACT_EXCEPTION.
51297         (rint_towardzero_test_data): Likewise.
51298         (rint_downward_test_data): Likewise.
51299         (rint_upward_test_data): Likewise.
51301         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51302         with OVERFLOW_EXCEPTION.
51303         (exp10_test_data): Likewise.
51304         (exp2_test_data): Likewise.
51305         (expm1_test_data): Likewise.
51306         (lgamma_test_data): Likewise.
51307         (pow_test_data): Likewise.
51308         (tgamma_test_data): Likewise.
51309         (yn_test_data): Remove duplicate test of overflow.
51311         * math/libm-test.inc (struct test_cc_c_data): New type.
51312         (RUN_TEST_LOOP_cc_c): New macro.
51313         (cpow_test_data): New variable.
51314         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51316         * math/libm-test.inc (struct test_f_L_data): New type.
51317         (RUN_TEST_LOOP_f_L): New macro.
51318         (llrint_test_data): New variable.
51319         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51320         (llrint_tonearest_test_data): New variable.
51321         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51322         (llrint_towardzero_test_data): New variable.
51323         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51324         (llrint_downward_test_data): New variable.
51325         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51326         (llrint_upward_test_data): New variable.
51327         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51328         (llround_test_data): New variable.
51329         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51331 2013-05-13  Peter Collingbourne  <pcc@google.com>
51333         * math/atest-exp2.c (get_log2): Remove const attribute.
51335 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51337         * math/libm-test.inc (struct test_f_l_data): New type.
51338         (RUN_TEST_LOOP_f_l): New macro.
51339         (lrint_test_data): New variable.
51340         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51341         (lrint_tonearest_test_data): New variable.
51342         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51343         (lrint_towardzero_test_data): New variable.
51344         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51345         (lrint_downward_test_data): New variable.
51346         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51347         (lrint_upward_test_data): New variable.
51348         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51349         (lround_test_data): New variable.
51350         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51352 2013-05-15  Peter Collingbourne  <pcc@google.com>
51354         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51355         (EXTRACT_WORDS64) Use where appropriate.
51356         (INSERT_WORDS64) Likewise.
51358         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51359         constraints with x constraints.
51360         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51362         * malloc/obstack.c (_obstack_compat): Add initializer.
51364 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51366         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51367         si_trapno and add si_addr_lsb to _sifields.sigfault.
51368         (si_trapno): Remove macro.
51369         (si_addr_lsb): Define new macro.
51370         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51372 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51374         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51375         instead of TEST_f_l.
51376         (llrint_test_tonearest): Likewise.
51377         (llrint_test_towardzero): Likewise.
51378         (llrint_test_downward): Likewise.
51379         (llrint_test_upward): Likewise.
51380         (llround_test): Likewise.
51382         * math/libm-test.inc (struct test_f_i_data): Add comment.
51383         (RUN_TEST_LOOP_f_b): New macro.
51384         (RUN_TEST_LOOP_f_b_tg): Likewise.
51385         (finite_test_data): New variable.
51386         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51387         (isfinite_test_data): New variable.
51388         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51389         (isinf_test_data): New variable.
51390         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51391         (isnan_test_data): New variable.
51392         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51393         (isnormal_test_data): New variable.
51394         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51395         (issignaling_test_data): New variable.
51396         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51397         (signbit_test_data): New variable.
51398         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51400         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51401         with INVALID_EXCEPTION.
51402         (acosh_test_data): Likewise.
51403         (asin_test_data): Likewise.
51404         (atanh_test_data): Likewise.
51405         (fmod_test_data): Likewise.
51406         (log_test_data): Likewise.
51407         (log10_test_data): Likewise.
51408         (log2_test_data): Likewise.
51409         (pow_test_data): Likewise.
51410         (sqrt_test_data): Likewise.
51411         (y0_test_data): Likewise.
51412         (y1_test_data): Likewise.
51413         (yn_test_data): Likewise.
51415         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51416         function contents.
51418         * math/libm-test.inc (struct test_ff_i_data): New type.
51419         (RUN_TEST_LOOP_ff_i_tg): New macro.
51420         (isgreater_test_data): New variable.
51421         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51422         (isgreaterequal_test_data): New variable.
51423         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51424         (isless_test_data): New variable.
51425         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51426         (islessequal_test_data): New variable.
51427         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51428         (islessgreater_test_data): New variable.
51429         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51430         (isunordered_test_data): New variable.
51431         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51433 2013-05-14  David S. Miller  <davem@davemloft.net>
51435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51437 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51439         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51441         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51442         extra_test to int.
51443         (struct test_f_i_data): Change type of max_ulp to int.
51445         * math/libm-test.inc (test_ffI_f1_data): New type.
51446         (RUN_TEST_LOOP_ffI_f1): New macro.
51447         (remquo_test_data): New variable.
51448         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51450         * setjmp/tst-setjmp-fp.c: New file.
51451         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51452         (link-libm): New variable.
51453         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51455         * math/libm-test.inc (struct test_f_i_data): New type.
51456         (RUN_TEST_LOOP_f_i): New macro.
51457         (RUN_TEST_LOOP_f_i_tg): Likewise.
51458         (fpclassify_test_data): New variable.
51459         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51460         (ilogb_test_data): New variable.
51461         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51463         * math/libm-test.inc (scalbln_test): Correct function name in END
51464         call.
51466         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51467         (RUN_TEST_LOOP_fI_f1): New macro.
51468         (frexp_test_data): New variable.
51469         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51471         * math/libm-test.inc (struct test_fF_f1_data): New type.
51472         (RUN_TEST_LOOP_fF_f1): New macro.
51473         (modf_test_data): New variable.
51474         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51476         * math/libm-test.inc (struct test_f_f1_data): New type.
51477         (RUN_TEST_LOOP_f_f1): New macro.
51478         (gamma_test_data): New variable.
51479         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51480         (lgamma_test_data): New variable.
51481         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51483 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51485         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51486         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51487         (main): Comment "tls" pseudo-hwcap.
51489 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51491         * math/libm-test.inc (struct test_fl_f_data): New type.
51492         (RUN_TEST_LOOP_fl_f): New variable.
51493         (scalbln_test_data): New variable.
51494         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51496         * math/libm-test.inc (struct test_fi_f_data): New type.
51497         (RUN_TEST_LOOP_fi_f): New macro.
51498         (ldexp_test_data): New variable.
51499         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51500         (scalbn_test_data): New variable.
51501         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51503         * math/libm-test.inc (struct test_c_f_data): New type.
51504         (RUN_TEST_LOOP_c_f): New macro.
51505         (cabs_test_data): New variable.
51506         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51507         (carg_test_data): New variable.
51508         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51509         (cimag_test_data): New variable.
51510         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51511         (creal_test_data): New variable.
51512         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51514         * math/libm-test.inc (struct test_if_f_data): New type.
51515         (RUN_TEST_LOOP_if_f): New macro.
51516         (jn_test_data): New variable.
51517         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51518         (yn_test_data): New variable.
51519         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51521         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51523 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51525         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51526         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51528 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51530         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51531         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51532         (bench-deps): Add bench-timing.h.
51533         * benchtests-bench-skeleton.c: Include bench-timing.h.
51534         (main): Use TIMING_* macros instead of clock_gettime.
51535         * benchtests/bench-timing.h: New file.
51537         [BZ #14582]
51538         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51539         Renamed from _LIB_VERSION.
51540         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51542 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51544         * math/libm-test.inc (struct test_fff_f_data): New type.
51545         (RUN_TEST_LOOP_fff_f): New macro.
51546         (fma_test_data): New variable.
51547         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51548         (fma_towardzero_test_data): New variable.
51549         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51550         (fma_downward_test_data): New variable.
51551         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51552         (fma_upward_test_data): New variable.
51553         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51555         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51556         (struct test_c_c_data): New type.
51557         (RUN_TEST_LOOP_c_c): New macro.
51558         (cacos_test_data): New variable.
51559         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51560         (cacosh_test_data): New variable.
51561         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51562         (casin_test_data): New variable.
51563         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51564         (casinh_test_data): New variable.
51565         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51566         (catan_test_data): New variable.
51567         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51568         (catanh_test_data): New variable.
51569         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51570         (ccos_test_data): New variable.
51571         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51572         (ccosh_test_data): New variable.
51573         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51574         (cexp_test_data): New variable.
51575         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51576         (clog_test_data): New variable.
51577         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51578         (clog10_test_data): New variable.
51579         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51580         (conj_test_data): New variable.
51581         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51582         (cproj_test_data): New variable.
51583         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51584         (csin_test_data): New variable.
51585         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51586         (csinh_test_data): New variable.
51587         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51588         (csqrt_test_data): New variable.
51589         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51590         (ctan_test_data): New variable.
51591         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51592         (ctan_tonearest_test_data): New variable.
51593         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51594         (ctan_towardzero_test_data): New variable.
51595         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51596         (ctan_downward_test_data): New variable.
51597         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51598         (ctan_upward_test_data): New variable.
51599         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51600         (ctanh_test_data): New variable.
51601         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51602         (ctanh_tonearest_test_data): New variable.
51603         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51604         (ctanh_towardzero_test_data): New variable.
51605         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51606         (ctanh_downward_test_data): New variable.
51607         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51608         (ctanh_upward_test_data): New variable.
51609         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51610         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51611         of BUILD_COMPLEX.
51613         * math/libm-test.inc (struct test_ff_f_data): New type.
51614         (struct test_ff_f_data_nexttoward): Likewise.
51615         (RUN_TEST_LOOP_2_f): New macro.
51616         (RUN_TEST_LOOP_ff_f): Likewise.
51617         (atan2_test_data): New variable.
51618         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51619         (copysign_test_data): New variable.
51620         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51621         (fdim_test_data): New variable.
51622         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51623         (fmax_test_data): New variable.
51624         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51625         (fmin_test_data): New variable.
51626         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51627         (fmod_test_data): New variable.
51628         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51629         (hypot_test_data): New variable.
51630         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51631         (nextafter_test_data): New variable.
51632         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51633         (nexttoward_test_data): New variable.
51634         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51635         (pow_test_data): New variable.
51636         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51637         (pow_tonearest_test_data): New variable.
51638         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51639         (pow_towardzero_test_data): New variable.
51640         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51641         (pow_downward_test_data): New variable.
51642         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51643         (pow_upward_test_data): New variable.
51644         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51645         (remainder_test_data): New variable.
51646         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51647         (scalb_test_data): New variable.
51648         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51649         * sysdeps/i386/fpu/libm-test-ulps: Update.
51651 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51653         * math/libm-test.inc (fma_test): Use max_value instead of local
51654         variable fltmax.
51655         (nextafter_test): Likewise.
51657         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51658         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51659         (acos_downward_test_data): New variable.
51660         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51661         (acos_upward_test_data): New variable.
51662         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51663         (acosh_test_data): New variable.
51664         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51665         (asin_test_data): New variable.
51666         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51667         (asin_tonearest_test_data): New variable.
51668         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51669         (asin_towardzero_test_data): New variable.
51670         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51671         (asin_downward_test_data): New variable.
51672         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51673         (asin_upward_test_data): New variable.
51674         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51675         (asinh_test_data): New variable.
51676         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51677         (atan_test_data): New variable.
51678         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51679         (atanh_test_data): New variable.
51680         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51681         (cbrt_test_data): New variable.
51682         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51683         (ceil_test_data): New variable.
51684         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51685         (cos_test_data): New variable.
51686         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51687         (cos_tonearest_test_data): New variable.
51688         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51689         (cos_towardzero_test_data): New variable.
51690         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51691         (cos_downward_test_data): New variable.
51692         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51693         (cos_upward_test_data): New variable.
51694         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51695         (cosh_test_data): New variable.
51696         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51697         (cosh_tonearest_test_data): New variable.
51698         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51699         (cosh_towardzero_test_data): New variable.
51700         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51701         (cosh_downward_test_data): New variable.
51702         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51703         (cosh_upward_test_data): New variable.
51704         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51705         (erf_test_data): New variable.
51706         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51707         (erfc_test_data): New variable.
51708         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51709         (exp_test_data): New variable.
51710         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51711         (exp_tonearest_test_data): New variable.
51712         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51713         (exp_towardzero_test_data): New variable.
51714         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51715         (exp_downward_test_data): New variable.
51716         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51717         (exp_upward_test_data): New variable.
51718         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51719         (exp10_test_data): New variable.
51720         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51721         (exp2_test_data): New variable.
51722         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51723         (expm1_test_data): New variable.
51724         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51725         (fabs_test_data): New variable.
51726         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51727         (floor_test_data): New variable.
51728         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51729         (j0_test_data): New variable.
51730         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51731         (j1_test_data): New variable.
51732         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51733         (log_test_data): New variable.
51734         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51735         (log10_test_data): New variable.
51736         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51737         (log1p_test_data): New variable.
51738         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51739         (log2_test_data): New variable.
51740         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51741         (logb_test_data): New variable.
51742         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51743         (logb_downward_test_data): New variable.
51744         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51745         (nearbyint_test_data): New variable.
51746         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51747         (rint_test_data): New variable.
51748         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51749         (rint_tonearest_test_data): New variable.
51750         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51751         (rint_towardzero_test_data): New variable.
51752         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51753         (rint_downward_test_data): New variable.
51754         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51755         (rint_upward_test_data): New variable.
51756         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51757         (round_test_data): New variable.
51758         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51759         (sin_test_data): New variable.
51760         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51761         (sin_tonearest_test_data): New variable.
51762         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51763         (sin_towardzero_test_data): New variable.
51764         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51765         (sin_downward_test_data): New variable.
51766         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51767         (sin_upward_test_data): New variable.
51768         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51769         (sinh_test_data): New variable.
51770         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51771         (sinh_tonearest_test_data): New variable.
51772         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51773         (sinh_towardzero_test_data): New variable.
51774         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51775         (sinh_downward_test_data): New variable.
51776         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51777         (sinh_upward_test_data): New variable.
51778         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51779         (sqrt_test_data): New variable.
51780         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51781         (tan_test_data): New variable.
51782         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51783         (tan_tonearest_test_data): New variable.
51784         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51785         (tan_towardzero_test_data): New variable.
51786         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51787         (tan_downward_test_data): New variable.
51788         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51789         (tan_upward_test_data): New variable.
51790         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51791         (tanh_test_data): New variable.
51792         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51793         (tgamma_test_data): New variable.
51794         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51795         (trunc_test_data): New variable.
51796         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51797         (y0_test_data): New variable.
51798         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51799         (y1_test_data): New variable.
51800         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51801         (significand_test_data): New variable.
51802         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51804 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51806         [BZ #12387]
51807         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51809 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51811         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51813 2013-05-10  Andreas Jaeger  <aj@suse.de>
51815         [BZ #15448]
51816         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51817         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51819 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51821         * math/gen-libm-test.pl (adjust_arg): New function.
51822         (special_functions): Handle generating output in both functions
51823         and arrays.
51824         (parse_args): Likewise.
51825         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51826         $in_func argument to parse_args.
51827         * math/libm-test.inc (struct test_f_f_data): New type.
51828         (IF_ROUND_INIT_): New macro.
51829         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51830         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51831         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51832         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51833         (ROUND_RESTORE_): Likewise.
51834         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51835         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51836         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51837         (ROUND_RESTORE_FE_UPWARD): Likewise.
51838         (RUN_TEST_LOOP_f_f): New macro.
51839         (acos_test_data): New variable.
51840         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51841         (acos_tonearest_test_data): New variable.
51842         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51844 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51846         * benchtests/bench-skeleton.c (startup): Fix coding style.
51848 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51850         [BZ #6809]
51851         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51852         negative infinity argument.
51853         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51854         negative infinity argument.
51855         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51856         negative infinity argument.
51857         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51858         domain errors.
51860 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51862         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51863         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51864         * iconv/iconv_prog.c (main): Likewise.
51865         * locale/programs/charmap-dir.c (charmap_readdir)
51866         (fopen_uncompressed): Likewise.
51867         * locale/programs/locfile.c (siblings_uncached)
51868         (write_locale_data): Use lstat64 instead of lstat.
51869         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51870         stat.
51872 2013-05-10  Andreas Jaeger  <aj@suse.de>
51874         [BZ #15395]
51875         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51876         localization.
51877         Include <locale.h>.
51879 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51881         * elf/dl-close.c (_dl_close_worker): Add comments.
51883 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51885         [BZ #15359]
51886         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51887         high part of pi/2.
51888         (__ieee754_rem_pio2l): Update comments.
51890         [BZ #15429]
51891         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51892         high part of pi/2.
51893         (__ieee754_rem_pio2l): Update comments.
51895         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51896         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51898         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51899         M_PI_4l.
51901         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51902         (M_PI_34_LOG10El): Likewise.
51903         (M_PI2_LOG10El): Likewise.
51904         (M_PI4_LOG10El): Likewise.
51905         (M_PI_LOG10El): Likewise.
51907 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51911 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51913         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51914         (MINUS_ZERO_INIT): Likewise.
51915         (PLUS_INFTY_INIT): Likewise.
51916         (MINUS_INFTY_INIT): Likewise.
51917         (QNAN_VALUE_INIT): Likewise.
51918         (MAX_VALUE_INIT): Likewise.
51919         (MIN_VALUE_INIT): Likewise.
51920         (MIN_SUBNORM_VALUE_INIT): Likewise.
51921         (plus_zero): Initialize with PLUS_ZERO_INIT.
51922         (minus_zero): Initialize with MINUS_ZERO_INIT.
51923         (plus_infty): Initialize with PLUS_INFTY_INIT.
51924         (minus_infty): Initialize with MINUS_INFTY_INIT.
51925         (qnan_value): Initialize with QNAN_VALUE_INIT.
51926         (max_value): Initialize with MAX_VALUE_INIT.
51927         (min_value): Initialize with MIN_VALUE_INIT.
51928         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51930         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51931         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51932         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51933         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51935         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51936         (RUN_TEST_2_f): Likewise.
51937         (RUN_TEST_ff_f): Likewise.
51938         (RUN_TEST_fi_f): Likewise.
51939         (RUN_TEST_fl_f): Likewise.
51940         (RUN_TEST_fff_f): Likewise.
51941         (RUN_TEST_c_f): Likewise.
51942         (RUN_TEST_f_f1): Likewise.
51943         (RUN_TEST_fF_f1): Likewise.
51944         (RUN_TEST_fI_f1): Likewise.
51945         (RUN_TEST_ffI_f1): Likewise.
51946         (RUN_TEST_c_c): Likewise.
51947         (RUN_TEST_cc_c): Likewise.
51948         (RUN_TEST_f_i): Likewise.
51949         (RUN_TEST_f_i_tg): Likewise.
51950         (RUN_TEST_ff_i_tg): Likewise.
51951         (RUN_TEST_f_b): Likewise.
51952         (RUN_TEST_f_b_tg): Likewise.
51953         (RUN_TEST_f_l): Likewise.
51954         (RUN_TEST_f_L): Likewise.
51955         (RUN_TEST_sincos): Likewise.
51956         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51957         whether to show exceptions.  Do not include ");\n" in return
51958         value.
51959         (special_functions): Output call to RUN_TEST_sincos instead of
51960         check_float calls.  Update calls to new_test.
51961         (parse_args): Output call to single RUN_TEST_* macro instead of
51962         check_* calls and other assignments.  Update calls to new_test.
51964         [BZ #2546]
51965         [BZ #2560]
51966         [BZ #5159]
51967         [BZ #15426]
51968         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51969         input to result for tgamma overflow.
51970         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51971         (gamma_coeff): New variable.
51972         (NCOEFF): New macro.
51973         (gamma_positive): New function.
51974         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51975         underflow here.  Use gamma_positive instead of exp (lgamma) for
51976         other arguments.
51977         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51978         (gamma_coeff): New variable.
51979         (NCOEFF): New macro.
51980         (gammaf_positive): New function.
51981         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51982         underflow here.  Use gamma_positive instead of exp (lgamma) for
51983         other arguments.
51984         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51985         (gamma_coeff): New variable.
51986         (NCOEFF): New macro.
51987         (gammal_positive): New function.
51988         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51989         underflow here.  Use gamma_positive instead of exp (lgamma) for
51990         other arguments.
51991         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51992         (gamma_coeff): New variable.
51993         (NCOEFF): New macro.
51994         (gammal_positive): New function.
51995         (__ieee754_gammal_r): Handle positive infinity, overflow and
51996         underflow here.  Handle NaN the same as positive infinity.  Remove
51997         check x < 0xffffffff for negative integers.  Use gamma_positive
51998         instead of exp (lgamma) for other arguments.
51999         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52000         (gamma_coeff): New variable.
52001         (NCOEFF): New macro.
52002         (gammal_positive): New function.
52003         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52004         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52005         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52006         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52007         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52008         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52009         * sysdeps/generic/math_private.h (__gamma_productf): New
52010         prototype.
52011         (__gamma_product): Likewise.
52012         (__gamma_productl): Likewise.
52013         * math/Makefile (libm-calls): Add gamma_product.
52014         * math/libm-test.inc (tgamma_test): Add more tests.
52015         * sysdeps/i386/fpu/libm-test-ulps: Update.
52016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52018 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52020         * benchtests/bench-skeleton.c (main): Preheat CPU.
52022 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52024         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52026 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52028         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52029         and _dl_skip_args_internal.
52031 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52033         * manual/message.texi (Message Translation): Talk about users.
52034         Message to key mapping impacts design.
52036 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52038         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52040         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52042         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52043         * sysdeps/wordsize-64/glob64.c: ... here.
52045         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52046         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52047         New macros.
52049         * debug/getlogin_r_chk.c: Moved to ...
52050         * login/getlogin_r_chk.c: ... here.
52051         * debug/Makefile (routines): Move getlogin_r_chk to ...
52052         * login/Makefile (routines): ... here.
52053         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52054         * login/Versions (libc: GLIBC_2.4): ... here.
52056         * io/poll.c (__poll): Renamed from poll.
52057         Add libc_hidden_def.
52058         (poll): Define as weak alias.
52060         * debug/ptsname_r_chk.c: Moved to ...
52061         * login/ptsname_r_chk.c: ... here.
52062         * debug/Makefile (routines): Move ptsname_r_chk to ...
52063         * login/Makefile (routines): ... here.
52064         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52065         * login/Versions (libc: GLIBC_2.4): ... here.
52067         * posix/getlogin.c: Moved to ...
52068         * login/getlogin.c: ... here.
52069         * posix/getlogin_r.c: Moved to ...
52070         * login/getlogin_r.c: ... here.
52071         * posix/getlogin_r.c: Moved to ...
52072         * login/getlogin_r.c: ... here.
52073         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52074         * login/Makefile (routines): ... here.
52075         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52076         * login/Versions (libc: GLIBC_2.0): ... here.
52078         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52079         (setrlimit): Define as weak alias.
52081         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52082         Call __ names for open, ftruncate, and close.
52083         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52084         (truncate): Define as weak alias.
52086 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52088         * math/gen-libm-test.pl (parse_args): Initialize x before each
52089         test of frexp, modf and remquo.
52091         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52092         test signgam value.
52094 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52096         [BZ #15418]
52097         [BZ #15419]
52098         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52099         internal tests.
52100         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52102 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52104         * elf/dl-writev.h: New file.
52105         * elf/dl-misc.c: Include it.
52106         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52107         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52109 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52111         * math/libm-test.inc (noXFails): Remove variable.
52112         (noXPasses): Likewise.
52113         (BUILD_COMPLEX_INT): Remove macro.
52114         (print_screen): Remove xfail argument.
52115         (print_screen_max_error): Likewise.
52116         (update_stats): Likewise.
52117         (print_max_error): Likewise.  Update calls to other affected
52118         functions.
52119         (print_complex_max_error): Likewise.
52120         (test_single_exception): Update calls to print_screen.
52121         (test_single_errno): Likewise.
52122         (check_float_internal): Remove xfail argument.  Update calls to
52123         other affected functions.
52124         (check_float): Likewise.
52125         (check_complex): Likewise.
52126         (check_int): Likewise.
52127         (check_long): Likewise.
52128         (check_bool): Likewise.
52129         (check_longlong): Likewise.
52130         (main): Don't print noXFails and noXPasses.
52131         * math/gen-libm-test.pl (top level): Don't mention expected
52132         failure handling in comment.
52133         (new_test): Don't handle expected failures.
52134         (parse_args): Don't mention expected failure handling in comment.
52135         (generate_testfile): Don't handle expected failures.
52136         (parse_ulps): Likewise.
52137         (print_ulps_file): Likewise.
52138         (get_failure): Remove function.
52139         (output_test): Don't handle expected failures.
52140         * make/README.libm-test: Don't mention expected failure handling.
52142         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52143         (minus_zero): Likewise.
52144         (plus_infty): Likewise.
52145         (minus_infty): Likewise.
52146         (qnan_value): Likewise.
52147         (max_value): Likewise.
52148         (min_value): Likewise.
52149         (min_subnorm_value): Likewise.
52150         (initialize): Do not initialize those variables dynamically.
52152 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52154         * io/open.c (__open_2): Moved to ...
52155         * io/open_2.c: ... this new file.
52156         * io/open64.c (__open64_2): Moved to ...
52157         * io/open64_2.c: ... this new file.
52158         * io/openat.c (__openat_2): Moved to ...
52159         * io/openat_2.c: ... this new file.
52160         * io/openat64.c (__openat64_2): Moved to ...
52161         * io/openat64_2.c: ... this new file.
52162         * io/Makefile (routines): Add them.
52163         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52164         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52165         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52166         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52167         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52168         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52169         (__openat64): Add hidden_ver.
52170         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52171         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52173         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52174         Separately conditionalize setting of GLRO(dl_sysinfo) so
52175         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52176         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52178 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52180         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52181         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52182         definition.
52183         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52184         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52185         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52186         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52187         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52189 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52191         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52192         test signgam value.
52194         * math/libm-test.inc (hypot_test): Do not use
52195         IGNORE_ZERO_INF_SIGN.
52197 2013-05-03  Andreas Jaeger  <aj@suse.de>
52199         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52200         Linux 3.9.
52201         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52202         (PF_MAX): Adjust for VSOCK change.
52204 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52208 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52210         [BZ #15264]
52211         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52212         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52213         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52215 2013-05-02  David S. Miller  <davem@davemloft.net>
52217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52219 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52221         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52223 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52225         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52227 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52229         [BZ #14952]
52230         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52231         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52232         Use __attribute__ ((__gnu_inline__)).
52233         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52234         Don't use __attribute__ ((__gnu_inline__)).
52236 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52238         [BZ #15423]
52239         * math/s_catan.c (__catan): Handle small real or imaginary part of
52240         input specially to avoid spurious underflow.
52241         * math/s_catanf.c (__catanf): Likewise.
52242         * math/s_catanh.c (__catanh): Likewise.
52243         * math/s_catanhf.c (__catanhf): Likewise.
52244         * math/s_catanhl.c (__catanhl): Likewise.
52245         * math/s_catanl.c (__catanl): Likewise.
52246         * math/libm-test.inc (catan_test): Add more tests.
52247         (catanh_test): Likewise.
52248         * sysdeps/i386/fpu/libm-test-ulps: Update.
52249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52251 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52255 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52257         [BZ #15416]
52258         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52259         accurately for denominator in atan2.
52260         * math/s_catanf.c (__catanf): Likewise.
52261         * math/s_catanh.c (__catanh): Likewise.
52262         * math/s_catanhf.c (__catanhf): Likewise.
52263         * math/s_catanhl.c (__catanhl): Likewise.
52264         * math/s_catanl.c (__catanl): Likewise.
52265         * math/libm-test.inc (catan_test): Add more tests.
52266         (catanh_test): Likewise.
52267         * sysdeps/i386/fpu/libm-test-ulps: Update.
52268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52270 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52272         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52274         * benchtests/Makefile (bench): Remove slow benchmarks.
52275         * benchtests/atan-inputs: Add slow benchmark inputs.
52276         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52277         (BENCH_FUNC): Accept variant offset.
52278         (VARIANT): Define.
52279         * benchtests/bench-skeleton.c (main): Run benchmark for each
52280         variant.
52281         * benchtests/cos-inputs: Add slow benchmark inputs.
52282         * benchtests/exp-inputs: Likewise.
52283         * benchtests/pow-inputs: Likewise.
52284         * benchtests/sin-inputs: Likewise.
52285         * benchtests/slowatan-inputs: Remove.
52286         * benchtests/slowatan.c: Remove.
52287         * benchtests/slowcos-inputs: Remove.
52288         * benchtests/slowcos.c: Remove.
52289         * benchtests/slowexp-inputs: Remove.
52290         * benchtests/slowexp.c: Remove.
52291         * benchtests/slowpow-inputs: Remove.
52292         * benchtests/slowpow.c: Remove.
52293         * benchtests/slowsin-inputs: Remove.
52294         * benchtests/slowsin.c: Remove.
52295         * benchtests/slowtan-inputs: Remove.
52296         * benchtests/slowtan.c: Remove.
52297         * benchtests/tan-inputs: Add slow benchmark inputs.
52298         * scripts/bench.pl: Parse comments and directives.
52300         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52301         in CPPFLAGS.
52302         ($(objpfx)bench-%.c): Remove *-ITER.
52303         * benchtests/bench-modf.c: Remove definition of ITER.
52304         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52305         (main): Loop for DURATION seconds instead of fixed number of
52306         iterations.
52307         * scripts/bench.pl: Don't expect iterations in parameters.
52309 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52311         * io/fchdir.c (__fchdir): Renamed from fchdir.
52312         (fchdir): Define as weak alias.
52314 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52316         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52317         (ERRNO_EDOM): Likewise.
52318         (ERRNO_ERANGE): Likewise.
52319         (noErrnoTests): New variable.
52320         (init_max_error): Set errno to 0.
52321         (test_single_errno): New function.
52322         (test_errno): Likewise.
52323         (check_float_internal): Call test_errno.  Set errno to 0.
52324         (check_complex): Refer to errno tests in comment.
52325         (check_int): Call test_errno.  Set errno to 0.
52326         (check_long): Likewise.
52327         (check_bool): Likewise.
52328         (check_longlong): Likewise.
52329         (cos_test): Use ERRNO_* flags for errno tests instead of
52330         check_int.
52331         (expm1_test): Likewise.
52332         (fmod_test): Likewise.
52333         (ilogb_test): Likewise.
52334         (lgamma_test): Likewise.
52335         (pow_test): Likewise.
52336         (remainder_test): Likewise.
52337         (sin_test): Likewise.
52338         (tan_test): Likewise.
52339         (yn_test): Likewise.
52340         (initialize): Set errno to 0.
52341         (main): Print number of errno tests.
52342         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52344 2013-04-29  Andreas Jaeger  <aj@suse.de>
52346         [BZ #15084]
52347         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52348         and RES_USEVC.
52350         [BZ #15085]
52351         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52352         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52353         unimplemented.
52355         [BZ #15380]
52356         * stdlib/random.c (__initstate): Return NULL if
52357         __initstate fails.
52359         [BZ #15086]
52360         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52361         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52362         RES_SNGLKUPREOP.
52364 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52368 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52370         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52371         of individual tests.
52372         (casin_test): Likewise.
52373         (casinh_test): Likewise.
52375 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52377         [BZ #15409]
52378         * math/s_catan.c (__catan): Handle arguments with large real or
52379         imaginary part separately without squaring.
52380         * math/s_catanf.c (__catanf): Likewise.
52381         * math/s_catanh.c (__catanh): Likewise.
52382         * math/s_catanhf.c (__catanhf): Likewise.
52383         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52384         and redefine.
52385         (__catanhl): Handle arguments with large real or imaginary part
52386         separately without squaring.
52387         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52388         and redefine.
52389         (__catanl): Handle arguments with large real or imaginary part
52390         separately without squaring.
52391         * math/libm-test.inc (catan_test): Add more tests.
52392         (catanh_test): Likewise.
52393         * sysdeps/i386/fpu/libm-test-ulps: Update.
52394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52396 2013-04-27  Andreas Jaeger  <aj@suse.de>
52398         [BZ #15007]
52399         * stdlib/stdlib.h: Update guards for qecvt.
52400         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52401         <stdlib.h>.
52403 2013-04-27  Allan McRae  <allan@archlinux.org>
52405         * sysdeps/i386/fpu/libm-test-ulps: Update.
52407 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52409         [BZ #15406]
52410         * math/s_catan.c: Include <float.h>.
52411         (__catan): Ensure underflow exception occurs for underflowed
52412         result.
52413         * math/s_catanf.c: Include <float.h>.
52414         (__catanf): Ensure underflow exception occurs for underflowed
52415         result.
52416         * math/s_catanh.c: Include <float.h>.
52417         (__catanh): Ensure underflow exception occurs for underflowed
52418         result.
52419         * math/s_catanhf.c: Include <float.h>.
52420         (__catanhf): Ensure underflow exception occurs for underflowed
52421         result.
52422         * math/s_catanhl.c: Include <float.h>.
52423         (__catanhl): Ensure underflow exception occurs for underflowed
52424         result.
52425         * math/s_catanl.c: Include <float.h>.
52426         (__catanl): Ensure underflow exception occurs for underflowed
52427         result.
52428         * math/libm-test.inc (catan_test): Add more tests.
52429         (catanh_test): Likewise.
52431         [BZ #15405]
52432         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52433         underflowed result.
52434         * math/s_ccoshf.c (__ccoshf): Likewise.
52435         * math/s_ccoshl.c (__ccoshl): Likewise.
52436         * math/s_csin.c (__csin): Likewise.
52437         * math/s_csinf.c (__csinf): Likewise.
52438         * math/s_csinh.c (__csinh): Likewise.
52439         * math/s_csinhf.c (__csinhf): Likewise.
52440         * math/s_csinhl.c (__csinhl): Likewise.
52441         * math/s_csinl.c (__csinl): Likewise.
52442         * math/libm-test.inc (ccos_test): Add more tests.
52443         (ccosh_test): Likewise.
52444         (csin_test): Likewise.
52445         (csinh_test): Likewise.
52447 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52449         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52450         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52451         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52452         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52453         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52454         powerpc/power5+/fpu folders.
52455         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52458 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52462 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52464         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52465         additions to variable.
52466         [$(config-machine) = x86_64] (modules-names): Likewise.
52467         ($(objpfx)tst-audit3): Remove dependency.
52468         ($(objpfx)tst-audit3.out): Likewise.
52469         ($(objpfx)tst-audit4): Likewise.
52470         ($(objpfx)tst-audit4.out): Likewise.
52471         ($(objpfx)tst-audit5): Likewise.
52472         ($(objpfx)tst-audit5.out): Likewise.
52473         ($(objpfx)tst-audit6): Likewise.
52474         ($(objpfx)tst-audit6.out): Likewise.
52475         ($(objpfx)tst-audit7): Likewise.
52476         ($(objpfx)tst-audit7.out): Likewise.
52477         (tst-audit3-ENV): Remove variable.
52478         (tst-audit4-ENV): Likewise.
52479         (tst-audit5-ENV): Likewise.
52480         (tst-audit6-ENV): Likewise.
52481         (tst-audit7-ENV): Likewise.
52482         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52483         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52484         addition to variable.
52485         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52486         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52487         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52488         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52489         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52490         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52491         tst-audit3, tst-audit4 and tst-audit5.
52492         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52493         tst-audit6 and tst-audit7.
52494         [$(subdir) = elf] (modules-names): Add audit modules for those
52495         tests.
52496         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52497         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52498         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52499         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52500         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52501         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52502         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52503         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52504         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52505         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52506         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52507         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52508         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52509         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52510         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52511         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52512         Likewise.
52513         [$(subdir) = elf && $(config-cflags-avx) = yes]
52514         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52515         [$(subdir) = elf && $(config-cflags-avx) = yes]
52516         (CFLAGS-tst-auditmod4a.c): Likewise.
52517         [$(subdir) = elf && $(config-cflags-avx) = yes]
52518         (CFLAGS-tst-auditmod4b.c): Likewise.
52519         [$(subdir) = elf && $(config-cflags-avx) = yes]
52520         (CFLAGS-tst-auditmod6b.c): Likewise.
52521         [$(subdir) = elf && $(config-cflags-avx) = yes]
52522         (CFLAGS-tst-auditmod6c.c): Likewise.
52523         [$(subdir) = elf && $(config-cflags-avx) = yes]
52524         (CFLAGS-tst-auditmod7b.c): Likewise.
52525         * elf/tst-audit3.c: Move to ...
52526         * sysdeps/x86_64/tst-audit3.c: ... here.
52527         * elf/tst-audit4.c: Move to ...
52528         * sysdeps/x86_64/tst-audit4.c: ... here.
52529         * elf/tst-audit5.c: Move to ...
52530         * sysdeps/x86_64/tst-audit5.c: ... here.
52531         * elf/tst-audit6.c: Move to ...
52532         * sysdeps/x86_64/tst-audit6.c: ... here.
52533         * elf/tst-audit7.c: Move to ...
52534         * sysdeps/x86_64/tst-audit7.c: ... here.
52535         * elf/tst-auditmod3a.c: Move to ...
52536         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52537         * elf/tst-auditmod3b.c: Move to ...
52538         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52539         * elf/tst-auditmod4a.c: Move to ...
52540         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52541         * elf/tst-auditmod4b.c: Move to ...
52542         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52543         * elf/tst-auditmod5a.c: Move to ...
52544         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52545         * elf/tst-auditmod5b.c: Move to ...
52546         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52547         * elf/tst-auditmod6a.c: Move to ...
52548         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52549         * elf/tst-auditmod6b.c: Move to ...
52550         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52551         * elf/tst-auditmod6c.c: Move to ...
52552         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52553         * elf/tst-auditmod7a.c: Move to ...
52554         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52555         * elf/tst-auditmod7b.c: Move to ...
52556         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52558 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52560         [BZ #15366]
52561         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52562         define unconditionally.
52563         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52564         define unconditionally.
52565         (INT8_C, INT16_C, etc.): Likewise.
52567 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52569         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52570         __ehdr_start with hidden visibility.
52572         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52574 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52576         * math/libm-test.inc (cos_test): Use accurate hex constants.
52577         (sincost_test): Likewise.
52579 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52581         * math/libm-test.inc (catan_test): Add more tests.
52582         (catanh_test): Likewise.
52584         * math/s_catanf.c (__catanf): Use suffixed floating-point
52585         constants.
52586         * math/s_catanhf.c (__catanhf): Likewise.
52587         * math/s_catanhl.c (__catanhl): Likewise.
52588         * math/s_catanl.c (__catanl): Likewise.
52590         [BZ #15394]
52591         * math/s_catan.c (__catan): Calculate imaginary part of result
52592         with log1p not log unless computing log of number close to 0.
52593         * math/s_catanf.c (__catanf): Likewise.
52594         * math/s_catanl.c (__catanl): Likewise.
52595         * math/s_catanh.c (__catanh): Calculate real part of result with
52596         log1p not log unless computing log of number close to 0.
52597         * math/s_catanhf.c (__catanhf): Likewise.
52598         * math/s_catanhl.c (__catanhl): Likewise.
52599         * math/libm-test.inc (catan_test): Add more tests.
52600         (catanh_test): Likewise.
52601         * sysdeps/i386/fpu/libm-test-ulps: Update.
52602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52604 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52606         * benchtests/Makefile: Mention files in which fast and slow
52607         paths of math functions are implemented.
52609 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52611         * sysdeps/posix/timespec_get.c: New file.
52613 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52615         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52616         POWER.
52617         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52618         for POWER.
52619         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52620         powerpc/power5/fpu folders.
52621         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52622         * benchtests/Makefile: Add modf testcase.
52623         * benchtests/bench-modf.c: New file: Benchmark test for mo
52625 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52627         [BZ #14888]
52628         * time/Makefile (tests): Add tst-strptime-whitespace.
52629         * time/strptime_l.c (get_number): Use ISSPACE.
52630         (__strptime_internal): Likewise.
52631         * time/tst-strptime-whitespace.c: New test case.
52633 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52635         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52636         member.
52637         (_nss_files_init): Set it here.
52639 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52641         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52642         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52643         unsigned.
52645 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52647         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52649 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52651         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52652         size just once.
52654 2013-04-21  David S. Miller  <davem@davemloft.net>
52656         * po/ru.po: Update Russion translation from translation project.
52658 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52660         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52661         and setfsgid.
52663 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52665         * configure.in: Remove i386 configure warning. Remove i386 case.
52666         * configure: Regenerate.
52667         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52668         Add example to error message.
52669         * sysdeps/i386/configure: Regenerate.
52671 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52673         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52674         slowtan.
52675         * benchtests/cos-inputs: New file.
52676         * benchtests/slowcos-inputs: New file.
52677         * benchtests/slowcos.c: New file.
52678         * benchtests/slowtan-inputs: New file.
52679         * benchtests/slowtan.c: New file.
52680         * benchtests/tan-inputs: New file.
52682 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52684         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52685         considered kosher.
52687 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52689         * benchtests/Makefile: Include cppflags-iterator.mk to add
52690         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52692         * Makefile.in (bench-clean): New target.
52693         * benchtests/Makefile (bench-clean): Likewise.
52695 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52697         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52699 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52701         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52703 2013-04-15  Andreas Schwab  <schwab@suse.de>
52705         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52706         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52707         * nscd/pwdcache.c (cache_addpw): Likewise.
52708         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52709         more than recsize.
52711 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52713         * benchtests/Makefile (bench): Write all output to
52714         bench-out.tmp together.
52716 2013-04-15  Andreas Schwab  <schwab@suse.de>
52718         * nscd/nscd.c (main): Don't fork again after closing files.
52720 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52722         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52724         * benchtests/Rules (bench-deps): Collect dependencies into a
52725         single variable.  Add Makefile to dependencies.
52726         ($(objpfx)bench-%.c): Depend on bench-deps.
52728 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52729             Xavier Roche  <roche+kml2@exalead.com>
52731         [BZ #15361]
52732         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52733         just that it's a file descriptor.
52734         * manual/llio.texi (Synchronizing AIO Operations): Update description
52735         for EBADF error from aio_fsync.
52737 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52739         * Rules (bench): Move target definition...
52740         * benchtests/Makefile: ... here.
52742 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52744         * math/libm-test.inc (cos_test): Fix PI/2 test.
52745         (sincos_test): Likewise.
52746         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52747         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52749 2013-04-11  Andreas Schwab  <schwab@suse.de>
52751         [BZ #13988]
52752         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52753         accept exponent character only when digits were seen.
52754         * stdio-common/Makefile (tests): Add bug26.
52755         * stdio-common/bug26.c: New file.
52757         [BZ #14293]
52758         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52759         non-freeable.
52761 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52763         * Makeconfig (rtld-prefix): Define built linker prefix.
52764         * Rules (run-bench): Use it.
52765         * math/Makefile (run-regen-ulps): Likewise.
52767         * Rules (bench): Remove eval.
52769 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52770             Roland McGrath  <roland@hack.frob.com>
52771             Ondrej Bilka  <neleai@seznam.cz>
52773         [BZ #15346]
52774         * time/getdate.c: Include ctype.h and alloca.h.
52775         (__getdate_r): Trim leading and trailing spaces of input.
52776         * time/tst-getdate.c (tests): Add tests with leading and
52777         trailing spaces.
52779 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52781         [BZ #14280]
52782         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52783         when computing value.
52785 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52787         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52788         Use testrun.sh to run libm tests.
52790         [BZ #15309]
52791         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52793 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52795         [BZ #15264]
52796         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52798 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52800         * Makefile.in (regen-ulps): New target.
52801         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52802         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52803         [ifneq (no,$(PERL)] (regen-ulps): New target.
52804         [ifeq (no,$(PERL)] (regen-ulps): New target.
52805         * math/libm-test.inc (ulps_file_name): Define.
52806         (output_dir): New variable.
52807         (options): Add "output-dir" option.
52808         (parse_opt): Handle 'o' case.
52809         (main): If output_dir is non-NULL use it as a prefix
52810         otherwise use "".
52811         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52813 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52815         [BZ #10060, #10062]
52816         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52817         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52818         fail configure if __sync_val_compare_and_swap is not inlined.
52819         * sysdeps/i386/configure: Regenerate.
52820         * configure.in: Build for i686 when configured for i386.
52821         * configure: Regenerate.
52822         * README: Remove i386 reference.
52824 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52826         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52827         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52829 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52831         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52832         (lmsnanval): New variables.
52833         (F): Add conversion tests.
52834         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52835         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52837         * stdio-common/tstdiomisc.c (F): Properly collect individual
52838         tests' results.
52840         [BZ #14686, #15336]
52841         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52842         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52843         Instead, use input NaN values or generate a qNaN by arithmetic
52844         operation.  Also fix bugs to comply with the standard.
52845         * math/libm-test.inc (remainder_test): Add more tests.
52847         [BZ #15335, #15342]
52848         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52849         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52850         input NaN values or generate a qNaN by arithmetic operation.
52852         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52853         unreachable code.
52855         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52856         definitions.
52858 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52860         [BZ #14478]
52861         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52862         underflowed result.
52863         * math/s_cexpf.c (__cexpf): Likewise.
52864         * math/s_cexpl.c (__cexpl): Likewise.
52865         * math/libm-test.inc (cexp_test): Add more tests.
52867 2013-04-03  Andreas Schwab  <schwab@suse.de>
52869         [BZ #15330]
52870         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52871         order arrays from heap if bigger than alloca cutoff.
52873 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52875         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52876         (SNAN_TESTS_double): Refer to GCC PR56831.
52877         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52878         GCC PR56828.
52880 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52882         * Rules (bench): Move bench.out after the run is complete.
52884         * Rules (bench): Echo currently running benchmark.
52886         * benchtests/Makefile (bench): Add atan and slowatan.
52887         * benchtests/atan-inputs: New file.
52888         * benchtests/slowatan-inputs: New file.
52889         * benchtests/slowatan.c: New file.
52891         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52892         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52893         its value.
52895         [BZ #15305]
52896         * sysdeps/unix/sysv/linux/kernel-features.h
52897         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52898         __ASSUME_XFS_RESTRICTED_CHOWN.
52899         * sysdeps/unix/sysv/linux/pathconf.c
52900         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52901         Save and restore errno.
52903 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52905         [BZ #15327]
52906         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52907         arguments using __kernel_casinh.
52908         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52909         arguments using __kernel_casinhf.
52910         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52911         arguments using __kernel_casinhl.
52912         * math/libm-test.inc (cacosh_test): Add more tests.
52913         * sysdeps/i386/fpu/libm-test-ulps: Update.
52914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52916 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52918         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52921         * bench/Makefile (bench): Add sin and slowsin.
52922         * benchtests/sin-inputs: New file.
52923         * benchtests/slowsin-inputs: New file.
52924         * benchtests/slowsin.c: New file.
52926         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52927         (bench): Add slowexp and slowpow.
52928         (exp-ITER): Increase iterations.
52929         (pow-ITER): Likewise.
52930         * benchtests/exp-inputs: Change input.
52931         * benchtests/pow-inputs: Likewise.
52932         * benchtests/slowexp-inputs: New file.
52933         * benchtests/slowexp.c: New file.
52934         * benchtests/slowpow-inputs: New file.
52935         * benchtests/slowpow.c: New file.
52937 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52939         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52940         instructions.
52941         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52942         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52943         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52944         * benchtests/Makefile: Add rint benchtest.
52945         * benchtests/rint-inputs: Input for rint benchtest.
52947 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52949         * Versions.def (libm): Add GLIBC_2.18.
52950         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52951         hidden libm prototypes.
52952         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52953         * math/Makefile (libm-calls): Add s_issignaling.
52954         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52955         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52956         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52957         declaration.
52958         * math/math.h [__USE_GNU] (issignaling): New macro.
52959         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52960         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52961         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52962         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52963         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52964         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52965         * manual/arith.texi (issignaling): New section.
52966         * manual/libm-err-tab.pl (@all_functions): Update comment.
52967         * math/gen-libm-test.pl (parse_args): Apply special handling for
52968         issignaling.
52969         * math/libm-test.inc (print_float, issignaling_test): New
52970         functions.
52971         (check_float_internal): Add issignaling checks.
52972         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52973         default definition.
52974         * sysdeps/powerpc/math-tests.h: New file.
52975         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52976         tests.
52977         * math/test-snan.c (TEST_FUNC): Likewise.
52979 2013-03-30  David S. Miller  <davem@davemloft.net>
52981         * po/de.po: Update from translation team.
52983 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52985         [BZ #10357]
52986         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52987         imaginary part less than 1.0 and real part less than 0.5
52988         specially.
52989         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52990         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52991         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52992         (cacos_test): Add more tests.
52993         (casin_test): Likewise.
52994         (casinh_test): Likewise.
52995         * sysdeps/i386/fpu/libm-test-ulps: Update.
52996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52998 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53000         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53001         ONE with its value.
53003         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53004         (__pow_mp): Replace ONE and MONE with their values.
53005         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53006         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53007         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53008         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53009         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53010         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53012         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53014         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53015         (__pow_mp): Replace ZERO and MZERO with their values.
53016         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53017         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53018         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53019         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53020         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53021         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53022         (__sqr): Likewise.
53024         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53026         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53028 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53030         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53031         Declare with __attribute__ ((weak)).
53032         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53033         Call __call_tls_dtors only if it's not NULL.
53035 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53037         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53038         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53039         magic __ehdr_start linker symbol if it's defined.
53040         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53041         them up here if it was already done.
53043         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53044         (_dl_aux_init): Use const in cast when setting it.
53045         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53046         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53047         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53049         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53050         Declare them here.
53051         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53052         * csu/libc-tls.c: Nor here.
53053         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53055         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53056         (__libc_message): Never call vsyslog.
53058 2013-03-28  Alan Modra  <amodra@gmail.com>
53060         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53061         Define as empty.
53062         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53063         Likewise.
53065 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53067         [BZ #15214]
53068         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53069         underflow.
53070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53072 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53074         [BZ #15304]
53075         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53076         Don't add gid passed as argument.
53078         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53080 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53082         [BZ #15307]
53083         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53084         imaginary part between 1.0 and 1.5 and real part less than 0.5
53085         specially.
53086         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53087         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53088         * math/libm-test.inc (cacos_test): Add more tests.
53089         (casin_test): Likewise.
53090         (casinh_test): Likewise.
53091         * sysdeps/i386/fpu/libm-test-ulps: Update.
53092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53094 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53096         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53097         constants.
53098         (norm): Likewise.
53099         (denorm): Likewise.
53100         (__dbl_mp): Likewise.
53101         (add_magnitudes): Likewise.
53102         (sub_magnitudes): Likewise.
53103         (__add): Likewise.
53104         (__sub): Likewise.
53105         (__mul): Likewise.
53106         (__sqr): Likewise.
53107         (__inv): Likewise.
53108         (__dvd): Likewise.
53110         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53111         commented code.
53112         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53113         (__dubcos): Likewise.
53114         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53115         (__ieee754_acos): Likewise.
53116         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53117         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53118         (__exp1): Likewise.
53119         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53120         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53121         (log1): Likewise.
53122         (my_log2): Likewise.
53123         (checkint): Likewise.
53124         * sysdeps/ieee754/dbl-64/e_remainder.c
53125         (__ieee754_remainder): Likewise.
53126         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53127         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53128         (bsloww): Likewise.
53129         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53131         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53132         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53133         MANTISSA_STORE_T to store computations on mantissa.  Use
53134         macros for rounding and division.
53135         (denorm): Likewise.
53136         (__dbl_mp): Likewise.
53137         (add_magnitudes): Likewise.
53138         (sub_magnitudes): Likewise.
53139         (__mul): Likewise.
53140         (__sqr): Likewise.
53141         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53142         powers of two in terms of TWOPOW macro.
53143         (mp_no): Make type of mantissa as MANTISSA_T.
53144         [!RADIXI]: Define RADIXI.
53145         [!TWO52]: Define TWO52.
53146         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53148 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53150         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53151         llroundl symbol when building for PPC32.
53153 2013-03-24  Mark H Weaver  <mhw@netris.org>
53155         * manual/arith.texi (Normalization Functions): Fix prototypes for
53156         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53158 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53160         [BZ #13889]
53161         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53162         high value to check if expl overflow.
53163         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53164         to check for underflow and overflow.
53165         * math/libm-test.inc: Add exp test.
53167 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53169         [BZ #11120]
53170         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53171         with NOT_IN_libc.
53173 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53175         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53176         symbol.
53178 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53180         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53181         wrap blocks consisting of several statements.
53183         * sysdeps/generic/math-tests.h: New file.
53184         * sysdeps/i386/fpu/math-tests.h: Likewise.
53185         * math/test-snan.c: Include it.
53186         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53188 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53190         [BZ #15285]
53191         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53192         (__ieee754_j0l): Do not improve calculations using cos of twice
53193         input for inputs above LDBL_MAX / 2.0L.
53194         (__ieee754_y0l): Likewise.
53195         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53196         (__ieee754_j1l): Do not improve calculations using cos of twice
53197         input for inputs above LDBL_MAX / 2.0L.
53198         (__ieee754_y1l): Likewise.
53199         * math/libm-test.inc (j0_test): Add another test.
53200         (j1_test): Likewise.
53201         (y0_test): Likewise.
53202         (y1_test): Likewise.
53203         * sysdeps/i386/fpu/libm-test-ulps: Update.
53205 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53207         * Rules ($(objpfx)bench-%.c): Include code from a C source
53208         file.
53210 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53212         [BZ #15287]
53213         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53214         imaginary part 1.0 and real part less than 0.5 specially.
53215         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53216         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53217         * math/libm-test.inc (cacos_test): Add more tests.
53218         (casin_test): Likewise.
53219         (casinh_test): Likewise.
53220         * sysdeps/i386/fpu/libm-test-ulps: Update.
53221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53223 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53225         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53226         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53228 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53230         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53231         * config.make.in (config-cflags-sse4): Remove variable.
53232         (config-cflags-avx): Likewise.
53233         (config-cflags-sse2avx): Likewise.
53234         (config-cflags-novzeroupper): Likewise.
53235         (config-asflags-i686): Likewise.
53236         (have-mfma4): Likewise.
53237         (have-as-vis3): Likewise.
53238         (MIG): Likewise.
53239         * configure.in (MIG): Do not AC_SUBST.
53240         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53241         (libc_cv_cc_sse4): Do not AC_SUBST.
53242         (libc_cv_cc_avx): Likewise.
53243         (libc_cv_cc_sse2avx): Likewise.
53244         (libc_cv_cc_novzeroupper): Likewise.
53245         (libc_cv_cc_fma4): Likewise.
53246         (libc_cv_as_i686): Likewise.
53247         (libc_cv_sparc_as_vis3): Likewise.
53248         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53249         LIBC_CONFIG_VAR.
53250         (config-asflags-i686): Likewise.
53251         (config-cflags-avx): Likewise.
53252         (config-cflags-sse2avx): Likewise.
53253         (have-mfma4): Likewise.
53254         (config-cflags-novzeroupper): Likewise.
53255         * sysdeps/mach/configure.in (MIG): Likewise.
53256         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53257         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53258         LIBC_CONFIG_VAR.
53259         (config-cflags-avx): Likewise.
53260         (config-cflags-sse2avx): Likewise.
53261         (have-mfma4): Likewise.
53262         (config-cflags-novzeroupper): Likewise.
53263         * configure: Regenerated.
53264         * sysdeps/i386/configure: Likewise.
53265         * sysdeps/mach/configure: Likewise.
53266         * sysdeps/sparc/configure: Likewise.
53267         * sysdeps/x86_64/configure: Likewise.
53269 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53271         [BZ #14812]
53272         * locale/programs/localedef.c (options): Put N_ translation marker
53273         on argument names, not just descriptions.
53275 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53277         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53279 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53281         [BZ #14176]
53282         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53284 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53286         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53287         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53288         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53289         [!BEFORE_ABORT] (before_abort): New function.
53290         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53291         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53292         (writev_for_fatal): New function.
53293         (WRITEV_FOR_FATAL): New macro; call that.
53294         (backtrace_and_maps): New function.
53295         (BEFORE_ABORT): New macro; call that.
53296         (struct str_list): Type removed.
53297         (__libc_message, __libc_fatal): Functions removed.
53298         Include <sysdeps/posix/libc_fatal.c> instead.
53300 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53302         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53303         constants.
53304         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53305         double constants.
53307 2013-03-19  Andreas Schwab  <schwab@suse.de>
53309         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53310         * sysdeps/gnu/configure: Regenerate.
53312         * configure.in: Substitute libc_cv_rtlddir.
53313         * configure: Regenerate.
53314         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53315         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53316         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53317         * elf/Makefile (install-others, CFLAGS-interp.c)
53318         (ldso_install, common-ldd-rewrite): Likewise.
53319         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53320         $(inst_slibdir)/$(rtld-installed-name).
53321         * scripts/rellns-sh: Add -p option.
53322         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53323         for source.
53325 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53327         * manual/nptl.texi: Renamed to ...
53328         * manual/threads.texi: ... this.
53329         * manual/Makefile (chapters): Update.
53331 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53333         [BZ #14812]
53334         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53335         on argument names, not just descriptions.
53336         * malloc/memusagestat.c (options): Likewise.
53337         * nss/getent.c (options): Likewise.
53339 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53341         [BZ #14812]
53342         * iconv/iconv_prog.c (options): Put N_ translation marker
53343         on argument names, not just descriptions.
53344         * iconv/iconvconfig.c (options): Likewise.
53346 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53348         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53349         implementation which is faster on all x86_64 architectures.
53350         Tested on AMD, Intel Nehalem, SNB, IVB.
53351         * sysdeps/x86_64/strnlen.S: Likewise.
53353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53354         Remove all multiarch strlen and strnlen versions.
53355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53356         Remove strlen and strnlen related parts.
53358         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53359         Inline strlen part.
53360         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53362         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53363         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53364         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53365         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53366         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53367         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53369 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53371         * manual/memory.texi (Malloc Tunable Parameters):
53372         Sort parameters alphabetically. Add comments for missing entries.
53374 2013-03-17  David S. Miller  <davem@davemloft.net>
53376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53378 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53380         [BZ #15283]
53381         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53382         for arguments at most half maximum finite value.
53383         * math/libm-test.inc (j0_test): Add more tests.
53384         (j1_test): Likewise.
53385         (y0_test): Likewise.
53386         (y1_test): Likewise.
53387         * sysdeps/i386/fpu/libm-test-ulps: Update.
53388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53390         [BZ #14155]
53391         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53392         1 / x and functions P and Q for arguments above 0x1p256L.
53393         (__ieee754_y0l): Likewise.
53394         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53395         (__ieee754_y1l): Likewise.
53396         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53397         (j1_test): Likewise.
53398         (y0_test): Likewise.
53399         (y1_test): Likewise.
53401 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53403         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53404         variable.
53406 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53408         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53409         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53410         zero since it's initialized to EXEC_PAGESIZE.
53412         * sysdeps/unix/sysv/linux/ldsodefs.h
53413         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53414         * sysdeps/generic/ldsodefs.h: ... here.
53416 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53418         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53420         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53421         math/test-snan.c.
53422         * math/test-snan.c: Renamed from
53423         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53424         * math/Makefile (tests): Add test-snan.
53425         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53426         test-powerpc-snan.
53428         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53429         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53430         functions.
53431         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53432         __builtin_nan family of functions.
53433         * math/libm-test.inc (initialize): Initialize qnan_value with
53434         __builtin_nan family of functions.
53435         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53436         Remove variables.
53437         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53438         Remove functions.
53439         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53440         storage class.  Initialize qNaN_var and sNaN_var with
53441         __builtin_nan and __builtin_nans families of functions,
53442         respectively.
53444         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53445         (sqrt_test): Remove duplicate test with qNaN input.
53446         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53447         (round_test, signbit_test, significand_test): Note missing +/-Inf
53448         as well as qNaN tests.
53450         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53451         qNaN_var.  Fix a few strings, too.
53452         * math/libm-test.inc (nan_value): Rename to qnan_value.
53453         * math/gen-libm-test.pl (%beautify): Adjust to that.
53454         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53455         * math/test-misc.c (main): Likewise.
53456         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53457         to __qnan_bytes, and __qnan_union, respectively.
53458         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53459         Likewise.
53460         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53461         and lqnanval, respectively.
53462         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53463         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53464         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53465         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53467         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53468         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53469         doubles.
53471         * math/test-misc.c (main): Fix copy'n'pastos.
53472         * misc/tst-efgcvt.c (special): Likewise.
53474         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53475         Remove declarations.
53477 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53479         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53480         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53481         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53482         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53484 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53486         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53487         macro to return vdso values correctly in IFUNC implementations.
53488         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53489         Optimization by using IFUNC.
53491 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53492             Richard Henderson  <rth@redhat.com>
53493             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53495         * Makefile.in (bench): New target.
53496         * NEWS: Mention the benchmark framework.
53497         * Rules (bench): Likewise.
53498         (binaries-bench): Generate binaries for functions to
53499         benchmark.
53500         * benchtests/Makefile: New makefile for benchmark tests.
53501         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53502         programs.
53503         * benchtests/exp-inputs: New input file for EXP function.
53504         * benchtests/pow-inputs: New input file for POW function.
53505         * scripts/bench.pl: New script to generate source files for
53506         benchmark programs.
53508 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53510         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53511         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53512         computations on mantissa.  Use macros for rounding and
53513         division.
53514         (denorm): Likewise.
53515         (__dbl_mp): Likewise.
53516         (add_magnitudes): Likewise.
53517         (sub_magnitudes): Likewise.
53518         (__mul): Likewise.
53519         (__sqr): Likewise.
53520         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53521         powers of two in terms of TWOPOW macro.
53522         (mp_no): Make type of mantissa as MANTISSA_T.
53523         [!RADIXI]: Define RADIXI.
53524         [!TWO52]: Define TWO52.
53525         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53527         * manual/nptl.texi (cindex): Modify threads to pthreads.
53529 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53531         * sysdeps/x86_64/preconfigure: Regenerated.
53533 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53535         [BZ #14155]
53536         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53537         0x1p28 and above.
53538         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53539         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53540         0x1p28 and above.
53541         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53542         * math/libm-test.inc (j0_test): Do not allow one spurious
53543         underflow exception.
53544         (y1_test): Likewise.
53546 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53548         * manual/Makefile (chapters): Add nptl.
53549         * manual/debug.texi (Debugging Support): Add link to Threads
53550         chapter.
53551         * manual/nptl.texi: New file.
53553         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53555 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53557         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53558         for non-NULL pointer before the memory validity test. Pointed
53559         out by Holger Brunck <holger.brunck@keymile.com>.
53561 2013-03-13  Andreas Schwab  <schwab@suse.de>
53563         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53564         instead of .os.
53566 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53568         * timezone/zic.c: Update from tzcode 2013b.
53570 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53572         * manual/install.texi (Configuring and compiling):
53573         Mention i686 and i586.
53574         * INSTALL: Regenerate.
53576 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53578         * sysdeps/init_array/elf-init.c: New file.
53579         * csu/elf-init.c
53580         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53581         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53583         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53584         __gmon_start__ as global, but as static with a .preinit_array pointer.
53585         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53586         * sysdeps/init_array/crti.S: New file, empty except for comments.
53587         * sysdeps/init_array/crtn.S: Likewise.
53589 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53591         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53592         definining bcopy.
53593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53594         Remove Prefer_SSE_for_memop.
53595         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53596         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53597         HAS_PREFER_SSE_FOR_MEMOP.
53598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53599         memset-x86-64.
53600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53601         Remove bzero, memset ifunc support.
53602         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53603         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53604         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53605         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53607 2013-03-11  Andreas Schwab  <schwab@suse.de>
53609         [BZ #15234]
53610         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53611         by SHLIB_COMPAT.
53612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53613         (GLIBC_2.16): Remove pthread_atfork.
53615 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53617         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53618         (ptestcases.h): Likewise.
53620 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53622         * Makeconfig ($(common-objpfx)config.status): Depend on
53623         sysdeps/*/preconfigure{,.in} too.
53625 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53627         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53628         (__free_hook): Use void * instead of __malloc_ptr_t.
53629         (__malloc_hook): Likewise.
53630         (__realloc_hook): Likewise.
53631         (__memalign_hook): Likewise.
53632         (__after_morecore_hook): Likewise.
53633         * malloc/arena.c (save_malloc_hook): Likewise.
53634         (save_free_hook): Likewise.
53635         * malloc/hooks.c (malloc_hook_ini): Likewise.
53636         (realloc_hook_ini): Likewise.
53637         (memalign_hook_ini): Likewise.
53638         * malloc/malloc.c (malloc_hook_ini): Likewise.
53639         (realloc_hook_ini): Likewise.
53640         (memalign_hook_ini): Likewise.
53641         (__free_hook): Likewise.
53642         (__malloc_hook): Likewise.
53643         (__realloc_hook): Likewise.
53644         (__memalign_hook): Likewise.
53645         (__libc_malloc): Likewise.
53646         (__libc_free): Likewise.
53647         (__libc_realloc): Likewise.
53648         (__libc_memalign): Likewise.
53649         (__libc_valloc): Likewise.
53650         (__libc_pvalloc): Likewise.
53651         (__libc_calloc): Likewise.
53652         (__posix_memalign): Likewise.
53653         * malloc/morecore.c (__sbrk): Likewise.
53654         (__default_morecore): Likewise.
53656         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53658         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53659         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53660         __malloc_ptrdiff_t.
53662         * malloc/malloc.h (__malloc_size_t): Remove macro.
53663         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53664         __malloc_size_t.
53665         (old_memalign_hook): Likewise.
53666         (old_realloc_hook): Likewise.
53667         (struct hdr): Likewise.
53668         (flood): Likewise.
53669         (mallochook): Likewise.
53670         (memalignhook): Likewise.
53671         (reallochook): Likewise.
53672         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53673         (tr_old_realloc_hook): Likewise.
53674         (tr_old_memalign_hook): Likewise.
53675         (tr_mallochook): Likewise.
53676         (tr_reallochook): Likewise.
53677         (tr_memalignhook): Likewise.
53679 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53681         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53682         default_ldbl_pack and using as default implementation.
53683         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53684         implementation.
53685         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53686         redundant definition.
53687         (ldbl_insert_mantissa): Likewise.
53688         (ldbl_canonicalize): Likewise.
53689         (ldbl_nearbyint): Likewise.
53690         (ldbl_pack): Rename to ldbl_pack_ppc.
53691         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53692         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53693         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53695 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53698         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53699         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53700         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53702         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53703         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53704         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53706 2013-03-07  Andreas Jaeger  <aj@suse.de>
53708         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53709         bits/mman-linux.h.
53711 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53713         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53714         Include mpa.h and declare __MPEXP.
53715         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53716         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53717         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53718         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53719         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53720         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53721         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53723         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53724         (__slowpow): Use long double EXPL and LOGL functions to
53725         compute POW.
53726         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53727         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53728         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53729         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53730         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53731         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53734         intermediate variable to calculate exponent.
53735         (__sqr): Likewise.
53736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53737         Likewise.
53738         (__sqr): Likewise.
53740         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53741         [!NO__SQR]: Define __sqr.
53742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53743         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53744         sysdeps/ieee754/dbl-64/mpa.c.
53745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53747         [BZ #12723]
53748         * posix/Makefile (tests): Add tst-pathconf.
53749         * posix/tst-pathconf.c: New test case.
53750         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53751         _PC_PIPE_BUF.
53752         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53754 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53756         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53758 2013-03-06  Andreas Jaeger  <aj@suse.de>
53760         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53761         definition via __MAP_ANONYMOUS.
53763         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53764         it's not part of Linux headers.
53766         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53767         (MAP_HUGE_MASK): Define.
53769         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53770         Define.
53771         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53772         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53773         Define.
53774         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53775         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53776         Define.
53777         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53778         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53779         Define.
53780         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53782         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53783         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53784         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53785         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53786         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53787         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53789         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53790         Handle f2fs.
53792         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53793         Handle f2fs and efivarfs.
53795         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53796         f2fs.
53798         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53799         (EFIVARFS_MAGIC): Add.
53800         (F2FS_LINK_MAX): Add.
53802 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53804         * stdio-common/vfprintf.c: Replace __builtin_expect with
53805         __glibc_unlikely.
53807 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53809         [BZ #13550]
53810         * sysdeps/generic/bp-sym.h: Remove file.
53811         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53812         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53813         <bp-sym.h> and <bp-asm.h>.
53814         (__longjmp): Don't use BP_SYM.
53815         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53816         and <bp-asm.h>.
53817         (memcpy): Don't use BP_SYM.
53818         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53819         <bp-sym.h> and <bp-asm.h>.
53820         (memcpy): Don't use BP_SYM.
53821         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53822         <bp-asm.h>.
53823         (memcpy): Don't use BP_SYM.
53824         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53825         <bp-asm.h>.
53826         (memset): Don't use BP_SYM.
53827         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53828         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53829         (__bzero): Don't use BP_SYM.
53830         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53831         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53832         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53833         <bp-sym.h> and <bp-asm.h>.
53834         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53835         pointers.
53836         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53837         <bp-sym.h> and <bp-asm.h>.
53838         (memcpy): Don't use BP_SYM.
53839         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53840         <bp-sym.h> and <bp-asm.h>.
53841         (memset): Don't use BP_SYM.
53842         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53843         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53844         (__bzero): Don't use BP_SYM.
53845         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53846         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53847         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53848         <bp-sym.h> and <bp-asm.h>.
53849         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53850         pointers.
53851         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53852         <bp-sym.h> and <bp-asm.h>.
53853         (memcpy): Don't use BP_SYM.
53854         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53855         <bp-sym.h> and <bp-asm.h>.
53856         (memset): Don't use BP_SYM.
53857         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53858         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53859         (__bzero): Don't use BP_SYM.
53860         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53861         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53862         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53863         <bp-sym.h> and <bp-asm.h>.
53864         (__memchr): Don't use BP_SYM.
53865         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53866         <bp-sym.h> and <bp-asm.h>.
53867         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53868         pointers.
53869         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53870         <bp-sym.h> and <bp-asm.h>.
53871         (memcpy): Don't use BP_SYM.
53872         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53873         <bp-sym.h> and <bp-asm.h>.
53874         (__mempcpy): Don't use BP_SYM.
53875         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53876         <bp-sym.h> and <bp-asm.h>.
53877         (__memrchr): Don't use BP_SYM.
53878         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53879         <bp-sym.h> and <bp-asm.h>.
53880         (memset): Don't use BP_SYM.
53881         (__bzero): Likewise.
53882         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53883         <bp-sym.h> and <bp-asm.h>.
53884         (__rawmemchr): Don't use BP_SYM.
53885         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53886         <bp-sym.h> and <bp-asm.h>.
53887         (__STRCMP): Don't use BP_SYM.
53888         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53889         <bp-sym.h> and <bp-asm.h>.
53890         (strchr): Don't use BP_SYM.
53891         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53892         <bp-sym.h> and <bp-asm.h>.
53893         (__strchrnul): Don't use BP_SYM.
53894         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53895         <bp-sym.h> and <bp-asm.h>.
53896         (strlen): Don't use BP_SYM.
53897         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53898         <bp-sym.h> and <bp-asm.h>.
53899         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53900         pointers.
53901         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53902         <bp-sym.h> and <bp-asm.h>.
53903         (__strnlen): Don't use BP_SYM.
53904         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53905         <bp-sym.h> and <bp-asm.h>.
53906         (__GI__setjmp): Don't use BP_SYM.
53907         (_setjmp): Likewise.
53908         (__sigsetjmp): Likewise.
53909         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53910         (L(start_addresses)): Don't use BP_SYM.
53911         (_start): Likewise.
53912         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53913         <bp-asm.h>.
53914         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53915         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53916         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53917         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53918         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53919         <bp-asm.h>.
53920         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53921         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53922         about bounded pointers.
53923         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53924         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53925         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53926         <bp-asm.h>.
53927         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53928         about bounded pointers.  Remove GKM FIXME comments.
53929         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53930         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53931         <bp-asm.h>.
53932         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53933         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53934         Remove GKM FIXME comments.
53935         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53936         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53937         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53938         <bp-asm.h>.
53939         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53940         about bounded pointers.  Remove GKM FIXME comment.
53941         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53942         and <bp-asm.h>.
53943         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53944         pointers.
53945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53946         <bp-sym.h> and <bp-asm.h>.
53947         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53949         <bp-sym.h> and <bp-asm.h>.
53950         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53951         comment.
53953 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53955         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53956         call free(NULL).
53958 2013-03-05  David S. Miller  <davem@davemloft.net>
53960         * po/es.po: Update from translation team.
53962 2013-03-05  Andreas Jaeger  <aj@suse.de>
53964         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53965         <bits/mman-linux.h>.
53966         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53967         is fine.
53968         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53969         <bits/mman-linux.h> to end of file.
53970         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53971         is fine.
53972         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53973         <bits/mman-linux.h> to end of file.
53974         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53975         is fine.
53976         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53977         <bits/mman-linux.h> to end of file.
53979         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53980         (MCL_CURRENT, MCL_FUTURE): Define here.
53982 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53984         [BZ #15232]
53985         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53986         attribute_hidden.
53987         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53989 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53991         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53992         fourth parameter needed for rt_sigprocmask syscall.
53993         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53994         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53995         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53996         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53997         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53998         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54000 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54002         [BZ #13550]
54003         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54004         comment about bounded pointers.
54005         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54006         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54008 2013-03-04  Andreas Jaeger  <aj@suse.de>
54010         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54011         common definitions.
54013         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54014         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54015         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54016         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54017         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54018         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54020 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54022         [BZ #15055]
54023         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54024         __ieee754_sqrl instead of __sqrl.
54026 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54028         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54029         * sysdeps/powerpc/fpu_control.h: ... here.
54030         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54031         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54032         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54033         * sysdeps/powerpc/bits/mathinline.h: ... here.
54035 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54037         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54038         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54039         to just [NEED_DL_SYSINFO_DSO].
54040         * elf/dl-support.c: Likewise.
54041         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54042         * elf/rtld.c (dl_main): Likewise.
54043         * elf/setup-vdso.h (setup_vdso): Likewise.
54044         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54045         * sysdeps/unix/sysv/linux/dl-sysdep.c
54046         (_dl_discover_osversion): Likewise.
54048 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54050         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54051         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54053 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54055         * NEWS: Mention libm performance improvements and non-x86 PI
54056         futex support.
54058         * csu/libc-start.c (__pthread_initialize_minimal): Change
54059         function arguments.
54060         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54062 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54064         [BZ #13550]
54065         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54066         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54067         <bp-sym.h> and <bp-asm.h>.
54068         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54069         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54070         and <bp-asm.h>.
54071         (memcpy): Don't use BP_SYM.
54072         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54073         <bp-asm.h>.
54074         (__mpn_add_n): Don't use BP_SYM.
54075         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54076         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54077         and <bp-asm.h>.
54078         (__mpn_addmul_1): Don't use BP_SYM.
54079         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54080         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54081         <bp-sym.h>.
54082         (_setjmp): Don't use BP_SYM.
54083         (__novmx_setjmp): Likewise.
54084         (__GI__setjmp): Likewise.
54085         (__vmx_setjmp): Likewise.
54086         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54087         <bp-sym.h>.
54088         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54089         (__bzero): Don't use BP_SYM.
54090         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54091         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54092         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54093         <bp-sym.h> and <bp-asm.h>.
54094         (memcpy): Don't use BP_SYM.
54095         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54096         <bp-sym.h> and <bp-asm.h>.
54097         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54098         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54099         <bp-sym.h> and <bp-asm.h>.
54100         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54101         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54102         <bp-asm.h>.
54103         (__mpn_lshift): Don't use BP_SYM.
54104         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54105         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54106         <bp-asm.h>.
54107         (memset): Don't use BP_SYM.
54108         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54109         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54110         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54111         <bp-asm.h>.
54112         (__mpn_mul_1): Don't use BP_SYM.
54113         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54114         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54115         <bp-sym.h> and <bp-asm.h>.
54116         (memcmp): Don't use BP_SYM.
54117         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54118         <bp-sym.h> and <bp-asm.h>.
54119         (memcpy): Don't use BP_SYM.
54120         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54121         <bp-sym.h> and <bp-asm.h>.
54122         (memset): Don't use BP_SYM.
54123         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54124         <bp-sym.h> and <bp-asm.h>.
54125         (strncmp): Don't use BP_SYM.
54126         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54127         <bp-sym.h> and <bp-asm.h>.
54128         (memcpy): Don't use BP_SYM.
54129         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54130         <bp-sym.h> and <bp-asm.h>.
54131         (memset): Don't use BP_SYM.
54132         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54133         <bp-sym.h> and <bp-asm.h>.
54134         (__memchr): Don't use BP_SYM.
54135         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54136         <bp-sym.h> and <bp-asm.h>.
54137         (memcmp): Don't use BP_SYM.
54138         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54139         <bp-sym.h> and <bp-asm.h>.
54140         (memcpy): Don't use BP_SYM.
54141         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54142         <bp-sym.h> and <bp-asm.h>.
54143         (__mempcpy): Don't use BP_SYM.
54144         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54145         <bp-sym.h> and <bp-asm.h>.
54146         (__memrchr): Don't use BP_SYM.
54147         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54148         <bp-sym.h> and <bp-asm.h>.
54149         (memset): Don't use BP_SYM.
54150         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54151         <bp-sym.h> and <bp-asm.h>.
54152         (__rawmemchr): Don't use BP_SYM.
54153         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54154         <bp-sym.h> and <bp-asm.h>.
54155         (__STRCMP): Don't use BP_SYM.
54156         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54157         <bp-sym.h> and <bp-asm.h>.
54158         (strchr): Don't use BP_SYM.
54159         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54160         <bp-sym.h> and <bp-asm.h>.
54161         (__strchrnul): Don't use BP_SYM.
54162         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54163         <bp-sym.h> and <bp-asm.h>.
54164         (strlen): Don't use BP_SYM.
54165         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54166         <bp-sym.h> and <bp-asm.h>.
54167         (strncmp): Don't use BP_SYM.
54168         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54169         <bp-sym.h> and <bp-asm.h>.
54170         (__strnlen): Don't use BP_SYM.
54171         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54172         <bp-asm.h>.
54173         (__mpn_rshift): Don't use BP_SYM.
54174         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54175         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54176         <bp-sym.h> and <bp-asm.h>.
54177         (__sigsetjmp): Don't use BP_SYM.
54178         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54179         (L(start_addresses)): Don't use BP_SYM.
54180         (_start): Likewise.
54181         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54182         <bp-asm.h>.
54183         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54184         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54185         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54186         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54187         <bp-asm.h>.
54188         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54189         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54190         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54191         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54192         <bp-asm.h>.
54193         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54194         comments.
54195         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54196         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54197         <bp-asm.h>.
54198         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54199         FIXME comments.
54200         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54201         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54202         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54203         <bp-asm.h>.
54204         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54205         comment.
54206         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54207         and <bp-asm.h>.
54208         (strncmp): Don't use BP_SYM,
54209         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54210         <bp-asm.h>.
54211         (__mpn_sub_n): Don't use BP_SYM.
54212         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54213         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54214         and <bp-asm.h>.
54215         (__mpn_submul_1): Don't use BP_SYM.
54216         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54218         <bp-sym.h> and <bp-asm.h>.
54219         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54221         <bp-sym.h> and <bp-asm.h>.
54222         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54223         comment.
54225 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54228         Use ZK to minimize writes to Z.
54229         (sub_magnitudes): Simplify code a bit.
54230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54231         Use ZK to minimize writes to Z.
54232         (sub_magnitudes): Simplify code a bit.
54234 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54236         * csu/gmon-start.c: Add special exception to license text.
54238 2013-02-27  Richard Henderson  <rth@redhat.com>
54240         * scripts/config.guess: Update from config.git.
54241         * scripts/config.sub: Likewise.
54243 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54245         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54247         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54249         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54251         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54253         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54255 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54257         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54258         [$(build-shared = yes].
54260 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54262         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54263         (__mul): Reduce iterations for calculating mantissa.
54265         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54266         MPTWO.
54267         (__mpranred): Likewise.
54269         [BZ #15160]
54270         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54271         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54273 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54275         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54276         Define __attribute__.
54278 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54280         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54281         unused.
54282         * posix/regex_internal.h (__attribute): Remove.
54283         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54284         (re_string_context_at): Likewise.
54285         (bitset_not): Use __attribute__ and mark function as possibly
54286         unused.
54287         (bitset_merge): Likewise.
54288         (bitset_mask): Likewise.
54289         (re_string_char_size_at): Likewise.
54290         (re_string_wchar_at): Likewise.
54291         (re_string_elem_size_at): Likewise.
54293 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54295         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54296         code.
54297         (cc32): Likewise.
54299         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54300         (__acr): Likewise.
54301         (__cpy): Likewise.
54302         (norm): Likewise.
54303         (denorm): Likewise.
54304         (__dbl_mp): Likewise.
54305         (add_magnitudes): Likewise.
54306         (sub_magnitudes): Likewise.
54307         (__mul): Likewise.
54308         (__inv): Likewise.
54310         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54311         style.
54313         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54314         style.
54316         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54317         code.
54319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54320         up changes with default code.
54321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54322         Likewise.
54324 2013-02-24  Allan McRae  <allan@archlinux.org>
54326         * manual/socket.texi (The Internet Namespace): Order menu items
54327         to match that in the file.
54329         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54330         node listing of the info page menu.
54332 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54334         [BZ #13550]
54335         * sysdeps/i386/bp-asm.h: Remove file.
54336         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54337         (PARMS): Do not use macros from bp-asm.h.
54338         (S1): Likewise.
54339         (S2): Likewise.
54340         (SIZE): Likewise.
54341         (__mpn_add_n): Do not use BP_SYM
54342         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54343         "bp-asm.h".
54344         (PARMS): Do not use macros from bp-asm.h.
54345         (S1): Likewise.
54346         (SIZE): Likewise.
54347         (__mpn_addmul_1): Do not use BP_SYM
54348         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54349         "bp-asm.h".
54350         (PARMS): Do not use macros from bp-asm.h.
54351         (SIGMSK): Likewise.
54352         (_setjmp): Likewise.  Do not use BP_SYM.
54353         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54354         "bp-asm.h".
54355         (PARMS): Do not use macros from bp-asm.h.
54356         (SIGMSK): Likewise.
54357         (setjmp): Likewise.  Do not use BP_SYM.
54358         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54359         "bp-asm.h".
54360         (PARMS): Do not use macros from bp-asm.h.
54361         (__frexp): Do not use BP_SYM.
54362         (frexp): Likewise.
54363         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54364         "bp-asm.h".
54365         (PARMS): Do not use macros from bp-asm.h.
54366         (__frexpf): Do not use BP_SYM.
54367         (frexpf): Likewise.
54368         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54369         "bp-asm.h".
54370         (PARMS): Do not use macros from bp-asm.h.
54371         (__frexpl): Do not use BP_SYM.
54372         (frexpl): Likewise.
54373         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54374         "bp-asm.h".
54375         (PARMS): Do not use macros from bp-asm.h.
54376         (__remquo): Do not use BP_SYM.
54377         (remquo): Likewise.
54378         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54379         "bp-asm.h".
54380         (PARMS): Do not use macros from bp-asm.h.
54381         (__remquof): Do not use BP_SYM.
54382         (remquof): Likewise.
54383         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54384         "bp-asm.h".
54385         (PARMS): Do not use macros from bp-asm.h.
54386         (__remquol): Do not use BP_SYM.
54387         (remquol): Likewise.
54388         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54389         "bp-asm.h".
54390         (PARMS): Do not use macros from bp-asm.h.
54391         (DEST): Likewise.
54392         (SRC): Likewise.
54393         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54394         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54395         "bp-asm.h".
54396         (PARMS): Do not use macros from bp-asm.h.
54397         (strlen): Do not use BP_SYM.
54398         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54399         "bp-asm.h".
54400         (PARMS): Do not use macros from bp-asm.h.
54401         (S1): Likewise.
54402         (S2): Likewise.
54403         (SIZE): Likewise.
54404         (__mpn_add_n): Do not use BP_SYM.
54405         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54406         "bp-asm.h".
54407         (PARMS): Do not use macros from bp-asm.h.
54408         (S1): Likewise.
54409         (SIZE): Likewise.
54410         (__mpn_addmul_1): Do not use BP_SYM.
54411         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54412         weak_alias.
54413         (bzero): Likewise.
54414         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54415         "bp-asm.h".
54416         (PARMS): Do not use macros from bp-asm.h.
54417         (S): Likewise.
54418         (SIZE): Likewise.
54419         (__mpn_lshift): Do not use BP_SYM.
54420         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54421         "bp-asm.h".
54422         (PARMS): Do not use macros from bp-asm.h.
54423         (DEST): Likewise.
54424         (SRC): Likewise.
54425         (LEN): Likewise.
54426         (memcpy): Likewise.  Do not use BP_SYM.
54427         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54428         libc_hidden_def and weak_alias.
54429         (mempcpy): Do not use BP_SYM in weak_alias.
54430         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54431         "bp-asm.h".
54432         (PARMS): Do not use macros from bp-asm.h.
54433         (DEST): Likewise.
54434         (LEN): Likewise.
54435         [!BZERO_P] (CHR): Likewise.
54436         (memset): Likewise.  Do not use BP_SYM.
54437         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54438         "bp-asm.h".
54439         (PARMS): Do not use macros from bp-asm.h.
54440         (S1): Likewise.
54441         (SIZE): Likewise.
54442         (__mpn_mul_1): Do not use BP_SYM.
54443         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54444         "bp-asm.h".
54445         (PARMS): Do not use macros from bp-asm.h.
54446         (S): Likewise.
54447         (SIZE): Likewise.
54448         (__mpn_rshift): Do not use BP_SYM.
54449         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54450         "bp-asm.h".
54451         (PARMS): Do not use macros from bp-asm.h.
54452         (STR): Likewise.
54453         (CHR): Likewise.
54454         (strchr): Likewise.  Do not use BP_SYM.
54455         (index): Do not use BP_SYM in weak_alias.
54456         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54457         "bp-asm.h".
54458         (PARMS): Do not use macros from bp-asm.h.
54459         (DEST): Likewise.
54460         (SRC): Likewise.
54461         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54462         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54463         "bp-asm.h".
54464         (PARMS): Do not use macros from bp-asm.h.
54465         (strlen): Do not use BP_SYM.
54466         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54467         "bp-asm.h".
54468         (PARMS): Do not use macros from bp-asm.h.
54469         (S1): Likewise.
54470         (S2): Likewise.
54471         (SIZE): Likewise.
54472         (__mpn_sub_n): Do not use BP_SYM.
54473         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54474         "bp-asm.h".
54475         (PARMS): Do not use macros from bp-asm.h.
54476         (S1): Likewise.
54477         (SIZE): Likewise.
54478         (__mpn_submul_1): Do not use BP_SYM.
54479         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54480         "bp-asm.h".
54481         (PARMS): Do not use macros from bp-asm.h.
54482         (S1): Likewise.
54483         (S2): Likewise.
54484         (SIZE): Likewise.
54485         (__mpn_add_n): Do not use BP_SYM.
54486         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54487         weak_alias.
54488         (bzero): Likewise.
54489         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54490         "bp-asm.h".
54491         (PARMS): Do not use macros from bp-asm.h.
54492         (BLK2): Likewise.
54493         (LEN): Likewise.
54494         (memcmp): Do not use BP_SYM.
54495         (bcmp): Do not use BP_SYM in weak_alias.
54496         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54497         "bp-asm.h".
54498         (PARMS): Do not use macros from bp-asm.h.
54499         (DEST): Likewise.
54500         (SRC): Likewise.
54501         (LEN): Likewise.
54502         (memcpy): Likewise.  Do not use BP_SYM.
54503         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54504         "bp-asm.h".
54505         (PARMS): Do not use macros from bp-asm.h.
54506         (DEST): Likewise.
54507         (SRC): Likewise.
54508         (LEN): Likewise.
54509         (memmove): Likewise.  Do not use BP_SYM.
54510         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54511         "bp-asm.h".
54512         (PARMS): Do not use macros from bp-asm.h.
54513         (DEST): Likewise.
54514         (SRC): Likewise.
54515         (LEN): Likewise.
54516         (__mempcpy): Likewise.  Do not use BP_SYM.
54517         (mempcpy): Do not use BP_SYM in weak_alias.
54518         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54519         "bp-asm.h".
54520         (PARMS): Do not use macros from bp-asm.h.
54521         (DEST): Likewise.
54522         (LEN): Likewise.
54523         [!BZERO_P] (CHR): Likewise.
54524         (memset): Likewise.  Do not use BP_SYM.
54525         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54526         "bp-asm.h".
54527         (PARMS): Do not use macros from bp-asm.h.
54528         (STR2): Likewise.
54529         (strcmp): Do not use BP_SYM.
54530         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54531         "bp-asm.h".
54532         (PARMS): Do not use macros from bp-asm.h.
54533         (STR): Likewise.
54534         (DELIM): Likewise.
54535         [USE_AS_STRTOK_R] (SAVE): Likewise.
54536         (FUNCTION): Likewise.  Do not use BP_SYM.
54537         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54538         aliases.
54539         (strtok_r): Likewise.
54540         (__GI___strtok_r): Likewise.
54541         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54542         (PARMS): Do not use macros from bp-asm.h.
54543         (S): Likewise.
54544         (SIZE): Likewise.
54545         (__mpn_lshift): Do not use BP_SYM.
54546         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54547         (PARMS): Do not use macros from bp-asm.h.
54548         (STR): Likewise.
54549         (CHR): Likewise.
54550         (__memchr): Do not use BP_SYM.
54551         (memchr): Do not use BP_SYM in weak_alias.
54552         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54553         (PARMS): Do not use macros from bp-asm.h.
54554         (BLK2): Likewise.
54555         (LEN): Likewise.
54556         (memcmp): Do not use BP_SYM.
54557         (bcmp): Do not use BP_SYM in weak_alias.
54558         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54559         (PARMS): Do not use macros from bp-asm.h.
54560         (S1): Likewise.
54561         (SIZE): Likewise.
54562         (__mpn_mul_1): Do not use BP_SYM.
54563         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54564         "bp-asm.h".
54565         (PARMS): Do not use macros from bp-asm.h.
54566         (STR): Likewise.
54567         (CHR): Likewise.
54568         (__rawmemchr): Do not use BP_SYM.
54569         (rawmemchr): Do not use BP_SYM in weak_alias.
54570         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54571         (PARMS): Do not use macros from bp-asm.h.
54572         (S): Likewise.
54573         (SIZE): Likewise.
54574         (__mpn_rshift): Do not use BP_SYM.
54575         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54576         (PARMS): Do not use macros from bp-asm.h.
54577         (SIGMSK): Likewise.
54578         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54579         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54580         (_start): Do not use BP_SYM.
54581         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54582         (PARMS): Do not use macros from bp-asm.h.
54583         (DEST): Likewise.
54584         (SRC): Likewise.
54585         (__stpcpy): Likewise.  Do not use BP_SYM.
54586         (stpcpy): Do not use BP_SYM in weak_alias.
54587         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54588         "bp-asm.h".
54589         (PARMS): Do not use macros from bp-asm.h.
54590         (DEST): Likewise.
54591         (SRC): Likewise.
54592         (LEN): Likewise.
54593         (__stpncpy): Likewise.  Do not use BP_SYM.
54594         (stpncpy): Do not use BP_SYM in weak_alias.
54595         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54596         (PARMS): Do not use macros from bp-asm.h.
54597         (STR): Likewise.
54598         (CHR): Likewise.
54599         (strchr): Likewise.  Do not use BP_SYM.
54600         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54601         "bp-asm.h".
54602         (PARMS): Do not use macros from bp-asm.h.
54603         (STR): Likewise.
54604         (CHR): Likewise.
54605         (__strchrnul): Likewise.  Do not use BP_SYM.
54606         (strchrnul): Do not use BP_SYM in weak_alias.
54607         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54608         "bp-asm.h".
54609         (PARMS): Do not use macros from bp-asm.h.
54610         (STOP): Likewise.
54611         (strcspn): Do not use BP_SYM.
54612         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54613         "bp-asm.h".
54614         (PARMS): Do not use macros from bp-asm.h.
54615         (STR): Likewise.
54616         (STOP): Likewise.
54617         (strpbrk): Likewise.  Do not use BP_SYM.
54618         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54619         "bp-asm.h".
54620         (PARMS): Do not use macros from bp-asm.h.
54621         (STR): Likewise.
54622         (CHR): Likewise.
54623         (strrchr): Likewise.  Do not use BP_SYM.
54624         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54625         (PARMS): Do not use macros from bp-asm.h.
54626         (SKIP): Likewise.
54627         (strspn): Do not use BP_SYM.
54628         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54629         (PARMS): Do not use macros from bp-asm.h.
54630         (STR): Likewise.
54631         (DELIM): Likewise.
54632         (SAVE): Likewise.
54633         (FUNCTION): Likewise.  Do not use BP_SYM.
54634         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54635         aliases.
54636         (strtok_r): Likewise.
54637         (__GI___strtok_r): Likewise.
54638         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54639         (PARMS): Do not use macros from bp-asm.h.
54640         (S1): Likewise.
54641         (S2): Likewise.
54642         (SIZE): Likewise.
54643         (__mpn_sub_n): Do not use BP_SYM.
54644         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54645         "bp-asm.h".
54646         (PARMS): Do not use macros from bp-asm.h.
54647         (S1): Likewise.
54648         (SIZE): Likewise.
54649         (__mpn_submul_1): Do not use BP_SYM.
54650         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54651         <bp-sym.h>.
54652         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54653         and <bp-asm.h>.
54654         (PARMS): Do not use macros from bp-asm.h.
54655         (FLAGS): Likewise.
54656         (PTID): Likewise.
54657         (TLS): Likewise.
54658         (CTID): Likewise.
54659         (__clone): Do not use BP_SYM.
54660         (clone): Do not use BP_SYM in weak_alias.
54661         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54662         and <bp-asm.h>.
54663         (PARMS): Do not use macros from bp-asm.h.
54664         (LEN): Likewise.
54665         (__mmap64): Do not use BP_SYM.
54666         (mmap64): Do not use BP_SYM in weak_alias.
54667         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54668         <bp-sym.h> and <bp-asm.h>.
54669         (PARMS): Do not use macros from bp-asm.h.
54670         (__posix_fadvise64_l64): Do not use BP_SYM.
54671         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54672         (PARMS): Do not use macros from bp-asm.h.
54673         (NSOPS): Likewise.
54674         (semtimedop): Do not use BP_SYM.
54675         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54676         and <bp-asm.h>.
54678 2013-02-21  Allan McRae  <allan@archlinux.org>
54680         * manual/message.texi (Charset conversion in gettext):
54681         Move @end statement to beginning of line.
54683 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54685         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54686         static.
54687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54688         Likewise.
54690         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54691         (denorm): Likewise.
54692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54695 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54697         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54698         tail-call to the resolved function if pltexit isn't needed.
54700 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54702         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54703         or Y being zero as being unlikely.
54704         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54705         Likewise.
54707 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54709         * manual/nss.texi (System Databases and Name Service Switch):
54710         Remove frobnicate @pxref.
54712 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54714         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54715         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54717 2013-02-20  Petr Machata  <pmachata@redhat.com>
54719         * elf/elf.h (R_ARM_TARGET1): New macro.
54720         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54721         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54722         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54723         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54724         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54725         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54726         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54727         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54728         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54729         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54730         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54731         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54732         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54733         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54734         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54735         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54736         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54737         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54738         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54739         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54740         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54741         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54742         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54743         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54744         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54745         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54746         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54747         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54748         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54749         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54750         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54751         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54752         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54753         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54754         (R_ARM_THM_GOT_BREL12): Likewise.
54755         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54756         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54757         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54758         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54759         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54760         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54761         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54762         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54763         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54765 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54767         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54768         __attribute_used__ to __attribute__ ((unused)).
54770 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54772         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54773         powerpc mpa.c.
54774         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54775         comment formatting.
54776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54778 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54780         [BZ #13550]
54781         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54782         Remove macro.
54783         (ENTER): Remove both macro definitions.
54784         (LEAVE): Likewise.
54785         (CHECK_BOUNDS_LOW): Likewise.
54786         (CHECK_BOUNDS_HIGH): Likewise.
54787         (CHECK_BOUNDS_BOTH): Likewise.
54788         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54789         (RETURN_BOUNDED_POINTER): Likewise.
54790         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54791         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54792         (POP_ERRNO_LOCATION_RETURN): Likewise.
54793         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54794         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54795         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54796         macros.
54797         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54798         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54799         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54800         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54801         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54802         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54803         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54804         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54805         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54806         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54807         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54808         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54809         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54810         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54811         removed macros.
54812         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54813         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54814         macros.
54815         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54816         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54817         * sysdeps/i386/i586/memset.S (memset): Likewise.
54818         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54819         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54820         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54821         macros.
54822         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54823         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54824         Change uses of L(2) to L(out).
54825         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54826         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54827         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54828         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54829         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54830         removed macros.
54831         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54832         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54833         macros.
54834         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54835         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54836         (RETURN): Do not use macro LEAVE.
54837         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54838         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54839         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54840         * sysdeps/i386/i686/memset.S (memset): Likewise.
54841         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54842         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54843         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54844         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54845         Likewise.
54846         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54847         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54848         L(1_2) and L(1_3) into L(1).
54849         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54850         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54851         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54852         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54853         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54854         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54855         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54856         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54857         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54858         macros.
54859         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54860         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54861         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54862         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54863         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54864         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54865         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54866         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54867         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54868         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54869         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54870         * sysdeps/i386/strspn.S (strspn): Likewise.
54871         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54872         conditional code.
54873         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54874         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54875         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54876         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54877         L(1_3) into L(1_1).
54878         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54879         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54880         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54881         macros.
54882         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54884 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54886         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54887         macro.
54889 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54891         * math/atest-exp.c (exp_mpn): Remove ROUND.
54892         * math/atest-exp2.c (exp_mpn): Likewise.
54893         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54895         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54896         * stdlib/tst-tls-atexit-lib.c: Likewise.
54897         * stdlib/tst-tls-atexit.c: Likewise.
54899 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54901         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54902         and __attribute_alloc_size__.
54904 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54906         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54907         __attribute_alloc_size__.
54908         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54909         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54911 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54913         * include/programs/xmalloc.h: New file.
54914         * catgets/gencat.c: Include it.
54915         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54916         * elf/pldd.c: Likewise.
54917         * iconv/iconv_charmap.c: Likewise.
54918         * iconv/iconvconfig.c: Likewise.
54919         * iconv/strtab.c: Likewise.
54920         * locale/programs/locale.c: Likewise.
54921         * locale/programs/localedef.h: Likewise.
54922         * locale/programs/simple-hash.c: Likewise.
54923         * nscd/nscd.h: Likewise.
54924         * nss/makedb.c: Likewise.
54925         * sysdeps/generic/ldconfig.h: Likewise.
54927 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54929         * Versions.def: Add GLIBC_2.18.
54930         * include/link.h (struct link_map): New member l_tls_dtor_count.
54931         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54932         (__call_tls_dtors): Likewise.
54933         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54934         __cxa_thread_atexit_impl.
54935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54936         Likewise.
54937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54938         Likewise.
54939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54940         Likewise.
54941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54942         Likewise.
54943         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54945         Likewise.
54946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54947         Likewise.
54948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54950         Likewise.
54951         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54952         (tests): Add test case tst-tls-atexit.
54953         (modules-names): Add shared library for tst-tls-atexit.
54954         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54955         (GLIBC_PRIVATE): Add __call_tls_dtors.
54956         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54957         for libstdc++.
54958         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54959         * stdlib/tst-tls-atexit.c: New test case.
54960         * stdlib/tst-tls-atexit-lib.c: New test case.
54962         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54964         * elf/Versions (ld): Add _dl_find_dso_for_object.
54965         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54966         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54967         (dl_open_worker): Use _dl_find_dso_for_object.
54968         * elf/dl-sym.c (do_sym): Likewise.
54969         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54971 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54973         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54974         Syntactic changes only.
54975         (_dl_runtime_profile): Do a tail-call to the resolved function.
54977 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54979         [BZ #13550]
54980         * sysdeps/x86_64/bp-asm.h: Remove file.
54981         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54982         <bp-sym.h> and <bp-asm.h>.
54983         (__clone): Do not use BP_SYM.
54984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54985         <bp-sym.h> and <bp-asm.h>.
54986         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54987         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54988         "bp-asm.h".
54989         (_setjmp): Do not use BP_SYM.
54990         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54991         "bp-asm.h".
54992         (setjmp): Do not use BP_SYM.
54993         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54994         libc_hidden_def.
54995         (mempcpy): Do not use BP_SYM in weak_alias.
54996         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54997         "bp-asm.h".
54998         (strchr): Do not use BP_SYM.
54999         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55000         "bp-asm.h".
55001         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55002         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55003         (_start): Do not use BP_SYM.
55004         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55005         "bp-asm.h".
55006         (strcat): Do not use BP_SYM.
55007         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55008         "bp-asm.h".
55009         (STRCMP): Do not use BP_SYM.
55010         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55011         "bp-asm.h".
55012         (STRCPY): Do not use BP_SYM.
55013         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55014         "bp-asm.h".
55015         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55016         "bp-asm.h".
55017         (FUNCTION): Do not use BP_SYM.
55018         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55019         weak_alias.
55020         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55022 2013-02-17  Andreas Jaeger  <aj@suse.de>
55024         * time/Versions: Sort entries.
55025         * string/Versions: Likewise.
55026         * resolv/Versions: Likewise.
55027         * posix/Versions: Likewise.
55028         * iconv/Versions: Likewise.
55029         * elf/Versions: Likewise.
55030         * wcsmbs/Versions: Likewise.
55032 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55034         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55035         loop termination condition.
55037         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55038         variable to calculate EZ.
55039         (__sqr): Likewise.
55041         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55042         the lower precision input.
55044 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55046         [BZ #13550]
55047         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55048         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55049         (run-via-rtld-prefix): Do not handle %-bp tests.
55050         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55051         (all-object-suffixes): Remove .ob.
55052         (bppfx): Remove variable.
55053         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55054         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55055         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55056         [$(build-bounded) = yes] (libtype.ob): Likewise.
55057         * Makerules (elide-routines.ob): Remove variable.
55058         (do-tests-clean): Do not handle *-bp.out.
55059         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55060         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55061         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55062         (tests): Do not include $(tests-bp.out).
55063         (xtests): Do not include $(xtests-bp.out).
55064         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55065         [$(build-bounded) = yes] ($(addprefix
55066         $(objpfx),$(binaries-bounded))): Remove rule.
55067         ($(objpfx)%-bp.out): Remove rule.
55068         * config.make.in (build-bounded): Remove variable.
55069         * crypt/Makefile [$(build-bounded) = yes]
55070         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55071         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55072         append to variable.
55073         [$(build-bounded) = yes] (install-lib): Likewise.
55074         [$(build-bounded) = yes] (generated): Likewise.
55075         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55076         Remove rule.
55077         * intl/Makefile [$(build-bounded) = yes]
55078         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55079         * math/Makefile [$(build-bounded) = yes]
55080         ($(tests:%=$(objpfx)%-bp): Likewise.
55081         * misc/Makefile [$(build-bounded) = yes]
55082         ($(objpfx)tst-tsearch-bp): Likewise.
55083         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55084         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55085         Remove dependency.
55086         * string/Makefile (o-objects.ob): Remove variable.
55087         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55088         (CFLAGS-.ob): Remove variable.
55089         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55090         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55091         both definitions of variable.
55092         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55093         (ASFLAGS-.ob): Remove variable.
55095 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55097         [BZ #13550]
55098         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55099         Remove __BOUNDED_POINTERS__ from condition.
55100         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55101         * string/bits/string2.h [!__NO_STRING_INLINES &&
55102         !__BOUNDED_POINTERS__]: Likewise.
55103         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55104         Likewise.
55105         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55106         Remove conditional code.
55107         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55108         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55109         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55110         condition.
55112         [BZ #13550]
55113         * csu/libc-start.c: Do not include <bp-sym.h>.
55114         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55115         * elf/dl-open.c: Do not include <bp-sym.h>.
55116         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55117         * math/fegetenv.c: Do not include <bp-sym.h>.
55118         (fegetenv): Do not use BP_SYM in versioned symbols.
55119         * nptl/sysdeps/pthread/bits/libc-lockP.h
55120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55121         <bp-sym.h>.
55122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55123         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55125         (__pthread_mutex_destroy): Likewise.
55126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55127         (__pthread_mutex_lock): Likewise.
55128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55129         (__pthread_mutex_trylock): Likewise.
55130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55131         (__pthread_mutex_unlock): Likewise.
55132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55133         (__pthread_mutexattr_init): Likewise.
55134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55135         (__pthread_mutexattr_destroy): Likewise.
55136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55137         (__pthread_mutexattr_settype): Likewise.
55138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55139         (__pthread_rwlock_init): Likewise.
55140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55141         (__pthread_rwlock_destroy): Likewise.
55142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55143         (__pthread_rwlock_rdlock): Likewise.
55144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55145         (__pthread_rwlock_tryrdlock): Likewise.
55146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55147         (__pthread_rwlock_wrlock): Likewise.
55148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55149         (__pthread_rwlock_trywrlock): Likewise.
55150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55151         (__pthread_rwlock_unlock): Likewise.
55152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55153         (__pthread_key_create): Likewise.
55154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55155         (__pthread_setspecific): Likewise.
55156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55157         (__pthread_getspecific): Likewise.
55158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55159         Likewise.
55160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55161         (_pthread_cleanup_push_defer): Likewise.
55162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55163         (_pthread_cleanup_pop_restore): Likewise.
55164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55165         (pthread_setcancelstate): Likewise.
55166         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55167         <bp-sym.h>.
55168         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55169         (memchr): Do not use BP_SYM in weak_alias.
55170         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55171         (fegetenv): Do not use BP_SYM in versioned symbols.
55172         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55173         (fesetenv): Do not use BP_SYM in versioned symbols.
55174         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55175         (feupdateenv): Do not use BP_SYM in versioned symbols.
55176         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55177         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55178         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55179         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55180         (open64): Do not use BP_SYM in weak_alias.
55181         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55182         (fegetenv): Do not use BP_SYM in versioned symbols.
55183         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55184         (fesetenv): Do not use BP_SYM in versioned symbols.
55185         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55186         (feupdateenv): Do not use BP_SYM in versioned symbols.
55187         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55188         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55189         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55190         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55191         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55192         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55193         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55194         <bp-sym.h>.
55195         (__libc_start_main): Do not use BP_SYM.
55197 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55200         redundant return line.
55201         (norm): Likewise.
55202         (denorm): Likewise.
55203         (dbl_mp): Likewise.
55204         (sub_magnitudes): Likewise.
55205         (__add): Likewise.
55206         (__sub): Likewise.
55207         (__mul): Likewise.
55208         (__inv): Likewise.
55209         (__dvd): Likewise.
55210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55211         (norm): Likewise.
55212         (denorm): Likewise.
55213         (dbl_mp): Likewise.
55214         (sub_magnitudes): Likewise.
55215         (__add): Likewise.
55216         (__sub): Likewise.
55217         (__mul): Likewise.
55218         (__inv): Likewise.
55219         (__dvd): Likewise.
55221         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55222         instead of __mul.
55223         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55224         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55225         (cc32): Likewise.
55227         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55228         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55229         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55230         of __mul for squares.
55231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55232         function
55233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55234         Likewise.
55235         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55236         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55238 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55240         [BZ #13550]
55241         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55242         code.
55243         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55244         prototype or function definition.  Rename ubp_* variables and
55245         parameters.  Remove argv definitions conditional on
55246         [__BOUNDED_POINTERS__].
55247         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55248         * elf/dl-runtime.c (_dl_fixup): Likewise.
55249         * include/set-hooks.h (RUN_HOOK): Likewise.
55250         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55251         definition.
55252         * string/strcpy.c (strcpy): Do not use __unbounded.
55253         * sysdeps/generic/frame.h (struct layout): Likewise.
55254         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55255         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55256         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55257         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55258         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55259         (__backtrace): Likewise.
55260         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55261         use __ptrvalue.
55262         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55263         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55264         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55265         Likewise.
55266         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55267         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55268         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55269         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55270         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55271         Do not use __unbounded.
55272         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55273         Rename __unboundedrlimits parameter to rlimits in prototype.
55274         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55275         Do not use __unbounded.
55276         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55277         not use __ptrvalue.
55278         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55279         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55280         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55281         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55282         __ptrvalue or __unbounded.
55283         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55284         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55285         use __unbounded.
55286         (__new_msgctl): Do not use __ptrvalue.
55287         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55288         __unbounded.
55289         (__libc_msgrcv): Do not use __ptrvalue.
55290         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55291         startup_info): Do not use __unbounded.
55292         (__libc_start_main): Likewise.  Rename ubp_* variables and
55293         parameters.  Remove argv definitions conditional on
55294         [__BOUNDED_POINTERS__].
55295         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55296         __ptrvalue.
55297         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55298         use __unbounded.
55299         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55300         or __ptrvalue.
55301         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55302         use __unbounded.
55303         (__new_shmctl): Do not use __ptrvalue.
55304         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55305         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55306         Likewise.
55307         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55308         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55309         (__libc_sigaction): Likewise.
55310         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55311         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55312         Likewise.
55313         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55315 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55317         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55319         * string/mempcpy.c: Implement by calling memcpy.
55321 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55323         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55325         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55326         evaluation.
55328         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55329         values in the mantissa.
55331         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55332         minimize writes to Z.
55333         (sub_magnitudes): Simplify code a bit.
55335 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55337         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55338         from the message.  The linker prefixes all warnings with that already.
55340 2013-02-12  Andreas Schwab  <schwab@suse.de>
55342         [BZ #15078]
55343         * posix/regexec.c (extend_buffers): Add parameter min_len.
55344         (check_matching): Pass minimum needed length.
55345         (clean_state_log_if_needed): Likewise.
55346         (get_subexp): Likewise.
55347         * posix/Makefile (tests): Add bug-regex34.
55348         (bug-regex34-ENV): Define.
55349         * posix/bug-regex34.c: New file.
55351         [BZ #11561]
55352         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55353         elements compare against the byte sequence of it, not its name.
55354         * posix/Makefile (tests): Add bug-regex35.
55355         (bug-regex35-ENV): Define.
55356         * posix/bug-regex35.c: New file.
55358 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55360         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55361         comment.
55362         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55363         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55364         (CHECK_EOL): Add undef.
55366 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55368         * bits/stdlib-bsearch.h: New file.
55369         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55370         * stdlib/stdlib.h: Likewise.
55372 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55374         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55375         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55376         declaration.
55377         * manual/search.texi (Array Search Function): Add missing const in
55378         lfind prototype.
55379         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55380         declaration to use rlim_t.
55381         (Basic Scheduling Functions): Remove erroneous const from
55382         sched_getparam prototype.  Remove erroneous * from
55383         sched_get_priority_max and sched_get_priority_min prototypes.
55384         (Resource Usage): Fix summary @comment on vtimes to refer to
55385         sys/vtimes.h rather than vtimes.h.
55386         Add missing *s in vtimes prototype.
55387         (Limits on Resources): Fix ulimit prototype to return long int.
55388         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55389         prototypes to use long int rather than double.
55390         (BSD Random): Fix initstate and setstate to use char *, not void *.
55391         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55392         prototype to make second argument 'struct aiocb64 *const[]'.
55393         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55394         (Status of AIO Operations): Remove erroneous const in aio_return and
55395         aio_return64 prototypes.
55396         (Synchronizing I/O): Fix sync prototype to return void.
55397         * manual/startup.texi (Suboptions): Remove an erroneous const in
55398         getsubopt prototype.
55399         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55400         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55401         use size_t rather than int.
55402         (Scanning All Users): Likewise for getpwent_r.
55403         (Setting Groups): Add missing const to setgroups prototype.
55404         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55405         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55406         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55407         'const void *' rather than 'const char *'.
55408         (Host Address Functions): Likewise for inet_ntop.
55409         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55410         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55411         ssize_t for return value.
55412         (Sending Data): Likewise for send, sendto, sendmsg.
55413         (Socket Option Functions): Add a missing const in setsockopt prototype.
55414         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55415         use wchar_t for the argument.
55416         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55417         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55418         take no arguments.
55419         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55420         double/float/long double for second argument.
55421         Fix return types of significand, significandf, significandl.
55422         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55423         argument in fchmod prototype.
55424         (File Owner): Use uid_t and gid_t in fchown prototype.
55425         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55426         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55427         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55428         use 'const struct dirent **' as argument types to CMP function pointer
55429         argument.
55430         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55431         (File Times): Fix summary magic @comment for struct utimbuf and utime
55432         to refer to utime.h, not time.h.
55433         * manual/string.texi (Argz Functions): Add missing const in
55434         argz_extract and argz_next prototypes.
55435         (Finding Tokens in a String): Likewise for basename.
55436         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55437         (Copying and Concatenation): Fix typo in wmemmove prototype.
55438         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55439         (Signal Stack): Remove erroneous const in sigstack prototype.
55440         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55441         prototype.
55442         (Simple Calendar Time): Likewise for stime.
55443         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55444         prototype.
55445         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55446         say sys/sysctl.h instead.
55447         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55448         and vsyslog prototypes.
55450 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55452         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55453         Remove.
55455 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55457         * misc/sys/mman.h: Fix typo in mremap comment.
55459 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55461         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55462         the '\0' terminator.
55464 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55466         [BZ #13550]
55467         * debug/segfault.c: Don't include <bp-checks.h>.
55468         * sysdeps/generic/bp-checks.h: Remove file.
55469         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55470         (__GETDENTS): Don't use CHECK_N.
55471         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55472         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55473         (__getgroups): Don't use CHECK_N.
55474         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55475         (setgroups): Don't use CHECK_N.
55476         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55477         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55478         (__libc_msgrcv): Don't use CHECK_N.
55479         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55480         (__libc_msgsnd): Don't use CHECK_N.
55481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55482         <bp-checks.h>.
55483         (__libc_pread): Don't use CHECK_N.
55484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55485         include <bp-checks.h>.
55486         (__libc_pread64): Don't use CHECK_N.
55487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55488         include <bp-checks.h>.
55489         (__libc_pwrite): Don't use CHECK_N.
55490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55491         include <bp-checks.h>.
55492         (__libc_pwrite64): Don't use CHECK_N.
55493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55494         <bp-checks.h>.
55495         (__libc_pread): Don't use CHECK_N.
55496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55497         include <bp-checks.h>.
55498         (__libc_pread64): Don't use CHECK_N.
55499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55500         include <bp-checks.h>.
55501         (__libc_pwrite): Don't use CHECK_N.
55502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55503         include <bp-checks.h>.
55504         (__libc_pwrite64): Don't use CHECK_N.
55505         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55506         (do_pread): Don't use CHECK_N.
55507         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55508         (do_pread64): Don't use CHECK_N.
55509         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55510         (do_pwrite): Don't use CHECK_N.
55511         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55512         (do_pwrite64): Don't use CHECK_N.
55513         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55514         (__libc_readv): Don't use CHECK_N.
55515         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55516         (semop): Don't use CHECK_N.
55517         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55518         <bp-checks.h>.
55519         (semtimedop): Don't use CHECK_N.
55520         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55521         (__libc_pread): Don't use CHECK_N.
55522         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55523         <bp-checks.h>.
55524         (__libc_pread64): Don't use CHECK_N.
55525         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55526         <bp-checks.h>.
55527         (__libc_pwrite): Don't use CHECK_N.
55528         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55529         <bp-checks.h>.
55530         (__libc_pwrite64): Don't use CHECK_N.
55531         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55532         <bp-checks.h>.
55533         (__libc_msgrcv): Don't use CHECK_N.
55534         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55535         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55536         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55537         (__libc_writev): Don't use CHECK_N.
55539 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55541         * string/strcpy.c: Removed unused variable.
55543         * Makeconfig (+sysdep-includes): Define with := rather than =.
55544         Use an existing include/ subdir of each sysdeps dir before it.
55546 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55548         * nscd/connection.c (register_traced_file): Comment function.
55549         [HAVE_INOTIFY] (union __inev): Define.
55550         [HAVE_INOTIFY] (inotify_check_files): New function.
55551         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55552         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55553         clear_db_cache.
55554         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55556 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55558         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55559         loaded if not already and that a failure is permanent.
55561 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55563         [BZ #15006]
55564         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55565         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55567 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55569         [BZ #13550]
55570         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55571         (CHECK_1_NULL_OK): Likewise.
55572         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55573         (__fxstat): Do not use CHECK_1.
55574         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55575         <bp-checks.h>.
55576         (___fxstat64): Do not use CHECK_1.
55577         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55578         <bp-checks.h>.
55579         (__fxstatat): Do not use CHECK_1.
55580         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55581         <bp-checks.h>.
55582         (__fxstatat64): Do not use CHECK_1.
55583         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55584         <bp-checks.h>.
55585         (__fxstat): Do not use CHECK_1.
55586         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55587         <bp-checks.h>.
55588         (__fxstatat): Do not use CHECK_1.
55589         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55590         <bp-checks.h>.
55591         (__getresgid): Do not use CHECK_1.
55592         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55593         <bp-checks.h>.
55594         (__getresuid): Do not use CHECK_1.
55595         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55596         <bp-checks.h>.
55597         (__lxstat): Do not use CHECK_1.
55598         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55599         <bp-checks.h>.
55600         (__old_msgctl): Do not use CHECK_1.
55601         (__new_msgctl): Likewise.
55602         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55603         <bp-checks.h>.
55604         (__new_setrlimit): Do not use CHECK_1.
55605         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55606         <bp-checks.h>.
55607         (__old_shmctl): Do not use CHECK_1.
55608         (__new_shmctl): Likewise.
55609         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55610         <bp-checks.h>.
55611         (__xstat): Do not use CHECK_1.
55612         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55613         (__lxstat): Do not use CHECK_1.
55614         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55615         <bp-checks.h>.
55616         (___lxstat64): Do not use CHECK_1.
55617         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55618         (__old_msgctl): Do not use CHECK_1.
55619         (__new_msgctl): Likewise.
55620         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55621         <bp-checks.h>.
55622         (__gettimeofday): Do not use CHECK_1.
55623         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55624         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55625         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55626         <bp-checks.h>.
55627         (__gettimeofday): Do not use CHECK_1.
55628         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55629         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55630         (__new_shmctl): Do not use CHECK_1.
55631         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55632         <bp-checks.h>.
55633         (do_sigtimedwait): Do not use CHECK_1.
55634         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55635         <bp-checks.h>.
55636         (do_sigwaitinfo): Do not use CHECK_1.
55637         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55638         <bp-checks.h>.
55639         (msgctl): Do not use CHECK_1.
55640         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55641         <bp-checks.h>.
55642         (shmctl): Do not use CHECK_1.
55643         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55644         (ustat): Do not use CHECK_1.
55645         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55646         <bp-checks.h>.
55647         (__fxstat): Do not use CHECK_1.
55648         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55649         <bp-checks.h>.
55650         (__fxstatat): Do not use CHECK_1.
55651         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55652         <bp-checks.h>.
55653         (__lxstat): Do not use CHECK_1.
55654         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55655         <bp-checks.h>.
55656         (__xstat): Do not use CHECK_1.
55657         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55658         (__xstat): Do not use CHECK_1.
55659         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55660         (___xstat64): Do not use CHECK_1.
55662         [BZ #13550]
55663         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55664         definitions.
55665         (CHECK_BOUNDS_HIGH): Likewise.
55666         * string/strcpy.c: Do not include <bp-checks.h>.
55667         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55669 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55671         * nscd/nscd-client.h (__nscd_drop_map_ref):
55672         Add __attribute__ ((unused)).
55673         * nis/nss-nisplus.h (niserr2nss): Likewise.
55675         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55676         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55678         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55679         Remove inline keyword.
55680         * include/rounding-mode.h (round_away): Likewise.
55681         * libio/wfileops.c (adjust_wide_data): Likewise.
55682         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55683         (__m128i_strloadu_tolower): Likewise.
55684         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55685         (__m128i_strloadu_tolower): Likewise.
55686         * time/mktime.c (ydhms_diff): Likewise.
55687         * locale/elem-hash.h (elem_hash): Likewise.
55688         * locale/setlocale.c (setdata): Likewise.
55689         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55690         (re_string_wchar_at): Likewise.
55691         (bitset_not, bitset_merge, bitset_mask): Likewise.
55692         [!(__GNUC__ > 3)] (inline): Remove macro.
55693         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55694         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55695         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55696         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55697         * string/memcmp.c (memcmp_bytes): Likewise.
55698         * locale/programs/locarchive.c (compute_hashval): Likewise.
55699         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55700         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55701         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55702         * nss/getent.c (print_rpc, print_protocols): Likewise.
55703         (print_passwd, print_group, print_aliases): Likewise.
55704         * nis/nss-nisplus.h (niserr2nss): Likewise.
55705         * nscd/connections.c (restart_p): Likewise.
55706         Change return type to bool.
55708 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55710         * Makeconfig (all-Depend-files): Add existing
55711         $(sorted-subdirs:=/Depend) files.
55712         (all-subdirs): Remove nss.
55713         * sysdeps/unix/inet/Subdirs: Add it here instead.
55714         * hesiod/Depend: New file.
55716         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55717         instead of calling alloca.
55719         * io/lseek.c (__lseek): Rename to __libc_lseek.
55720         Define __lseek as an alias.
55722         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55724 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55726         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55727         else clause and remove check for non-standard endianness.
55729 2013-02-04  David S. Miller  <davem@davemloft.net>
55731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55733 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55735         [BZ #13550]
55736         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55737         (__ubp_memchr): Remove prototype.
55738         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55739         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55740         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55741         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55742         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55743         Remove alias.
55744         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55745         (__ubp_memchr): Likewise.
55746         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55747         (__ubp_memchr): Likewise.
55748         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55749         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55750         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55751         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55752         CHECK_STRING.
55753         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55754         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55755         (__getcwd): Do not use CHECK_STRING.
55756         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55757         <bp-checks.h>.
55758         (__real_chown): Do not use CHECK_STRING.
55759         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55760         <bp-checks.h>.
55761         (fchownat): Do not use CHECK_STRING.
55762         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55763         CHECK_STRING.
55764         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55765         <bp-checks.h>.
55766         (__lchown): Do not use CHECK_STRING.
55767         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55768         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55769         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55770         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55772         include <bp-checks.h>.
55773         (truncate64): Do not use CHECK_STRING.
55774         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55775         <bp-checks.h>.
55776         (__real_chown): Do not use CHECK_STRING.
55777         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55778         <bp-checks.h>.
55779         (__lchown): Do not use CHECK_STRING.
55780         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55781         <bp-checks.h>.
55782         (__chown): Do not use CHECK_STRING.
55783         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55784         <bp-checks.h>.
55785         (truncate64): Do not use CHECK_STRING.
55786         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55787         Likewise.
55788         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55789         (__xmknod): Do not use CHECK_STRING.
55790         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55791         <bp-checks.h>.
55792         (__xmknodat): Do not use CHECK_STRING.
55793         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55794         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55796 2013-02-04  Andreas Schwab  <schwab@suse.de>
55798         [BZ #14142]
55799         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55800         * include/netdb.h: Likewise for h_errno.
55801         * elf/tst-stackguard1.c: Include <tls.h>.
55803 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55805         * elf/link.h (struct link_map): Extend the l_addr comment.
55806         * include/link.h (struct link_map): Likewise.
55808 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55810         [BZ #13550]
55811         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55812         (BOUNDED_1): Remove macro.
55813         * debug/backtrace.c: Don't include <bp-checks.h>.
55814         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55815         (__backtrace): Likewise.
55816         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55817         <bp-checks.h>.
55818         (__backtrace): Don't use BOUNDED_1.
55819         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55820         <bp-checks.h>.
55821         (__backtrace): Don't use BOUNDED_1.
55822         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55823         (__backtrace): Don't use BOUNDED_1.
55824         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55825         (shmat): Don't use BOUNDED_N.
55827 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55829         [BZ #13550]
55830         * sysdeps/generic/bp-start.h: Remove file.
55831         * csu/libc-start.c: Don't include <bp-start.h>.
55832         (LIBC_START_MAIN): Set up __environ directly instead of using
55833         INIT_ARGV_and_ENVIRON.
55834         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55835         <bp-start.h>.
55837         [BZ #13550]
55838         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55839         definitions.
55840         (CHECK_FCNTL): Likewise.
55841         (CHECK_N_PAGES): Likewise.
55843         [BZ #13550]
55844         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55845         definitions.
55846         (CHECK_SIGSET_NULL_OK): Likewise.
55847         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55848         <bp-checks.h>.
55849         (sigpending): Don't use CHECK_SIGSET.
55850         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55851         <bp-checks.h>.
55852         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55853         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55854         <bp-checks.h>.
55855         (do_sigsuspend): Don't use CHECK_SIGSET.
55856         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55857         use CHECK_SIGSET.
55858         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55859         (do_sigwait): Don't use CHECK_SIGSET.
55860         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55861         use CHECK_SIGSET.
55862         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55863         include <bp-checks.h>.
55864         (sigpending): Don't use CHECK_SIGSET.
55865         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55866         include <bp-checks.h>.
55867         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55868         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55869         <bp-checks.h>.
55870         (sigpending): Don't use CHECK_SIGSET.
55871         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55872         <bp-checks.h>.
55873         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55875         [BZ #13550]
55876         * sysdeps/generic/bp-semctl.h: Remove file.
55877         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55878         <bp-checks.h> and <bp-semctl.h>.
55879         (__old_semctl): Don't use CHECK_SEMCTL.
55880         (__new_semctl): Likewise.
55881         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55882         and <bp-semctl.h>.
55883         (__old_semctl): Don't use CHECK_SEMCTL.
55884         (__new_semctl): Likewise.
55885         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55886         <bp-checks.h> and <bp-semctl.h>.
55887         (__old_semctl): Don't use CHECK_SEMCTL.
55888         (__new_semctl): Likewise.
55889         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55890         <bp-checks.h> and <bp-semctl.h>.
55891         (semctl): Don't use CHECK_SEMCTL.
55893         [BZ #13550]
55894         * Makerules (elide-bp-thunks): Remove variable.
55895         (elide-routines.oS): Don't use $(elide-bp-thunks).
55896         (elide-routines.os): Likewise.
55897         (elide-routines.o): Likewise.
55898         (elide-routines.op): Likewise.
55899         (elide-routines.og): Likewise.
55900         (objects): Don't use $(bp-thunks).
55901         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55902         include.
55903         (common-generated): Do not add s-proto-bp.d.
55904         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55905         (int): Likewise.
55906         (typ): Likewise.
55907         Do not generate makefile rules for bounded-pointer thunks.
55908         * sysdeps/generic/bp-thunks.h: Remove file.
55909         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55910         * sysdeps/unix/s-proto-bp.S: Likewise.
55912         [BZ #15062]
55913         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55914         parts of result separately when argument is not close to line from
55915         -i to i and one part of argument is small.
55916         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55917         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55918         * math/libm-test.inc (cacos_test): Add more tests.
55919         (casin_test): Likewise.
55920         (casinh_test): Likewise.
55921         * sysdeps/i386/fpu/libm-test-ulps: Update.
55922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55924 2013-01-31  David S. Miller  <davem@davemloft.net>
55926         * po/de.po: Update from translation team.
55928 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55930         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55932 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55934         * configure.in (_AC_PROG_CC_C89): New definition.
55935         * configure: Regenerate.
55937         * configure.in (AC_PROG_CPP): New definition.
55938         * configure: Regenerate.
55940 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55942         * debug/tst-backtrace.h: New file.
55943         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55944         (ret): Remove variable.
55945         (x): Likewise.
55946         (FAIL): Remove macro.
55947         (NO_INLINE): Likewise.
55948         (fn1): Use match function instead of strstr.
55949         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55950         (ret): Remove variable.
55951         (x): Likewise.
55952         (FAIL): Remove macro.
55953         (NO_INLINE): Likewise.
55954         (fn): Use match function instead of strstr.
55955         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55956         (ret): Remove variable.
55957         (x): Likewise.
55958         (FAIL): Remove macro.
55959         (NO_INLINE): Likewise.
55960         (handle_signal): Use match function instead of strstr.
55961         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55962         (ret): Remove variable.
55963         (x): Likewise.
55964         (FAIL): Remove macro.
55965         (NO_INLINE): Likewise.
55966         (handle_signal): Use match function instead of strstr.
55968 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55970         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55972 2013-01-23  David S. Miller  <davem@davemloft.net>
55974         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55975         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55976         argument of CAS if possible.
55977         * sysdeps/sparc/sparc64/bits/atomic.h
55978         (__arch_compare_and_exchange_val_32_acq): Likewise.
55979         (__arch_compare_and_exchange_val_64_acq): Likewise.
55981 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55983         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55984         * sysdeps/posix/ulimit.c: ... this.
55985         Include <limits.h>.
55986         * sysdeps/unix/bsd/ulimit.c: Remove file.
55988 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55990         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55991         (LDFLAGS-tst-array5): Likewise.
55993 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55995         [BZ #15036]
55996         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55997         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55998         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55999         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56001 2013-01-21  David S. Miller  <davem@davemloft.net>
56003         * sysdeps/sparc/backtrace.c: New file.
56004         * sysdeps/sparc/sparc32/backtrace.h: New file.
56005         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56006         * sysdeps/sparc/sparc64/backtrace.h: New file.
56007         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56008         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56009         -funwind-tables.
56011 2013-01-21  Andreas Schwab  <schwab@suse.de>
56013         [BZ #15020]
56014         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56015         closed its stdout.
56017 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56020         "mpa2.h".
56021         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56023 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56024             Mark Mitchell  <mark@codesourcery.com>
56025             Tom de Vries  <tom@codesourcery.com>
56026             Paul Pluzhnikov  <ppluzhnikov@google.com>
56028         * debug/tst-backtrace2.c: New file.
56029         * debug/tst-backtrace3.c: Likewise.
56030         * debug/tst-backtrace4.c: Likewise.
56031         * debug/tst-backtrace5.c: Likewise.
56032         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56033         (CFLAGS-tst-backtrace3.c): Likewise.
56034         (CFLAGS-tst-backtrace4.c): Likewise.
56035         (CFLAGS-tst-backtrace5.c): Likewise.
56036         (LDFLAGS-tst-backtrace2): Likewise.
56037         (LDFLAGS-tst-backtrace3): Likewise.
56038         (LDFLAGS-tst-backtrace4): Likewise.
56039         (LDFLAGS-tst-backtrace5): Likewise.
56040         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56041         tst-backtrace4 and tst-backtrace5.
56043 2013-01-18  Anton Blanchard  <anton@samba.org>
56044             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56046         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56047         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56048         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56049         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56051         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56052         "+r" and remove output regs list as redundant.  Add explicit inline
56053         asm to specify register of return val to work around compiler codegen
56054         bug.  Remove (int) cast on return value.  Add return type parameter to
56055         use in macro so that this macro does not truncate return value for
56056         64-bit values.
56057         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56058         pass to INTERNAL_VSYSCALL_NCS.
56059         (INLINE_VSYSCALL): Add 'long int' as return type to
56060         INTERNAL_VSYSCALL_NCS macro invocation.
56061         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56062         INTERNAL_VSYSCALL_NCS macro invocation.
56063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56065 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56067         [BZ #14496]
56068         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56069         Fix application of SIMD FP exception mask.
56071         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56072         mp_no from a power of two.
56073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56074         __mpexp_twomm1.  Use __pow_mp.
56076         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56077         multiplication.
56079 2013-01-17  David S. Miller  <davem@davemloft.net>
56081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56083 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56085         [BZ #15023]
56086         * include/complex.h: Condition contents on [!_COMPLEX_H].
56087         (__kernel_casinhf): New prototype.
56088         (__kernel_casinh): Likewise.
56089         (__kernel_casinhl): Likewise.
56090         * math/Makefile (libm_calls): Add k_casinh.
56091         * math/k_casinh.c: New file.
56092         * math/k_casinhf.c: Likewise.
56093         * math/k_casinhl.c: Likewise.
56094         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56095         finite nonzero arguments.
56096         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56097         finite nonzero arguments.
56098         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56099         finite nonzero arguments.
56100         * math/s_casinh.c: Do not include <float.h>.
56101         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56102         * math/s_casinhf.c: Do not include <float.h>.
56103         (__casinhf): Move code for finite nonzero arguments to
56104         k_casinhf.c.
56105         * math/s_casinhl.c: Do not include <float.h>.
56106         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56107         redefine.
56108         (__casinhl): Move code for finite nonzero arguments to
56109         k_casinhl.c.
56110         * math/libm-test.inc (cacos_test): Add more tests.
56111         * sysdeps/i386/fpu/libm-test-ulps: Update.
56112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56114 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56116         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56117         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56118         [!HAVE_MREMAP]: Remove [defined linux] case.
56119         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56121 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56123         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56125 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56127         * elf/elf.h (R_386_SIZE32): New relocation.
56128         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56129         R_386_SIZE32.
56130         (elf_machine_rela): Likewise.
56131         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56132         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56134 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56136         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56137         (FP_FAST_FMA): Do not define.
56138         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56139         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56140         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56141         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56142         !_SOFT_FLOAT]: Likewise.
56143         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56144         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56145         value.
56146         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56147         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56148         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56149         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56150         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56151         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56152         file.
56154 2013-01-16  Andreas Schwab  <schwab@suse.de>
56156         [BZ #14327]
56157         * include/stdlib.h (__mktemp): Add declaration.
56158         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56159         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56161 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56163         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56164         definitions.
56165         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56166         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56167         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56168         definitions here.
56169         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56170         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56171         definitions.
56172         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56173         and ONE.
56174         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56175         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56176         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56177         definitions.
56178         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56179         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56180         definitions.
56181         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56183         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56185 2013-01-15  David S. Miller  <davem@davemloft.net>
56187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56188         trunc{,f} to libm-sysdep_routes.
56189         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56191         file.
56192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56194         file.
56195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56196         file.
56197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56199         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56200         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56201         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56202         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56203         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56204         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56207         nearbyint{,f} to libm-sysdep_routes.
56208         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56210         New file.
56211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56212         file.
56213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56214         New file.
56215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56216         file.
56217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56219         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56220         file.
56221         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56222         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56223         file.
56224         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56225         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56226         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56228         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56229         libc_feholdexcept and libc_fesetenv.
56231 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56233         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56235 2013-01-14  David S. Miller  <davem@davemloft.net>
56237         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56238         (SPARC_ASM_VIS2_IFUNC): Likewise.
56239         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56241         use of 'siam' instruction.
56242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56243         Likewise.
56244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56245         Likewise.
56246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56247         Likewise.
56248         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56249         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56251         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56253         file.
56254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56255         file.
56256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56257         file.
56258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56259         file.
56260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56261         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56265         new VIS2 routines.
56266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56269         Likewise.
56270         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56271         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56272         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56275         routines to libm-sysdep_routines.
56276         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56279         fdim/fdimf to libm-sysdep_routines.
56280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56281         file.
56282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56284         file.
56285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56288         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56289         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56290         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56291         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56293 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56295         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56296         to optimize copies.
56298         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56303         local variable MPTWO.
56304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56305         Likewise.
56307 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56309         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56310         GLOB_NOESCAPE.
56312 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56314         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56316 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56318         * manual/pattern.texi (glob_t): Document gl_flags.
56319         (glob64_t): Likewise.
56321 2013-01-11  David S. Miller  <davem@davemloft.net>
56323         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56324         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56325         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56326         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56327         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56328         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56329         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56330         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56331         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56332         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56333         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56334         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56335         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56337         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56338         sparc V9 rather than using V8 code.
56339         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56340         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56342         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56343         Move to...
56344         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56345         Here.
56347 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56349         [BZ #14941]
56350         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56351         not in the main loop.
56352         * configure: Regenerated.
56354 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56356         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56357         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56358         to just #else.
56359         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56360         [!__GLIBC_HAVE_LONG_LONG] case.
56361         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56362         condition to just #else.
56363         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56364         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56365         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56366         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56367         unconditional.
56368         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56369         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56370         #elif condition to just #else.
56371         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56372         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56373         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56374         #elif condition to just #else.
56376 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56378         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56379         (EF_MIPS_ARCH_64): Fix value.
56380         (EF_MIPS_ARCH_32R2): New.
56381         (EF_MIPS_ARCH_64R2): New.
56383 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56385         * Makeconfig (+link-pie-before-libc): New.
56386         (+link-pie-after-libc): Likewise.
56387         (+link-pie-tests): Likewise.
56388         (+link-pie): Rewritten.
56389         (link-before-libc): Remove $(config-LDFLAGS).
56390         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56391         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56392         (config-LDFLAGS): Renamed to ...
56393         (rtld-LDFLAGS): This.
56394         (rtld-tests-LDFLAGS): New macro.
56395         (link-libc-rpath-link): Likewise.
56396         (link-libc-tests-rpath-link): Likewise.
56397         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56398         (link-libc): Prepand $(link-libc-rpath-link).
56399         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56400         (test-program-prefix): New macro.
56401         (test-via-rtld-prefix): Likewise.
56402         (test-program-cmd): Likewise.
56403         (host-test-program-cmd): Likewise.
56404         * Makefile ($(common-objpfx)testrun.sh): Replace
56405         $(run-program-prefix) with $(test-program-prefix).
56406         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56407         $(rtld-LDFLAGS).
56408         ($(common-objpfx)shlib.lds): Likewise.
56409         (build-module-helper): Likewise.
56410         ($(common-objpfx)format.lds): Likewise.
56411         * Rules (binaries-pie-tests): New.
56412         (binaries-pie-notests): Likewise.
56413         (binaries-pie): Rewritten.
56414         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56415         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56416         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56417         (make-test-out): Replace $(host-built-program-cmd) with
56418         $(host-test-program-cmd).
56419         * config.make.in (build-hardcoded-path-in-tests): New variable.
56420         * configure.in (--enable-hardcoded-path-in-tests): New configure
56421         option.
56422         (hardcoded_path_in_tests): New AC_SUBST.
56423         * configure: Regenerated.
56424         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56425         $(built-program-cmd) with $(test-program-cmd).
56426         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56427         (test_program_cmd): This.
56428         * elf/Makefile ($(objpfx)order.out): Run test with
56429         $(test-program-prefix).
56430         ($(objpfx)order2.out): Likewise.
56431         ($(objpfx)tst-initorder.out): Likewise.
56432         ($(objpfx)tst-initorder2.out): Likewise.
56433         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56434         $(test-program-cmd).
56435         ($(objpfx)tst-array1-static.out): Likewise.
56436         ($(objpfx)tst-array2.out): Likewise.
56437         ($(objpfx)tst-array3.out): Likewise.
56438         ($(objpfx)tst-array4.out): Likewise.
56439         ($(objpfx)tst-array5.out): Likewise.
56440         ($(objpfx)tst-array5-static.out): Likewise.
56441         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56442         $(test-program-cmd).
56443         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56444         $(run-program-prefix) with $(test-program-prefix).
56445         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56446         (test_program_prefix): This.
56447         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56448         $(run-program-prefix) with $(test-program-prefix).
56449         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56450         (test_program_prefix): This.
56451         * iconvdata/tst-tables.sh: Likewise.
56452         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56453         $(run-program-prefix) with $(test-program-prefix).
56454         ($(objpfx)tst-translit.out): Likewise.
56455         ($(objpfx)tst-gettext2.out): Likewise.
56456         ($(objpfx)tst-gettext4.out): Likewise.
56457         ($(objpfx)tst-gettext6.out): Likewise.
56458         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56459         (test_program_prefix): This.
56460         * intl/tst-gettext2.sh: Likewise.
56461         * intl/tst-gettext4.sh  Likewise.
56462         * intl/tst-gettext6.sh: Likewise.
56463         * intl/tst-translit.sh: Likewise.
56464         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56465         with $(test-program-cmd).
56466         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56467         $(run-program-prefix) with $(test-program-prefix).
56468         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56469         (test_program_prefix): This.
56470         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56471         $(run-program-prefix) with $(test-program-prefix).
56472         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56473         (test_program_prefix): This.
56474         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56475         * posix/Makefile ($(objpfx)globtest.out): Replace
56476         $(run-via-rtld-prefix) and $(test-wrapper) with
56477         $(test-program-prefix) and $(test-via-rtld-prefix).
56478         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56479         $(test-program-prefix).
56480         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56481         $(host-test-program-cmd).
56482         (tst-spawn-ARGS): Likewise.
56483         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56484         $(test-program-prefix).
56485         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56486         (test_via_rtld_prefix): This.
56487         (test_wrapper): Renamed to ...
56488         (test_program_prefix): This.
56489         (run_program_prefix): Replaced by test_program_prefix.
56490         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56491         (test_program_prefix): This.
56492         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56493         with $(host-test-program-cmd).
56494         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56495         $(run-program-prefix) with $(test-program-prefix).
56496         ($(objpfx)tst-printf.out): Likewise.
56497         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56498         $(test-program-cmd).
56499         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56500         (test_program_prefix): This.
56501         * stdio-common/tst-unbputc.sh: Likewise.
56502         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56503         $(run-program-prefix) with $(test-program-prefix).
56504         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56505         (test_program_prefix): This.
56506         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56507         $(built-program-cmd) with $(test-program-cmd).
56509 2013-01-11  Andreas Jaeger  <aj@suse.de>
56511         [BZ #15003]
56512         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56513         value. Sync with Linux 3.7.
56515 2013-01-10  David S. Miller  <davem@davemloft.net>
56517         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56518         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56519         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56521 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56523         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56524         never set.
56525         * configure: Regenerated.
56527 2013-01-10  David S. Miller  <davem@davemloft.net>
56529         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56530         sparc V9 rather than using V8 code.
56531         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56532         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56534 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56536         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56537         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56538         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56539         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56540         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56541         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56542         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56543         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56544         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56545         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56546         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56547         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56548         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56549         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56550         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56551         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56552         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56553         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56554         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56555         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56556         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56557         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56558         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56559         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56560         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56561         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56562         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56564 2013-01-10  David S. Miller  <davem@davemloft.net>
56566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56568 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56570         * posix/Makefile (tests-static): New variable.
56571         (tests): Add $(tests-static).
56572         (tst-exec-static-ARGS): New variable.
56573         (tst-spawn-static-ARGS): Likewise.
56574         * posix/tst-exec-static.c: New file.
56575         * posix/tst-spawn-static.c: Likewise.
56576         * posix/tst-exec.c: Support run directly.
56577         * posix/tst-spawn.c: Likewise.
56579 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56581         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56582         long.
56583         * math/bits/mathcalls.h (llrint): Likewise.
56584         (llround): Likewise.
56585         * stdlib/stdlib.h (struct drand48_data): Likewise.
56586         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56587         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56588         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56589         Likewise.
56590         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56591         Likewise.
56592         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56593         (elf_greg_t): Likewise.
56594         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56595         (__jmp_buf): Likewise.
56596         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56597         definitions.
56598         (llrint): Likewise, for all definitions.
56599         (llrintl): Likewise.
56601         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56602         Remove [__GNUC__] condition.
56603         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56604         condition to just [__USE_ISOC99].
56605         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56607 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56609         [BZ #14200]
56610         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56611         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56612         defined.
56613         (_POSIX_V6_ILP32_OFF32): Likewise.
56614         (_XBS5_ILP32_OFF32): Likewise.
56615         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56616         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56618 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56620         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56622         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56623         doubles __mpexp_twomm1.  Adjust usage.
56624         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56625         Remove.
56627 2013-01-10  Andreas Schwab  <schwab@suse.de>
56629         [BZ #14964]
56630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56631         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56633 2013-01-09  David S. Miller  <davem@davemloft.net>
56635         [BZ #15003]
56636         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56637         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56638         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56639         (TCP_FASTOPEN): Define.
56640         (tcp_repair_opt): New structure.
56641         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56642         enum values.
56643         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56644         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56645         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56646         (tcp_cookie_transactions): New structure.
56648 2013-01-09  Anton Blanchard  <anton@samba.org>
56650         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56651         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56652         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56653         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56655 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56657         * include/features.h (__USE_ANSI): Remove.
56659 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56661         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56663         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56665 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56667         * sysdeps/s390/fpu/libm-test-ulps: Update.
56669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56671         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56672         (__acr): Likewise.
56673         (__cpy): Likewise.
56674         (norm): Likewise.
56675         (denorm): Likewise.
56676         (__mp_dbl): Likewise.
56677         (__dbl_mp): Likewise.
56678         (add_magnitudes): Likewise.
56679         (sub_magnitudes): Likewise.
56680         (__add): Likewise.
56681         (__sub): Likewise.
56682         (__mul): Likewise.
56683         (__inv): Likewise.
56684         (__dvd): Likewise.
56685         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56686         (__acr): Likewise.
56687         (__cpy): Likewise.
56688         (norm): Likewise.
56689         (denorm): Likewise.
56690         (__mp_dbl): Likewise.
56691         (__dbl_mp): Likewise.
56692         (add_magnitudes): Likewise.
56693         (sub_magnitudes): Likewise.
56694         (__add): Likewise.
56695         (__sub): Likewise.
56696         (__mul): Likewise.
56697         (__inv): Likewise.
56698         (__dvd): Likewise.
56699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56700         (__acr): Likewise.
56701         (__cpy): Likewise.
56702         (norm): Likewise.
56703         (denorm): Likewise.
56704         (__mp_dbl): Likewise.
56705         (__dbl_mp): Likewise.
56706         (add_magnitudes): Likewise.
56707         (sub_magnitudes): Likewise.
56708         (__add): Likewise.
56709         (__sub): Likewise.
56710         (__mul): Likewise.
56711         (__inv): Likewise.
56712         (__dvd): Likewise.
56714 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56716         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56717         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56718         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56719         2 && __USE_EXTERN_INLINES]: Likewise.
56721 2013-01-08  Andreas Jaeger  <aj@suse.de>
56723         [BZ# 14985]
56724         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56725         Remove.
56726         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56727         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56729 2013-01-07  Anton Blanchard  <anton@samba.org>
56731         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56732         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56733         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56734         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56735         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56736         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56737         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56738         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56740         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56741         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56742         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56743         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56744         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56745         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56746         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56747         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56748         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56749         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56750         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56751         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56752         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56753         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56754         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56755         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56756         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56757         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56758         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56759         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56760         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56761         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56763         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56764         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56765         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56766         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56767         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56768         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56769         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56770         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56771         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56772         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56773         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56775 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56777         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56778         (__MALLOC_PMT): Likewise.
56779         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56780         [__GNUC__], only on [_LIBC].
56781         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56782         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56783         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56784         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56785         forward declaration.
56786         (realloc_hook_ini): Likewise.
56787         (memalign_hook_ini): Likewise.
56788         (__libc_memalign): Do not use __MALLOC_PMT in variable
56789         declaration.
56790         (__libc_valloc): Likewise.
56791         (__libc_pvalloc): Likewise.
56792         (__libc_calloc): Likewise.
56793         (__posix_memalign): Likewise.
56795         [BZ #14996]
56796         * math/s_casinh.c: Include <float.h>.
56797         (__casinh): Do not do computation with squaring and square root
56798         for large arguments.
56799         * math/s_casinhf.c: Include <float.h>.
56800         (__casinhf): Do not do computation with squaring and square root
56801         for large arguments.
56802         * math/s_casinhl.c: Include <float.h>.
56803         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56804         (__casinhl): Do not do computation with squaring and square root
56805         for large arguments.
56806         * math/libm-test.inc (casin_test): Add more tests.
56807         (casinh_test): Likewise.
56808         * sysdeps/i386/fpu/libm-test-ulps: Update.
56809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56811 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56813         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56814         (__x86_64_raw_data_cache_size): Likewise.
56815         (__x86_64_data_cache_size_half): Likewise.
56816         (__x86_64_raw_data_cache_size_half): Likewise.
56817         (__x86_64_shared_cache_size): Likewise.
56818         (__x86_64_raw_shared_cache_size): Likewise.
56819         (__x86_64_shared_cache_size_half): Likewise.
56820         (__x86_64_raw_shared_cache_size_half): Likewise.
56821         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56822         to ...
56823         (__x86_data_cache_size): This.
56824         (__x86_64_raw_data_cache_size): Renamed to ...
56825         (__x86_raw_data_cache_size): This.
56826         (__x86_64_data_cache_size_half): Renamed to ...
56827         (__x86_data_cache_size_half): This.
56828         (__x86_64_raw_data_cache_size_half): Renamed to ...
56829         (__x86_raw_data_cache_size_half): This.
56830         (__x86_64_shared_cache_size): Renamed to ...
56831         (__x86_shared_cache_size): This.
56832         (__x86_64_raw_shared_cache_size): Renamed to ...
56833         (__x86_raw_shared_cache_size): This.
56834         (__x86_64_shared_cache_size_half): Renamed to ...
56835         (__x86_shared_cache_size_half): This.
56836         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56837         (__x86_raw_shared_cache_size_half): This.
56838         * sysdeps/x86_64/memcpy.S: Updated.
56839         * sysdeps/x86_64/memset.S: Likewise.
56840         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56841         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56842         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56844 2013-01-04  David S. Miller  <davem@davemloft.net>
56846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56848 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56850         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56851         1 to avoid redefinition warning.
56852         (__USE_GNU): Don't define.
56853         (init_signaling_nan): Protoize.
56855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56857 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56859         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56861         (__cpymn): Likewise.
56862         (norm): Remove commented code.
56863         (denorm): Likewise.
56864         (__mp_dbl): Likewise.
56865         (__inv): Likewise.
56866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56867         (__cpymn): Likewise.
56868         (norm): Remove commented code.
56869         (denorm): Likewise.
56870         (__mp_dbl): Likewise.
56871         (__inv): Likewise.
56873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56874         mp_no value for 1.0 and 2.0.
56875         (norm): Use RADIXI instead of radixi.d.
56876         (denorm): Likewise.
56877         (__mul): Use 0.0 instead of zero.d.
56878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56879         mp_no value for 1.0 and 2.0.
56880         (norm): Use RADIXI instead of radixi.d.
56881         (denorm): Likewise.
56882         (__mul): Use 0.0 instead of zero.d.
56884 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56886         [BZ #14994]
56887         * math/s_casinh.c (__casinh): Reduce finite argument to first
56888         quadrant then set signs of results at the end.
56889         * math/s_casinhf.c (__casinhf): Likewise.
56890         * math/s_casinhl.c (__casinhl): Likewise.
56891         * math/libm-test.inc (casin_test): Add more tests.
56892         (casinh_test): Likewise.
56893         * sysdeps/i386/fpu/libm-test-ulps: Update.
56894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56896 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56898         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56900         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56902         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56903         declarations.
56904         (denorm): Likewise.
56905         (__mp_dbl): Likewise.
56906         (__inv): Likewise.
56908         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56909         and adjust the header comment.
56911         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56912         variable name from declaration.
56914 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56917         Initialize COMMON_CPUID_INDEX_7 element.
56918         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56919         (CPUID_RTM): Likewise.
56920         (HAS_RTM): Likewise.
56921         (COMMON_CPUID_INDEX_7): New enum.
56923 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56925         [BZ #14981]
56926         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56927         size is zero, record memory as freed.
56929 2013-01-03  Andreas Jaeger  <aj@suse.de>
56931         * po/ia.po: Add new Interlingua translation.
56933 2012-01-03  Allan McRae  <allan@archlinux.org>
56935         * locale/programs/localedef.c: Fix description of '--posix' flag.
56937 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56939         * NEWS: Update dates in second copyright notice.
56940         * README: Update copyright dates in example.
56941         * manual/libc.texinfo: Update copyright dates.
56942         * scripts/test-installation.pl: Update copyright date in --version
56943         output.
56945         * hurd/ctty-input.c: Fix copyright notice formatting.
56946         * hurd/ctty-output.c: Likewise.
56947         * hurd/dtable.c: Likewise.
56948         * hurd/hurd-raise.c: Likewise.
56949         * hurd/hurdprio.c: Likewise.
56950         * hurd/msgportdemux.c: Likewise.
56951         * misc/sys/file.h: Likewise.
56952         * misc/sys/ioctl.h: Likewise.
56953         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56954         * sysdeps/mach/hurd/chdir.c: Likewise.
56955         * sysdeps/mach/hurd/fchdir.c: Likewise.
56956         * sysdeps/mach/hurd/rename.c: Likewise.
56957         * sysdeps/mach/hurd/rmdir.c: Likewise.
56958         * sysdeps/mach/hurd/seekdir.c: Likewise.
56959         * sysdeps/mach/hurd/setsid.c: Likewise.
56960         * sysdeps/posix/wait3.c: Likewise.
56962         * All files with FSF copyright notices: Update copyright dates
56963         using scripts/update-copyrights.
56964         * intl/plural.c: Regenerated.
56965         * locale/programs/charmap-kw.h: Likewise.
56966         * locale/programs/locfile-kw.h: Likewise.
56968 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56970         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56971         four values.
56973         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56974         calculation loop and add branch prediction.
56976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56977         check access beyond bounds of m1np.
56979         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56980         MPTWO.
56981         (__inv): Remove local variable MPTWO to use the global
56982         constant.
56983         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56985         variable MPTWO.
56986         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56987         MP3HALFS static const.
56989 2013-01-01  David S. Miller  <davem@davemloft.net>
56991         * po/ca.po: Update from translation team.
56993 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56995         * scripts/update-copyrights: New file.
56996         * Makeconfig: Reformat copyright notice.
56997         * ctype/ctype.h: Likewise.
56998         * debug/swprintf_chk.c: Likewise.
56999         * elf/dl-cache.c: Likewise.
57000         * elf/dl-debug.c: Likewise.
57001         * elf/dl-object.c: Likewise.
57002         * grp/initgroups.c: Likewise.
57003         * hurd/Makefile: Likewise.
57004         * hurd/hurd/signal.h: Likewise.
57005         * hurd/hurdfault.c: Likewise.
57006         * hurd/hurdioctl.c: Likewise.
57007         * hurd/hurdlookup.c: Likewise.
57008         * hurd/intr-msg.c: Likewise.
57009         * iconv/gconv_open.c: Likewise.
57010         * libio/swprintf.c: Likewise.
57011         * locale/lc-ctype.c: Likewise.
57012         * locale/nl_langinfo.c: Likewise.
57013         * mach/Machrules: Likewise.
57014         * mach/Makefile: Likewise.
57015         * malloc/obstack.h: Likewise.
57016         * manual/Makefile: Likewise.
57017         * manual/tsort.awk: Likewise.
57018         * misc/bits/stab.def: Likewise.
57019         * nis/nis_print_group_entry.c: Likewise.
57020         * nis/nis_table.c: Likewise.
57021         * nis/nss_compat/compat-pwd.c: Likewise.
57022         * nis/nss_compat/compat-spwd.c: Likewise.
57023         * po/Makefile: Likewise.
57024         * posix/fnmatch.c: Likewise.
57025         * posix/regex.h: Likewise.
57026         * resolv/Makefile: Likewise.
57027         * resolv/nss_dns/dns-network.c: Likewise.
57028         * resolv/res_hconf.c: Likewise.
57029         * scripts/gen-sorted.awk: Likewise.
57030         * soft-fp/soft-fp.h: Likewise.
57031         * stdio-common/printf.h: Likewise.
57032         * stdlib/monetary.h: Likewise.
57033         * stdlib/random.c: Likewise.
57034         * stdlib/random_r.c: Likewise.
57035         * sysdeps/generic/Makefile: Likewise.
57036         * sysdeps/gnu/Makefile: Likewise.
57037         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57038         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57039         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57040         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57041         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57042         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57043         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57044         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57045         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57046         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57047         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57048         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57049         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57050         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57051         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57052         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57053         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57054         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57055         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57056         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57057         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57058         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57059         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57060         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57061         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57062         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57063         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57064         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57065         * sysdeps/mach/hurd/errnos.awk: Likewise.
57066         * sysdeps/mach/hurd/fork.c: Likewise.
57067         * sysdeps/mach/hurd/getcwd.c: Likewise.
57068         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57069         * sysdeps/mach/hurd/mmap.c: Likewise.
57070         * sysdeps/mach/hurd/utimes.c: Likewise.
57071         * sysdeps/mach/hurd/xmknod.c: Likewise.
57072         * sysdeps/posix/profil.c: Likewise.
57073         * sysdeps/posix/readdir_r.c: Likewise.
57074         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57075         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57076         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57077         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57079         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57080         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57081         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57082         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57083         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57084         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57085         * sysdeps/pthread/lio_listio.c: Likewise.
57086         * sysdeps/sparc/dl-procinfo.h: Likewise.
57087         * sysdeps/unix/i386/sysdep.S: Likewise.
57088         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57089         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57090         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57091         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57093         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57094         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57095         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57096         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57097         * sysdeps/wordsize-32/divdi3.c: Likewise.
57098         * time/sys/time.h: Likewise.
57099         * wcsmbs/Makefile: Likewise.
57101 2013-01-01  David S. Miller  <davem@davemloft.net>
57103         * po/fr.po: Update from translation team.
57105         * catgets/gencat.c: Update copyright year.
57106         * csu/version.c: Likewise.
57107         * debug/catchsegv.sh: Likewise.
57108         * debug/pcprofiledump.c: Likewise.
57109         * debug/xtrace.sh: Likewise.
57110         * elf/ldconfig.c: Likewise.
57111         * elf/ldd.bash.in: Likewise.
57112         * elf/pldd.c: Likewise.
57113         * elf/sotruss.ksh: Likewise.
57114         * elf/sprof.c: Likewise.
57115         * iconv/iconv_prog.c: Likewise.
57116         * iconv/iconvconfig.c: Likewise.
57117         * locale/programs/locale.c: Likewise.
57118         * locale/programs/localedef.c: Likewise.
57119         * login/programs/pt_chown.c: Likewise.
57120         * malloc/memusage.sh: Likewise.
57121         * malloc/memusagestat.c: Likewise.
57122         * malloc/mtrace.pl: Likewise.
57123         * nscd/nscd.c: Likewise.
57124         * nss/getent.c: Likewise.
57125         * nss/makedb.c: Likewise.
57126         * posix/getconf.c: Likewise.
57128 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57130         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57131         numbers.
57133 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57135         * math/bits/mathcalls.h (modf): Use __nonnull.
57137 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57139         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57140         (split): Use macro CN instead of the bare value.
57141         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57142         could be used.
57143         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57144         instead of the bare value.
57145         (power1): Likewise.
57147 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57149         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57150         __ATAN_TWOM.
57151         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57153         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57154         their values.
57155         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57156         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57157         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57158         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57160 2012-12-28  Andreas Jaeger  <aj@suse.de>
57162         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57163         values are from Linux 3.7.
57165         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57166         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57168 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57170         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57171         TRUE case.
57173         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57174         (norm): Likewise.
57175         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57176         variables with preprocessor constants.
57177         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57178         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57179         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57181 2012-12-27  Bruno Haible  <bruno@clisp.org>
57183         [BZ #14317]
57184         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57185         only if needed.
57187 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57190         and use variable directly.
57191         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57193         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57194         MPONE.
57195         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57196         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57197         variable MPONE.
57198         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57199         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57200         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57201         include directive.  Remove local variable MPONE.
57202         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57203         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57204         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57206 2012-12-25  David S. Miller  <davem@davemloft.net>
57208         * version.h (RELEASE): Set to "development".
57209         (VERSION): Set to "2.17.90".
57210         * NEWS: Add 2.18 section.
57212 2012-12-21  David S. Miller  <davem@davemloft.net>
57214         * po/hr.po: Update from translation team.
57216 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57218         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57220 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57222         * NEWS:  Mention new memcpy for MIPS.
57224 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57226         * manual/contrib.texi (Contributors): Spelling correction.
57228 2012-12-15  David S. Miller  <davem@davemloft.net>
57230         * po/ru.po: Update from translation team.
57232 2012-12-13  David S. Miller  <davem@davemloft.net>
57234         * NEWS: Mention IFUNC testsuite enhancements.
57236         * po/pl.po: Update from translation team.
57237         * po/bg.po: Likewise.
57239         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57240         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57242 2012-12-11  David S. Miller  <davem@davemloft.net>
57244         * po/sv.po: Update from translation team.
57246         * po/vi.po: Update from translation team.
57248         * po/cs.po: Update from translation team.
57250         * po/de.po: Update from translation team.
57251         * po/eo.po: Likewise.
57252         * po/nl.po: Likewise.
57254 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57256         [BZ #14246]
57257         * manual/argp.texi (Argp Helper Functions): Move node to follow
57258         Argp Parsing State.
57260         [BZ #14872]
57261         * manual/conf.texi (Limits on File System Capacity): Mention if
57262         terminating null is included in the max size.
57264 2012-12-10  Andreas Jaeger  <aj@suse.de>
57266         * po/cs.po: Update from translation team.
57268 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57270         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57271         void pointer and cast to uintptr_t.
57272         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57273         path.
57274         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57275         * sysdeps/s390/s390-64/memset.S: Likewise.
57277 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57279         [BZ #14833]
57280         * menual/message.texi (Message Translation): Fix typos.
57281         (Helper programs for gettext): Likewise.
57283 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57285         [BZ #14898]
57286         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57287         Change to -1.
57289 2012-12-07  David S. Miller  <davem@davemloft.net>
57291         * po/libc.pot: Update.
57293 2012-12-07  Richard Henderson  <rth@redhat.com>
57295         [BZ #10114]
57296         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57297         normal/normal case to before the switch.
57298         (_FP_DIV): Likewise.
57300 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57301             Mike Frysinger  <vapier@gentoo.org>
57303         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57304         check for __NR_fadvise64_64.
57306 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57308         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57309         0, not just to plain "0" as a statement.
57310         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57311         with cw.
57313 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57315         * NEWS: Use sourceware.org in Bugzilla URL.
57317 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57320         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57322         * stdio-common/tst-put-error.c (do_test): Add newline to the
57323         padded test to ensure flush.
57325 2012-12-05  Jeff Law  <law@redhat.com>
57327         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57329 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57331         * README: Don't refer to ports add-on as distributed separately.
57332         Mention AArch64 in list of systems supported in the ports add-on.
57334         * LICENSES: Add more non-FSF copyright and license notices.
57336         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57337         ((unused)).
57339         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57341         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57342         10000 as width of padded output.
57344 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57346         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57348         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57349         variable LX with __attribute__ ((unused)).
57350         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57351         Likewise.
57352         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57353         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57354         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57355         with __attribute__ ((unused)).
57357 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57359         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57361 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57363         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57364         (CFLAGS-nldbl-acos.c): New variable.
57365         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57366         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57367         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57368         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57369         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57370         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57371         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57372         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57373         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57374         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57375         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57376         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57377         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57378         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57379         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57380         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57381         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57382         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57383         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57384         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57385         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57386         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57387         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57388         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57389         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57390         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57391         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57392         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57393         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57394         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57395         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57396         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57397         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57398         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57399         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57400         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57401         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57402         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57403         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57404         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57405         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57406         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57407         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57408         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57409         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57410         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57411         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57412         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57413         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57414         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57415         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57416         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57417         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57418         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57419         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57420         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57421         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57422         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57423         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57424         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57425         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57426         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57427         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57428         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57429         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57430         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57431         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57432         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57433         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57434         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57435         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57436         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57437         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57438         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57439         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57440         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57441         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57442         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57443         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57444         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57445         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57446         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57447         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57448         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57449         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57450         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57451         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57452         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57453         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57454         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57455         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57456         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57457         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57458         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57459         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57460         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57461         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57464         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57466         [BZ #14914]
57467         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57468         whole low double instead of just low 47 bits when splitting values
57469         into two parts.
57471 2012-12-03  Allan McRae  <allan@archlinux.org>
57473         * manual/stdio.texi (Predefined Printf Handlers): Remove
57474         @hsep and @vsep usage.
57476 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57478         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57479         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57481 2012-12-03  Jeff Law  <law@redhat.com>
57483         * time/sys/time.h (settimeofday): Do not mark TV argument
57484         as __nonnull.
57486 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57488         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57489         when currently writing and seek to current position when not.
57490         * libio/Makefile (tests): Remove bug-fclose1.
57491         * libio/bug-fclose1.c: Delete.
57493 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57495         * manual/arith.texi (feenableexcept): Fix typo.
57496         (fedisableexcept): Likewise.
57498 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57500         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57501         second, differently-typed declaration, rather than a cast.
57503 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57505         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57506         * include/rpc/svc.h: ... here.
57508 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57510         [BZ #13013]
57511         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57512         depending n and resplen2 to catch cases where answer
57513         equals answerp2.
57515 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57517         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57518         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57520 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57522         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57524 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57526         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57528 2012-11-28  Jeff Law  <law@redhat.com>
57530         [BZ #13761]
57531         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57532         dataset_temporary.  Track alloca usage into alloca_used.
57533         If dataset is large allocate and release it via malloc/free.
57535 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57537         [BZ #14197]
57538         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57540 2012-11-28  David S. Miller  <davem@davemloft.net>
57542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57544 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57546         [BZ #14803]
57547         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57548         of pi/2 rounded to nearest to 64 bits.
57549         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57550         nearest to 64 bits.
57551         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57552         bits.
57554 2012-11-28  Jeff Law <law@redhat.com>
57555             Martin Osvald <mosvald@redhat.com>
57557         [BZ #14889]
57558         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57559         * sunrpc/svc.c: Include time.h.
57560         (__svc_accept_failed): New function.
57561         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57562         any reason other than EINTR, call __svc_accept_failed.
57563         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57564         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57566 2012-11-28  Andreas Schwab  <schwab@suse.de>
57568         * scripts/abilist.awk: Also handle indirect functions in .opd
57569         section.
57571 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57573         [BZ #13881]
57574         * sysdeps/x86/fpu/powl_helper.c: New file.
57575         * sysdeps/x86/fpu/Makefile: Likewise.
57576         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57577         (p3): New object.
57578         (__ieee754_powl): Use __powl_helper for finite arguments except
57579         integer exponents below 8.
57580         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57581         (p3): New object.
57582         (__ieee754_powl): Use __powl_helper for finite arguments except
57583         integer exponents below 8.
57584         * math/libm-test.inc (pow_test): Add more tests and enable some
57585         previously disabled tests.
57586         * sysdeps/i386/fpu/libm-test-ulps: Update.
57587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57589 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57590             Carlos O'Donell  <carlos_odonell@mentor.com>
57592         * nss/makedb.c (is_prime): Assert that input is odd and greater
57593         than 4.  Note that fact in a comment too.
57594         (next_prime): Add 4 to input.
57596 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57598         [BZ #11741]
57599         * libio/Makefile (tests): Add test case tst-fwrite-error.
57600         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57601         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57602         * libio/tst-fwrite-error.c: New test case.
57604 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57606         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57607         before casting to void *.
57608         * include/libc-internal.h (__pointer_type): New macro.
57609         (__integer_if_pointer_type_sub): Likewise.
57610         (__integer_if_pointer_type): Likewise.
57611         (cast_to_integer): Likewise.
57612         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57613         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57614         before casting to atomic64_t.
57615         (atomic_exchange_acq): Likewise.
57616         (__arch_exchange_and_add_body): Likewise.
57617         (__arch_add_body): Likewise.
57618         (atomic_add_negative): Likewise.
57619         (atomic_add_zero): Likewise.
57621 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57623         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57624         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57625         (add_fdes): Likewise.
57626         (linear_search_fdes): Likewise.
57627         (binary_search_unencoded_fdes): Likewise.
57629 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57631         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57633 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57635         * configure.in: Autodetect C++ header directories.
57636         * configure: Regenerated.
57638 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57640         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57642 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57646 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57648         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57649         LDBL_MANT_DIG == 106]: Disable some tests.
57650         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57651         Likewise.
57652         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57653         Likewise.
57655         [BZ #14871]
57656         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57657         input for small inputs.  Return +/- pi/2 for large inputs.
57658         * math/libm-test.inc (atan_test): Add more tests.
57660         * sysdeps/generic/unwind-dw2-fde-glibc.c
57661         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57662         __attribute__ ((unused)).
57664         [BZ #14645]
57665         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57666         x * y if x and y are nonzero and z is zero.
57668         [BZ #14811]
57669         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57670         nonzero exponents with absolute value below 0x1p-117 to +/-
57671         0x1p-117.
57673         [BZ #14869]
57674         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57675         up arguments below 2**-450, not just those below 2**-500.
57676         * math/libm-test.inc (hypot_test): Add another test.
57678         [BZ #14868]
57679         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57680         Return a+b for ratio over 2**120, not 2**60.
57681         * math/libm-test.inc (hypot_test): Add another test.
57683         * math/libm-test.inc (clog_test): Use
57684         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57685         (clog10_test): Likewise.
57687         [BZ #6778]
57688         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57690 2012-11-22  Andreas Schwab  <schwab@suse.de>
57692         * sysdeps/i386/fpu/libm-test-ulps: Update.
57694 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57696         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57697         printf output with newline.
57699 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57701         [BZ #14865]
57702         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57703         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57704         -z nodlopen, -z initfirst and -z execstack support.
57705         * configure: Regenerated.
57707         * elf/elf.h (DF_1_NODIRECT): New macro.
57708         (DF_1_IGNMULDEF): Likewise.
57709         (DF_1_NOKSYMS): Likewise.
57710         (DF_1_NOHDR): Likewise.
57711         (DF_1_EDITED): Likewise.
57712         (DF_1_NORELOC): Likewise.
57713         (DF_1_SYMINTPOSE): Likewise.
57714         (DF_1_GLOBAUDIT): Likewise.
57715         (DF_1_SINGLETON): Likewise.
57716         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57717         DT_1_SUPPORTED_MASK bits.
57718         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57720 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57722         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57724 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57726         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57727         macro.
57729         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57730         (sendmmsg): Move declarations...
57731         * socket/sys/socket.h: ... here.
57732         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57733         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57734         include it from...
57735         * socket/recvmmsg.c: ... this new file.
57736         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57737         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57738         definition of __sendmmsg hidden.
57739         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57740         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57741         Move ENOSYS stub into and include it from...
57742         * socket/sendmmsg.c: ... this new file.
57743         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57744         (sysdep_routines): Move recvmmsg and sendmmsg...
57745         * socket/Makefile (routines): ... here.
57746         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57747         (GLIBC_PRIVATE): Add __sendmmsg.
57748         * include/sys/socket.h (__sendmmsg): Add declarations.
57749         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57750         sendmmsg.
57752 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57754         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57755         variable I1 with __attribute__ ((unused)).
57756         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57758 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57760         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57761         DUMMY variables with __attribute__ ((unused)).
57763         * bits/byteswap.h: Include <bits/types.h>.
57764         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57766 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57768         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57769         string_t.  Do not manually set errno.
57770         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57771         length with __strnlen.  Make sure to both set errno and return it on
57772         failure.
57774 2012-11-19  David S. Miller  <davem@davemloft.net>
57776         With help from Joseph Myers.
57777         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57778         very large arguments properly.
57779         * math/libm-test.inc (atan_test): New tests.
57780         (atan2_test): New tests.
57781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57784 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57786         [BZ #14856]
57787         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57788         Define to 3.
57790         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57791         [POSIX] (EADDRNOTAVAIL): Likewise.
57792         [POSIX] (EAFNOSUPPORT): Likewise.
57793         [POSIX] (EALREADY): Likewise.
57794         [POSIX] (ECONNABORTED): Likewise.
57795         [POSIX] (ECONNREFUSED): Likewise.
57796         [POSIX] (ECONNRESET): Likewise.
57797         [POSIX] (EDESTADDRREQ): Likewise.
57798         [POSIX] (EDQUOT): Likewise.
57799         [POSIX] (EHOSTUNREACH): Likewise.
57800         [POSIX] (EIDRM): Likewise.
57801         [POSIX] (EISCONN): Likewise.
57802         [POSIX] (ELOOP): Likewise.
57803         [POSIX] (EMULTIHOP): Likewise.
57804         [POSIX] (ENETDOWN): Likewise.
57805         [POSIX] (ENETUNREACH): Likewise.
57806         [POSIX] (ENOBUFS): Likewise.
57807         [POSIX] (ENODATA): Likewise.
57808         [POSIX] (ENOLINK): Likewise.
57809         [POSIX] (ENOMSG): Likewise.
57810         [POSIX] (ENOPROTOOPT): Likewise.
57811         [POSIX] (ENOSR): Likewise.
57812         [POSIX] (ENOSTR): Likewise.
57813         [POSIX] (ENOTCONN): Likewise.
57814         [POSIX] (ENOTSOCK): Likewise.
57815         [POSIX] (EOPNOTSUPP): Likewise.
57816         [POSIX] (EOVERFLOW): Likewise.
57817         [POSIX] (EPROTO): Likewise.
57818         [POSIX] (EPROTONOSUPPORT): Likewise.
57819         [POSIX] (EPROTOTYPE): Likewise.
57820         [POSIX] (ESTALE): Likewise.
57821         [POSIX] (ETIME): Likewise.
57822         [POSIX] (ETXTBSY): Likewise.
57823         [POSIX] (EWOULDBLOCK): Likewise.
57824         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57825         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57826         [POSIX] (SEEK_CUR): Likewise.
57827         [POSIX] (SEEK_END): Likewise.
57828         [POSIX || UNIX98] (mode_t): Do not require.
57829         [POSIX] (off_t): Likewise.
57830         [POSIX] (pid_t): Likewise.
57831         [POSIX] (sys/stat.h): Do not allow header.
57832         [POSIX] (unistd.h): Likewise.
57833         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57834         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57835         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57836         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57837         require.
57838         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57839         sigevent): Specify elements.
57840         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57841         entry.
57842         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57843         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57845         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57846         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57847         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57848         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57849         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57850         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57851         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57852         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57853         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57854         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57855         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57856         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57857         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57858         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57859         Likewise.
57860         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57861         Likewise.
57862         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57863         Likewise.
57864         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57865         Likewise.
57866         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57867         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57868         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57869         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57870         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57871         Specify lower bound on value.
57872         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57873         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57874         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57875         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57876         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57877         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57878         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57879         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57880         value.
57881         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57882         as optional.
57883         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57884         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57885         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57886         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57887         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57888         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57889         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57890         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57891         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57892         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57893         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57894         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57895         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57896         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57897         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57898         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57899         entry.
57900         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57901         optional.
57902         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57903         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57904         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57905         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57906         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57907         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57908         Likewise.
57909         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57910         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57911         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57912         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57913         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57914         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57915         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57916         as optional.
57917         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57918         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57919         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57920         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57921         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57922         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57923         specify as optional.
57924         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57925         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57926         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57927         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57928         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57929         [XPG3] (NL_LANGMAX): Likewise.
57930         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57931         [POSIX || XPG3] (NL_NMAX): Likewise.
57932         [POSIX || XPG3] (NL_SETMAX): Likewise.
57933         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57934         [XPG3] (NZERO): Likewise.
57935         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57936         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57937         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57938         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57939         (REG_ERANGE): Expect.
57940         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57941         optional-constant.
57942         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57943         Use (void) in prototype.
57944         [POSIX] (*_t): Allow.
57945         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57946         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57947         (WRDE_BADVAL): Expect.
57949         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57950         expect.
57951         [XPG3 || XPG4] (O_RSYNC): Likewise.
57952         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57953         Likewise.
57954         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57955         [XPG3 || XPG4] (sigqueue): Likewise.
57956         [XPG3 || XPG4] (sigtimedwait): Likewise.
57957         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57958         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57959         [XPG3 || XPG4] (vsnprintf): Likewise.
57960         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57961         Likewise.
57962         [XPG3 || XPG4] (blksize_t): Likewise.
57963         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57964         Likewise.
57965         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57966         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57967         [XPG3 || XPG4] (struct itimerspec): Likewise.
57968         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57969         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57970         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57971         [XPG3 || XPG4] (clockid_t): Likewise.
57972         [XPG3 || XPG4] (timer_t): Likewise.
57973         [XPG3 || XPG4] (clock_getres): Likewise.
57974         [XPG3 || XPG4] (clock_gettime): Likewise.
57975         [XPG3 || XPG4] (clock_settime): Likewise.
57976         [XPG3 || XPG4] (nanosleep): Likewise.
57977         [XPG3 || XPG4] (timer_create): Likewise.
57978         [XPG3 || XPG4] (timer_delete): Likewise.
57979         [XPG3 || XPG4] (timer_gettime): Likewise.
57980         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57981         [XPG3 || XPG4] (timer_settime): Likewise.
57982         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57983         [XPG3 || XPG4] (getlogin_r): Likewise.
57984         [XPG3 || XPG4] (pread): Likewise.
57985         [XPG3 || XPG4] (pthread_atfork): Likewise.
57986         [XPG3 || XPG4] (pwrite): Likewise.
57988         [BZ #14835]
57989         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57990         <bits/siginfo.h>.
57992 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57994         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57995         finalizing MALLSTREAM.
57997         * sysdeps/mach/hurd/syncfs.c: New file.
57999 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58001         [BZ #14719]
58002         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58003         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58004         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58005         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58006         (_nss_dns_gethostbyname4_r): Likewise.
58007         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58008         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58010 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58012         [BZ #13763]
58013         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58015 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58017         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58018         * elf/cache.c (print_entry): Print ",AArch64" for
58019         FLAG_AARCH64_LIB64
58021         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58022         * elf/cache.c (print_entry): Print ",hard-float" for
58023         FLAG_ARM_LIBHF.
58025 2012-11-18  David S. Miller  <davem@davemloft.net>
58027         With help from Joseph Myers.
58028         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58029         cutoff to 2**-13.
58030         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58031         cutoff to 2**-25.
58032         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58033         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58034         small.
58035         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58036         * math/libm-test.inc (y0_test): New tests.
58037         (y1_test): New tests.
58038         * sysdeps/i386/fpu/libm-test-ulps: Update.
58039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58042 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58044         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58045         64-bit targets.
58046         * configure: Regenerated.
58048 2012-11-17  David S. Miller  <davem@davemloft.net>
58050         [BZ #14811]
58051         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58052         nonzero exponents with absolute value below 0x1p-128 to +/-
58053         0x1p-128.
58055 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58057         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58059         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58061         * posix/getconf-speclist.c: New file.
58062         * posix/posix-envs.def: Likewise.
58063         * posix/confstr.c (START_ENV_GROUP): New macro.
58064         (END_ENV_GROUP): Likewise.
58065         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58066         (KNOWN_PRESENT_ENV_STRING): Likewise.
58067         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58068         (UNKNOWN_ENVIRONMENT): Likewise.
58069         (confstr): Include posix-envs.def instead of handling
58070         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58071         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58072         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58073         (END_ENV_GROUP): Likewise.
58074         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58075         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58076         (UNKNOWN_ENVIRONMENT): Likewise.
58077         (__sysconf): Include posix-envs.def instead of handling associated
58078         cases directly here.
58079         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58080         preprocessing getconf-speclist.c rather than running getconf or
58081         generating empty file.
58083 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58085         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58087 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58089         [BZ #14672]
58090         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58092 2012-11-16  David S. Miller  <davem@davemloft.net>
58094         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58095         smaller than LDBL_EPSILON/2.0L, just return xm1.
58097 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58099         * elf/tst-array1.c (init): Set constructor priority to 1000.
58100         (fini): Set destructor priority to 1000.
58101         * elf/tst-array2dep.c: Likewise.
58103 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58105         [BZ #11741]
58106         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58107         (_IO_new_file_xsputn): Also return EOF if none of the input
58108         data was written when overflow failed.
58109         * libio/iopadn.c (_IO_padn): Likewise.
58110         * libio/iowpadn.c (_IO_wpadn): Likewise.
58111         * stdio-common/tst-put-error.c: Add copyright notice.
58112         (do_test): Add case for printing padded string.
58113         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58114         _IO_padn returned error.
58115         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58116         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58117         return EOF.
58119 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58121         * libio/libioP.h: Add comment note that the references to C++
58122         bits are now obsolete.
58124 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58126         * math/libm-test.inc (check_complex): Use asprintf.
58128 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58130         * debug/pcprofiledump.c (print_version): Update copyright year.
58131         * malloc/memusagestat.c (print_version): Likewise.
58133 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58135         [BZ #14831]
58136         * elf/Makefile (tests): Add tst-audit8.
58137         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58138         ($(objpfx)tst-audit8.out): New target.
58139         (tst-audit8-ENV): New variable.
58140         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58141         audit if l_reloc_result is NULL.
58142         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58143         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58144         * elf/tst-audit8.c: New file.
58146 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58148         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58149         * misc/Makefile (CFLAGS-select.c): Define.
58150         * posix/Makefile (CFLAGS-pause.c): Define.
58152 2012-11-13  David S. Miller  <davem@davemloft.net>
58154         * crypt/Makefile: Move test targets after toplevel Rules
58155         inclusion.  Grab any necessary sysdep routines when linking.
58156         * crypt/md5.c (md5_process_block): Remove define, we will always
58157         name it __md5_process_block.
58158         (md5_finish_ctx): Update md5_process_block call.
58159         (md5_stream): Likewise.
58160         (md5_process_bytes): Likewise.
58161         (md5_process_block): Rename to __md5_process_block and move to ...
58162         * crypt/md5-block.c: ... here.
58163         * crypt/sha256.c (sha256_process_block): Move to ...
58164         * crypt/sha256-block.c: ... here.
58165         * crypt/sha512.c (sha512_process_block): Move to ...
58166         * crypt/sha512-block.c: ... here.
58167         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58168         path.
58169         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58170         * sysdeps/sparc/sparc64/multiarch/Makefile
58171         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58172         crypt subdir.
58173         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58174         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58175         multiarch changes.
58176         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58177         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58178         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58179         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58180         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58181         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58182         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58183         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58184         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58185         file.
58186         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58187         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58188         file.
58189         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58191 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58193         * timezone/tzselect.ksh: Update from tzcode git revision
58194         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58195         * timezone/zdump.c: Likewise.
58196         * timezone/zic.c: Likewise.
58197         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58198         in TZVERSION setting, not $(PKGVERSION).
58199         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58200         REPORT_BUGS_TO settings.
58202         [BZ #14838]
58203         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58204         macro.
58206 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58208         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58209         detection to immediately after _FP_ROUND().
58210         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58211         bits are 0.
58213 2012-11-11  David S. Miller  <davem@davemloft.net>
58215         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58216         inttypes.h
58217         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58218         __close rather than their public counterparts.
58220 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58222         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58223         file.
58224         [UNIX98] (sem_timedwait): Do not expect.
58225         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58226         [XPG4 || UNIX98] (sockatmark): Do not expect.
58227         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58228         (clock_getcpuclockid): Do not expect.
58229         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58230         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58231         Do not expect.
58232         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58233         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58234         [UNIX98] (vwscanf): Likewise.
58235         [UNIX98] (vswscanf): Likewise.
58237 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58239         * timezone/version.h: Remove file.
58240         * timezone/README: Do not refer to version.h.
58241         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58242         $(objpfx)version.h.
58243         ($(objpfx)zdump.o): Likewise.
58244         ($(objpfx)version.h): New target.
58246         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58247         2012i.
58248         * timezone/README: Don't mention modification to tzselect.ksh.
58249         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58250         work on unmodified tzselect.ksh.  Substitute version numbers in
58251         tzselect.ksh.
58253         * Makefile (format-me): Remove.
58254         (INSTALL): Adjust indentation.  Use commands directly instead of
58255         using $(format-me).
58257         * aclocal.m4 (ACX_PKGVERSION): New macro.
58258         (ACX_BUGURL): Likewise.
58259         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58260         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58261         (REPORT_BUGS_TO): Likewise.
58262         * configure: Regenerated.
58263         * config.h.in (PKGVERSION): New macro.
58264         (REPORT_BUGS_TO): Likewise.
58265         * config.make.in (PKGVERSION): New variable.
58266         (PKGVERSION_TEXI): Likewise.
58267         (REPORT_BUGS_TO): Likewise.
58268         (REPORT_BUGS_TEXI): Likewise.
58269         * Makefile (format-me): Use -I$(common-objpfx)manual.
58270         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58271         ($(common-objpfx)manual/%): New target.
58272         (manual/%): Remove target.
58273         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58274         (print_version): Use PKGVERSION.
58275         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58276         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58277         and REPORT_BUGS_TO.
58278         ($(objpfx)xtrace): Likewise.
58279         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58280         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58281         (print_version): Use PKGVERSION.
58282         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58283         (do_version): Use PKGVERSION.
58284         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58285         REPORT_BUGS_TO.
58286         (common-ldd-rewrite): Likewise.
58287         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58288         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58289         (print_version): Use PKGVERSION.
58290         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58291         * elf/pldd.c (argp_program_bug_address): Remove variable.
58292         (more_help): New function.
58293         (argp): Use more_help.
58294         (print_version): Use PKGVERSION.
58295         * elf/sln.c (main): Use PKGVERSION.
58296         (usage): Use REPORT_BUGS_TO.
58297         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58298         (top level): Use PKGVERSION.
58299         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58300         (print_version): Use PKGVERSION.
58301         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58302         (print_version): Use PKGVERSION.
58303         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58304         (print_version): Use PKGVERSION.
58305         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58306         (print_version): Use PKGVERSION.
58307         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58308         (print_version): Use PKGVERSION.
58309         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58310         (print_version): Use PKGVERSION.
58311         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58312         and BUGURL.
58313         ($(objpfx)memusage): Likewise.
58314         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58315         (do_version): Use PKGVERSION.
58316         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58317         (print_version): Use PKGVERSION.
58318         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58319         ($PKGVERSION): New variable.
58320         ($REPORT_BUGS_TO): Likewise.
58321         (usage): Use $REPORT_BUGS_TO.
58322         (top level): Use $PKGVERSION.
58323         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58324         ($(objpfx)pkgvers.texi): New rule.
58325         ($(objpfx)stamp-pkgvers): Likewise.
58326         * manual/install.texi: Include pkgvers.texi.
58327         (--with-pkgversion): Document new configure option.
58328         (--with-bugurl): Likewise.
58329         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58330         than necessarily for this particular distribution.  Use
58331         REPORT_BUGS_TO for where to report bugs.
58332         * INSTALL: Regenerated.
58333         * manual/libc.texinfo: Include pkgvers.texi.
58334         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58335         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58336         (print_version): Use PKGVERSION.
58337         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58338         (print_version): Use PKGVERSION.
58339         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58340         (print_version): Use PKGVERSION.
58341         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58342         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58343         macro.
58344         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58345         (print_version): Use PKGVERSION.
58346         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58347         (print_version): Use PKGVERSION.
58348         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58349         and PKGVERSION.
58351         * timezone/checktab.awk: Update from tzcode 2012i.
58352         * timezone/ialloc.c: Likewise.
58353         * timezone/private.h: Likewise.
58354         * timezone/scheck.c: Likewise.
58355         * timezone/tzfile.h: Likewise.
58356         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58357         (TZVERSION): Hardcode tzcode version number.
58358         * timezone/zdump.c: Update from tzcode 2012i.
58359         * timezone/zic.c: Likewise.
58360         * timezone/version.h: New file.
58361         * timezone/README: Describe version.h.  Update upstream location.
58363         [BZ #14824]
58364         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58365         (mktemp): Enable declaration.
58366         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58368         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58370         Likewise.
58371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58372         Likewise.
58373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58374         Likewise.
58375         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58376         Likewise.
58377         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58378         Likewise.
58379         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58380         Likewise.
58382         [BZ #14821]
58383         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58384         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58385         for copies of such integer values.
58386         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58387         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58389 2012-11-09  Andreas Jaeger  <aj@suse.de>
58391         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58392         definitions and declarations that are provided by
58393         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58395 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58397         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58398         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58399         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58400         definition.
58402 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58404         * elf/elf.h: Update comment before AArch64 relocations.
58406 2012-11-07  David S. Miller  <davem@davemloft.net>
58408         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58409         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58410         (__start_context): Declare.
58411         (__makecontext_ret): Delete.
58412         (__makecontext): Hook up __start_context instead of
58413         __makecontext_ret.
58414         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58415         (sysdep_routines): Add __start_context when in stdlib.
58417 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58419         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58420         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58421         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58422         hardcoded "nm".
58423         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58424         (READELF): New variable.  Use it instead of hardcoded "readelf".
58426 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58428         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58429         * sysdeps/x86/Makefile: Here.
58430         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58431         * sysdeps/x86/tst-xmmymm.sh: This.
58433 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58435         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58436         expectations.
58437         [UNIX98] (pthread_barrier_t): Do not expect.
58438         [UNIX98] (pthread_barrierattr_t): Likewise.
58439         [UNIX98] (pthread_spinlock_t): Likewise.
58440         [UNIX98] (pthread_barrier_destroy): Likewise.
58441         [UNIX98] (pthread_barrier_init): Likewise.
58442         [UNIX98] (pthread_barrier_wait): Likewise.
58443         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58444         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58445         [UNIX98] (pthread_barrierattr_init): Likewise.
58446         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58447         [UNIX98] (pthread_getcpuclockid): Likewise.
58448         [UNIX98] (pthread_mutex_timedlock): Likewise.
58449         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58450         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58451         [UNIX98] (pthread_sigmask): Likewise.
58452         [UNIX98] (pthread_spin_destroy): Likewise.
58453         [UNIX98] (pthread_spin_init): Likewise.
58454         [UNIX98] (pthread_spin_lock): Likewise.
58455         [UNIX98] (pthread_spin_trylock): Likewise.
58456         [UNIX98] (pthread_spin_unlock): Likewise.
58457         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58458         Do not expect.
58459         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58460         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58461         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58462         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58463         [XPG3 || XPG4] (pthread_key_t): Likewise.
58464         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58465         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58466         [XPG3 || XPG4] (pthread_once_t): Likewise.
58467         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58468         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58469         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58470         [XPG3 || XPG4] (pthread_t): Likewise.
58472         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58473         not expect.
58474         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58476         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58477         Change function return type to int.
58479         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58480         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58481         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58482         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58483         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58484         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58485         [!POSIX] (posix_madvise): Likewise.
58486         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58487         && !UNIX98].
58488         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58489         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58490         (mode_t): Likewise.
58491         (posix_mem_offset): Likewise.
58492         (posix_typed_mem_get_info): Likewise.
58493         (posix_typed_mem_open): Likewise.
58495         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58496         Change condition to [XOPEN2K8].
58498         * conform/conformtest.pl: Preprocess allow-header data with -x c
58499         instead of from stdin.
58500         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58501         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58502         [C99-based standards] (cerfc): Likewise.
58503         [C99-based standards] (cexp2): Likewise.
58504         [C99-based standards] (cexpm1): Likewise.
58505         [C99-based standards] (clog10): Likewise.
58506         [C99-based standards] (clog1p): Likewise.
58507         [C99-based standards] (clog2): Likewise.
58508         [C99-based standards] (clgamma): Likewise.
58509         [C99-based standards] (ctgamma): Likewise.
58510         [C99-based standards] (cerff): Likewise.
58511         [C99-based standards] (cerfcf): Likewise.
58512         [C99-based standards] (cexp2f): Likewise.
58513         [C99-based standards] (cexpm1f): Likewise.
58514         [C99-based standards] (clog10f): Likewise.
58515         [C99-based standards] (clog1pf): Likewise.
58516         [C99-based standards] (clog2f): Likewise.
58517         [C99-based standards] (clgammaf): Likewise.
58518         [C99-based standards] (ctgammaf): Likewise.
58519         [C99-based standards] (cerfl): Likewise.
58520         [C99-based standards] (cerfcl): Likewise.
58521         [C99-based standards] (cexp2l): Likewise.
58522         [C99-based standards] (cexpm1l): Likewise.
58523         [C99-based standards] (clog10l): Likewise.
58524         [C99-based standards] (clog1pl): Likewise.
58525         [C99-based standards] (clog2l): Likewise.
58526         [C99-based standards] (clgammal): Likewise.
58527         [C99-based standards] (ctgammal): Likewise.
58528         * conform/data/inttypes.h-data [C99-based standards]: Include
58529         stdint.h-data.  Remove all expectations for stdint.h contents.
58530         [C99-based standards] (PRI*): Do not allow.
58531         [C99-based standards] (SCN*): Likewise.
58532         [C99-based standards] (*_t): Likewise.
58533         [C99-based-standards] (PRId8): Expect macro.
58534         [C99-based-standards] (PRIi8): Likewise.
58535         [C99-based-standards] (PRIo8): Likewise.
58536         [C99-based-standards] (PRIu8): Likewise.
58537         [C99-based-standards] (PRIx8): Likewise.
58538         [C99-based-standards] (PRIX8): Likewise.
58539         [C99-based-standards] (SCNd8): Likewise.
58540         [C99-based-standards] (SCNi8): Likewise.
58541         [C99-based-standards] (SCNo8): Likewise.
58542         [C99-based-standards] (SCNu8): Likewise.
58543         [C99-based-standards] (SCNx8): Likewise.
58544         [C99-based-standards] (PRIdLEAST8): Likewise.
58545         [C99-based-standards] (PRIiLEAST8): Likewise.
58546         [C99-based-standards] (PRIoLEAST8): Likewise.
58547         [C99-based-standards] (PRIuLEAST8): Likewise.
58548         [C99-based-standards] (PRIxLEAST8): Likewise.
58549         [C99-based-standards] (PRIXLEAST8): Likewise.
58550         [C99-based-standards] (SCNdLEAST8): Likewise.
58551         [C99-based-standards] (SCNiLEAST8): Likewise.
58552         [C99-based-standards] (SCNoLEAST8): Likewise.
58553         [C99-based-standards] (SCNuLEAST8): Likewise.
58554         [C99-based-standards] (SCNxLEAST8): Likewise.
58555         [C99-based-standards] (PRIdFAST8): Likewise.
58556         [C99-based-standards] (PRIiFAST8): Likewise.
58557         [C99-based-standards] (PRIoFAST8): Likewise.
58558         [C99-based-standards] (PRIuFAST8): Likewise.
58559         [C99-based-standards] (PRIxFAST8): Likewise.
58560         [C99-based-standards] (PRIXFAST8): Likewise.
58561         [C99-based-standards] (SCNdFAST8): Likewise.
58562         [C99-based-standards] (SCNiFAST8): Likewise.
58563         [C99-based-standards] (SCNoFAST8): Likewise.
58564         [C99-based-standards] (SCNuFAST8): Likewise.
58565         [C99-based-standards] (SCNxFAST8): Likewise.
58566         [C99-based-standards] (PRId16): Likewise.
58567         [C99-based-standards] (PRIi16): Likewise.
58568         [C99-based-standards] (PRIo16): Likewise.
58569         [C99-based-standards] (PRIu16): Likewise.
58570         [C99-based-standards] (PRIx16): Likewise.
58571         [C99-based-standards] (PRIX16): Likewise.
58572         [C99-based-standards] (SCNd16): Likewise.
58573         [C99-based-standards] (SCNi16): Likewise.
58574         [C99-based-standards] (SCNo16): Likewise.
58575         [C99-based-standards] (SCNu16): Likewise.
58576         [C99-based-standards] (SCNx16): Likewise.
58577         [C99-based-standards] (PRIdLEAST16): Likewise.
58578         [C99-based-standards] (PRIiLEAST16): Likewise.
58579         [C99-based-standards] (PRIoLEAST16): Likewise.
58580         [C99-based-standards] (PRIuLEAST16): Likewise.
58581         [C99-based-standards] (PRIxLEAST16): Likewise.
58582         [C99-based-standards] (PRIXLEAST16): Likewise.
58583         [C99-based-standards] (SCNdLEAST16): Likewise.
58584         [C99-based-standards] (SCNiLEAST16): Likewise.
58585         [C99-based-standards] (SCNoLEAST16): Likewise.
58586         [C99-based-standards] (SCNuLEAST16): Likewise.
58587         [C99-based-standards] (SCNxLEAST16): Likewise.
58588         [C99-based-standards] (PRIdFAST16): Likewise.
58589         [C99-based-standards] (PRIiFAST16): Likewise.
58590         [C99-based-standards] (PRIoFAST16): Likewise.
58591         [C99-based-standards] (PRIuFAST16): Likewise.
58592         [C99-based-standards] (PRIxFAST16): Likewise.
58593         [C99-based-standards] (PRIXFAST16): Likewise.
58594         [C99-based-standards] (SCNdFAST16): Likewise.
58595         [C99-based-standards] (SCNiFAST16): Likewise.
58596         [C99-based-standards] (SCNoFAST16): Likewise.
58597         [C99-based-standards] (SCNuFAST16): Likewise.
58598         [C99-based-standards] (SCNxFAST16): Likewise.
58599         [C99-based-standards] (PRId32): Likewise.
58600         [C99-based-standards] (PRIi32): Likewise.
58601         [C99-based-standards] (PRIo32): Likewise.
58602         [C99-based-standards] (PRIu32): Likewise.
58603         [C99-based-standards] (PRIx32): Likewise.
58604         [C99-based-standards] (PRIX32): Likewise.
58605         [C99-based-standards] (SCNd32): Likewise.
58606         [C99-based-standards] (SCNi32): Likewise.
58607         [C99-based-standards] (SCNo32): Likewise.
58608         [C99-based-standards] (SCNu32): Likewise.
58609         [C99-based-standards] (SCNx32): Likewise.
58610         [C99-based-standards] (PRIdLEAST32): Likewise.
58611         [C99-based-standards] (PRIiLEAST32): Likewise.
58612         [C99-based-standards] (PRIoLEAST32): Likewise.
58613         [C99-based-standards] (PRIuLEAST32): Likewise.
58614         [C99-based-standards] (PRIxLEAST32): Likewise.
58615         [C99-based-standards] (PRIXLEAST32): Likewise.
58616         [C99-based-standards] (SCNdLEAST32): Likewise.
58617         [C99-based-standards] (SCNiLEAST32): Likewise.
58618         [C99-based-standards] (SCNoLEAST32): Likewise.
58619         [C99-based-standards] (SCNuLEAST32): Likewise.
58620         [C99-based-standards] (SCNxLEAST32): Likewise.
58621         [C99-based-standards] (PRIdFAST32): Likewise.
58622         [C99-based-standards] (PRIiFAST32): Likewise.
58623         [C99-based-standards] (PRIoFAST32): Likewise.
58624         [C99-based-standards] (PRIuFAST32): Likewise.
58625         [C99-based-standards] (PRIxFAST32): Likewise.
58626         [C99-based-standards] (PRIXFAST32): Likewise.
58627         [C99-based-standards] (SCNdFAST32): Likewise.
58628         [C99-based-standards] (SCNiFAST32): Likewise.
58629         [C99-based-standards] (SCNoFAST32): Likewise.
58630         [C99-based-standards] (SCNuFAST32): Likewise.
58631         [C99-based-standards] (SCNxFAST32): Likewise.
58632         [C99-based-standards] (PRId64): Likewise.
58633         [C99-based-standards] (PRIi64): Likewise.
58634         [C99-based-standards] (PRIo64): Likewise.
58635         [C99-based-standards] (PRIu64): Likewise.
58636         [C99-based-standards] (PRIx64): Likewise.
58637         [C99-based-standards] (PRIX64): Likewise.
58638         [C99-based-standards] (SCNd64): Likewise.
58639         [C99-based-standards] (SCNi64): Likewise.
58640         [C99-based-standards] (SCNo64): Likewise.
58641         [C99-based-standards] (SCNu64): Likewise.
58642         [C99-based-standards] (SCNx64): Likewise.
58643         [C99-based-standards] (PRIdLEAST64): Likewise.
58644         [C99-based-standards] (PRIiLEAST64): Likewise.
58645         [C99-based-standards] (PRIoLEAST64): Likewise.
58646         [C99-based-standards] (PRIuLEAST64): Likewise.
58647         [C99-based-standards] (PRIxLEAST64): Likewise.
58648         [C99-based-standards] (PRIXLEAST64): Likewise.
58649         [C99-based-standards] (SCNdLEAST64): Likewise.
58650         [C99-based-standards] (SCNiLEAST64): Likewise.
58651         [C99-based-standards] (SCNoLEAST64): Likewise.
58652         [C99-based-standards] (SCNuLEAST64): Likewise.
58653         [C99-based-standards] (SCNxLEAST64): Likewise.
58654         [C99-based-standards] (PRIdFAST64): Likewise.
58655         [C99-based-standards] (PRIiFAST64): Likewise.
58656         [C99-based-standards] (PRIoFAST64): Likewise.
58657         [C99-based-standards] (PRIuFAST64): Likewise.
58658         [C99-based-standards] (PRIxFAST64): Likewise.
58659         [C99-based-standards] (PRIXFAST64): Likewise.
58660         [C99-based-standards] (SCNdFAST64): Likewise.
58661         [C99-based-standards] (SCNiFAST64): Likewise.
58662         [C99-based-standards] (SCNoFAST64): Likewise.
58663         [C99-based-standards] (SCNuFAST64): Likewise.
58664         [C99-based-standards] (SCNxFAST64): Likewise.
58665         [C99-based-standards] (PRIdMAX): Likewise.
58666         [C99-based-standards] (PRIiMAX): Likewise.
58667         [C99-based-standards] (PRIoMAX): Likewise.
58668         [C99-based-standards] (PRIuMAX): Likewise.
58669         [C99-based-standards] (PRIxMAX): Likewise.
58670         [C99-based-standards] (PRIXMAX): Likewise.
58671         [C99-based-standards] (SCNdMAX): Likewise.
58672         [C99-based-standards] (SCNiMAX): Likewise.
58673         [C99-based-standards] (SCNoMAX): Likewise.
58674         [C99-based-standards] (SCNuMAX): Likewise.
58675         [C99-based-standards] (SCNxMAX): Likewise.
58676         [C99-based-standards] (PRIdPTR): Likewise.
58677         [C99-based-standards] (PRIiPTR): Likewise.
58678         [C99-based-standards] (PRIoPTR): Likewise.
58679         [C99-based-standards] (PRIuPTR): Likewise.
58680         [C99-based-standards] (PRIxPTR): Likewise.
58681         [C99-based-standards] (PRIXPTR): Likewise.
58682         [C99-based-standards] (SCNdPTR): Likewise.
58683         [C99-based-standards] (SCNiPTR): Likewise.
58684         [C99-based-standards] (SCNoPTR): Likewise.
58685         [C99-based-standards] (SCNuPTR): Likewise.
58686         [C99-based-standards] (SCNxPTR): Likewise.
58687         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58688         allow.
58689         * conform/data/stdint.h-data: Update comments to clarify
58690         requirements.
58691         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58692         type.
58693         [C99-based standards] (INT8_MAX): Likewise.
58694         [C99-based standards] (INT16_MIN): Likewise.
58695         [C99-based standards] (INT16_MAX): Likewise.
58696         [C99-based standards] (INT32_MIN): Likewise.
58697         [C99-based standards] (INT32_MAX): Likewise.
58698         [C99-based standards] (INT64_MIN): Likewise.
58699         [C99-based standards] (INT64_MAX): Likewise.
58700         [C99-based standards] (UINT8_MAX): Likewise.
58701         [C99-based standards] (UINT16_MAX): Likewise.
58702         [C99-based standards] (UINT32_MAX): Likewise.
58703         [C99-based standards] (UINT64_MAX): Likewise.
58704         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58705         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58706         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58707         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58708         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58709         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58710         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58711         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58712         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58713         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58714         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58715         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58716         [C99-based standards] (INT_FAST8_MIN): Likewise.
58717         [C99-based standards] (INT_FAST8_MAX): Likewise.
58718         [C99-based standards] (INT_FAST16_MIN): Likewise.
58719         [C99-based standards] (INT_FAST16_MAX): Likewise.
58720         [C99-based standards] (INT_FAST32_MIN): Likewise.
58721         [C99-based standards] (INT_FAST32_MAX): Likewise.
58722         [C99-based standards] (INT_FAST64_MIN): Likewise.
58723         [C99-based standards] (INT_FAST64_MAX): Likewise.
58724         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58725         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58726         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58727         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58728         [C99-based standards] (INTPTR_MIN): Likewise.
58729         [C99-based standards] (INTPTR_MAX): Likewise.
58730         [C99-based standards] (UINTPTR_MAX): Likewise.
58731         [C99-based standards] (INTMAX_MIN): Likewise.
58732         [C99-based standards] (INTMAX_MAX): Likewise.
58733         [C99-based standards] (UINTMAX_MAX): Likewise.
58734         [C99-based standards] (PTRDIFF_MIN): Likewise.
58735         [C99-based standards] (PTRDIFF_MAX): Likewise.
58736         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58737         [C99-based standards] (SIZE_MAX): Likewise.
58738         [C99-based standards] (WCHAR_MAX): Likewise.
58739         [C99-based standards] (WINT_MAX): Likewise.
58740         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58741         constraint on value.
58742         [C99-based standards] (WCHAR_MIN): Likewise.
58743         [C99-based standards] (WINT_MIN): Likewise.
58744         [C99-based standards] (*_t): Allow.
58745         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58746         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58747         Include math.h-data and complex.h-data.  Remove all expectations
58748         of math.h and complex.h contents.
58749         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58750         at end of line.
58751         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58752         (struct tm): Expect tag.
58753         [C99-based-standards] (wcstof): Expect function.
58754         [C99-based-standards] (wcstold): Likewise.
58755         [C99-based-standards] (wcstoll): Likewise.
58756         [C99-based-standards] (wcstoull): Likewise.
58757         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58758         macro-int-constant.  Specify type.
58759         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58760         constraint on value.
58761         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58762         Specify type.
58763         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58764         Specify value.
58765         [ISO C standards]: Do not allow headers.
58766         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58767         wcs[abcdefghijklmnopqrstuvwxyz]*.
58768         [ISO C standards] (*_t): Do not allow.
58769         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58770         Expect function.
58771         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58772         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58773         Specify type.
58774         [ISO C standards]: Do not allow headers.
58775         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58776         is[abcdefghijklmnopqrstuvwxyz]*.
58777         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58778         to[abcdefghijklmnopqrstuvwxyz]*.
58779         [ISO C standards] (*_t): Do not allow.
58780         * conform/data/stdalign.h-data: New file.
58781         * conform/data/stdbool.h-data: Likewise.
58782         * conform/data/stdnoreturn.h-data: Likewise.
58784 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58786         [BZ #14815]
58787         * manual/filesys.texi (Directory Entries): Typo fix.
58788         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58790 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58792         * elf/elf.h (EM_AARCH64): New macro.
58793         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58794         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58795         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58796         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58797         (R_AARCH64_TLSDESC): Likewise.
58798         (NT_ARM_TLS): Likewise.
58799         (NT_ARM_HW_BREAK): Likewise.
58800         (NT_ARM_HW_WATCH): Likewise.
58802 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58804         [BZ #14811]
58805         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58806         (__ieee754_powl): Saturate nonzero exponents with absolute value
58807         below 0x1p-79 to +/- 0x1p-79.
58808         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58809         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58810         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58811         nonzero exponents with absolute value below 0x1p-32 to +/-
58812         0x1p-32.
58813         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58814         (__ieee754_powl): Saturate nonzero exponents with absolute value
58815         below 0x1p-79 to +/- 0x1p-79.
58816         * math/libm-test.inc (pow_test): Add more tests.
58818 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58820         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58821         _dl_s390_cap_flags with kernel. Increase string length.
58822         (_dl_s390_platforms): Add z196 and zEC12.
58824 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58826         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58827         Change XOPEN21K to XOPEN2K.
58829 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58831         * string/memmove.c: Use memcpy when possible.
58833 2012-11-06  Andreas Jaeger  <aj@suse.de>
58835         * po/eo.po: Update from translation team.
58837 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58839         [BZ #14793]
58840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58841         exponent and small x and y exponents, scale x or y up.  Increase
58842         by 2 the exponent used in scaling up.
58843         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58844         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58845         * math/libm-test.inc (fma_test): Add more tests.
58846         (fma_test_towardzero): Likewise.
58847         (fma_test_downward): Likewise.
58848         (fma_test_upward): Likewise.
58850 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58852         [BZ #14805]
58853         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58854         fenv_t *.
58856         [BZ #14801]
58857         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58858         namespace for names of struct fields.
58859         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58860         fenv_t fields.
58861         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58862         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58864 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58866         [BZ #3665]
58867         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58869 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58871         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58872         PTR_DEMANGLE.
58874         [BZ #5246]
58875         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58876         PTR_DEMANGLE.
58878 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58880         [BZ #14797]
58881         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58882         definitely overflow as x * y not x * y + z.
58883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58885         * math/libm-test.inc (fma_test): Add more tests.
58886         (fma_test_towardzero): Likewise.
58887         (fma_test_downward): Likewise.
58888         (fma_test_upward): Likewise.
58890 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58892         [BZ #157]
58894         * include/stub-tag.h: Remove file.
58895         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58896         '#include' of it.
58897         * manual/maint.texi (Porting): Don't reference it.
58898         * Makerules ($(objpfx)stubs): Likewise.
58899         * dirent/closedir.c: Don't include <stub-tag.h>.
58900         * dirent/dirfd.c: Likewise.
58901         * dirent/fdopendir.c: Likewise.
58902         * dirent/getdents.c: Likewise.
58903         * dirent/getdents64.c: Likewise.
58904         * dirent/opendir.c: Likewise.
58905         * dirent/readdir.c: Likewise.
58906         * dirent/readdir64.c: Likewise.
58907         * dirent/readdir64_r.c: Likewise.
58908         * dirent/readdir_r.c: Likewise.
58909         * dirent/rewinddir.c: Likewise.
58910         * dirent/seekdir.c: Likewise.
58911         * dirent/telldir.c: Likewise.
58912         * gmon/profil.c: Likewise.
58913         * grp/setgroups.c: Likewise.
58914         * inet/if_index.c: Likewise.
58915         * io/access.c: Likewise.
58916         * io/chdir.c: Likewise.
58917         * io/chmod.c: Likewise.
58918         * io/chown.c: Likewise.
58919         * io/close.c: Likewise.
58920         * io/dup.c: Likewise.
58921         * io/dup2.c: Likewise.
58922         * io/dup3.c: Likewise.
58923         * io/euidaccess.c: Likewise.
58924         * io/faccessat.c: Likewise.
58925         * io/fchdir.c: Likewise.
58926         * io/fchmod.c: Likewise.
58927         * io/fchmodat.c: Likewise.
58928         * io/fchown.c: Likewise.
58929         * io/fchownat.c: Likewise.
58930         * io/fcntl.c: Likewise.
58931         * io/flock.c: Likewise.
58932         * io/fstatfs.c: Likewise.
58933         * io/fstatfs64.c: Likewise.
58934         * io/fstatvfs.c: Likewise.
58935         * io/fstatvfs64.c: Likewise.
58936         * io/futimens.c: Likewise.
58937         * io/fxstat.c: Likewise.
58938         * io/fxstat64.c: Likewise.
58939         * io/fxstatat.c: Likewise.
58940         * io/fxstatat64.c: Likewise.
58941         * io/getcwd.c: Likewise.
58942         * io/isatty.c: Likewise.
58943         * io/lchmod.c: Likewise.
58944         * io/lchown.c: Likewise.
58945         * io/link.c: Likewise.
58946         * io/linkat.c: Likewise.
58947         * io/lseek.c: Likewise.
58948         * io/lseek64.c: Likewise.
58949         * io/lxstat64.c: Likewise.
58950         * io/mkdir.c: Likewise.
58951         * io/mkdirat.c: Likewise.
58952         * io/mkfifo.c: Likewise.
58953         * io/mkfifoat.c: Likewise.
58954         * io/open.c: Likewise.
58955         * io/open64.c: Likewise.
58956         * io/openat.c: Likewise.
58957         * io/openat64.c: Likewise.
58958         * io/pipe.c: Likewise.
58959         * io/pipe2.c: Likewise.
58960         * io/poll.c: Likewise.
58961         * io/posix_fadvise.c: Likewise.
58962         * io/posix_fadvise64.c: Likewise.
58963         * io/posix_fallocate.c: Likewise.
58964         * io/posix_fallocate64.c: Likewise.
58965         * io/read.c: Likewise.
58966         * io/readlink.c: Likewise.
58967         * io/readlinkat.c: Likewise.
58968         * io/rmdir.c: Likewise.
58969         * io/sendfile.c: Likewise.
58970         * io/sendfile64.c: Likewise.
58971         * io/statfs.c: Likewise.
58972         * io/statfs64.c: Likewise.
58973         * io/statvfs.c: Likewise.
58974         * io/statvfs64.c: Likewise.
58975         * io/symlink.c: Likewise.
58976         * io/symlinkat.c: Likewise.
58977         * io/ttyname.c: Likewise.
58978         * io/ttyname_r.c: Likewise.
58979         * io/umask.c: Likewise.
58980         * io/unlink.c: Likewise.
58981         * io/unlinkat.c: Likewise.
58982         * io/utime.c: Likewise.
58983         * io/utimensat.c: Likewise.
58984         * io/write.c: Likewise.
58985         * io/xmknod.c: Likewise.
58986         * io/xmknodat.c: Likewise.
58987         * io/xstat.c: Likewise.
58988         * io/xstat64.c: Likewise.
58989         * login/getpt.c: Likewise.
58990         * login/grantpt.c: Likewise.
58991         * login/unlockpt.c: Likewise.
58992         * math/e_acoshl.c: Likewise.
58993         * math/e_acosl.c: Likewise.
58994         * math/e_asinl.c: Likewise.
58995         * math/e_atan2l.c: Likewise.
58996         * math/e_atanhl.c: Likewise.
58997         * math/e_coshl.c: Likewise.
58998         * math/e_expl.c: Likewise.
58999         * math/e_fmodl.c: Likewise.
59000         * math/e_gammal_r.c: Likewise.
59001         * math/e_hypotl.c: Likewise.
59002         * math/e_j0l.c: Likewise.
59003         * math/e_j1l.c: Likewise.
59004         * math/e_jnl.c: Likewise.
59005         * math/e_lgammal_r.c: Likewise.
59006         * math/e_log10l.c: Likewise.
59007         * math/e_log2l.c: Likewise.
59008         * math/e_logl.c: Likewise.
59009         * math/e_powl.c: Likewise.
59010         * math/e_rem_pio2l.c: Likewise.
59011         * math/e_sinhl.c: Likewise.
59012         * math/e_sqrtl.c: Likewise.
59013         * math/fclrexcpt.c: Likewise.
59014         * math/fedisblxcpt.c: Likewise.
59015         * math/feenablxcpt.c: Likewise.
59016         * math/fegetenv.c: Likewise.
59017         * math/fegetexcept.c: Likewise.
59018         * math/fegetround.c: Likewise.
59019         * math/feholdexcpt.c: Likewise.
59020         * math/fesetenv.c: Likewise.
59021         * math/fesetround.c: Likewise.
59022         * math/feupdateenv.c: Likewise.
59023         * math/fgetexcptflg.c: Likewise.
59024         * math/fraiseexcpt.c: Likewise.
59025         * math/fsetexcptflg.c: Likewise.
59026         * math/ftestexcept.c: Likewise.
59027         * math/k_cosl.c: Likewise.
59028         * math/k_rem_pio2l.c: Likewise.
59029         * math/k_sinl.c: Likewise.
59030         * math/k_tanl.c: Likewise.
59031         * math/s_asinhl.c: Likewise.
59032         * math/s_atanl.c: Likewise.
59033         * math/s_cbrtl.c: Likewise.
59034         * math/s_erfl.c: Likewise.
59035         * math/s_expm1l.c: Likewise.
59036         * math/s_log1pl.c: Likewise.
59037         * math/s_tanhl.c: Likewise.
59038         * misc/acct.c: Likewise.
59039         * misc/brk.c: Likewise.
59040         * misc/chflags.c: Likewise.
59041         * misc/chroot.c: Likewise.
59042         * misc/fchflags.c: Likewise.
59043         * misc/fgetxattr.c: Likewise.
59044         * misc/flistxattr.c: Likewise.
59045         * misc/fremovexattr.c: Likewise.
59046         * misc/fsetxattr.c: Likewise.
59047         * misc/fsync.c: Likewise.
59048         * misc/ftruncate.c: Likewise.
59049         * misc/futimes.c: Likewise.
59050         * misc/futimesat.c: Likewise.
59051         * misc/getdomain.c: Likewise.
59052         * misc/getdtsz.c: Likewise.
59053         * misc/gethostid.c: Likewise.
59054         * misc/gethostname.c: Likewise.
59055         * misc/getloadavg.c: Likewise.
59056         * misc/getpagesize.c: Likewise.
59057         * misc/getsysstats.c: Likewise.
59058         * misc/getxattr.c: Likewise.
59059         * misc/gtty.c: Likewise.
59060         * misc/ioctl.c: Likewise.
59061         * misc/lgetxattr.c: Likewise.
59062         * misc/listxattr.c: Likewise.
59063         * misc/llistxattr.c: Likewise.
59064         * misc/lremovexattr.c: Likewise.
59065         * misc/lsetxattr.c: Likewise.
59066         * misc/lutimes.c: Likewise.
59067         * misc/madvise.c: Likewise.
59068         * misc/mincore.c: Likewise.
59069         * misc/mlock.c: Likewise.
59070         * misc/mlockall.c: Likewise.
59071         * misc/mmap.c: Likewise.
59072         * misc/mprotect.c: Likewise.
59073         * misc/msync.c: Likewise.
59074         * misc/munlock.c: Likewise.
59075         * misc/munlockall.c: Likewise.
59076         * misc/munmap.c: Likewise.
59077         * misc/preadv.c: Likewise.
59078         * misc/preadv64.c: Likewise.
59079         * misc/ptrace.c: Likewise.
59080         * misc/pwritev.c: Likewise.
59081         * misc/pwritev64.c: Likewise.
59082         * misc/readv.c: Likewise.
59083         * misc/reboot.c: Likewise.
59084         * misc/remap_file_pages.c: Likewise.
59085         * misc/removexattr.c: Likewise.
59086         * misc/revoke.c: Likewise.
59087         * misc/select.c: Likewise.
59088         * misc/setdomain.c: Likewise.
59089         * misc/setegid.c: Likewise.
59090         * misc/seteuid.c: Likewise.
59091         * misc/sethostid.c: Likewise.
59092         * misc/sethostname.c: Likewise.
59093         * misc/setregid.c: Likewise.
59094         * misc/setreuid.c: Likewise.
59095         * misc/setxattr.c: Likewise.
59096         * misc/sstk.c: Likewise.
59097         * misc/stty.c: Likewise.
59098         * misc/swapoff.c: Likewise.
59099         * misc/swapon.c: Likewise.
59100         * misc/sync.c: Likewise.
59101         * misc/syncfs.c: Likewise.
59102         * misc/syscall.c: Likewise.
59103         * misc/truncate.c: Likewise.
59104         * misc/ualarm.c: Likewise.
59105         * misc/usleep.c: Likewise.
59106         * misc/ustat.c: Likewise.
59107         * misc/utimes.c: Likewise.
59108         * misc/vhangup.c: Likewise.
59109         * misc/writev.c: Likewise.
59110         * posix/_exit.c: Likewise.
59111         * posix/alarm.c: Likewise.
59112         * posix/execve.c: Likewise.
59113         * posix/fexecve.c: Likewise.
59114         * posix/fork.c: Likewise.
59115         * posix/fpathconf.c: Likewise.
59116         * posix/getaddrinfo.c: Likewise.
59117         * posix/getegid.c: Likewise.
59118         * posix/geteuid.c: Likewise.
59119         * posix/getgid.c: Likewise.
59120         * posix/getgroups.c: Likewise.
59121         * posix/getlogin.c: Likewise.
59122         * posix/getlogin_r.c: Likewise.
59123         * posix/getpgid.c: Likewise.
59124         * posix/getpid.c: Likewise.
59125         * posix/getppid.c: Likewise.
59126         * posix/getresgid.c: Likewise.
59127         * posix/getresuid.c: Likewise.
59128         * posix/getsid.c: Likewise.
59129         * posix/getuid.c: Likewise.
59130         * posix/glob64.c: Likewise.
59131         * posix/nanosleep.c: Likewise.
59132         * posix/pathconf.c: Likewise.
59133         * posix/pause.c: Likewise.
59134         * posix/posix_madvise.c: Likewise.
59135         * posix/pread.c: Likewise.
59136         * posix/pread64.c: Likewise.
59137         * posix/pwrite.c: Likewise.
59138         * posix/pwrite64.c: Likewise.
59139         * posix/sched_getaffinity.c: Likewise.
59140         * posix/sched_getp.c: Likewise.
59141         * posix/sched_gets.c: Likewise.
59142         * posix/sched_primax.c: Likewise.
59143         * posix/sched_primin.c: Likewise.
59144         * posix/sched_rr_gi.c: Likewise.
59145         * posix/sched_setaffinity.c: Likewise.
59146         * posix/sched_setp.c: Likewise.
59147         * posix/sched_sets.c: Likewise.
59148         * posix/sched_yield.c: Likewise.
59149         * posix/setgid.c: Likewise.
59150         * posix/setlogin.c: Likewise.
59151         * posix/setpgid.c: Likewise.
59152         * posix/setresgid.c: Likewise.
59153         * posix/setresuid.c: Likewise.
59154         * posix/setsid.c: Likewise.
59155         * posix/setuid.c: Likewise.
59156         * posix/sleep.c: Likewise.
59157         * posix/spawni.c: Likewise.
59158         * posix/sysconf.c: Likewise.
59159         * posix/times.c: Likewise.
59160         * posix/wait.c: Likewise.
59161         * posix/wait3.c: Likewise.
59162         * posix/wait4.c: Likewise.
59163         * posix/waitpid.c: Likewise.
59164         * resolv/gai_sigqueue.c: Likewise.
59165         * resource/getpriority.c: Likewise.
59166         * resource/getrlimit.c: Likewise.
59167         * resource/getrusage.c: Likewise.
59168         * resource/nice.c: Likewise.
59169         * resource/setpriority.c: Likewise.
59170         * resource/setrlimit.c: Likewise.
59171         * resource/ulimit.c: Likewise.
59172         * rt/aio_cancel.c: Likewise.
59173         * rt/aio_fsync.c: Likewise.
59174         * rt/aio_read.c: Likewise.
59175         * rt/aio_sigqueue.c: Likewise.
59176         * rt/aio_suspend.c: Likewise.
59177         * rt/aio_write.c: Likewise.
59178         * rt/clock_getres.c: Likewise.
59179         * rt/clock_gettime.c: Likewise.
59180         * rt/clock_nanosleep.c: Likewise.
59181         * rt/clock_settime.c: Likewise.
59182         * rt/lio_listio.c: Likewise.
59183         * rt/mq_close.c: Likewise.
59184         * rt/mq_getattr.c: Likewise.
59185         * rt/mq_notify.c: Likewise.
59186         * rt/mq_open.c: Likewise.
59187         * rt/mq_receive.c: Likewise.
59188         * rt/mq_send.c: Likewise.
59189         * rt/mq_setattr.c: Likewise.
59190         * rt/mq_timedreceive.c: Likewise.
59191         * rt/mq_timedsend.c: Likewise.
59192         * rt/mq_unlink.c: Likewise.
59193         * rt/shm_open.c: Likewise.
59194         * rt/shm_unlink.c: Likewise.
59195         * rt/timer_create.c: Likewise.
59196         * rt/timer_delete.c: Likewise.
59197         * rt/timer_getoverr.c: Likewise.
59198         * rt/timer_gettime.c: Likewise.
59199         * rt/timer_settime.c: Likewise.
59200         * setjmp/__longjmp.c: Likewise.
59201         * setjmp/setjmp.c: Likewise.
59202         * signal/kill.c: Likewise.
59203         * signal/killpg.c: Likewise.
59204         * signal/raise.c: Likewise.
59205         * signal/sigaction.c: Likewise.
59206         * signal/sigaltstack.c: Likewise.
59207         * signal/sigblock.c: Likewise.
59208         * signal/sigignore.c: Likewise.
59209         * signal/sigintr.c: Likewise.
59210         * signal/signal.c: Likewise.
59211         * signal/sigpause.c: Likewise.
59212         * signal/sigpending.c: Likewise.
59213         * signal/sigqueue.c: Likewise.
59214         * signal/sigreturn.c: Likewise.
59215         * signal/sigset.c: Likewise.
59216         * signal/sigsetmask.c: Likewise.
59217         * signal/sigstack.c: Likewise.
59218         * signal/sigsuspend.c: Likewise.
59219         * signal/sigtimedwait.c: Likewise.
59220         * signal/sigvec.c: Likewise.
59221         * signal/sigwait.c: Likewise.
59222         * signal/sigwaitinfo.c: Likewise.
59223         * signal/sysv_signal.c: Likewise.
59224         * socket/accept.c: Likewise.
59225         * socket/accept4.c: Likewise.
59226         * socket/bind.c: Likewise.
59227         * socket/connect.c: Likewise.
59228         * socket/getpeername.c: Likewise.
59229         * socket/getsockname.c: Likewise.
59230         * socket/getsockopt.c: Likewise.
59231         * socket/isfdtype.c: Likewise.
59232         * socket/listen.c: Likewise.
59233         * socket/recv.c: Likewise.
59234         * socket/recvfrom.c: Likewise.
59235         * socket/recvmsg.c: Likewise.
59236         * socket/send.c: Likewise.
59237         * socket/sendmsg.c: Likewise.
59238         * socket/sendto.c: Likewise.
59239         * socket/setsockopt.c: Likewise.
59240         * socket/shutdown.c: Likewise.
59241         * socket/sockatmark.c: Likewise.
59242         * socket/socket.c: Likewise.
59243         * socket/socketpair.c: Likewise.
59244         * stdio-common/ctermid.c: Likewise.
59245         * stdio-common/cuserid.c: Likewise.
59246         * stdio-common/remove.c: Likewise.
59247         * stdio-common/rename.c: Likewise.
59248         * stdio-common/renameat.c: Likewise.
59249         * stdio-common/tempname.c: Likewise.
59250         * stdlib/getcontext.c: Likewise.
59251         * stdlib/makecontext.c: Likewise.
59252         * stdlib/setcontext.c: Likewise.
59253         * stdlib/swapcontext.c: Likewise.
59254         * stdlib/system.c: Likewise.
59255         * streams/fattach.c: Likewise.
59256         * streams/fdetach.c: Likewise.
59257         * streams/getmsg.c: Likewise.
59258         * streams/getpmsg.c: Likewise.
59259         * streams/putmsg.c: Likewise.
59260         * streams/putpmsg.c: Likewise.
59261         * sysdeps/unix/bsd/getpt.c: Likewise.
59262         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59263         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59264         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59266         Likewise.
59267         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59268         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59269         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59270         * sysvipc/msgctl.c: Likewise.
59271         * sysvipc/msgget.c: Likewise.
59272         * sysvipc/msgrcv.c: Likewise.
59273         * sysvipc/msgsnd.c: Likewise.
59274         * sysvipc/semctl.c: Likewise.
59275         * sysvipc/semget.c: Likewise.
59276         * sysvipc/semop.c: Likewise.
59277         * sysvipc/semtimedop.c: Likewise.
59278         * sysvipc/shmat.c: Likewise.
59279         * sysvipc/shmctl.c: Likewise.
59280         * sysvipc/shmdt.c: Likewise.
59281         * sysvipc/shmget.c: Likewise.
59282         * termios/tcdrain.c: Likewise.
59283         * termios/tcflow.c: Likewise.
59284         * termios/tcflush.c: Likewise.
59285         * termios/tcgetattr.c: Likewise.
59286         * termios/tcgetpgrp.c: Likewise.
59287         * termios/tcsendbrk.c: Likewise.
59288         * termios/tcsetattr.c: Likewise.
59289         * termios/tcsetpgrp.c: Likewise.
59290         * time/adjtime.c: Likewise.
59291         * time/clock.c: Likewise.
59292         * time/getitimer.c: Likewise.
59293         * time/gettimeofday.c: Likewise.
59294         * time/setitimer.c: Likewise.
59295         * time/settimeofday.c: Likewise.
59296         * time/stime.c: Likewise.
59297         * time/time.c: Likewise.
59299 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59301         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59302         /usr/old/bin.
59304         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59305         instead of spaces.
59306         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59308 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59310         [BZ #14796]
59311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59312         FE_TONEAREST before applying Dekker multiplication and Knuth
59313         addition.  Clear inexact exceptions and check for exact zero
59314         results afterwards.
59315         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59316         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59317         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59318         * math/libm-test.inc (fma_test): Add more tests.
59319         (fma_test_towardzero): Likewise.
59320         (fma_test_downward): Likewise.
59321         (fma_test_upward): Likewise.
59322         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59323         function.
59324         (libc_fesetround): New macro.
59325         (libc_fesetroundf): Likewise.
59326         (libc_fesetroundl): Likewise.
59327         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59328         function.
59329         (libc_fesetround_387): Likewise.
59330         (libc_fesetroundf): New macro.
59331         (libc_fesetround): Likewise.
59332         (libc_fesetroundl): Likewise.
59333         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59334         function.
59335         (libc_fesetroundf): New macro.
59336         (libc_fesetround): Likewise.
59337         (libc_fesetroundl): Likewise.
59338         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59339         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59340         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59341         libm_hidden_ver.
59342         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59343         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59344         libm_hidden_def.
59345         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59346         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59347         libm_hidden_ver.
59348         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59349         libm_hidden_def.
59351         [BZ #3439]
59352         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59353         integer constant usable in #if and use that to give value to enum
59354         constant.
59355         (FE_DIVBYZERO): Likewise.
59356         (FE_UNDERFLOW): Likewise.
59357         (FE_OVERFLOW): Likewise.
59358         (FE_INVALID): Likewise.
59359         (FE_INVALID_SNAN): Likewise.
59360         (FE_INVALID_ISI): Likewise.
59361         (FE_INVALID_IDI): Likewise.
59362         (FE_INVALID_ZDZ): Likewise.
59363         (FE_INVALID_IMZ): Likewise.
59364         (FE_INVALID_COMPARE): Likewise.
59365         (FE_INVALID_SOFTWARE): Likewise.
59366         (FE_INVALID_SQRT): Likewise.
59367         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59368         (FE_TONEAREST): Likewise.
59369         (FE_TOWARDZERO): Likewise.
59370         (FE_UPWARD): Likewise.
59371         (FE_DOWNWARD): Likewise.
59372         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59373         (FE_DIVBYZERO): Likewise.
59374         (FE_OVERFLOW): Likewise.
59375         (FE_UNDERFLOW): Likewise.
59376         (FE_INEXACT): Likewise.
59377         (FE_TONEAREST): Likewise.
59378         (FE_DOWNWARD): Likewise.
59379         (FE_UPWARD): Likewise.
59380         (FE_TOWARDZERO): Likewise.
59381         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59382         (FE_UNDERFLOW): Likewise.
59383         (FE_OVERFLOW): Likewise.
59384         (FE_DIVBYZERO): Likewise.
59385         (FE_INVALID): Likewise.
59386         (FE_TONEAREST): Likewise.
59387         (FE_TOWARDZERO): Likewise.
59388         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59389         (FE_OVERFLOW): Likewise.
59390         (FE_UNDERFLOW): Likewise.
59391         (FE_DIVBYZERO): Likewise.
59392         (FE_INEXACT): Likewise.
59393         (FE_TONEAREST): Likewise.
59394         (FE_TOWARDZERO): Likewise.
59395         (FE_UPWARD): Likewise.
59396         (FE_DOWNWARD): Likewise.
59397         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59398         (FE_DIVBYZERO): Likewise.
59399         (FE_OVERFLOW): Likewise.
59400         (FE_UNDERFLOW): Likewise.
59401         (FE_INEXACT): Likewise.
59402         (FE_TONEAREST): Likewise.
59403         (FE_DOWNWARD): Likewise.
59404         (FE_UPWARD): Likewise.
59405         (FE_TOWARDZERO): Likewise.
59407 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59409         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59411 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59413         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59414         commands.  Quote $PWD.
59415         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59416         -x" by "export".
59417         (remove_newlines): Remove.
59419 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59421         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59422         * stdlib/stdlib.h (atof): Moved to ...
59423         * include/bits/stdlib-float.h: Here.  New file.
59424         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59425         * stdlib/bits/stdlib-float.h: New file.
59426         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59427         -mno-sse -mno-mmx.
59428         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59429         <xmmintrin.h>.
59431 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59433         * conform/conformtest.pl (@headers): Add fenv.h.
59434         * conform/data/fenv.h-data: New file.
59435         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59436         include of <math/fenv.h>.
59438         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59439         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59440         && !UNIX98].  Enables tests for XOPEN2K8.
59441         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59442         POSIX2008]: Likewise.
59444         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59445         (struct rusage): Do not expect type or its members.
59447         [BZ #3439]
59448         * math/math.h (FP_NAN): Define macro to integer constant usable in
59449         #if and use that to give value to enum constant.
59450         (FP_INFINITE): Likewise.
59451         (FP_ZERO): Likewise.
59452         (FP_SUBNORMAL): Likewise.
59453         (FP_NORMAL): Likewise.
59455 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59457         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59458         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59459         arguments.
59461 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59463         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59464         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59465         autoconf-time if not.
59466         * configure.in: Remove AC_PREREQ.
59468 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59470         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59471         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59472         of the internal implementation.
59474 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59476         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59477         except include of <misc/sys/syslog.h>.
59479 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59482         function returns with a NULL context exit with zero.
59484 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59486         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59488 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59490         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59491         (run_program_cmd): This.
59492         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59493         (tst_langinfo): New variable.  Use it.
59495 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59497         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59498         floating point opcodes.
59500 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59502         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59503         variable.
59505         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59507         * sysdeps/mach/hurd/powerpc: Remove directory.
59508         * sysdeps/mach/powerpc: Likewise.
59510 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59512         * scripts/check-local-headers.sh: Ignore c++ headers.
59514 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59516         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59517         __libc_cleanup_region_start argument.
59519 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59521         [BZ #14784]
59522         [BZ #14785]
59523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59524         x * y using scaling, not as x * y + z.
59525         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59526         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59527         * math/libm-test.inc (fma_test): Add more tests.
59528         (fma_test_towardzero): Likewise.
59529         (fma_test_downward): Likewise.
59530         (fma_test_upward): Likewise.
59532 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59534         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59536 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59538         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59539         New variable.
59541 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59543         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59545 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59548         Fix sort order.
59549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59550         Likewise.
59552 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59555         Fix the order of the list for glibc 2.17.
59556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59557         Likewise.
59559 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59563 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59565         [BZ #14610]
59566         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59567         for low part of x being zero before using __atanl (y).
59568         * math/libm-test.inc (atan2_test): Add another test.
59570         * manual/install.texi (Configuring and compiling): Document
59571         general use of test-wrapper and test-wrapper-env.
59572         * INSTALL: Regenerated.
59574         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59575         (__fma): Do not extract and scale down low bits on after-rounding
59576         systems when result rounded to normal precision would have normal
59577         exponent.
59578         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59579         (__fmal): Do not extract and scale down low bits on after-rounding
59580         systems when result rounded to normal precision would have normal
59581         exponent.
59582         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59583         (__fmal): Do not extract and scale down low bits on after-rounding
59584         systems when result rounded to normal precision would have normal
59585         exponent.
59586         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59587         macro.
59588         (fma_test): Add more tests.
59589         (fma_test_towardzero): Likewise.
59590         (fma_test_downward): Likewise.
59591         (fma_test_upward): Likewise.
59593 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59595         * sysdeps/i386/tininess.h: Renamed to ...
59596         * sysdeps/x86/tininess.h: This.
59597         * sysdeps/x86_64/tininess.h: Removed.
59599 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59601         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59602         input.  Use $(build-program-cmd).
59603         ($(objpfx)tst-array1-static.out): Likewise.
59604         ($(objpfx)tst-array2.out): Likewise.
59605         ($(objpfx)tst-array3.out): Likewise.
59606         ($(objpfx)tst-array4.out): Likewise.
59607         ($(objpfx)tst-array5.out): Likewise.
59608         ($(objpfx)tst-array5-static.out): Likewise.
59610 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59612         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59613         if defined.
59615         * nss/nsswitch.h (nss_interface_function): Provide new
59616         macro for use with NSS functions.
59617         * grp/initgroups.c: Use new macro.
59618         * nss/getXXbyYY.c: Likewise.
59619         * nss/getXXbyYY_r.c: Likewise.
59620         * nss/getXXent.c: Likewise.
59621         * nss/getXXent_r.c: Likewise.
59622         * sysdeps/posix/getaddrinfo.c: Likewise.
59624 2012-10-30  Andreas Jaeger  <aj@suse.de>
59626         * po/ru.po: Update Russion translation from translation project.
59628 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59630         [BZ #14152]
59631         [BZ #14783]
59632         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59633         result and shift together with sticky bit instead of replicating
59634         round-to-nearest rounding.
59635         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59636         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59637         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59638         missing underflow exceptions.
59639         (fma_test_towardzero): Add more tests.
59640         (fma_test_downward): Likewise.
59641         (fma_test_upward): Likewise.
59643         [BZ #14047]
59644         * sysdeps/generic/tininess.h: New file.
59645         * sysdeps/i386/tininess.h: Likewise.
59646         * sysdeps/sh/tininess.h: Likewise.
59647         * sysdeps/x86_64/tininess.h: Likewise.
59648         * stdlib/tst-strtod-underflow.c: Likewise.
59649         * stdlib/tst-tininess.c: Likewise.
59650         * stdlib/strtod_l.c: Include <tininess.h>.
59651         (round_and_return): Do not set errno for exact underflow cases.
59652         Force an underflow exception when setting errno for underflow.
59653         Determine underflow based on rounding to normal precision if
59654         TININESS_AFTER_ROUNDING.
59655         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59656         ERANGE for exact underflow cases.
59657         * stdlib/Makefile (tests): Add tst-tininess and
59658         tst-strtod-underflow.
59659         ($(objpfx)tst-tininess): Use $(link-libm).
59660         ($(objpfx)tst-strtod-underflow): Likewise.
59662 2012-10-30  Andreas Jaeger  <aj@suse.de>
59664         [BZ#14767]
59665         * elf/Makefile (tests): Remove conditional for have-initfini-array
59666         since this is now always required and the variable does not exist
59667         anymore.
59668         (tests-static): Likewise.
59669         (modules-names): Likewise.
59671         * po/eo.po: Add Esperanto translation from translation project.
59673         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59674         merged with constructor/destructor.
59675         (init_array): Likewise.
59676         * elf/tst-array2dep.c (fini_array): Likewise.
59677         (init_array): Likewise.
59679 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59681         * manual/message.texi: Delete @cartouche tags.
59683 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59685         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59686         EOPNOTSUPP.
59687         * sysdeps/mach/hurd/fsync.c: Likewise.
59689         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59690         [_POSIX_REALTIME_SIGNALS]: Change condition to
59691         [_POSIX_REALTIME_SIGNALS > 0].
59693 2012-10-27  Andreas Jaeger  <aj@suse.de>
59695         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59696         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59697         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59698         [__WORDSIZE != 64]: Likewise.
59700 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59702         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59703         *  iconvdata/tst-tables.sh: Likewise.
59705 2012-10-25  David S. Miller  <davem@davemloft.net>
59707         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59708         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59709         of strtoull.
59711         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59712         ifunc-impl-list.c
59713         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59714         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59715         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59716         file.
59718 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59720         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59721         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59722         __getdirentries.
59724 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59725             Jim Blandy  <jimb@codesourcery.com>
59727         * scripts/cross-test-ssh.sh: New file.
59728         * manual/install.texi (Configuring and compiling): Document use of
59729         cross-test-ssh.sh.
59730         * INSTALL: Regenerated.
59732 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59734         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59735         EOPNOTSUPP.
59737 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59739         * Makeconfig (run-program-prefix): Fix comment.
59741 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59742             Jim Blandy  <jimb@codesourcery.com>
59744         * Makeconfig (test-wrapper): New variable,
59745         (test-wrapper-env): Likewise.
59746         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59747         (run-built-tests): Define to yes.
59748         (run-program-prefix): Use $(test-wrapper).
59749         (built-program-cmd): Likewise.
59750         * Rules (make-test-out): Use $(test-wrapper-env) and
59751         $(host-built-program-cmd).
59752         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59753         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59754         tst-pathopt.sh.
59755         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59756         $(test-wrapper-env) to tst-rtld-load-self.sh.
59757         ($(objpfx)order2.out): Use $(test-wrapper).
59758         ($(objpfx)tst-initorder.out): Likewise.
59759         ($(objpfx)tst-initorder2.out): Likewise.
59760         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59761         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59762         (test_wrapper_env): New variable.  Use it to run ld.so.
59763         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59764         Use it to run ld.so.
59765         (test_wrapper_env): Likewise.
59766         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59767         $(test-wrapper) to run-iconv-test.sh.
59768         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59769         (ICONV): Use $test_wrapper.
59770         * posix/Makefile ($(objpfx)globtest.out): Pass
59771         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59772         globtest.sh, not $(run-program-prefix).
59773         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59774         (test_wrapper): Likewise.
59775         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59776         set together with run_via_rtld_prefix.
59777         (run_program_prefix): Define in terms of test_wrapper and
59778         run_via_rtld_prefix.
59780 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59782         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59783         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59784         Targets removed.
59786         [BZ #14743]
59787         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59788         Declare __clock_getres, __clock_gettime, __clock_settime,
59789         __clock_nanosleep, and __clock_getcpuclockid.
59790         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59791         Remove librt_hidden_def (clock_gettime).
59792         * sysdeps/unix/clock_gettime.c: Likewise.
59793         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59794         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59795         * rt/clock_getres.c: Define __clock_getres as an alias.
59796         * sysdeps/posix/clock_getres.c: Likewise.
59797         * rt/clock_settime.c: Define __clock_settime as an alias.
59798         * sysdeps/unix/clock_settime.c: Likewise.
59799         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59800         * sysdeps/unix/clock_nanosleep.c: Likewise.
59801         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59802         * rt/clock-compat.c: New file.
59803         * rt/Makefile (librt-routines): Add clock-compat and move
59804         $(clock-routines) to ...
59805         (routines): ... here, new variable.
59806         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59807         Don't add get_clockfreq here.
59808         * rt/Versions (libc: GLIBC_2.17): New version set.
59809         Add clock_* symbols here.
59810         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59811         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59812         (GLIBC_2.17): Add clock_* symbols.
59813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59815         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59817         Likewise.
59818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59819         Likewise.
59820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59824         * NEWS: Mention the move.
59826         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59827         Use __open, __read, __close rather than their public counterparts.
59828         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59829         (__get_clockfreq_via_cpuinfo): Likewise.
59830         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59831         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59833         * config.h.in (HAVE_IFUNC): New #undef.
59834         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59835         was successful.
59836         * configure: Regenerated.
59838 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59840         * configure.in: Move READELF check to start of file.
59841         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59842         libc_cv_asm_gnu_indirect_function in the process.
59843         * configure: Regenerated.
59845 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59847         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59848         send the output to /dev/null.
59849         (libc_cv_cc_with_libunwind): Likewise.
59850         (libc_cv_as_noexecstack): Likewise.
59851         * configure: Regenerate.
59853 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59855         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59857         * posix/globtest.sh (TMPDIR): Do not set.
59858         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59859         (testout): Likewise.
59861 2012-10-24  Andreas Jaeger  <aj@suse.de>
59863         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59864         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59865         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59866         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59867         posix_fadvise64, posix_fallocate64.
59869         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59870         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59871         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59872         Likewise.
59873         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59874         Likewise.
59875         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59877         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59878         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59879         <bits/fcntl-linux.h>.
59880         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59882         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59883         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59884         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59885         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59886         [__WORDSIZE != 64]: Likewise.
59888 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59890         * Makeconfig (run-built-tests): New variable.
59891         * Rules [$(cross-compiling) = yes]: Change condition to
59892         [$(run-built-tests) = no].
59893         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59894         to [$(run-built-tests) = yes].
59895         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59896         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59897         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59898         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59899         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59900         * io/Makefile [$(cross-compiling) = no]: Likewise.
59901         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59902         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59903         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59904         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59905         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59906         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59907         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59908         * string/Makefile [$(cross-compiling) = no]: Likewise.
59910         * posix/Makefile ($(objpfx)globtest.out): Pass
59911         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59912         $(rtld-installed-name).
59913         * posix/globtest.sh (elf_objpfx): Remove variable.
59914         (rtld_installed_name): Likewise.
59915         (library_path): Likewise.
59916         (run_program_prefix): New variable.  Use for running globtest
59917         binary.
59919 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59920             Joseph Myers  <joseph@codesourcery.com>
59922         * Makeconfig (host-built-program-cmd): New variable.
59923         * elf/Makefile (tst-stackguard1-ARGS): Use
59924         $(host-built-program-cmd).
59925         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59926         (tst-spawn-ARGS): Likewise.
59927         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59929 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59930             Jim Blandy  <jimb@codesourcery.com>
59932         * Makeconfig (run-via-rtld-prefix): New variable.
59933         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59934         (built-program-cmd): Likewise.
59936 2012-10-22  Andreas Jaeger  <aj@suse.de>
59938         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59939         __O_RSYNC if it exists, otherwise to O_SYNC.
59941 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59942             Joseph Myers  <joseph@codesourcery.com>
59944         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59945         /dev/null.
59946         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59947         from /dev/null
59948         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59949         /dev/null.
59951 2012-10-22  Andreas Jaeger  <aj@suse.de>
59953         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59954         Define always.
59955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59958         bits/fcntl-linux.h.
59960         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59961         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59963         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59964         to __O_LARGEFILE.
59965         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59966         to __O_LARGEFILE.
59968 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59969             Joseph Myers  <joseph@codesourcery.com>
59971         * config.make.in (NM): New variable.
59973 2012-10-21  Andreas Jaeger  <aj@suse.de>
59975         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59976         definitions and declarations that are provided by
59977         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59979 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59981         [BZ #14683]
59982         * elf/Makefile (tests-static): Add tst-leaks1-static.
59983         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59984         ($(objpfx)tst-leaks1-static): New rule.
59985         ($(objpfx)tst-leaks1-static-mem): Likewise.
59986         (tst-leaks1-static-ENV): New macro.
59987         * elf/dl-open.c (dl_open_worker): Check the main application
59988         only if SHARED is defined.
59989         * elf/tst-leaks1-static.c: New file.
59991 2012-10-20  Andreas Jaeger  <aj@suse.de>
59993         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59994         generic values for Linux.
59995         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59996         and declarations that are provided by <bits/fcntl-linux.h> and
59997         include <bits/fcntl-linux.h>.
59998         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59999         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60001 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60003         * io/fcntl.h: Move include of <bits/types.h> to the top and
60004         include it unconditionally.
60006 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60008         * wcsmbs/Makefile (tests-ifunc): New variable.
60009         (tests): Add $(tests-ifunc).
60010         * wcsmbs/test-wcschr-ifunc.c: New file.
60011         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60012         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60013         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60014         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60015         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60017         * string/Makefile (tests-ifunc): New variable.
60018         (tests): Add $(tests-ifunc).
60019         * string/test-memccpy.c (TEST_NAME): New macro.
60020         * string/test-memchr.c (TEST_NAME): Likewise.
60021         * string/test-memcmp.c (TEST_NAME): Likewise.
60022         * string/test-memcpy.c (TEST_NAME): Likewise.
60023         * string/test-memmem.c (TEST_NAME): Likewise.
60024         * string/test-memmove.c (TEST_NAME): Likewise.
60025         * string/test-memset.c (TEST_NAME): Likewise.
60026         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60027         * string/test-stpcpy.c (TEST_NAME): Likewise.
60028         * string/test-stpncpy.c (TEST_NAME): Likewise.
60029         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60030         * string/test-strcasestr.c (TEST_NAME): Likewise.
60031         * string/test-strcat.c (TEST_NAME): Likewise.
60032         * string/test-strchr.c (TEST_NAME): Likewise.
60033         * string/test-strcmp.c(TEST_NAME): Likewise.
60034         * string/test-strcpy.c (TEST_NAME): Likewise.
60035         * string/test-strcspn.c (TEST_NAME): Likewise.
60036         * string/test-strlen.c (TEST_NAME): Likewise.
60037         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60038         * string/test-strncmp.c (TEST_NAME): Likewise.
60039         * string/test-strncpy.c (TEST_NAME): Likewise.
60040         * string/test-strnlen.c (TEST_NAME): Likewise.
60041         * string/test-strpbrk.c (TEST_NAME): Likewise.
60042         * string/test-strrchr.c (TEST_NAME): Likewise.
60043         * string/test-strspn.c (TEST_NAME): Likewise.
60044         * string/test-strstr.c (TEST_NAME): Likewise.
60045         * string/test-bcopy-ifunc.c: New file.
60046         * string/test-bzero-ifunc.c: Likewise.
60047         * string/test-memccpy-ifunc.c: Likewise.
60048         * string/test-memchr-ifunc.c: Likewise.
60049         * string/test-memcmp-ifunc.c: Likewise.
60050         * string/test-memcpy-ifunc.c: Likewise.
60051         * string/test-memmem-ifunc.c: Likewise.
60052         * string/test-memmove-ifunc.c: Likewise.
60053         * string/test-mempcpy-ifunc.c: Likewise.
60054         * string/test-memset-ifunc.c: Likewise.
60055         * string/test-rawmemchr-ifunc.c: Likewise.
60056         * string/test-stpcpy-ifunc.c: Likewise.
60057         * string/test-stpncpy-ifunc.c: Likewise.
60058         * string/test-strcasecmp-ifunc.c: Likewise.
60059         * string/test-strcasestr-ifunc.c: Likewise.
60060         * string/test-strcat-ifunc.c: Likewise.
60061         * string/test-strchr-ifunc.c: Likewise.
60062         * string/test-strchrnul-ifunc.c: Likewise.
60063         * string/test-strcmp-ifunc.c: Likewise.
60064         * string/test-strcpy-ifunc.c: Likewise.
60065         * string/test-strcspn-ifunc.c: Likewise.
60066         * string/test-strlen-ifunc.c: Likewise.
60067         * string/test-strncasecmp-ifunc.c: Likewise.
60068         * string/test-strncat-ifunc.c: Likewise.
60069         * string/test-strncmp-ifunc.c: Likewise.
60070         * string/test-strncpy-ifunc.c: Likewise.
60071         * string/test-strnlen-ifunc.c: Likewise.
60072         * string/test-strpbrk-ifunc.c: Likewise.
60073         * string/test-strrchr-ifunc.c: Likewise.
60074         * string/test-strspn-ifunc.c: Likewise.
60075         * string/test-strstr-ifunc.c: Likewise.
60077         * debug/Makefile (tests-ifunc): New variable.
60078         (tests): Add $(tests-ifunc).
60079         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60080         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60081         * debug/test-stpcpy_chk-ifunc.c: New file.
60082         * debug/test-strcpy_chk-ifunc.c: Likewise.
60084 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60086         [BZ #13601]
60087         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60088         header is not read in.
60090 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60092         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60093         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60094         directly.  Pass built executable to script as
60095         $(built-program-cmd).
60096         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60097         $testprogram without using LD_LIBRARY_PATH and $ldso.
60099         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60100         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60101         $(rtld-installed-name).
60102         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60103         (rtld_installed_name): Likewise.
60104         (library_path): Likewise.
60105         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60106         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60107         $(run-program-prefix) to tst-tables.sh.
60108         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60109         it to run tst-table-from and tst-table-to.
60110         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60111         Pass it to tst-table.sh.
60112         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60113         $(run-program-prefix) to tst-gettext.sh.
60114         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60115         tst-translit.sh.
60116         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60117         tst-gettext2.sh.
60118         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60119         to run tst-gettext.
60120         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60121         to run tst-gettext2.
60122         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60123         to run tst-translit.
60124         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60125         $(run-program-prefix) to tst-mtrace.sh.
60126         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60127         to run tst-mtrace.
60128         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60129         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60130         $(rtld-installed-name).
60131         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60132         (rtld_installed_name): Likewise.
60133         (run_program_prefix): New variable.  Use it to run wordexp-test.
60135         * Makeconfig (ARCH): Remove all definitions.
60136         (machine): Likewise.
60137         [ARCH]: Remove conditional code.
60138         [!objdir]: Give error.
60139         [!objdir] (objpfx): Remove.
60140         [!objdir] (common-objpfx): Likewise.
60141         [!objdir] (common-objdir): Likewise.
60142         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60143         AC_CONFIG_FILES call.
60144         * configure: Regenerated.
60146         [BZ #13888]
60147         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60148         or TMPDIR.
60149         (testout): Likewise.
60151         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60152         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60153         $(rtld-installed-name).
60154         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60155         (rtld_installed_name): Likwise.
60156         (runit): Remove function.
60157         (run_getconf): New variable,  Use it for running getconf binary.
60159 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60161         [BZ #14716]
60162         * string/test-memmem.c (check_result): New function.
60163         (do_one_test): Use it.
60164         (check1): New function.
60165         (test_main): Use it.
60167 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60169         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60171 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60173         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60174         (_G_LSEEK64): Likewise.
60175         (_G_MMAP64): Likewise.
60176         (_G_FSTAT64): Likewise.
60177         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60178         (_G_LSEEK64): Likewise.
60179         (_G_MMAP64): Likewise.
60180         (_G_FSTAT64): Likewise.
60181         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60182         unconditional.  Call __mmap64 directly.
60183         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60184         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60185         __lseek64 directly.
60186         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60187         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60188         __mmap64 directly.
60189         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60190         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60191         __lseek64 directly.
60192         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60193         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60194         __lseek64 directly.
60195         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60196         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60197         __lseek64 directly.
60198         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60199         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60200         __fxstat64 directly.
60201         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60202         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60203         unconditional.
60204         (freopen64) [!_G_OPEN64]: Remove conditional code.
60205         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60206         unconditional.
60207         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60208         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60209         unconditional.
60210         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60211         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60212         unconditional.
60213         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60214         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60215         unconditional.
60216         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60217         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60218         unconditional.
60219         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60220         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60221         unconditional.
60222         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60223         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60224         unconditional.
60225         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60227 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60229         [BZ #12140]
60230         * manual/memory.texi (Malloc Tunable Parameters): Add note
60231         about free list pointers overwriting some perturb bytes.
60232         Wording suggested by Roland McGrath.
60234 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60236         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60237         (lgamma_test): Likewise.
60238         (tgamma_test): Likewise.
60240 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60242         [BZ #14700]
60243         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60244         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60246 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60248         * NEWS: Mention BZ #14716.
60249         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60250         when removing AVAILABLE1_USES_J macro.
60252 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60254         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60255         (__bswap_64): __uint64_t for unsigned 64-bit int.
60257 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60259         * include/string.h (memmem): Declare libc hidden alias.
60260         * string/memmem.c (memmem): Define libc hidden alias.
60261         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60262         __read, __close instead of open, read, close.
60264 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60267         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60268         global and hidden.
60269         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60270         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60271         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60272         Likewise.
60273         (__rawmemchr_sse2): Likewise.
60274         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60275         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60276         (__strchr_sse2): Likewise.
60277         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60278         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60279         (__strcasecmp_sse2): Likewise.
60280         (__strncasecmp_sse2): Likewise.
60281         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60282         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60283         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60284         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60285         (__strrchr_sse2): Likewise.
60286         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60287         ifunc-impl-list.c.
60288         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60289         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60290         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60291         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60292         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60293         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60294         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60295         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60296         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60297         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60298         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60299         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60300         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60301         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60302         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60303         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60304         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60305         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60306         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60307         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60308         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60309         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60310         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60311         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60312         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60313         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60314         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60315         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60316         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60317         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60319         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60320         global and hidden.
60321         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60322         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60323         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60324         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60325         Likewise.
60326         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60327         Likewise.
60328         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60329         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60330         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60331         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60332         ifunc-impl-list.c.
60333         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60334         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60335         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60336         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60337         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60338         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60339         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60340         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60341         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60342         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60343         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60344         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60345         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60346         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60347         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60348         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60349         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60350         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60351         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60352         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60353         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60354         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60355         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60356         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60357         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60358         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60359         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60360         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60361         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60362         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60363         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60364         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60365         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60366         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60367         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60368         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60369         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60370         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60371         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60372         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60373         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60375         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60376         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60377         * include/ifunc-impl-list.h: New file.
60378         * misc/ifunc-impl-list.c: Likewise.
60379         * misc/Makefile (routines): Add ifunc-impl-list.
60380         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60381         * string/test-string.h: Include <ifunc-impl-list.h>.
60382         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60383         TEST_NAME]: New variables.
60384         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60385         are defined.
60386         (test_init): Call __libc_ifunc_impl_list to initialize
60387         func_list if TEST_IFUNC and TEST_NAME are defined.
60389         * string/Makefile (strop-tests): Add bcopy and bzero.
60390         * string/test-bcopy.c: New file.
60391         * string/test-bzero.c: Likewise.
60392         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60393         defined.
60394         * string/test-memset.c: Support bzero test if TEST_BZERO is
60395         defined.
60396         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60397         __libc_memmove.
60398         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60399         __libc_memset.
60400         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60401         of memset.
60403 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60405         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60406         * configure: Regenerated.
60408         * Makeconfig (+link-static-before-libc): Don't include
60409         $(link-static-libc).
60411         * libio/libio.h (_IO_pos_t): Remove.
60413 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60415         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60416         McGrath.
60418 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60420         * crypt/crypt-entry.c: Include fips-private.h.
60421         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60422         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60423         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60424         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60426 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60428         * crypt/crypt-private.h: Include stdbool.h.
60429         (_ufc_setup_salt_r): Return bool.
60430         * crypt/crypt-entry.c: Include errno.h.
60431         (__crypt_r): Return NULL with EINVAL for bad salt.
60432         * crypt/crypt_util.c (bad_for_salt): New.
60433         (_ufc_setup_salt_r): Check that salt is long enough and within
60434         the specified alphabet.
60435         * crypt/badsalttest.c: New file.
60436         * crypt/Makefile (tests): Add it.
60437         ($(objpfx)badsalttest): New.
60439 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60441         * NEWS: Add entry for BZ #14602.
60443 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60445         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60446         type-generic.
60447         * math/libm-test.inc: Update comment listing what functions and
60448         macros are tested.
60449         (isgreater_test): New function.
60450         (isgreaterequal_test): Likewise.
60451         (isless_test): Likewise.
60452         (islessequal_test): Likewise.
60453         (islessgreater_test): Likewise.
60454         (isunordered_test): Likewise.
60455         (main): Call the new functions.
60457 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60459         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60460         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60461         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60462         * sysdeps/i386/configure: Regenerated.
60463         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60464         * sysdeps/mach/configure: Regenerated.
60465         * sysdeps/mach/hurd/configure: Regenerated.
60466         * sysdeps/powerpc/configure: Regenerated.
60467         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60468         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60469         * sysdeps/s390/s390-32/configure: Regenerated.
60470         * sysdeps/s390/s390-64/configure: Regenerated.
60471         * sysdeps/sh/configure: Regenerated.
60472         * sysdeps/sparc/configure: Regenerated.
60473         * sysdeps/unix/sysv/linux/configure: Regenerated.
60474         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60475         * sysdeps/x86_64/configure: Regenerated.
60477         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60478         defined.  Don't check if MAP is NULL.
60480 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60482         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60483         (_G_stat64): Likewise.
60484         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60485         (_G_stat64): Likewise.
60486         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60487         instead of struct _G_stat64.
60488         * libio/fileops.c (mmap_remap_check): Likewise.
60489         (decide_maybe_mmap): Likewise.
60490         (_IO_new_file_seekoff): Likewise.
60491         (_IO_file_stat): Likewise.
60492         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60493         _G_off64_t.
60494         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60495         instead of struct _G_stat64.
60496         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60498 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60500         [BZ #14602]
60501         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60502         Replace with ...
60503         (CHECK_EOL): New macro.
60504         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60505         CHECK_EOL.
60506         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60507         Replace with CHECK_EOL.
60508         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60509         Replace with CHECK_EOL.
60511 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60513         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60514         type-generic.
60515         * math/libm-test.inc: Update comment listing what functions and
60516         macros are tested.
60517         (finite_test): New function.
60518         (isinf_test): Likewise.
60519         (isnan_test): Likewise.
60520         (fpclassify_test): Test subnormal input.
60521         (isfinite_test): Likewise.
60522         (isnormal_test): Likewise.
60523         (main): Call the new functions.
60525 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60527         [BZ #14660]
60528         * Makerules (%.dynsym): Force C locale when running
60529         $(OBJDUMP) --dynamic-syms.
60531 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60533         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60534         <stdint.h>.
60536 2012-10-06  David S. Miller  <davem@davemloft.net>
60538         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60539         upper 32-bits of the length value in %o2 since we use branch-on-register
60540         tests which consider the entire 64-bit register.
60542 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60544         * string/test-strstr.c (check2): Add a test for page boundary.
60546 2012-10-05  David S. Miller  <davem@davemloft.net>
60548         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60549         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60550         file.
60551         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60552         sysdep_routines.
60553         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60554         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60555         and bzero when HWCAP_SPARC_CRYPTO is present.
60557 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60559         [BZ #14602]
60560         * string/test-strstr.c (check2): New function.
60561         (test_main): Call check2.
60563         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60564         and bug-strchr1.
60565         * string/bug-strcasestr1.c (do_test): Moved to ...
60566         * string/test-strcasestr.c (check1): Here.  New function.
60567         (do_one_test): Break out result checking code into ...
60568         (check_result): This.  New function.
60569         (do_one_test): Call check_result.
60570         (test_main): Call check1.
60571         * string/bug-strchr1.c (do_test): Moved to ...
60572         * string/test-strchr.c (check1): Here.  New function.
60573         (do_one_test): Break out result checking code into ...
60574         (check_result): This.  New function.
60575         (do_one_test): Call check_result.
60576         (test_main): Call check1.
60577         * string/bug-strstr1.c (main): Moved to ...
60578         * string/test-strstr.c (check1): Here.  New function.
60579         (do_one_test): Break out result checking code into ...
60580         (check_result): This.  New function.
60581         (do_one_test): Call check_result.
60582         (test_main): Call check1.
60583         * string/bug-strcasestr1.c: Removed.
60584         * string/bug-strchr1.c: Likewise.
60585         * string/bug-strstr1.c: Likewise.
60587         * elf/Makefile (dl-routines): Add hwcaps.
60588         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60589         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60590         (_dl_important_hwcaps): Moved to ...
60591         * elf/dl-hwcaps.c: Here.  New file.
60592         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60594         [BZ #14557]
60595         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60596         if IS_IN_rtld isn't defined.
60598         * elf/dl-support.c (_dl_sysinfo_map): New.
60599         Include "get-dynamic-info.h" and "setup-vdso.h".
60600         (_dl_non_dynamic_init): Call setup_vdso.
60601         * elf/dynamic-link.h: Don't include <assert.h>.
60602         (elf_get_dynamic_info): Moved to ...
60603         * elf/get-dynamic-info.h: Here.  New file.
60604         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60605         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60606         * elf/setup-vdso.h: Here.  New file.
60607         * elf/rtld.c: Include "setup-vdso.h".
60608         (dl_main): Call setup_vdso.
60610 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60612         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60613         creal in comment listing functions tested.  List finite, isinf,
60614         isnan, isless, islessequal, isgreater, isgreaterequal,
60615         islessgreater, isunordered, lgamma_r and pow10 as functions and
60616         macros not tested.  Mention which functions not tested are aliases
60617         for other functions.  Fix typo.  Note that signs of NaNs are not
60618         tested.
60620         * scripts/config.guess: Update from config.git.
60621         * scripts/config.sub: Likewise.
60623 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60625         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60626         * misc/madvise.c (madvise): Renamed to __madvise.
60627         Make madvise a weak alias.
60628         * include/sys/mman.h: Declare __madvise.
60629         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60630         * sysdeps/unix/syscalls.list
60631         (madvise): Make __madvise the strong name, and madvise a weak alias.
60632         * sysdeps/unix/sysv/linux/syscalls.list
60633         (madvise, mmap): Remove redundant entries.
60634         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60635         * malloc/malloc.c (mtrim): Likewise.
60636         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60638 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60640         * sysdeps/mach/hurd/dl-cache.c: File removed.
60641         * config.h.in (USE_LDCONFIG): New #undef.
60642         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60643         * configure: Regenerated.
60644         * elf/Makefile (dl-routines): Add dl-cache only under
60645         [$(use-ldconfig) = yes].
60646         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60647         cache on [USE_LDCONFIG].
60648         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60649         [USE_LDCONFIG].
60650         * elf/rtld.c (dl_main): Likewise.
60652 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60654         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60655         _SC_LEVEL4_CACHE_LINESIZE.
60657 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60659         * sysdeps/unix/bsd/confstr.h: File removed.
60661 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60663         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60664         sys/sdt-config.h.
60666 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60668         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60669         Make 'mapoff' field ElfW(Off) rather than off_t.
60671 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60673         * nscd/Makefile: Remove nscd-cflags and all its users.
60674         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60675         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60677         [BZ #10631]
60678         * malloc.c (malloc_printerr): Clarify error message.
60680 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60682         [BZ #14648]
60683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60684         Set bit_FMA_Usable if FMA is supported.
60685         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60686         macro.
60687         (bit_FMA4_Usable): Updated.
60688         (index_FMA_Usable): New macro.
60689         (CPUID_FMA): Likewise.
60690         (HAS_FMA): Defined with bit_FMA_Usable.
60692 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60694         * bits/types.h (__swblk_t): Type removed.
60695         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60696         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60697         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60698         (__SWBLK_T_TYPE): Likewise.
60699         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60700         (__SWBLK_T_TYPE): Likewise.
60701         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60702         (__SWBLK_T_TYPE): Likewise.
60703         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60704         (__SWBLK_T_TYPE): Likewise.
60706 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60707             Honza Horak <hhorak@redhat.com>
60709         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60710         (xdr_mapname): Use YPMAXMAP as maxsize.
60711         (xdr_peername): Use YPMAXPEER as maxsize.
60712         (xdr_keydat): Use YPAXRECORD as maxsize.
60713         (xdr_valdat): Use YPMAXRECORD as maxsize.
60715 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60717         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60719         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60720         * csu/init-first.c: ... here.
60721         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60722         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60723         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60724         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60725         * sysdeps/i386/init-first.c: File removed.
60726         * sysdeps/sh/init-first.c: File removed.
60728 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60730         [BZ #14645]
60731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60732         if x * y might underflow to zero and z is zero.
60733         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60734         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60735         * math/libm-test.inc (min_subnorm_value): New variable.
60736         (fma_test): Add more tests.
60737         (fma_test_towardzero): Likewise.
60738         (fma_test_downward): Likewise.
60739         (fma_test_upward): Likewise.
60740         (initialize): Set min_subnorm_value.
60742 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60744         [BZ #14638]
60745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60746         0 + 0.
60747         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60748         mode for addition resulting in exact zero.
60749         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60751         exact 0 + 0.
60752         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60753         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60754         * math/libm-test.inc (fma_test): Add more tests.
60755         (fma_test_towardzero): New function.
60756         (fma_test_downward): Likewise.
60757         (fma_test_upward): Likewise.
60758         (main): Call the new functions.
60760 2012-09-28  David S. Miller  <davem@davemloft.net>
60762         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60764 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60766         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60767         instead of SIGALRM.
60769         * sysdeps/gnu/_G_config.h: Moved to ...
60770         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60771         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60772         * sysdeps/generic/_G_config.h: ... here.
60774         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60776         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60778         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60779         Conditionalize target on [libnss_test1.so-version].
60781         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60783         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60784         (elfobjdir): Move out of conditionals.
60786         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60787         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60788         (__nss_lookup_function): Conditionalize label remove_from_tree on
60789         [!DO_STATIC_NSS || SHARED], matching its only use.
60791 2012-09-28  David S. Miller  <davem@davemloft.net>
60793         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60794         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60795         file.
60796         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60797         sysdep_routines.
60798         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60799         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60800         when HWCAP_SPARC_CRYPTO is present.
60802 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60804         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60806 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60808         [BZ #6530]
60809         * stdio-common/vfprintf.c (process_string_arg): Revert
60810         2000-07-22 change.
60812 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60814         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60815         for testcase.
60816         * stdio-common/tst-sprintf.c: Include <locale.h>
60817         (main): Test sprintf's handling of incomplete multibyte
60818         characters.
60820 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60822         * elf/dl-runtime.c (VERSYMIDX): Removed.
60823         * elf/dl-version.c (VERSYMIDX): Likewise.
60824         * elf/do-rel.h (VERSYMIDX): Likewise.
60825         (VALIDX): Likewise.
60826         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60827         * elf/rtld.c (VALIDX): Likewise.
60828         (ADDRIDX): Likewise.
60829         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60830         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60831         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60832         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60833         (VALIDX): Likewise.
60834         (ADDRIDX): Likewise.
60836 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60838         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60840 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60842         [BZ #11438]
60843         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60844         to global scope.
60845         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60846         addresses are in the same scope as 192.0.2/24.
60847         * posix/gai.conf: Document new scope table defaults.
60849 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60851         [BZ #5298]
60852         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60853         for ftell.  Compute offsets from write pointers instead.
60854         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60856 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60858         [BZ #14543]
60859         * libio/Makefile (tests): New test case tst-fseek.
60860         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60861         combination works in wide mode.
60862         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60863         state when the external buffer state changes.
60865 2012-09-27  David S. Miller  <davem@davemloft.net>
60867         [BZ #14376]
60868         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60869         pass reloc->r_addend in as the 'high' argument to
60870         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60874 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60876         * rt/tst-aio2.c: Include <pthread.h>.
60877         * rt/tst-aio3.c: Likewise.
60879 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60881         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60883 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60885         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60886         contents on [SHARED].
60888 2012-09-26  Marek Polacek  <polacek@redhat.com>
60890         [BZ #14530]
60891         [BZ #13741]
60892         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60893         for C++ and GCC <4.3 as well as for non GCC compilers.
60895 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60897         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60899 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60901         * Makefile.in (all, install): Declare with .PHONY.
60902         Reported by Michael Hope <michael.hope@linaro.org>.
60904 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60906         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60907         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60908         system header.
60909         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60910         Likewise.
60911         (sydep_routines): Add the new and the internal functions.
60912         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60913         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60915         (GLIBC_2.17): Add the new function.
60916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60917         (GLIBC_2.17): Likewise.
60918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60919         (GLIBC_2.17): Likewise.
60920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60921         (GLIBC_2.17): Likewise.
60922         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60924 2012-09-25  Alan Modra  <amodra@gmail.com>
60926         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60927         Add release barrier before setting once_control to say
60928         initialisation is done.  Add hints on lwarx.  Use macro in
60929         place of isync.
60930         (clear_once_control): Add release barrier.
60932 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60934         [BZ #13629]
60935         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60936         specially.
60937         * math/s_clog10.c (__clog10): Likewise.
60938         * math/s_clog10f.c (__clog10f): Likewise.
60939         * math/s_clog10l.c (__clog10l): Likewise.
60940         * math/s_clogf.c (__clogf): Likewise.
60941         * math/s_clogl.c (__clogl): Likewise.
60942         * math/Makefile (libm-calls): Add x2y2m1.
60943         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60944         (__x2y2m1): Likewise.
60945         (__x2y2m1l): Likewise.
60946         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60947         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60948         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60949         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60950         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60951         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60952         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60953         * sysdeps/i386/fpu/libm-test-ulps: Update.
60954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60956         [BZ #14621]
60957         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60958         int as type of variable DEPTH.
60959         (glob): Use size_t instead of int as type of variables NEWCOUNT
60960         and OLD_PATHC.
60962 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60964         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60965         Add s_sincosf-sse2.
60966         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60967         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60968         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60969         macros for using routine as __sincosf_ia32.
60970         Use macro for function declaration and weak_alias.
60971         * sysdeps/i386/fpu/libm-test-ulps: Update.
60973         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60976         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60977         subnormal argument.
60978         * math/s_cexpf.c (__cexpf): Likewise.
60979         * math/s_csinf.c (__csinf): Likewise.
60980         * math/s_csinhf.c (__csinhf): Likewise.
60981         * math/s_ctanf.c (__ctanf): Likewise.
60982         * math/s_ctanhf.c (__ctanhf): Likewise.
60983         * math/s_ccosh.c (__ccoshf): Likewise.
60984         * math/s_cexp.c (__cexpl): Likewise.
60985         * math/s_csin.c (__csin): Likewise.
60986         * math/s_csinh.c (__csinh): Likewise.
60987         * math/s_ctan.c (__ctan): Likewise.
60988         * math/s_ctanh.c (ctanh): Likewise.
60989         * math/s_ccoshl.c (__ccoshl): Likewise.
60990         * math/s_cexpl.c (__cexpl): Likewise.
60991         * math/s_csinl.c (__csinl): Likewise.
60992         * math/s_csinhl.c (__csinhl): Likewise.
60993         * math/s_ctanl.c (__ctanl): Likewise.
60994         * math/s_ctanhl.c (__ctanhl): Likewise.
60996 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60998         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60999         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61000         (_IO_off_t): Define to __off_t, not _G_off_t.
61001         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61002         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61003         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61004         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61005         type of __dummy and __dummy2 fields.
61006         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61007         (_G_ssize_t): Likewise.
61008         (_G_off_t): Likewise.
61009         (_G_pid_t): Likewise.
61010         (_G_uid_t): Likewise.
61011         (_G_wchar_t): Likewise.
61012         (_G_wint_t): Likewise.
61013         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61014         (_G_ssize_t): Likewise.
61015         (_G_off_t): Likewise.
61016         (_G_pid_t): Likewise.
61017         (_G_uid_t): Likewise.
61018         (_G_wchar_t): Likewise.
61019         (_G_wint_t): Likewise.
61020         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61021         (_G_ssize_t): Likewise.
61022         (_G_off_t): Likewise.
61023         (_G_pid_t): Likewise.
61024         (_G_uid_t): Likewise.
61025         (_G_wchar_t): Likewise.
61026         (_G_wint_t): Likewise.
61028 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61030         * malloc/arena.c: Include malloc-sysdep.h.
61031         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61032         is sufficient to shrink the heap or an unmap is needed.
61033         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61034         new function check_may_shrink_heap.
61035         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61036         new function check_may_shrink_heap.
61038 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61040         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61041         comments.
61043 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61045         * catgets/test-gencat.sh: Add "set -e".
61046         * elf/tst-pathopt.sh: Likewise.
61047         * grp/tst_fgetgrent.sh: Likewise.
61048         * iconvdata/run-iconv-test.sh: Likewise.
61049         * intl/tst-gettext.sh: Likewise.
61050         * intl/tst-gettext2.sh: Likewise.
61051         * intl/tst-gettext4.sh: Likewise.
61052         * intl/tst-gettext6.sh: Likewise.
61053         * intl/tst-translit.sh: Likewise.
61054         * io/ftwtest-sh: Likewise.
61055         * libio/test-freopen.sh: Likewise.
61056         * malloc/tst-mtrace.sh: Likewise.
61057         * posix/globtest.sh: Likewise.
61058         * posix/tst-getconf.sh: Likewise.
61059         * posix/wordexp-tst.sh: Likewise.
61060         * stdio-common/tst-printf.sh: Likewise.
61061         * stdio-common/tst-unbputc.sh: Likewise.
61062         * stdlib/tst-fmtmsg.sh: Likewise.
61063         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61064         * catgets/Makefile: Do not specify -e option when running
61065         testsuite shell scripts.
61066         * elf/Makefile: Likewise.
61067         * grp/Makefile: Likewise.
61068         * iconvdata/Makefile: Likewise.
61069         * intl/Makefile: Likewise.
61070         * io/Makefile: Likewise.
61071         * libio/Makefile: Likewise.
61072         * malloc/Makefile: Likewise.
61073         * posix/Makefile: Likewise.
61074         * stdio-common/Makefile: Likewise.
61075         * stdlib/Makefile: Likewise.
61076         * sysdeps/x86_64/Makefile: Likewise.
61078         * io/ftwtest-sh: Add copyright header.
61079         * posix/globtest.sh: Likewise.
61080         * posix/tst-getconf.sh: Likewise.
61081         * posix/wordexp-tst.sh: Likewise.
61082         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61084 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61086         [BZ #13679]
61087         * Makeconfig (+link): Defined as $(+link-static) if
61088         $(build-shared) isn't yes.
61089         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61090         isn't yes.
61091         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61093         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61095         [BZ #14562]
61096         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61097         new chunk size with MALLOC_ALIGN_MASK.
61099 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61101         [BZ #5044]
61102         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61103         <rounding-mode.h>.
61104         (__printf_fphex): Determine rounding using get_rounding_mode and
61105         round_away.
61106         * stdio-common/tst-printf-round.c (struct hex_test): New
61107         structure.
61108         (hex_tests): New variable.
61109         (test_hex_in_one_mode): New function.
61110         (do_test): Also run tests for hex float output.
61112 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61114         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61115         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61116         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61117         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61118         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61119         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61120         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61121         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61123 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61125         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61126         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61127         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61128         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61130 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61132         [BZ #14579]
61133         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61134         mode only.
61135         * elf/tst-rtld-load-self.sh: New test.
61136         * elf/Makefile: Run it.
61138 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61140         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61141         (tst-writev-ENV): Remove.
61142         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61144 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61146         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61148 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61150         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61151         unconditional.
61152         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61153         Likewise.
61154         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61155         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61156         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61157         Likewise.
61159 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61161         [BZ #14587]
61162         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61163         * config.make.in (have-cpp-asm-debuginfo): Removed.
61164         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61165         * configure: Regenerated.
61167 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61169         [BZ #5044]
61170         * stdio-common/printf_fp.c: Include <stdbool.h> and
61171         <rounding-mode.h>.
61172         (___printf_fp): Determine rounding using get_rounding_mode and
61173         round_away.
61174         * stdio-common/tst-printf-round.c: New file.
61175         * stdio-common/Makefile (tests): Add tst-printf-round.
61176         (link-libm): New variable.
61177         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61179 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61181         [BZ #14576]
61182         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61183         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61184         Likewise.
61185         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61186         Likewise.
61188 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61190         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61191         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61192         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61193         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61195 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61197         [BZ #14518]
61198         * include/rounding-mode.h: New file.
61199         * sysdeps/generic/get-rounding-mode.h: Likewise.
61200         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61201         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61202         (MAX_VALUE): New macro.
61203         (MIN_VALUE): Likewise.
61204         (overflow_value): New function.
61205         (underflow_value): Likewise.
61206         (round_and_return): Use overflow_value and underflow_value to
61207         determine return values in overflow and underflow cases.  Use
61208         round_away to determine rounding depending on rounding mode.
61209         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61210         determine return values in overflow and underflow cases.
61211         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61212         (struct test_results): New structure.
61213         (struct test): Use struct test_results to store expected results
61214         for all rounding modes.
61215         (TEST): Include expected results for all rounding modes.
61216         (test_in_one_mode): New function.
61217         (do_test): Use test_in_one_mode to compute and check results.
61218         Check results for all rounding modes.
61219         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61220         $(link-libm).
61222 2012-12-09  Allan McRae  <allan@archlinux.org>
61224         * sysdeps/i386/fpu/libm-test-ulps: Update
61226 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61228         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61229         (_G_int32_t): Likewise.
61230         (_G_uint16_t): Likewise.
61231         (_G_uint32_t): Likewise.
61232         (_G_HAVE_BOOL): Likewise.
61233         (_G_HAVE_ATEXIT): Likewise.
61234         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61235         (_G_HAVE_IO_FILE_OPEN): Likewise.
61236         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61237         (_G_int32_t): Likewise.
61238         (_G_uint16_t): Likewise.
61239         (_G_uint32_t): Likewise.
61240         (_G_HAVE_BOOL): Likewise.
61241         (_G_HAVE_ATEXIT): Likewise.
61242         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61243         (_G_HAVE_IO_FILE_OPEN): Likewise.
61244         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61245         (_G_int32_t): Likewise.
61246         (_G_uint16_t): Likewise.
61247         (_G_uint32_t): Likewise.
61248         (_G_HAVE_BOOL): Likewise.
61249         (_G_HAVE_ATEXIT): Likewise.
61250         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61251         (_G_HAVE_IO_FILE_OPEN): Likewise.
61253 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61255         * csu/libc-tls.c: Update copyright years.
61257 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61259         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61260         [!_G_USING_THUNKS]: Remove conditional code.
61261         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61262         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61264         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61265         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61266         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61267         (_G_VTABLE_LABEL_PREFIX): Likewise.
61268         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61269         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61270         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61271         (_G_VTABLE_LABEL_PREFIX): Likewise.
61272         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61273         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61274         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61275         (_G_VTABLE_LABEL_PREFIX): Likewise.
61276         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61278 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61280         * libio/Makefile: Include ../Makeconfig before tests.
61281         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61282         only if $(build-shared) is yes.
61284         * iconv/gconv_db.c: Update copyright years.
61286 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61288         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61289         unwind info if defined PIC. Fix special cases description.
61290         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61292         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61293         DP_HI_MASK entry.
61294         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61296 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61298         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61300         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61301         is NULL.
61303         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61304         (LDLIBS-tst-chk4): This.
61305         (LDFLAGS-tst-chk5): Renamed to ...
61306         (LDLIBS-tst-chk5): This.
61307         (LDFLAGS-tst-chk6): Renamed to ...
61308         (LDLIBS-tst-chk6): This.
61309         (LDFLAGS-tst-lfschk4): Renamed to ...
61310         (LDLIBS-tst-lfschk4): This.
61311         (LDFLAGS-tst-lfschk5): Renamed to ...
61312         (LDLIBS-tst-lfschk5): This.
61313         (LDFLAGS-tst-lfschk6): Renamed to ...
61314         (LDLIBS-tst-lfschk6): This.
61316         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61317         on $(common-objpfx)soversions.mk.
61319 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61321         [BZ #10014]
61322         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61323         example host name.
61325 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61327         * malloc/arena.c (arena_get_retry): New function that gets
61328         another arena for the caller to try its request on.
61329         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61330         current arena cannot fulfill the request.
61331         (__libc_memalign): Likewise.
61332         (__libc_memalign): Likewise.
61333         (__libc_pvalloc): Likewise.
61334         (__libc_calloc): Likewise.
61336 2012-09-05  John Tobey  <john.tobey@gmail.com>
61338         [BZ #13542]
61339         * manual/arith.texi (Operations on Complex): Fix description
61340         of carg branch cut.
61342 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61344         [BZ #10014]
61345         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61346         host name.
61348         [BZ #10038]
61349         * manual/memory.texi (Memory): Make order of menu items match
61350         order of sections.
61352 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61354         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61355         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61356         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61358 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61360         * csu/libc-tls.c (static_dtv): Renamed to ...
61361         (_dl_static_dtv): This.  Make it global.
61362         (_dl_initial_dtv): Removed.
61363         (__libc_setup_tls): Updated.
61364         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61365         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61366         DL_INITIAL_DTV.
61368 2012-09-06  Petr Machata  <pmachata@redhat.com>
61370         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61371         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61372         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61373         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61375 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61377         [BZ #14545]
61378         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61379         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61380         freeing dtv[-1].
61382 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61384         [BZ #14544]
61385         * Makeconfig (link-static-before-libc): Replace $(+prector)
61386         with $(+prectorT).
61387         (link-static-after-libc): Replace $(+postctor) with
61388         $(+postctorT).
61389         (link-bounded): Replace $(+prector)/$(+postctor) with
61390         $(+prectorT)/$(+postctorT).
61391         (+prectorT): New macro.
61392         (+postctorT): Likewise.
61394 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61396         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61397         (round_str): Handle values above the maximum for IBM long double
61398         as inexact.
61399         * stdlib/tst-strtod-round.c (tests): Regenerated.
61401 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61403         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61404         assembler flag.
61405         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61406         zarch_nohighgprs around the zarch optimized routines.
61407         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61408         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61409         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61410         for zarch.
61412 2012-09-05  David S. Miller  <davem@davemloft.net>
61414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61416         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61417         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61418         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61419         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61420         entries.
61422 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61424         * malloc/arena.c: Fold copyright years.
61425         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61427 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61429         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61431 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61433         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61435 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61437         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61438         change internal state upon failure.
61440 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61442         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61443         * malloc/memusage.c (mmap): Likewise.
61444         (mmap64, mremap): Likewise.  Adjust name in comment.
61446 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61448         * libio/fileops.c: Fix typos in comments.
61449         * libio/oldfileops.c: Likewise.
61450         * libio/wfileops.c: Likewise.
61452 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61454         [BZ #1349]
61455         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61456         (tst-malloc-usable-ENV): Set environment for test case.
61457         * malloc/hooks.c (malloc_check_get_size): New function to get
61458         requested size.
61459         * malloc/malloc.c (musable): Use malloc_check_get_size.
61460         * malloc/tst-malloc-usable.c: New test case.
61462 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61464         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61466 2012-09-05  Allan McRae  <allan@archlinux.org>
61468         [BZ #13966]
61469         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61470         determine header location.
61471         * configure: Regenerated.
61473 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61475         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61476         float format.
61477         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61478         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61479         format.
61480         (test): Regenerate.
61482 2012-09-04  David S. Miller  <davem@davemloft.net>
61484         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61485         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61486         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61488 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61490         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61491         failures.
61493         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61495 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61497         [BZ #9914]
61498         * libio/iogetdelim.c: Include <limits.h>.
61499         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61500         + len + 1 would overflow.
61502 2012-09-03  Andreas Jaeger  <aj@suse.de>
61504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61505         * sysdeps/i386/fpu/libm-test-ulps: Update.
61507 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61509         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61510         Add s_sinf-sse2, s_conf-sse2.
61512         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61513         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61514         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61515         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61517         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61518         for using routine as __sinf_ia32.
61519         Use macro for function declaration and weak_alias.
61520         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61521         for using routine as __cosf_ia32.
61522         Use macro for function declaration and weak_alias.
61524         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61525         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61527         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61528         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61531         * math/libm-test.inc (cos_test): Add more test cases.
61532         (sin_test): Likewise.
61533         (sincos_test): Likewise.
61535 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61537         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61538         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61539         hidden.
61540         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61542 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61544         [BZ #14538]
61545         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61546         first element of the GOT.
61547         (elf_machine_load_address): Return the difference between
61548         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61550 2012-09-01  Allan McRae  <allan@archlinux.org>
61552         [BZ #13412]
61553         * configure.in (AWK): Require gawk version 3.0 or later.
61554         * configure: Regenerated.
61556 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61558         * sysdeps/unix/sysv/linux/kernel-features.h
61559         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61560         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61561         [__NR_clock_getres]: Make code unconditional.
61562         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61563         (clock_getcpuclockid): Remove code left unreachable by removal of
61564         conditionals.
61565         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61566         code unconditional.
61567         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61568         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61569         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61570         Make code unconditional.
61571         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61572         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61573         * sysdeps/unix/sysv/linux/clock_settime.c
61574         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61575         conditional code.
61576         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61577         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61579 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61581         [BZ #14476]
61582         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61583         scripts/test-installation.pl.
61585         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61586         and $ld_so_version if it is set.
61588 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61590         [BZ #14516]
61591         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61592         failure if reading from procfs failed.
61593         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61595 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61597         * sysdeps/unix/sysv/linux/kernel-features.h
61598         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61599         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61600         Remove conditional code.
61601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61602         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61603         Remove conditional code.
61604         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61605         * sysdeps/unix/sysv/linux/i386/fxstat.c
61606         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61607         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61608         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61609         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61610         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61611         * sysdeps/unix/sysv/linux/i386/lxstat.c
61612         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61613         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61614         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61615         Remove conditional code.
61616         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61617         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61618         Remove conditional code.
61619         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61620         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61621         <kernel-features.h>.
61622         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61623         Remove.
61624         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61625         Remove conditional code.
61626         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61627         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61628         Remove conditional.
61630 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61632         [BZ #5400]
61633         * NEWS: Add fixed bug number.
61635 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61637         [BZ #14519]
61638         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61639         underflowing exponent in case of negative sign.
61640         * stdlib/tst-strtod-round-data: Add more tests.
61641         * stdlib/tst-strtod-round.c (tests): Regenerated.
61643         [BZ #3479]
61644         * stdlib/strtod_l.c (NDIG): Remove.
61645         (HEXNDIG): Likewise.
61646         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61647         smallest representable value.
61648         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61649         lie within an exact representation of 1/2 ulp of the result.
61650         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61651         unconditionally.
61652         (TENS_P9_IDX): Define unconditionally.
61653         (TENS_P9_SIZE): Likewise.
61654         (TENS_P10_IDX): Likewise.
61655         (TENS_P10_SIZE): Likewise.
61656         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61657         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61658         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61659         entries for 10^2^13 and 10^2^14.
61660         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61661         (TENS_P13_IDX): Define.
61662         (TENS_P13_SIZE): Likewise.
61663         (TENS_P14_IDX): Likewise.
61664         (TENS_P14_SIZE): Likewise.
61665         (_fpioconst_pow10): Change array size to
61666         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61667         unconditional.
61668         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61669         1024]: Add entries for 10^2^13 and 10^2^14.
61670         [LAST_POW10 > _LAST_POW10]: Remove #error.
61671         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61672         (_fpioconst_pow10): Change array size to
61673         FPIOCONST_POW10_ARRAY_SIZE.
61674         * stdlib/gen-fpioconst.c: New file.
61675         * stdlib/gen-tst-strtod-round.c: Likewise.
61676         * stdlib/tst-strtod-round-data: Likewise.
61677         * stdlib/tst-strtod-round.c: Likewise.
61678         * stdlib/Makefile (tests): Add tst-strtod-round.
61680         [BZ #14459]
61681         * stdlib/strtod_l.c: Include <stdint.h>.
61682         (NDEBUG): Do not define.
61683         (round_and_return): Change EXPONENT parameter to type intmax_t.
61684         Rearrange calculations to avoid internal overflow possibilities.
61685         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61686         Rearrange calculations to avoid internal overflow possibilities.
61687         Assert that number fits inside MPNSIZE limbs.
61688         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61689         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61690         calculations and add assertions to avoid internal overflow
61691         possibilities.  Add casts to avoid signed/unsigned operations.
61692         * stdlib/tst-strtod-overflow.c: New file.
61693         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61695 2012-08-25  Marek Polacek  <polacek@redhat.com>
61697         * time/time.h: Fix some typos in comments.
61699 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61701         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61702         * posix/tst-rfc3484-2.c: Likewise.
61703         * posix/tst-rfc3484-3.c: Likewise.
61705 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61707         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61708         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61710 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61712         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61713         #include of fxstatat64.c.
61715 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61717         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61718         * shadow/getspent_r.c: Likewise.
61719         * shadow/getspnam.c: Likewise.
61720         * shadow/getspnam_r.c: Likewise.
61721         * gshadow/getsgent.c: Likewise.
61722         * gshadow/getsgent_r.c: Likewise.
61723         * gshadow/getsgnam.c: Likewise.
61724         * gshadow/getsgnam_r.c: Likewise.
61725         * inet/getnetbyad.c: Likewise.
61726         * inet/getnetbyad_r.c: Likewise.
61727         * inet/getnetbynm.c: Likewise.
61728         * inet/getnetbynm_r.c: Likewise.
61729         * inet/getnetent.c: Likewise.
61730         * inet/getnetent_r.c: Likewise.
61731         * inet/getproto.c: Likewise.
61732         * inet/getproto_r.c: Likewise.
61733         * inet/getprtent.c: Likewise.
61734         * inet/getprtent_r.c: Likewise.
61735         * inet/getprtname.c: Likewise.
61736         * inet/getprtname_r.c: Likewise.
61737         * inet/getrpcbyname.c: Likewise.
61738         * inet/getrpcbyname_r.c: Likewise.
61739         * inet/getrpcbynumber.c: Likewise.
61740         * inet/getrpcbynumber_r.c: Likewise.
61741         * inet/getrpcent.c: Likewise.
61742         * inet/getrpcent_r.c: Likewise.
61743         * inet/getaliasent.c: Likewise.
61744         * inet/getaliasent_r.c: Likewise.
61745         * inet/getaliasname.c: Likewise.
61746         * inet/getaliasname_r.c: Likewise.
61747         * nscd/getgrgid_r.c: Likewise.
61748         * nscd/getgrnam_r.c: Likewise.
61749         * nscd/gethstbyad_r.c: Likewise.
61750         * nscd/gethstbynm3_r.c: Likewise.
61751         * nscd/getpwnam_r.c: Likewise.
61752         * nscd/getpwuid_r.c: Likewise.
61753         * nscd/getsrvbynm_r.c: Likewise.
61754         * nscd/getsrvbypt_r.c: Likewise.
61755         * nscd/gai.c: Likewise.
61757         * configure.in (build_nscd): New substituted variable, set
61758         by --disable-build-nscd and defaults to $use_nscd.
61759         * configure: Regenerated.
61760         * config.make.in (build-nscd): New substituted variable.
61761         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61762         Change conditional to require [$(build-nscd) = yes] as well.
61763         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61765         [BZ# 13696]
61766         * configure.in (use_nscd): New substituted variable, set by
61767         --disable-nscd.  If enabled, define USE_NSCD.
61768         * configure: Regenerated.
61769         * config.h.in: Add USE_NSCD.
61770         * config.make.in (use-nscd): New substituted variable.
61771         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61772         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61773         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61774         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61775         (CFLAGS-getgrnam_r.c): Likewise.
61776         (CFLAGS-initgroups.c): Likewise.
61777         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61778         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61779         Variables removed.
61780         * inet/getnetgrent_r.c
61781         (nscd_setnetgrent): New function, broken out of ...
61782         (setnetgrent): ... here.  Call it.
61783         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61784         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61785         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61786         * nscd/Makefile (routines, aux): Move definitions after include of
61787         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61788         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61789         Conditionalize on [USE_NSCD].
61790         (is_nscd, nscd_init_cb): Likewise.
61791         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61792         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61793         * nss/nss_db/db-init.c: Likewise.
61794         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61795         [USE_NSCD].
61796         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61797         (make_request): Use it.
61798         (cache_valid_p): New function.
61799         (__check_pf): Use it.
61800         * NEWS: Add item for --disable-nscd.
61802 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61804         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61805         to support sed >= 4.2.1-20-ga9bf076.
61806         * configure: Regenerated.
61808 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61810         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61811         Conditionalize whole body on [IREL].
61813 2012-08-22  Jeff Law <law@redhat.com>
61815         [BZ #14505]
61816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61817         if the family is PF_UNSPEC.
61819 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61821         * Makerules (lib-version): Rename from V.
61822         (install-lib-nosubdir): Change V to lib-version.
61824 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61826         [BZ #14252]
61827         * powerpc32/power6/wcschr.c: New file.
61828         * powerpc32/power6/wcscpy.c: New file.
61829         * powerpc32/power6/wcsrchr.c: New file.
61830         * powerpc64/power6/wcschr.c: New file.
61831         * powerpc64/power6/wcscpy.c: New file.
61832         * powerpc64/power6/wcsrchr.c: New file.
61834 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61836         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61837         (two_way_short_needle): Use it.
61838         * string/strstr.c (AVAILABLE1_USES_J): Define.
61839         * string/strcasestr.c: Likewise.
61841         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61842         array references.
61843         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61845         [BZ #11607]
61846         * NEWS: Add an entry.
61847         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61848         define their defaults.
61849         (two_way_short_needle): Detect end-of-string on-the-fly.
61850         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61851         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61852         * string/bug-strcasestr1.c: New test.
61853         * string/Makefile: Run it.
61855 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61857         [BZ #11607]
61858         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61859         the first character.
61861 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61863         * csu/elf-init.c (__libc_csu_irel): Function removed.
61864         * csu/libc-start.c (apply_irel): New function.
61865         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61867 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61869         * sysdeps/unix/sysv/linux/kernel-features.h
61870         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61871         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61872         <kernel-features.h>.
61873         [__NR_fadvise64_64]: Make code unconditional.
61874         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61875         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61876         !__NR_fadvise64_64)]: Likewise.
61877         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61878         !__NR_fadvise64_64))]: Likewise.
61879         [__NR_fadvise64]: Make code unconditional.
61880         [!__NR_fadvise64]: Remove conditional code.
61881         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61882         <kernel-features.h>.
61883         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61884         unconditional.
61885         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61886         conditional code.
61887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61888         not include <kernel-features.h>.
61889         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61890         unconditional.
61891         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61892         conditional code.
61893         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61894         include <kernel-features.h>.
61895         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61896         unconditional.
61897         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61898         conditional code.
61900 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61902         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61903         slight instruction rearrangements per scrollpipe analysis.
61904         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61906 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61908         * manual/syslog.texi (syslog; vsyslog, closelog):
61909         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61910         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61912         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61913         DSOCAPS to match condition on defining it.
61915 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61917         * sysdeps/unix/sysv/linux/kernel-features.h
61918         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61920         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61921         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61923         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61924         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61926         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61927         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61929         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61930         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61932         * sysdeps/unix/sysv/linux/kernel-features.h
61933         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61934         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61935         unconditional.
61936         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61937         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61938         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61939         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61940         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61941         Make code unconditional.
61942         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61943         (__mmap64) [!__NR_mmap2]: Likewise.
61944         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61945         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61946         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61947         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61948         [__NR_mmap2]: Make code unconditional.
61949         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61950         (__mmap64) [!__NR_mmap2]: Likewise.
61952 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61954         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61956 2012-08-18  Andreas Jaeger  <aj@suse.de>
61958         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61960 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61962         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61963         * include/unistd.h (__have_sock_cloexec): Likewise.
61964         (__have_pipe2): Likewise.
61965         (__have_dup3): Likewise.
61967 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61969         [BZ #9685]
61970         * include/unistd.h (__have_pipe2): Change define into an extern int.
61971         (__have_dup3): Likewise.
61972         * socket/have_sock_cloexec.c: Include fcntl.h.
61973         (__have_pipe2): New variable.
61974         (__have_dup3): Likewise.
61976 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61978         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61980 2012-08-17  Marek Polacek  <polacek@redhat.com>
61982         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61983         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61985 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61987         * configure.in: Add AC_SUBST for sysheaders.
61988         * configure: Regenerated.
61989         * config.make.in (sysheaders): New substituted variable.
61991         * sysdeps/unix/mkfifo.c: Moved ...
61992         * sysdeps/posix/mkfifo.c: ... here.
61993         * sysdeps/unix/mkfifoat.c: Moved ...
61994         * sysdeps/posix/mkfifoat.c: ... here.
61996         * sysdeps/unix/utime.c: Moved ...
61997         * sysdeps/posix/utime.c: ... here.
61999         * sysdeps/unix/time.c: Moved ...
62000         * sysdeps/posix/time.c: ... here.
62001         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62002         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62004         * sysdeps/unix/nice.c: Moved ...
62005         * sysdeps/posix/nice.c: ... here.
62007         * sysdeps/unix/alarm.c: Moved ...
62008         * sysdeps/posix/alarm.c: ... here.
62010         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62012 2012-08-17  Jeff Law <law@redhat.com>
62014         * intl/Makefile (codeset_mo): New variable.
62015         ($(codeset_mo)): New target.
62016         (tst-codeset.out): Depend on that.  Remove explicit rule.
62017         (tst-gettext3.out, tst-gettext5.out): Likewise.
62018         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62019         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62020         * intl/tst-codeset.sh: Remove.
62021         * intl/tst-gettext3.sh: Likewise.
62022         * intl/tst-gettext5.sh: Likewise.
62024 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62026         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62027         * sysdeps/unix/syscalls.list: ... here.
62029         * sysdeps/posix/getaddrinfo.c
62030         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62031         (gaiconf_init, gaiconf_reload): Use them.
62032         [!_STATBUF_ST_NSEC]
62033         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62034         Define using time_t rather than struct timespec.
62036         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62037         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62038         Macros removed.
62039         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62040         [!NO_THREADS].
62041         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62042         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62043         Likewise.
62045         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62046         __libc_cleanup_push argument.
62048         * bits/param.h: New file.
62049         * misc/sys/param.h: New file.
62050         * include/sys/param.h: New file.
62051         * misc/Makefile (headers): Add bits/param.h.
62052         * sysdeps/generic/sys/param.h: File removed.
62053         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62054         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62055         * sysdeps/mach/hurd/bits/param.h: New file.
62056         * sysdeps/mach/hurd/sys/param.h: File removed.
62058         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62059         last change.
62061         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62062         [_IO_MTSAFE_IO].
62063         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62064         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62065         New macros.
62067         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62068         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62069         rather than -D_IO_MTSAFE_IO conditionally.
62070         * stdio-common/Makefile (CPPFLAGS): Likewise.
62071         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62072         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62073         Use $(libio-mtsafe).
62074         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62075         of -D_IO_MTSAFE_IO.
62076         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62077         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62078         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62079         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62080         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62081         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62082         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62083         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62084         (CFLAGS-fread_u_chk.c): Likewise.
62085         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62086         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62087         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62088         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62089         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62090         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62091         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62092         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62093         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62095         * libio/Makefile: Test [$(libc-reentrant) = yes]
62096         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62098         * Makeconfig
62099         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62100         * sysdeps/pthread/configure: File removed.
62101         * sysdeps/pthread/Makeconfig: New file.
62102         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62103         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62105 2012-08-16  Gary Benson  <gbenson@redhat.com>
62107         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62108         unmapping the first object in a namespace.
62110 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62112         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62113         (__internal_setnetgrent): ... this.  Add internal_function to
62114         definition.  Add libc_hidden_def.
62115         (setnetgrent): Update caller.
62116         (internal_endnetgrent): Renamed to ...
62117         (__internal_endnetgrent): ... this.  Add internal_function to
62118         definition.  Add libc_hidden_def.
62119         (endnetgrent): Update caller.
62120         (internal_getnetgrent_r): Renamed to ...
62121         (__internal_getnetgrent_r): ... this.  Add internal_function to
62122         definition.  Add libc_hidden_def.
62123         (__getnetgrent_r): Update caller.
62124         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62126 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62128         * stdlib/longlong.h: Update from GCC.
62130 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62132         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62133         on _QL, which is set by umul_ppmm but never used.
62134         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62135         variables, which are set by GMP macros but never used.
62136         * stdio-common/_itowa.c (_itowa): Likewise.
62137         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62138         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62140 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62142         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62143         struct La_sh_regs is not constant.
62144         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62145         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62146         and struct La_sparc64_regs are not constant.
62148 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62150         * sysdeps/unix/sysv/linux/kernel-features.h
62151         (__ASSUME_POSIX_TIMERS): Remove.
62152         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62153         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62154         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62155         Make code unconditional.
62156         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62157         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62158         Make code unconditional.
62159         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62160         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62161         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62162         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62163         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62164         Make code unconditional.
62165         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62166         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62167         (__libc_missing_posix_timers): Remove.
62169 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62171         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62172         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62174         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62176         * elf/dl-sym.c: Include <stdlib.h>.
62178         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62179         constants, which avoids warnings in 32-bit builds.
62181         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62182         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62184         * misc/lseek.c: File moved to ...
62185         * io/lseek.c: ... here.
62187         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62189         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62190         shifting LEN more than 31 bits at once.
62192 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62194         [BZ #14195]
62195         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62196         segmentation fault for a case of two empty input strings.
62197         * string/test-strncasecmp.c (check1): Renamed to...
62198         (bz12205): ...this.
62199         (bz14195): Add new testcase for two empty input strings and N > 0.
62200         (test_main): Call new testcase, adapt for renamed function.
62202 2012-08-15  Andreas Jaeger  <aj@suse.de>
62204         [BZ #14090]
62205         * crypt/md5test2.c: New test, based on test supplied by Serge
62206         Belyshev <belyshev@depni.sinp.msu.ru>.
62207         * crypt/Makefile (xtests): Add md5test-giant..
62208         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62210 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62212         [BZ #14090]
62213         * crypt/md5.c (md5_process_block): Don't assume the buffer
62214         length is less than 2**32.
62215         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62216         length is less than 2**64.
62218 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62220         * string/str-two-way.h: Include <sys/param.h>.
62221         (MAX): Macro removed.
62223         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62224         Move #define and #undef of memmove to just before and after
62225         including <string.h>.
62227         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62228         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62229         and after including <string.h>.  Move declarations of
62230         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62231         to before #include "string/memmove.c".
62233         * include/dirent.h: Declare __getdirentries.
62235         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62236         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62238 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62240         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62241         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62242         * sysdeps/i386/configure: Regenerated.
62243         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62244         STABS_CURRENT_FILE, and STABS_FUN.
62245         (END): Remove call to STABS_FUN_END.
62246         (STABS_CURRENT_FILE1): Delete.
62247         (STABS_CURRENT_FILE): Likewise.
62248         (STABS_FUN): Likewise.
62249         (STABS_FUN_END): Likewise.
62250         (STABS_FUN2): Likewise.
62251         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62252         * sysdeps/x86_64/configure: Regenerated.
62254 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62256         * elf/dl-open.c: Include <atomic.h>.
62257         * elf/dl-lookup.c: Likewise.
62259 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62261         * sysdeps/unix/sysv/linux/kernel-features.h
62262         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62263         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62264         unconditionally.
62265         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62266         unconditionally.
62267         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62268         condition on __ASSUME_CLONE_THREAD_FLAGS.
62270 2012-08-14  Andreas Jaeger  <aj@suse.de>
62272         * sysdeps/i386/fpu/libm-test-ulps: Update.
62274 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62276         * include/atomic.h (atomic_exchange_and_add): Split into ...
62277         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62278         New atomic macros.
62280 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62284 2012-08-13  Jeff Law <law@redhat.com>
62286         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62287         null byte in the output string.
62289 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62291         * sysdeps/unix/sysv/linux/kernel-features.h
62292         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62293         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62294         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62295         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62296         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62297         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62298         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62300 2012-08-09  Jeff Law <law@redhat.com>
62302         [BZ #13939]
62303         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62304         When avoid_arena is set, don't retry in the that arena.  Pick the
62305         next one, whatever it might be.
62306         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62307         (arena_lock): Pass in new parameter to arena_get2.
62308         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62309         arena_get2.
62310         (__libc_malloc): Unify retrying after main arena failure with
62311         __libc_memalign version.
62312         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62314 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62316         [BZ #14166]
62317         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62318         to __redirect_strstr.
62319         (__strstr_sse42): Use typeof __redirect_strstr.
62320         (__strstr_ia32): Likewise.
62321         (__libc_strstr): New prototype.
62322         (strstr): Renamed to ...
62323         (__libc_strstr): This.
62324         (strstr): New strong alias of __libc_strstr.
62325         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62326         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62327         __redirect_time.
62328         Include <time.h>.
62329         (__libc_time): New prototype.
62330         (time_ifunc): Replace time with __libc_time.
62331         (time): New strong alias and hidden definition of __libc_time.
62332         (__GI_time): Remove strong alias.
62333         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62334         Include <stddef.h>.
62335         (memmove): Redefined to __redirect_memmove.
62336         (__memmove_sse2): Use typeof __redirect_memmove.
62337         (__memmove_ssse3): Likewise.
62338         (__memmove_ssse3_back): Likewise.
62339         (__libc_memmove): New prototype.
62340         (memmove): Renamed to ...
62341         (__libc_memmove): This.
62342         (memmove): New strong alias of __libc_memmove.
62344 2012-08-08  Mark Salter  <msalter@redhat.com>
62346         * elf/elf.h
62347         (R_MN10300_TLS_GD): Define.
62348         (R_MN10300_TLS_LD): Likewise.
62349         (R_MN10300_TLS_LDO): Likewise.
62350         (R_MN10300_TLS_GOTIE): Likewise.
62351         (R_MN10300_TLS_IE): Likewise.
62352         (R_MN10300_TLS_LE): Likewise.
62353         (R_MN10300_TLS_DTPMOD): Likewise.
62354         (R_MN10300_TLS_DTPOFF): Likewise.
62355         (R_MN10300_TLS_TPOFF): Likewise.
62356         (R_MN10300_SYM_DIFF): Likewise.
62357         (R_MN10300_ALIGN): Likewise.
62358         (R_MN10300_NUM): Update.
62360 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62363         Remove.
62365 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62367         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62369         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62370         sysdeps/unix -> sysdeps/posix move.
62371         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62373 2012-08-07      Allan McRae     <allan@archlinux.org>
62375         [BZ #14303]
62376         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62377         (SUNOS_CPP): Likewise.
62378         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62379         not found.
62380         (open_input): Call CPP using execvp.
62382 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62384         * sysdeps/unix/sysv/linux/kernel-features.h
62385         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62386         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62387         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62388         (__ASSUME_WAITID_SYSCALL): Likewise.
62389         * sysdeps/unix/sysv/linux/dl-execstack.c
62390         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62391         code unconditional.
62392         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62393         conditional code.
62394         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62395         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62396         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62397         code.
62398         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62399         unconditional.
62400         [__ASSUME_WAITID_SYSCALL]: Likewise.
62401         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62403 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62405         * sysdeps/unix/closedir.c: Renamed to ...
62406         * sysdeps/posix/closedir.c: ... here.
62407         * sysdeps/unix/dirfd.c: Renamed to ...
62408         * sysdeps/posix/dirfd.c: ... here.
62409         * sysdeps/unix/dirstream.h: Renamed to ...
62410         * sysdeps/posix/dirstream.h: ... here.
62411         * sysdeps/unix/fdopendir.c: Renamed to ...
62412         * sysdeps/posix/fdopendir.c: ... here.
62413         * sysdeps/unix/opendir.c: Renamed to ...
62414         * sysdeps/posix/opendir.c: ... here.
62415         * sysdeps/unix/readdir.c: Renamed to ...
62416         * sysdeps/posix/readdir.c: ... here.
62417         * sysdeps/unix/readdir_r.c: Renamed to ...
62418         * sysdeps/posix/readdir_r.c: ... here.
62419         * sysdeps/unix/rewinddir.c: Renamed to ...
62420         * sysdeps/posix/rewinddir.c: ... here.
62421         * sysdeps/unix/seekdir.c: Renamed to ...
62422         * sysdeps/posix/seekdir.c: ... here.
62423         * sysdeps/unix/telldir.c: Renamed to ...
62424         * sysdeps/posix/telldir.c: ... here.
62425         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62426         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62427         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62428         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62430         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62431         * bits/fcntl.h: ... here.
62433         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62434         not 0.
62435         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62436         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62437         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62438         (struct flock): Move l_start, l_len to the beginning.
62439         Use __pid_t for l_pid.
62440         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62441         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62442         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62443         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62444         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62445         [__USE_LARGEFILE64] (struct flock64): New type.
62446         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62448         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62449         * bits/dirent.h: ... here.
62451         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62452         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62454 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62456         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62457         Change from 2.6.0 to 2.6.16.
62458         * sysdeps/unix/sysv/linux/configure: Regenerated.
62459         * sysdeps/unix/sysv/linux/kernel-features.h
62460         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62461         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62462         version.
62463         (__ASSUME_UTIMES): Likewise.
62464         (__ASSUME_CLONE_STOPPED): Remove.
62465         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62466         architectures, not kernel version.
62467         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62468         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62469         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62470         (__ASSUME_WAITID_SYSCALL): Likewise.
62471         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62472         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62473         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62474         refer to older versions.
62476 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62478         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62479         Define alphasort64 as an alias.
62480         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62481         Define versionsort64 as an alias.
62482         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62483         Define scandir64 as an alias.
62484         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62485         Define scandirat64 as an alias.
62486         * dirent/alphasort64.c (alphasort64):
62487         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62488         * dirent/versionsort64.c: Likewise.
62489         * dirent/scandir64.c: Likewise.
62490         * dirent/scandirat64.c: Likewise.
62491         * sysdeps/wordsize-64/alphasort.c: File removed.
62492         * sysdeps/wordsize-64/alphasort64.c: File removed.
62493         * sysdeps/wordsize-64/scandir.c: File removed.
62494         * sysdeps/wordsize-64/scandir64.c: File removed.
62495         * sysdeps/wordsize-64/scandirat.c: File removed.
62496         * sysdeps/wordsize-64/scandirat64.c: File removed.
62497         * sysdeps/wordsize-64/versionsort.c: File removed.
62498         * sysdeps/wordsize-64/versionsort64.c: File removed.
62499         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62500         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62501         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62502         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62503         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62504         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62505         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62506         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62508         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62509         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62510         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62511         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62512         [defined __arch64__ || defined __sparcv9]
62513         (__INO_T_MATCHES_INO64_T): New macro.
62514         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62515         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62516         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62517         * sysdeps/unix/sysv/linux/bits/dirent.h
62518         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62519         (_DIRENT_MATCHES_DIRENT64): New macro.
62521         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62522         Define lockf64 as an alias.
62523         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62524         Define fseeko64 as an alias.
62525         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62526         Define ftello64 as an alias.
62527         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62528         Define _IO_fgetpos64 and fgetpos64 as aliases.
62529         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62530         Define _IO_fsetpos64 and fsetpos64 as aliases.
62531         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62532         Conditionalize body on this.
62533         * libio/fseeko64.c: Likewise.
62534         * libio/ftello64.c: Likewise.
62535         * libio/iofgetpos64.c: Likewise.
62536         * libio/iofsetpos64.c: Likewise.
62537         * sysdeps/wordsize-64/lockf.c: File removed.
62538         * sysdeps/wordsize-64/lockf64.c: File removed.
62539         * sysdeps/wordsize-64/fseeko.c: File removed.
62540         * sysdeps/wordsize-64/fseeko64.c: File removed.
62541         * sysdeps/wordsize-64/ftello.c: File removed.
62542         * sysdeps/wordsize-64/ftello64.c: File removed.
62543         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62544         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62545         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62546         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62547         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62548         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62549         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62550         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62551         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62552         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62553         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62554         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62555         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62556         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62558         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62559         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62560         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62561         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62562         [defined __arch64__ || defined __sparcv9]
62563         (__OFF_T_MATCHES_OFF64_T): New macro.
62564         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62565         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62567         (__OFF_T_MATCHES_OFF64_T): New macro.
62569 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62571         * stdlib/secure-getenv.c (__secure_getenv): Replace
62572         GLIBC_2_16 with GLIBC_2_17.
62574 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62576         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62577         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62579 2012-08-03  David S. Miller  <davem@davemloft.net>
62581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62583 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62585         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62586         Remove.
62587         (__ASSUME_CORRECT_SI_PID): Likewise.
62588         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62589         (__ASSUME_TMPFS_NAME): Likewise.
62590         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62591         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62592         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62593         (HAVE_AUX_SECURE): Make definition unconditional.
62594         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62595         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62597 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62599         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62600         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62601         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62602         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62603         __eloop_threshold instead of SYMLOOP_MAX.
62605         * sysdeps/generic/eloop-threshold.h: New file.
62606         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62607         of MAXSYMLINKS.
62608         * elf/chroot_canon.c (chroot_canon): Likewise.
62610 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62612         [BZ #13717]
62613         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62614         Change to 2.6.0 everywhere.
62615         * sysdeps/unix/sysv/linux/configure: Regenerated.
62616         * sysdeps/unix/sysv/linux/kernel-features.h
62617         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62618         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62619         kernel versions.
62620         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62621         (__ASSUME_FUTEX_REQUEUE): Remove.
62622         (__ASSUME_STATFS64): Define unconditionally.
62623         (__ASSUME_AT_SECURE): Likewise.
62624         (__ASSUME_CORRECT_SI_PID): Likewise.
62625         (__ASSUME_TGKILL): Define without depending on kernel version for
62626         i386.
62627         (__ASSUME_UTIMES): Likewise.
62628         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62629         kernel version.
62630         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62631         (__ASSUME_TMPFS_NAME): Likewise.
62632         * README: Update reference to Linux kernel versions.
62634 2012-08-02  Marek Polacek  <polacek@redhat.com>
62636         [BZ# 14150]
62637         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62638         libc_cv_asm_type_prefix with %.
62639         * configure: Regenerated.
62640         * include/libc-symbols.h: Remove comment about
62641         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62642         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62643         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62644         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62645         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62646         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62647         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62648         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62649         * elf/tst-unique2mod1.c: Likewise.
62650         * elf/tst-unique1mod2.c: Likewise.
62651         * elf/tst-unique1mod1.c: Likewise.
62652         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62653         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62654         Replace ASM_TYPE_DIRECTIVE with .type.
62655         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62656         * sysdeps/i386/sysdep.h: Likewise.
62657         * sysdeps/x86_64/sysdep.h: Likewise.
62658         * sysdeps/sh/sysdep.h: Likewise.
62659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62660         Do not define ASM_TYPE_DIRECTIVE.
62661         * sysdeps/powerpc/sysdep.h: Likewise.
62662         * sysdeps/powerpc/powerpc32/sysdep.h:
62663         Replace ASM_TYPE_DIRECTIVE with .type.
62664         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62665         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62666         * sysdeps/i386/fpu/e_powf.S: Likewise.
62667         * sysdeps/i386/fpu/e_expl.S: Likewise.
62668         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62669         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62670         * sysdeps/i386/fpu/e_pow.S: Likewise.
62671         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62672         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62673         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62674         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62675         * sysdeps/i386/fpu/e_log2.S: Likewise.
62676         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62677         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62678         * sysdeps/i386/fpu/e_powl.S: Likewise.
62679         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62680         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62681         * sysdeps/i386/fpu/e_logl.S: Likewise.
62682         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62683         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62684         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62685         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62686         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62687         * sysdeps/i386/fpu/e_log.S: Likewise.
62688         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62689         * sysdeps/i386/fpu/e_logf.S: Likewise.
62690         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62691         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62692         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62693         * sysdeps/i386/fpu/e_log10.S: Likewise.
62694         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62695         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62696         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62697         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62698         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62699         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62700         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62701         * sysdeps/i386/i686/strtok.S: Likewise.
62702         * sysdeps/i386/i386-mcount.S: Likewise.
62703         * sysdeps/i386/strtok.S: Likewise.
62704         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62705         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62706         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62707         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62708         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62709         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62710         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62711         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62712         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62713         * sysdeps/x86_64/_mcount.S: Likewise.
62714         * sysdeps/x86_64/strtok.S: Likewise.
62715         * sysdeps/sh/_mcount.S: Likewise.
62717 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62719         * libio/iofopen.c: Include <fcntl.h>.
62720         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62721         (_IO_fopen64, fopen64): Define as aliases.
62722         * libio/iofopen64.c: Include <fcntl.h>.
62723         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62724         Conditionalize body on this.
62725         * sysdeps/wordsize-64/iofopen.c: File removed.
62726         * sysdeps/wordsize-64/iofopen64.c: File removed.
62728 2012-08-01  Marek Polacek  <polacek@redhat.com>
62730         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62731         Use dlfcn directly instead of a variable.
62732         (binfmt-subdir): Do not define.
62733         (dlfcn): Likewise.
62735 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62737         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62738         Remove all definitions.
62739         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62740         <kernel-features.h>.
62741         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62742         (miss_F_GETOWN_EX): Remove all definitions.
62743         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62744         macro definition.
62745         [!__ASSUME_FCNTL64]: Remove conditional code.
62746         [__ASSUME_FCNTL64]: Make code unconditional.
62747         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62748         <kernel-features.h>.
62749         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62750         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62751         (lockf64) [__NR_fcntl64]: Make code unconditional.
62752         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62754         * sysdeps/unix/sysv/linux/kernel-features.h
62755         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62756         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62757         Make code unconditional.
62758         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62759         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62761         [__NR_vfork]: Make code unconditional.
62762         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62763         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62765         [__NR_vfork]: Make code unconditional.
62766         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62767         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62769 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62771         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62772         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62774         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62775         Define mkstemp64 as an alias.
62776         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62777         Define mkstemps64 as an alias.
62778         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62779         Define mkostemp64 as an alias.
62780         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62781         Define mkostemps64 as an alias.
62782         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62783         Conditionalize body on this.
62784         * misc/mkostemp64.c: Likewise.
62785         * misc/mkostemps64.c: Likewise.
62786         * misc/mkstemps64.c: Likewise.
62787         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62788         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62789         * sysdeps/wordsize-64/mkostemp.c: File removed.
62790         * sysdeps/wordsize-64/mkstemp.c: File removed.
62791         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62792         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62793         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62794         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62796         [BZ #14138]
62797         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62798         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62799         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62800         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62802         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62803         compat_symbol macros from <shlib-compat.h> rather than the underlying
62804         default_symbol_version and symbol_version macros, so that DEFAULT
62805         lines in shlib-versions are respected.
62806         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62808 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62810         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62811         Declare with warn_unused_result.
62812         (setgid, setregid, setegid, setresgid): Likewise.
62813         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62814         Likewise.
62815         * WUR-REPORT: Remove set*id functions.
62817 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62819         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62821 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62823         [BZ #10191]
62824         * include/sys/socket.h (__libc_accept, __libc_accept4):
62825         Add attribute_hidden.
62826         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62828         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62829         use of PTR_MANGLE.
62830         * inet/getnetgrent_r.c (setup): Likewise.
62832         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62834 2012-07-31  David S. Miller  <davem@davemloft.net>
62836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62838 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62840         [BZ #13629]
62841         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62842         value between 1.0 and 2.0 and smaller part has absolute value less
62843         than 1.0.
62844         * math/s_clog10.c (__clog10): Likewise.
62845         * math/s_clog10f.c (__clog10f): Likewise.
62846         * math/s_clog10l.c (__clog10l): Likewise.
62847         * math/s_clogf.c (__clogf): Likewise.
62848         * math/s_clogl.c (__clogl): Likewise.
62849         * math/libm-test.inc (clog_test): Add more tests.
62850         (clog10_test): Likewise.
62851         * sysdeps/i386/fpu/libm-test-ulps: Update.
62852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62854 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62856         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62857         Exit with zero in case no suitable GID is found, and write a
62858         message to standard error.
62860 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62862         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62863         rather than to 1.
62864         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62865         (MAXPATHLEN): Removed.
62866         (NOGROUP, NODEV): New macros.
62867         (setbit, clrbit, isset, isclr): New macros.
62868         (howmany, roundup, powerof2): New macros.
62869         (DEV_BSIZE): New macro.
62871         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62872         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62874         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62875         definition on [!__NO_LONG_DOUBLE_MATH].
62877         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62878         PTR_MANGLE and PTR_DEMANGLE.
62880         * socket/accept4.c (accept4): Rename to __libc_accept4.
62881         Define accept4 as a weak alias.
62883         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62884         on [_DIRENT_HAVE_D_TYPE].
62885         * io/ftw.c (ftw_dir): Likewise.
62887         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62889         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62891         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62892         Use the BSD numbers rather than the arbitrary ones we had.
62893         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62894         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62895         (SIGXCPU, SIGXFSZ): New macros.
62896         (_NSIG): Now 32.
62898         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62899         initializer on [_LIBC_REENTRANT].
62901         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62902         definitions inside [_POSIX_MAPPED_FILES].
62904         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62906         * dirent/opendir.c: Include <fcntl.h>.
62908         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62909         (__libc_getspecific): Likewise.
62910         (__libc_key_create): Likewise.
62912         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62913         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62914         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62915         (tmpfile64): Define as alias.
62916         * sysdeps/wordsize-64/tmpfile.c: File removed.
62917         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62918         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62919         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62921         * stdio-common/vfscanf.c: Include <stdbool.h>.
62922         * nss/makedb.c: Likewise.
62923         * stdio-common/_i18n_number.h: Likewise.
62924         * argp/argp-help.c: Likewise.
62925         * posix/wordexp.c: Likewise.
62926         * sysdeps/posix/spawni.c: Likewise.
62927         * nss/nss_files/files-initgroups.c: Likewise.
62928         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62929         * nss/nss_files/files-initgroups.c: Likewise.
62930         * nss/nss_db/db-netgrp.c: Likewise.
62931         * nss/nss_db/db-initgroups.c: Likewise.
62932         * io/fchmodat.c: Include <sys/stat.h>.
62934         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62935         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62937         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62938         [HAVE_MMAP].
62940         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62941         Add multiple inclusion protection.
62943 2012-07-27  David S. Miller  <davem@davemloft.net>
62945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62947 2012-07-27  Gary Benson  <gbenson@redhat.com>
62949         [BZ #14298]
62950         * elf/rtld.c: Include <stap-probe.h>.
62951         (dl_main): Added static probes "init_start" and "init_complete".
62952         * elf/dl-load.c: Include <stap-probe.h>.
62953         (lose): Take new parameter "nsid".
62954         Added static probe "map_failed".
62955         (_dl_map_object_from_fd): Pass namespace id to lose.
62956         Added static probe "map_start".
62957         (open_verify): Pass namespace id to lose.
62958         * elf/dl-open.c: Include <stap-probe.h>.
62959         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62960         and "reloc_complete".
62961         * elf/dl-close.c: Include <stap-probe.h>.
62962         (_dl_close_worker): Added static probes "unmap_start" and
62963         "unmap_complete".
62964         * elf/rtld-debugger-interface.txt: New file documenting the above.
62966 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62968         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62969         rather than a string variable.
62970         * sunrpc/rpc_main.c (h_output): Likewise.
62971         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62973 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62975         * inet/check_native.c: New file.
62977 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62979         [BZ #13629]
62980         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62981         if larger part has absolute value 1.0.
62982         * math/s_clog10.c (__clog10): Likewise.
62983         * math/s_clog10f.c (__clog10f): Likewise.
62984         * math/s_clog10l.c (__clog10l): Likewise.
62985         * math/s_clogf.c (__clogf): Likewise.
62986         * math/s_clogl.c (__clogl): Likewise.
62987         * math/libm-test.inc (clog_test): Add more tests.
62988         (clog10_test): Likewise.
62989         * sysdeps/i386/fpu/libm-test-ulps: Update.
62990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62992         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62993         (pltexit): Likewise.
62994         (La_regs): Likewise.
62995         (La_retval): Likewise.
62996         (int_retval): Likewise.
62997         Update #error for removed macros to refer only to definitions in
62998         tst-audit.h.
62999         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63000         macro.
63001         (pltexit): Likewise.
63002         (La_regs): Likewise.
63003         (La_retval): Likewise.
63004         (int_retval): Likewise.
63005         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63006         macro.
63007         (pltexit): Likewise.
63008         (La_regs): Likewise.
63009         (La_retval): Likewise.
63010         (int_retval): Likewise.
63011         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63012         macro.
63013         (pltexit): Likewise.
63014         (La_regs): Likewise.
63015         (La_retval): Likewise.
63016         (int_retval): Likewise.
63017         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63018         macro.
63019         (pltexit): Likewise.
63020         (La_regs): Likewise.
63021         (La_retval): Likewise.
63022         (int_retval): Likewise.
63023         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63024         macro.
63025         (pltexit): Likewise.
63026         (La_regs): Likewise.
63027         (La_retval): Likewise.
63028         (int_retval): Likewise.
63029         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63030         macro.
63031         (pltexit): Likewise.
63032         (La_regs): Likewise.
63033         (La_retval): Likewise.
63034         (int_retval): Likewise.
63035         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63036         macro definitions in tst-audit.h.
63037         * sysdeps/i386/tst-audit.h: New file.
63038         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63039         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63040         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63041         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63042         * sysdeps/sh/tst-audit.h: Likewise.
63043         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63044         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63045         * sysdeps/x86_64/tst-audit.h: Likewise.
63047 2012-07-26  Andreas Jaeger  <aj@suse.de>
63049         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63050         ptrace.
63052         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63053         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63054         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63055         PTRACE_O_MASK.
63056         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63057         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63058         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63060         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63061         value.
63063         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63064         _sigsys.
63065         (si_call_addr, si_syscall, si_arch): Define new macro.
63066         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63067         _sigsys.
63068         (si_call_addr, si_syscall, si_arch): Define new marcro.
63069         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63070         _sigsys.
63071         (si_call_addr, si_syscall, si_arch): Define new macro.
63072         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63073         _sigsys.
63074         (si_call_addr, si_syscall, si_arch): Define new macro.
63076 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63078         [BZ #13717]
63079         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63080         Change to 2.4.21 where previously 2.4.1.
63081         * sysdeps/unix/sysv/linux/configure: Regenerated.
63082         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63083         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63084         Linux kernel version.
63085         (__ASSUME_STD_AUXV): Remove.
63086         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63087         kernel version.
63088         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63089         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63090         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63091         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63092         (__ASSUME_NETLINK_SUPPORT): Likewise.
63093         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63094         (__no_netlink_support): Remove conditional definition.
63095         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63096         Remove.
63097         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63098         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63099         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63100         (if_nameindex_ioctl): Remove.
63101         (if_nameindex_netlink): Do not handle __no_netlink_support.
63102         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63103         code.
63104         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63105         Remove conditional code.
63106         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63107         code.
63108         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63109         unconditional.
63110         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63111         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63112         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63113         Remove.
63114         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63115         [!__ASSUME_STD_AUXV]: Remove conditional code.
63116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63117         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63118         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63120         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63121         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63122         code.
63123         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63125         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63126         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63127         conditional code.
63128         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63130         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63131         code.
63132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63133         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63134         conditional code.
63135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63136         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63137         code unconditional.
63138         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63139         conditional code.
63140         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63141         unconditional.
63142         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63143         conditional code.
63144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63145         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63146         unconditional.
63147         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63148         conditional code.
63149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63150         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63151         code unconditional.
63152         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63153         conditional code.
63154         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63155         unconditional.
63156         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63157         conditional code.
63158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63159         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63160         code unconditional.
63161         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63162         conditional code.
63163         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63164         unconditional.
63165         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63166         conditional code.
63168 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63170         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63171         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63172         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63173         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63174         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63175         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63176         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63177         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63178         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63179         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63180         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63181         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63182         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63183         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63184         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63185         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63186         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63187         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63188         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63190         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63191         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63192         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63194 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63196         * Versions.def: Add GLIBC_2.17.
63197         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63198         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63199         Introduce __libc_secure_getenv.
63200         * stdlib/Versions (2.17): Add secure_getenv
63201         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63202         * stdlib/secure-getenv.c: Rename __secure_getenv to
63203         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63204         symbol __secure_getenv for GLIBC_2.0.
63205         * stdlib/tst-secure-getenv.c: New.
63206         * stdlib/Makefile (tests): Add testcase.
63207         * manual/startup.texi (Environment Access): Document
63208         secure_getenv.
63209         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63210         __libc_secure_getenv.
63211         * inet/ruserpass.c (ruserpass): Likewise.
63212         * malloc/mtrace.c (mtrace): Likewise.
63213         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63214         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63215         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63216         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63217         HAVE_SECURE_GETENV.
63218         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63219         __secure_getenv to __libc_secure_getenv.
63220         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63222         Likewise.
63223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63224         Likewise.
63225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63227         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63233 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63235         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63236         (struct La_i86_retval): Likewise.
63237         (struct La_x86_64_regs): Likewise.
63238         (struct La_x86_64_retval): Likewise.
63239         (struct La_x32_regs): Likewise.
63240         (struct La_x32_retval): Likewise.
63241         (struct La_ppc32_regs): Likewise.
63242         (struct La_ppc32_retval): Likewise.
63243         (struct La_ppc64_regs): Likewise.
63244         (struct La_ppc64_retval): Likewise.
63245         (struct La_sh_regs): Likewise.
63246         (struct La_sh_retval): Likewise.
63247         (struct La_s390_32_regs): Likewise.
63248         (struct La_s390_32_retval): Likewise.
63249         (struct La_s390_64_regs): Likewise.
63250         (struct La_s390_64_retval): Likewise.
63251         (struct La_sparc32_regs): Likewise.
63252         (struct La_sparc32_retval): Likewise.
63253         (struct La_sparc64_regs): Likewise.
63254         (struct La_sparc64_retval): Likewise.
63255         (struct audit_ifaces): Remove architecture-specific pltenter and
63256         pltexit members.
63257         * sysdeps/i386/ldsodefs.h: New file.
63258         * sysdeps/powerpc/ldsodefs.h: Likewise.
63259         * sysdeps/s390/ldsodefs.h: Likewise.
63260         * sysdeps/sh/ldsodefs.h: Likewise.
63261         * sysdeps/sparc/ldsodefs.h: Likewise.
63262         * sysdeps/x86_64/ldsodefs.h: Likewise.
63264 2012-07-25  Marek Polacek  <polacek@redhat.com>
63266         [BZ #6808]
63267         * math/libm-test.inc (yn_test): Add another test.
63268         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63269         to ERANGE when the result is +-Inf.
63270         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63271         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63272         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63273         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63275 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63277         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63278         equal to 0.
63279         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63280         clock_t.
63281         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63283 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63285         * configure.in <sysdeps resolving>: Correct printing
63286         Implies_before.
63287         * configure: Regenerate.
63289 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63291         * math/w_ilogb.c: Include <limits.h>.
63292         * math/w_ilogbl.c: Likewise.
63294 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63296         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63297         va_copy.  Document allowing for unavailable va_copy only as
63298         pre-C99 compatibility.
63299         * manual/string.texi (Copying and Concatenation): Use va_copy
63300         instead of __va_copy in concat example.
63302 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63304         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63305         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63306         it if not null.
63308         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63309         with O_NOLINK passed to __file_name_lookup.
63311         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63312         with O_NOLINK passed to __file_name_lookup.
63314         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63315         negative N or less than NGIDS.
63317         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63318         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63319         enough.  Use memcpy instead of strncpy.
63321 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63323         * elf/Makefile (check-data): Remove.
63324         (localplt.data): New vpath directive.
63325         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63326         instead of $(check-data).
63327         * scripts/data/localplt-generic.data: Move to ...
63328         * sysdeps/generic/localplt.data: ... here.
63329         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63330         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63331         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63333         ... here.
63334         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63336         ... here.
63337         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63339         ... here.
63340         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63342         ... here.
63343         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63345         ... here.
63346         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63348         ... here.
63350 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63352         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63353         PPC32 and PPC64 files.
63354         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63355         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63357 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63359         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63360         __makecontext_ret to ...
63361         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63362         ... here and call exit if uc_link is NULL.  New file.
63363         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63364         __makecontext_ret.S.
63365         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63366         __makecontext_ret to ...
63367         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63368         ... here and call exit if uc_link is NULL.  New file.
63369         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63370         __makecontext_ret.S.
63372 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63374         * elf/elf.h (R_390_IRELATIVE): New definition.
63375         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63376         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63377         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63378         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63379         (elf_machine_lazy_rel): Likewise.
63380         * sysdeps/s390/dl-irel.h: New file.
63381         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63382         * sysdeps/s390/s390-64/memset.S: New asm code.
63383         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63384         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63385         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63386         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63387         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63388         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63389         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63390         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63391         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63392         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63393         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63394         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63395         * sysdeps/s390/s390-32/memset.S: New asm code.
63396         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63398 2012-07-17  Marek Polacek  <polacek@redhat.com>
63400         [BZ #14349]
63401         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63402         * sysdeps/s390/s390-64/configure.in: Likewise.
63403         * sysdeps/sparc/configure.in: Likewise.
63404         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63405         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63406         * sysdeps/i386/configure.in: Likewise.
63407         * sysdeps/x86_64/configure.in: Likewise.
63408         * sysdeps/sh/configure.in: Likewise.
63409         * sysdeps/s390/s390-32/configure: Regenerated.
63410         * sysdeps/s390/s390-64/configure: Likewise.
63411         * sysdeps/x86_64/configure: Likewise.
63412         * sysdeps/sh/configure: Likewise.
63413         * sysdeps/powerpc/powerpc64/configure: Likewise.
63414         * sysdeps/powerpc/powerpc32/configure: Likewise.
63415         * sysdeps/sparc/configure: Likwise.
63416         * sysdeps/i386/configure: Likewise.
63418         * elf/dl-open.c: Comment fixes.
63420 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63422         * Makefile [CXX] (check-data): Remove.
63423         [CXX] (c++-types.data): New vpath directive.
63424         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63425         vpath.  Do not allow for C++ type data being missing.
63426         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63427         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63428         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63429         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63430         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63431         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63432         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63434         ... here.
63435         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63437         ... here.
63438         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63440         ... here.
63441         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63443         ... here.
63444         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63446         ... here.
63447         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63449         ... here.
63450         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63452         ... here.
63453         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63456         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63457         definitions to architecture-specific files.
63458         (TLS_IE): Likewise.
63459         (TLS_LD): Likewise.
63460         (TLS_GD): Likewise.
63461         * sysdeps/i386/tls-macros.h: New file.
63462         * sysdeps/powerpc/tls-macros.h: Likewise.
63463         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63464         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63465         * sysdeps/sh/tls-macros.h: Likewise.
63466         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63467         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63468         * sysdeps/x86_64/tls-macros.h: Likewise.
63470 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63472         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63473         zero value for regular exit case.
63475         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63476         (__start_context): Preserve zero value for regular exit case.
63478 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63479             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63481         * manual/setjmp.texi (setcontext): Clarify normal process
63482         termination when uc_link is the null pointer.
63483         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63484         exit call.
63486 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63488         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63489         preprocessor.  Test for each exception mask separately.
63491 2012-07-16  Andreas Jaeger  <aj@suse.de>
63493         * po/ru.po: Update from translation team.
63495 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63497         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63498         equal to 0.
63499         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63500         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63501         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63502         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63503         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63505 2012-07-13  Andreas Jaeger  <aj@suse.de>
63507         * po/fr.po: Update from translation team.
63509 2012-07-12  Marek Polacek  <polacek@redhat.com>
63511         [BZ #14173]
63512         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63513         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63514         loop condition.
63516 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63518         [BZ #13717]
63519         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63520         Change to 2.4.1 where previously 2.4.0.
63521         * sysdeps/unix/sysv/linux/configure: Regenerated.
63522         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63523         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63524         version.
63525         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63526         (__ASSUME_AT_CLKTCK): Remove.
63527         (__ASSUME_AT_PAGESIZE): Likewise.
63528         (__ASSUME_AT_XID): Likewise.
63529         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63530         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63531         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63532         unconditionally.
63533         (HAVE_AUX_PAGESIZE): Likewise.
63534         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63535         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63536         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63538 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63540         [BZ #14307]
63541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63542         the temporary buffer used to invoke __gethostbyname2_r,
63543         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63544         host_data / struct gaih_addrtuple.
63545         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63546         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63547         header file nss/nsswitch.h.
63548         * nss/nsswitch.h (global scope): Add definition of implementation
63549         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63550         resolv/nss_dns/dns-host.c).
63552 2012-07-11  Andreas Jaeger  <aj@suse.de>
63554         * po/fr.po: Update from translation team.
63556         * po/sv.po: Update from translation team
63557         * po/fr.po: Another update from translation team.
63559 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63561         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63562         for subnormals or multiply small sinh result by itself.
63563         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63566 2012-07-11  David S. Miller  <davem@davemloft.net>
63568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63570 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63572         [BZ #14347]
63573         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63574         (INTERNAL_MARK): Shift it here.
63576 2012-07-10  Marek Polacek  <polacek@redhat.com>
63578         [BZ #14151]
63579         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63580         libc_cv_asm_global_directive with .globl.
63581         * configure: Regenerated.
63582         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63583         with .globl.
63584         * sysdeps/i386/configure: Regenerated.
63585         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63586         with .globl.
63587         * sysdeps/x86_64/configure: Regenerated.
63588         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63589         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63590         * elf/tst-unique2mod2.c: Likewise.
63591         * elf/tst-unique2mod1.c: Likewise.
63592         * elf/tst-unique1mod2.c: Likewise.
63593         * elf/tst-unique1mod1.c: Likewise.
63594         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63595         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63596         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63597         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63598         * sysdeps/mach/sysdep.h: Likewise.
63599         * sysdeps/i386/sysdep.h: Likewise.
63600         * sysdeps/i386/i386-mcount.S: Likewise.
63601         * sysdeps/x86_64/_mcount.S: Likewise.
63602         * sysdeps/x86_64/sysdep.h: Likewise.
63603         * sysdeps/sh/_mcount.S: Likewise.
63604         * sysdeps/sh/sysdep.h: Likewise.
63605         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63606         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63607         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63608         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63609         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63610         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63611         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63612         * locale/localeinfo.h: Likewise.
63613         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63614         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63616 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63618         [BZ #14336]
63619         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63620         system".
63621         * manual/message.texi (The Uniforum approach): Likewise.
63622         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63623         (glibc iconv Implementation): Likewise.
63625 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63627         [BZ #14337]
63628         * math/s_clog.c (__clog): Avoid scaling a value down where that
63629         could result in underflow.
63630         * math/s_clog10.c (__clog10): Likewise.
63631         * math/s_clog10f.c (__clog10f): Likewise.
63632         * math/s_clog10l.c (__clog10l): Likewise.
63633         * math/s_clogf.c (__clogf): Likewise.
63634         * math/s_clogl.c (__clogl): Likewise.
63635         * math/libm-test.inc (clog_test): Add more tests.
63636         (clog10_test): Likewise.
63637         * sysdeps/i386/fpu/libm-test-ulps: Update.
63638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63640 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63642         [BZ #14283]
63643         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63644         by 7 not 8 to examine high bit of fractional part.
63646         [BZ #14042]
63647         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63648         for call to __mcount_internal.
63649         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63650         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63651         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63653 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63655         [BZ #14154]
63656         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63657         approximation for values within 0x1p-13f of an odd multiple of
63658         pi/4.
63659         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63660         exception.  Add more tests.
63661         * sysdeps/i386/fpu/libm-test-ulps: Update.
63663         [BZ #6778]
63664         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63665         inputs and return -1 for them.  Do not check for +Inf in case not
63666         reachable for +Inf.
63667         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63668         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63669         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63670         and return -1 for them.  Do not check for +Inf in case not
63671         reachable for +Inf.
63672         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63673         define.
63674         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63675         and return -1 for them.  Do not check for +Inf in case not
63676         reachable for +Inf.
63677         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63678         spurious underflow.
63679         * sysdeps/i386/fpu/libm-test-ulps: Update.
63680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63682 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63684         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63686 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63688         [BZ #14157]
63689         [BZ #14331]
63690         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63691         could result in spurious underflow.  Scale down values above
63692         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63693         * math/s_csqrtf.c (__csqrtf): Likewise.
63694         * math/s_csqrtl.c (__csqrtl): Likewise.
63695         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63696         spurious underflow.
63697         * sysdeps/i386/fpu/libm-test-ulps: Update.
63698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63700 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63702         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63703         xopen-msg.sed.
63704         * catgets/xopen-msg.awk: New file.
63705         * catgets/xopen-msg.sed: Removed.
63707         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63708         po2text.sed.
63709         * intl/po2test.awk: New file.
63710         * intl/po2test.sed: Removed.
63712 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63714         [BZ #14328]
63715         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63716         or multiply small sinh result by itself.
63717         * math/s_ctanf.c (__ctanf): Likewise.
63718         * math/s_ctanh.c (__ctanh): Likewise.
63719         * math/s_ctanhf.c (__ctanhf): Likewise.
63720         * math/s_ctanhl.c (__ctanhl): Likewise.
63721         * math/s_ctanl.c (__ctanl): Likewise.
63722         * math/libm-test.inc (ctan_test_tonearest): New function.
63723         (ctan_test_towardzero): Likewise.
63724         (ctan_test_downward): Likewise.
63725         (ctan_test_upward): Likewise.
63726         (ctanh_test_tonearest): Likewise.
63727         (ctanh_test_towardzero): Likewise.
63728         (ctanh_test_downward): Likewise.
63729         (ctanh_test_upward): Likewise.
63730         (main): Call these new functions.
63731         * sysdeps/i386/fpu/libm-test-ulps: Update.
63732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63734 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63736         * .gitignore: Delete /ports entry.
63738 2012-07-03  Andreas Jaeger  <aj@suse.de>
63740         * po/bg.po: Update from translation team.
63741         * po/cs.po: Likewise.
63742         * po/de.po: Likewise.
63743         * po/hr.po: Likewise.
63744         * po/nl.pl: Likewise.
63745         * po/pl.po: Likewise.
63746         * po/vi.po: Likewise.
63748 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63750         * Makeconfig [!+link] (+link-before-libc): New variable.
63751         [!+link] (+link-after-libc): Likewise.
63752         [!+link] (+link-tests): Likewise.
63753         [!+link] (+link): Define in terms of $(+link-before-libc) and
63754         $(+link-after-libc).
63755         [!+link-static] (+link-static-before-libc): New variable.
63756         [!+link-static] (+link-static-after-libc): Likewise.
63757         [!+link-static] (+link-static-tests): Likewise.
63758         [!+link-static] (+link-static): Define in terms of
63759         $(+link-static-before-libc) and $(+link-static-after-libc).
63760         [build-shared] (link-libc-before-gnulib): New variable.
63761         [build-shared] (link-libc-tests): Likewise.
63762         [build-shared] (link-libc): Define in terms of
63763         $(link-libc-before-gnulib).
63764         [!build-shared] (link-libc-tests): New variable.
63765         (link-libc-static-tests): New variable.
63766         [!gnulib] (gnulib-arch): New variable.
63767         [!gnulib] (gnulib-tests): Likewise.
63768         [!gnulib] (static-gnulib-arch): Likewise.
63769         [!gnulib] (static-gnulib-tests): Likewise.
63770         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63771         Define with "=" instead of ":=".
63772         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63773         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63774         * Rules (binaries-all-notests): New variable.
63775         (binaries-all-tests): Likewise.
63776         (binaries-static-notests): Likewise.
63777         (binaries-static-tests): Likewise.
63778         (binaries-all): Define using $(binaries-all-notests) and
63779         $(binaries-all-tests).
63780         (binaries-static): Define using $(binaries-static-notests) and
63781         $(binaries-static-tests).
63782         (binaries-shared-tests): New variable.
63783         (binaries-shared-notests): Likewise.
63784         (binaries-shared): Remove variable.
63785         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63786         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63787         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63788         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63789         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63790         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63791         * elf/Makefile (sln-modules): New variable.
63792         (extra-objs): Add $(sln-modules:=.o).
63793         (ldconfig-modules): Add static-stubs.
63794         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63795         * elf/static-stubs.c: New file.
63797         [BZ #14283]
63798         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63799         by 7 not 8 to examine high bit of fractional part.  Use volatile
63800         variables when splitting into final array of floats if
63801         __FLT_EVAL_METHOD__ != 0.
63802         * math/libm-test.inc (cos_test): Add another test.
63803         (sin_test): Likewise.
63804         * sysdeps/i386/fpu/libm-test-ulps: Update.
63806         [BZ #14273]
63807         * math/libm-test.inc (cosh_test): Add more tests.
63809         * version.h (RELEASE): Set to "development".
63810         (VERSION): Set to "2.16.90".
63812 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63814         * NEWS: Update copyright. Remove last-updated date.
63815         Mention math library bug fixes and timezone data changes.
63816         * README: Mention GNU/Hurd, x32, and HPPA support status.
63818 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63820         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63822 2012-06-27  Andreas Jaeger  <aj@suse.de>
63824         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63826 2012-06-25  Andreas Jaeger  <aj@suse.de>
63828         * sysdeps/s390/fpu/libm-test-ulps: Update.
63830 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63831             Thomas Schwinge  <thomas@codesourcery.com>
63833         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63834         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63836         fanotify_mark.
63838 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63840         * sysdeps/mach/start.c: Remove file.
63841         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63842         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63843         * sysdeps/sh/init-first.c: Likewise.
63845         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63846         registers for frame unwinding purposes, add CFI directives.
63847         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63848         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63849         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63850         Likewise.
63852         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63853         __fortify_fail returning.
63854         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63856         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63857         sysdeps/sh/____longjmp_chk.S.
63858         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63859         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63860         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63861         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63863         * sysdeps/sh/abort-instr.h: New file.
63864         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63865         process in case exit returns.
63867         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63868         initialize the GOT register before use.
63870         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63871         calculation of ARGC > 4.
63873         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63874         meaningful names to some local labels.
63876 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63877             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63879         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63880         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63881         (__arch_compare_and_exchange_val_16_acq): Likewise.
63882         (__arch_compare_and_exchange_val_32_acq): Likewise.
63883         (atomic_exchange_and_add): Fix gUSA sequence.
63884         (atomic_add): Likewise.
63885         (atomic_add_negative): Likewise.
63886         (atomic_add_zero): Likewise.
63887         (atomic_bit_test_set): Likewise.
63889 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63891         [BZ #13579]
63892         * include/link.h (struct link_map): Add l_free_initfini.
63893         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63894         l_initfini.
63895         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63896         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63897         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63898         set.
63900 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63902         * configure.in: Use AC_LANG_SOURCE.
63903         * configure: Regenerate.
63905 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63907         * configure.in (libc_cv_localstatedir): New substituted variable.
63908         * configure: Regenerated.
63909         * config.make.in (localstatedir): New variable, substituted from
63910         libc_cv_localstatedir.
63911         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63912         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63913         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63914         * sysdeps/gnu/configure: Regenerated.
63916 2012-06-21  Jeff Law  <law@redhat.com>
63918         [BZ #14277]
63919         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63920         free.  Simplify list management for _LIBC case.
63922 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63924         [BZ #14273]
63925         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63926         Clear sign bit of 64-bit integer value before comparing against
63927         overflow value.
63929         * sysdeps/mach/configure: Regenerated.
63931 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63933         [BZ #14278]
63934         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63936 2012-06-21  Jeff Law  <law@redhat.com>
63938         [BZ #13882]
63939         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63940         uint16_t for elements in the "seen" array to avoid char overflows.
63941         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63942         * elf/dl-open.c (dl_open_worker): Likewise.
63944 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63946         * scripts/list-sources.sh: Scan PORTS for translations.
63947         * po/libc.pot: Regenerated.
63949 2012-06-21  Andreas Jaeger  <aj@suse.de>
63951         [BZ #12194]
63952         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63953         warning.
63954         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63955         * bits/byteswap-16.h (__bswap_16): Likewise.
63956         * bits/byteswap.h (__bswap_constant_16): Likewise.
63958 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63960         [BZ #14117]
63961         * sysdeps/i386/fpu_control.h: Removed.
63962         * sysdeps/x86_64/fpu_control.h: Moved to ...
63963         * sysdeps/x86/fpu_control.h: Here.
63965         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63966         (_FPU_SETCW): Likewise.
63968 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63970         [BZ #14117]
63971         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63972         * sysdeps/x86/fpu/bits/mathinline.h: This.
63973         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63975         [BZ #14050]
63976         [BZ #14117]
63977         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63978         functions if __x86_64__ is defined.
63980 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63982         * string/endian.h: Add !__ASSEMBLER__ condition for including
63983         conversion interfaces.
63985 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63987         [BZ #14241]
63988         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63989         of ABS(x) in calculating zero to negative powers other than odd
63990         integers.
63991         * math/libm-test.inc (pow_test): Add more tests.
63993 2012-06-15  Andreas Jaeger  <aj@suse.de>
63995         * manual/contrib.texi (Contributors): Update entry of Liubov
63996         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63997         Machado Filho.
63999 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64001         * string/string.h: Add __wur to GNU version of strerror_r.
64003 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64005         [BZ #14229]
64006         * string/Makefile (tests): Add tst-strtok_r.
64007         * string/tst-strtok_r.c: New file.
64008         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64009         RAX_LP/RDX_LP on SAVE_PTR.
64011 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64013         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64015 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64017         * libm_test.inc (csqrt_test): Allow more spurious underflow
64018         exceptions.
64019         (j0_test): Likewise.
64020         (j1_test): Likewise.
64021         (y0_test): Likewise.
64022         (y1_test): Likewise.
64024 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64026         * po/Makefile (libc.pot): Use UTF-8 charset.
64028 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64030         [BZ #14210]
64031         Suppress sign-conversion warning from FD_SET.
64032         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64033         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64034         not unsigned long int.
64035         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64037 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64039         [BZ #14050]
64040         [BZ #14117]
64041         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64042         __extern_always_inline instead of __extern_inline.
64043         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64044         (__signbit): Likewise.
64045         (__signbitl): Support C++ namespace.
64046         (lrintf): New inline function.
64047         (lrint): Likewise.
64048         (llrintf): Likewise.
64049         (llrint): Likewise.
64050         (fmaxf): Likewise.
64051         (fmax): Likewise.
64052         (fminf): Likewise.
64053         (fmin): Likewise.
64054         (rint): Likewise.
64055         (rintf): Likewise.
64056         (ceil): Likewise.
64057         (ceilf): Likewise.
64058         (floor): Likewise.
64059         (floorf): Likewise.
64060         (nearbyint): Likewise.
64061         (nearbyintf): Likewise.
64063 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64065         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64066         non-default versions.
64068 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64070         [BZ #14218]
64071         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64073 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64075         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64076         (FE_UPWARD, FE_DOWNWARD): Don't define.
64077         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64078         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64080         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64081         reading it.
64082         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64083         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64085 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64087         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64088         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64089         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64090         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64092 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64094         [BZ #14117]
64095         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64096         * sysdeps/i386/fpu/Implies: New file.
64097         * sysdeps/x86_64/fpu/Implies: Likewise.
64098         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64099         * sysdeps/x86/fpu/bits/fenv.h: This.
64101         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64102         __SSE_MATH__.
64104 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64106         [BZ #14134]
64107         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64108         character 0xffff that matches the last element of the
64109         conversion table.
64111 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64113         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64114         fmodl commit.
64116 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64119         values higher than 25.6283.
64121 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64123         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64124         subnormal exponent extraction and add some __builtin_expect.
64125         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64126         Fix for subnormal mantissa calculation.
64128 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64130         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64131         cpu2 is -1 and errno is not ENOSYS.
64133 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64135         [BZ #14117]
64136         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64137         * sysdeps/x86/bits/string.h: This.
64138         * sysdeps/x86_64/bits/string.h: Removed.
64140         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64141         if not compiling for x86-64, but compiling for >= i486.
64143         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64144         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64146         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64147         New macro from Linux kernel 3.4.0.
64148         (FP_XSTATE_MAGIC2): Likewise.
64149         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64150         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64151         (struct _fpx_sw_bytes): New struct.
64152         (struct _xsave_hdr): Likewise.
64153         (struct _ymmh_state): Likewise.
64154         (struct _xstate): Likewise.
64156         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64157         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64158         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64159         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64160         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64161         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64163         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64164         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64165         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64166         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64167         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64168         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64170 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64172         [BZ #13743]
64173         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64174         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64175         (sysdep_headers): Include sys/platform/ppc.h.
64176         * sysdeps/powerpc/test-gettimebase.c: Test for
64177         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64178         * manual/Makefile (appendices): Include platform.texi.
64179         * manual/contrib.texi (Contributors): Update @node pointers.
64180         * manual/maint.texi (Maintenance): Likewise.
64181         (Platform): New node.
64182         * manual/platform.texi: New file.  Document the new features.
64184 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64185             Jakub Jelinek  <jakub@redhat.com>
64187         [BZ #14188]
64188         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64189         where __builtin_expect is unavailable.
64191 2012-06-03  David S. Miller  <davem@davemloft.net>
64193         * stdlib/longlong.h: Updated from GCC.
64195 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64197         [BZ #14042]
64198         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64199         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64200         __mcount_internal.
64201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64202         (GLIBC_2.16): Likewise.
64204 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64206         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64208 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64211         (default-abi): New variable.
64212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64213         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64214         variable.
64215         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64216         Likewise.
64217         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64218         Likewise.
64219         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64220         Likewise.
64222         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64223         definition.  Document in comment.
64225 2012-06-01  David S. Miller  <davem@davemloft.net>
64227         * stdlib/longlong.h: Updated from GCC.
64229 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64231         [BZ #14117]
64232         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64233         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64234         sys/debugreg.h sys/io.h here.
64235         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64236         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64237         sys/io.h.
64238         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64239         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64240         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64241         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64242         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64243         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64245         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64246         Define only if __x86_64__ is defined.
64248 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64250         [BZ #14048]
64251         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64252         Use int64_t for variable i.
64253         * math/libm-test.inc (fmod_test): Add more tests.
64255         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64256         z computation is not scheduled after fetestexcept.
64257         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64258         Use math_force_eval instead of asm to ensure calculation scheduled
64259         before exception test.
64260         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64261         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64263 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64266         computation is not scheduled after fetestexcept.
64268 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64270         [BZ #14117]
64271         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64272         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64274 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64276         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64277         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64279 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64281         [BZ #14117]
64282         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64283         <bits/wordsize.h>.
64284         (__WCHAR_MIN): Support __WORDSIZE == 64.
64285         (__WCHAR_MAX): Likewise.
64287         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64288         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64290         [BZ #14183]
64291         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64292         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64294         [BZ #14117]
64295         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64296         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64298         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64299         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64301         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64302         Defined to 1 if __x86_64__ isn't defined.
64303         (_STAT_VER_LINUX_OLD): New.
64304         (st_atime): Remove duplicate.
64305         (st_mtime): Likewise.
64306         (st_ctime): Likewise.
64308 2012-05-31  David S. Miller  <davem@davemloft.net>
64310         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64311         entries.
64313 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64315         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64316         gen-libm-test.pl.
64318         [BZ #14132]
64319         * elf/dl-reloc.c: Include <_itoa.h>.
64320         (_dl_reloc_bad_type): Remove use of INTUSE.
64321         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64322         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64323         * stdio-common/psiginfo.c (psiginfo): Likewise.
64324         * stdio-common/psignal.c (psignal): Likewise.
64325         * string/strsignal.c (strsignal): Likewise.
64326         * include/signal.h (_sys_siglist): Declare hidden proto.
64327         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64328         INTVARDEF with libc_hidden_data_def.
64329         * stdio-common/itoa-udigits.c: Likewise.
64330         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64331         (_itoa_lower_digits_internal): Remove declaration.
64332         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64333         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64334         (_sys_sigabbrev_internal): Remove aliases.
64335         (_sys_siglist): Define hidden alias.
64337 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64340         bits/sysctl.h.
64342 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64344         [BZ #14117]
64345         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64346         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64348         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64349         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64350         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64351         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64352         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64353         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64355         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64356         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64357         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64359         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64360         with __addr.
64361         (insw): Likewise.
64362         (insl): Likewise.
64363         (outsb): Likewise.
64364         (outsw): Likewise.
64365         (outsl): Likewise.
64367         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64368         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64369         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64371         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64372         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64373         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64374         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64375         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64376         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64378         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64379         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64381         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64382         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64384         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64385         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64386         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64388         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64389         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64390         to ...
64391         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64393         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64394         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64395         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64397         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64398         for x86-64.
64399         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64401 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64403         * math/math.h (M_El): Use two more decimal places.
64404         (M_LOG2El): Likewise.
64405         (M_LOG10El): Likewise.
64406         (M_LN2l): Likewise.
64407         (M_LN10l): Likewise.
64408         (M_PIl): Likewise.
64409         (M_PI_2l): Likewise.
64410         (M_PI_4l): Likewise.
64411         (M_1_PIl): Likewise.
64412         (M_2_PIl): Likewise.
64413         (M_2_SQRTPIl): Likewise.
64414         (M_SQRT2l): Likewise.
64415         (M_SQRT1_2l): Likewise.
64417 2012-05-31  David S. Miller  <davem@davemloft.net>
64419         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64420         values between float registers.
64421         * sysdeps/sparc/sparc64/memset.S: Likewise.
64422         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64424 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64426         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64427         -D_FORTIFY_SOURCE=1.
64428         (CPPFLAGS-tst-longjmp_chk.c): Define.
64429         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64430         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64431         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64432         CFLAGS-tst-wchar-h.c.
64434 2012-05-31  Marek Polacek  <polacek@redhat.com>
64436         [BZ #14132]
64437         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64438         __endmntent_internal): Remove declaration.
64439         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64440         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64441         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64443 2012-05-30  David S. Miller  <davem@davemloft.net>
64445         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64446         (___Q_simulate_exceptions): Use real FP ops rather than writing
64447         into the %fsr.
64448         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64449         Likewise.
64451 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64453         [BZ #14117]
64454         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64455         * sysdeps/x86/bits/xtitypes.h: This.
64457         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64458         * sysdeps/x86/bits/wordsize.h: This.
64460         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64461         * sysdeps/x86/bits/huge_vall.h: This.
64463         * sysdeps/i386/bits/select.h: Removed.
64464         * sysdeps/x86_64/bits/select.h: Renamed to ...
64465         * sysdeps/x86/bits/select.h: This.
64467         * sysdeps/i386/bits/setjmp.h: Removed.
64468         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64469         * sysdeps/x86/bits/setjmp.h: This.
64471         * sysdeps/i386/bits/mathdef.h: Removed.
64472         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64473         * sysdeps/x86/bits/mathdef.h: This.
64475 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64477         [BZ #14132]
64478         * include/sys/socket.h (__connect_internal)
64479         (__libc_sa_len_internal): Remove declaration.
64480         (__connect, __libc_sa_len): Declare hidden_proto.
64481         (SA_LEN): Remove use of INTUSE.
64482         * socket/connect.c: Add libc_hidden_def.
64483         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64484         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64485         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64486         alias.
64487         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64488         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64489         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64490         of adding _internal alias.
64492 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64494         [BZ #14117]
64495         * sysdeps/i386/bits/link.h: Removed.
64496         * sysdeps/i386/bits/linkmap.h: Likewise.
64497         * sysdeps/x86_64/bits/link.h: Renamed to ...
64498         * sysdeps/x86/bits/link.h: This.
64499         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64500         * sysdeps/x86/bits/linkmap.h: This.
64502         * sysdeps/i386/bits/endian.h: Removed.
64503         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64504         * sysdeps/x86/bits/endian.h: This.
64506         * sysdeps/i386/bits/byteswap.h: Removed.
64507         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64508         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64509         * sysdeps/x86/bits/byteswap.h: This.
64510         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64511         * sysdeps/x86/bits/byteswap-16.h: This.
64512         * sysdeps/i386/Implies: Add x86.
64513         * sysdeps/x86_64/Implies: Likewise.
64515 2012-05-30  David S. Miller  <davem@davemloft.net>
64517         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64518         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64519         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64520         (FP_TRAPPING_EXCEPTIONS): Define.
64521         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64522         (FP_TRAPPING_EXCEPTIONS): Define.
64523         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64524         subnormals only when inexact has been signalled or underflow
64525         exceptions are enabled.
64526         (_FP_PACK_CANONICAL): Likewise.
64528 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64530         [BZ #14183]
64531         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64532         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64534 2012-05-30  Richard Henderson  <rth@twiddle.net>
64536         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64537         with #ifndef NOT_IN_libc.
64539         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64540         marked to avoid plt entry.
64542 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64544         [BZ #14112]
64545         * Makeconfig (default-abi): New macro.
64546         (abi-includes): Likewise.
64547         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64548         $(abi-$(default-abi)-lib-soname) for soname if defined.
64549         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64550         abi-variants.
64551         * Makefile (installed-stubs): Likewise.
64552         * include/stubs-biarch.h: Removed.
64553         * scripts/lib-names.awk: Only handle one library at a time.
64554         * scripts/soversions.awk: Remove WORDSIZE support.
64555         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64556         entries.
64557         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64558         Removed.
64559         (syscall-list-default-condition): Likewise.
64560         (syscall-list-default-condition): Likewise.
64561         (syscall-list-includes): Likewise.
64562         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64563         syscall-list-* with abi-*.  Handle undefined abi-variants.
64564         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64565         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64566         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64567         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64568         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64569         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64570         Removed.
64571         (syscall-list-32-options): Likewise.
64572         (syscall-list-32-condition): Likewise.
64573         (syscall-list-64-options): Likewise.
64574         (syscall-list-64-condition): Likewise.
64575         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64576         macro.
64577         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64578         Renamed to ...
64579         (abi-*): This.
64580         (abi-64-ld-soname): New macro.
64581         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64582         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64583         Renamed to ...
64584         (abi-*): This.
64585         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64586         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64588 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64590         * sysdeps/unix/sysv/linux/kernel-features.h
64591         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64592         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64593         include <kernel-features.h>.
64594         [!__NR_ftruncate64]: Remove conditional code.
64595         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64596         [__NR_ftruncate64]: Make code unconditional.
64597         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64598         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64599         include <kernel-features.h>.
64600         [!__NR_ftruncate64]: Remove conditional code.
64601         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64602         [__NR_ftruncate64]: Make code unconditional.
64603         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64605         include <kernel-features.h>.
64606         [!__NR_ftruncate64]: Remove conditional code.
64607         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64608         [__NR_ftruncate64]: Make code unconditional.
64609         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64611         include <kernel-features.h>.
64612         [!__NR_ftruncate64]: Remove conditional code.
64613         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64614         [__NR_ftruncate64]: Make code unconditional.
64615         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64617         * configure.in (libc_cv_fpie): Weaken to a compile test using
64618         LIBC_TRY_CC_OPTION.
64619         * configure: Regenerated.
64621 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64627         Refreshed.
64628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64634         Refreshed.
64636 2012-05-27  David S. Miller  <davem@davemloft.net>
64638         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64639         (___Q_zero): New.
64640         (__Q_simulate_exceptions): Return void.  Change to simulate
64641         exceptions by writing into the %fsr.
64642         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64643         (__Qp_handle_exceptions): Likewise.
64644         (numbers): Delete.
64645         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64646         __Qp_handle_exceptions.
64647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64648         __Qp_handle_exceptions.
64649         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64650         as unused and give dummy FP_RND_NEAREST initializer.
64651         (FP_INHIBIT_RESULTS): Define.
64652         (___Q_simulate_exceptions): Update declaration.
64653         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64654         formatting.
64655         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64656         as unused and give dummy FP_RND_NEAREST initializer.
64657         (__Qp_handle_exceptions): Update declaration.
64658         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64659         formatting.
64661 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64663         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64664         the temporary FPU control word.
64665         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64666         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64667         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64668         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64669         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64670         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64671         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64672         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64673         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64674         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64675         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64677 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64679         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64680         fields.
64682 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64684         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64685         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64686         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64687         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64688         Likewise.
64689         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64690         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64691         Likewise.
64693 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64695         * po/h.po: Update from translation team.
64697 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64699         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64701         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64702         handling of denormals.
64703         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64704         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64705         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64706         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64707         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64708         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64709         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64710         Likewise.
64712 2012-05-26  Marek Polacek  <polacek@redhat.com>
64714         [BZ #14152]
64715         * math/libm-test.inc (fma_test): Don't always expect underflow
64716         exception.
64718 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64720         [BZ #12416]
64721         * elf/tst-execstack.c: Include stackinfo.h.
64722         (do_test): Adjust test case to ensure that pthread_getattr_np
64723         behaviour remains the same after marking stack executable.
64725 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64727         * sysdeps/unix/sysv/linux/kernel-features.h
64728         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64729         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64730         kernel-features.h.
64731         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64732         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64733         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64734         kernel-features.h.
64735         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64736         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64738 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64740         * configure.in: Define the default includes to being none.
64741         * configure: Regenerated.
64743 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64745         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64746         * sysdeps/x86_64/setjmp.S: Likewise.
64747         * sysdeps/i386/bsd-setjmp.S: Likewise.
64748         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64749         * sysdeps/i386/setjmp.S: Likewise.
64750         * sysdeps/i386/__longjmp.S: Likewise.
64751         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64752         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64754         * include/stap-probe.h: New file.
64755         * configure.in: Handle --enable-systemtap.
64756         * configure: Regenerated.
64757         * config.h.in (USE_STAP_PROBE): New #undef.
64758         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64759         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64760         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64762 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64764         [BZ #13717]
64765         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64766         to 2.4.0 where earlier.
64767         * sysdeps/unix/sysv/linux/configure: Regenerated.
64768         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64769         <kernel-features.h>.
64770         [__ASSUME_32BITUIDS]: Make code unconditional.
64771         [!__ASSUME_32BITUIDS]: Remove conditional code.
64772         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64773         <kernel-features.h>.
64774         [__ASSUME_32BITUIDS]: Make code unconditional.
64775         [!__ASSUME_32BITUIDS]: Remove conditional code.
64776         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64777         [__ASSUME_32BITUIDS]: Make code unconditional.
64778         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64779         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64780         <kernel-features.h>.
64781         [__ASSUME_32BITUIDS]: Make code unconditional.
64782         [!__ASSUME_32BITUIDS]: Remove conditional code.
64783         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64784         <kernel-features.h>.
64785         [__ASSUME_32BITUIDS]: Make code unconditional.
64786         [!__ASSUME_32BITUIDS]: Remove conditional code.
64787         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64788         <kernel-features.h>.
64789         [__ASSUME_32BITUIDS]: Make code unconditional.
64790         [!__ASSUME_32BITUIDS]: Remove conditional code.
64791         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64792         <kernel-features.h>.
64793         [__ASSUME_32BITUIDS]: Make code unconditional.
64794         [!__ASSUME_32BITUIDS]: Remove conditional code.
64795         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64796         <kernel-features.h>.
64797         [__ASSUME_32BITUIDS]: Make code unconditional.
64798         [!__ASSUME_32BITUIDS]: Remove conditional code.
64799         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64800         <kernel-features.h>.
64801         [__ASSUME_32BITUIDS]: Make code unconditional.
64802         [!__ASSUME_32BITUIDS]: Remove conditional code.
64803         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64804         <kernel-features.h>.
64805         [__ASSUME_32BITUIDS]: Make code unconditional.
64806         [!__ASSUME_32BITUIDS]: Remove conditional code.
64807         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64808         <kernel-features.h>.
64809         [__ASSUME_32BITUIDS]: Make code unconditional.
64810         [!__ASSUME_32BITUIDS]: Remove conditional code.
64811         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64812         <kernel-features.h>.
64813         [__ASSUME_32BITUIDS]: Make code unconditional.
64814         [!__ASSUME_32BITUIDS]: Remove conditional code.
64815         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64816         <kernel-features.h>.
64817         [__ASSUME_32BITUIDS]: Make code unconditional.
64818         [!__ASSUME_32BITUIDS]: Remove conditional code.
64819         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64820         <kernel-features.h>.
64821         [__NR_setresgid] (__setresgid): Do not declare.
64822         [__ASSUME_32BITUIDS]: Make code unconditional.
64823         [!__ASSUME_32BITUIDS]: Remove conditional code.
64824         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64825         <kernel-features.h>.
64826         [__NR_setresuid] (__setresuid): Do not declare.
64827         [__ASSUME_32BITUIDS]: Make code unconditional.
64828         [!__ASSUME_32BITUIDS]: Remove conditional code.
64829         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64830         <kernel-features.h>.
64831         [__ASSUME_32BITUIDS]: Make code unconditional.
64832         [!__ASSUME_32BITUIDS]: Remove conditional code.
64833         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64834         <kernel-features.h>.
64835         [__ASSUME_32BITUIDS]: Make code unconditional.
64836         [!__ASSUME_32BITUIDS]: Remove conditional code.
64837         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64838         <kernel-features.h>.
64839         [__ASSUME_32BITUIDS]: Make code unconditional.
64840         [!__ASSUME_32BITUIDS]: Remove conditional code.
64841         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64842         <kernel-features.h>.
64843         [__ASSUME_32BITUIDS]: Make code unconditional.
64844         [!__ASSUME_32BITUIDS]: Remove conditional code.
64845         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64846         <kernel-features.h>.
64847         [__ASSUME_32BITUIDS]: Make code unconditional.
64848         [!__ASSUME_32BITUIDS]: Remove conditional code.
64849         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64850         <kernel-features.h>.
64851         [__ASSUME_32BITUIDS]: Make code unconditional.
64852         [!__ASSUME_32BITUIDS]: Remove conditional code.
64853         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64854         <kernel-features.h>.
64855         [__ASSUME_32BITUIDS]: Make code unconditional.
64856         [!__ASSUME_32BITUIDS]: Remove conditional code.
64857         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64858         <kernel-features.h>.
64859         [__ASSUME_32BITUIDS]: Make code unconditional.
64860         [!__ASSUME_32BITUIDS]: Remove conditional code.
64861         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64862         <kernel-features.h>.
64863         [__ASSUME_32BITUIDS]: Make code unconditional.
64864         [!__ASSUME_32BITUIDS]: Remove conditional code.
64865         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64866         <kernel-features.h>.
64867         [__ASSUME_32BITUIDS]: Make code unconditional.
64868         [!__ASSUME_32BITUIDS]: Remove conditional code.
64869         * sysdeps/unix/sysv/linux/kernel-features.h
64870         (__ASSUME_SETRESUID_SYSCALL): Remove.
64871         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64872         (__ASSUME_32BITUIDS): Likewise.
64873         (__ASSUME_LDT_WORKS): Likewise.
64874         (__ASSUME_O_DIRECTORY): Likewise.
64875         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64876         architecture but not kernel version.
64877         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64878         (__ASSUME_MMAP2_SYSCALL): Likewise.
64879         (__ASSUME_STAT64_SYSCALL): Likewise.
64880         (__ASSUME_IPC64): Likewise.
64881         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64882         <kernel-features.h>.
64883         [__ASSUME_32BITUIDS]: Make code unconditional.
64884         [!__ASSUME_32BITUIDS]: Remove conditional code.
64885         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64886         <kernel-features.h>.
64887         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64888         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64889         132096]: Remove conditional code.
64890         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64891         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64892         <kernel-features.h>.
64893         [__ASSUME_32BITUIDS]: Make code unconditional.
64894         [!__ASSUME_32BITUIDS]: Remove conditional code.
64895         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64896         <kernel-features.h>.
64897         [__ASSUME_32BITUIDS]: Make code unconditional.
64898         [!__ASSUME_32BITUIDS]: Remove conditional code.
64899         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64900         <kernel-features.h>.
64901         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64902         unconditional.
64903         (__setresgid): Do not declare.
64904         [__ASSUME_32BITUIDS]: Make code unconditional.
64905         [!__ASSUME_32BITUIDS]: Remove conditional code.
64906         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64907         <kernel-features.h>.
64908         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64909         unconditional.
64910         (__setresuid): Do not declare.
64911         [__ASSUME_32BITUIDS]: Make code unconditional.
64912         [!__ASSUME_32BITUIDS]: Remove conditional code.
64913         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64914         <kernel-features.h>.
64915         [__ASSUME_32BITUIDS]: Make code unconditional.
64916         [!__ASSUME_32BITUIDS]: Remove conditional code.
64917         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64918         <kernel-features.h>.
64919         [__ASSUME_32BITUIDS]: Make code unconditional.
64920         [!__ASSUME_32BITUIDS]: Remove conditional code.
64922 2012-05-25  Richard Henderson  <rth@twiddle.net>
64924         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64925         dl_hwcap to ifunc resolver.
64926         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64927         elf_ifunc_invoke.
64928         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64929         dl_hwcap to ifunc resolver.
64930         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64932 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64934         [BZ #14153]
64935         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64936         for |x| <= 2**-26, not 2**-57.
64937         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64938         exception.
64940 2012-05-24  Jeff Law  <law@redhat.com>
64942         * stdio-common/Makefile (tests): Add bug25.
64943         * stdio-common/bug25.c: New test.
64945 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64947         [BZ #13576]
64948         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64949         multiple of MALLOC_ALIGNMENT in size.
64950         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64952 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64954         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64955         Require >= 256.
64956         (FILENAME_MAX): Use macro-int-constant.
64957         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64958         (_IOFBF): Use macro-int-constant.
64959         (_IOLBF): Likewise.
64960         (_IONBF): Likewise.
64961         (SEEK_CUR): Likewise.
64962         (SEEK_END): Likewise.
64963         (SEEK_SET): Likewise.
64964         (TMP_MAX): Likewise.
64965         (EOF): Use macro-int-constant.  Require < 0.
64966         (NULL): Use macro-constant.  Require == 0.
64967         (stdin): Require type to be FILE *.
64968         (stdout): Likewise.
64969         (stderr): Likewise.
64970         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64971         macro-int-constant.
64972         (EXIT_SUCCESS): Likewise.
64973         (NULL): Use macro-constant.  Require == 0.
64974         (RAND_MAX): Use macro-int-constant.
64975         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64976         [C99-based standards] (strtof): Require function.
64977         [C99-based standards] (strtold): Likewise.
64978         [C99-based standards] (strtoll): Likewise.
64979         [C99-based standards] (strtoull): Likewise.
64980         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64981         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64982         [ISO || ISO99 || ISO11] (math.h): Likewise.
64983         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64984         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64985         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64987 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64989         [BZ #14132]
64990         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64991         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64992         * intl/dgettext.c (DCGETTEXT): Likewise.
64993         * intl/gettext.c (DCGETTEXT): Likewise.
64994         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64995         * posix/regex_internal.h (gettext): Likewise.
64996         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64997         Remove declaration.
64998         * include/argz.h (__argz_count_internal)
64999         (__argz_stringify_internal): Remove declaration.
65000         (__argz_count, __argz_stringify): Declare hidden proto.
65001         * intl/dcgettext.c: Remove use of INTDEF.
65002         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65003         * string/argz-stringify.c: Likewise.
65004         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65005         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65006         Declare hidden proto.
65007         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65008         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65009         Declare hidden proto.
65010         * include/stdio.h (__asprintf_internal): Don't declare.
65011         (__asprintf): Don't define as macro.  Declare hidden proto.
65012         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65013         (__fsetlocking): Declare hidden proto.
65014         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65015         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65016         hidden proto.
65017         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65018         (_IO_setlinebuf): Remove use of INTUSE.
65019         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65020         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65021         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65022         Remove declaration.
65023         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65024         (_IO_do_flush): Remove use of INTUSE.
65025         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65026         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65027         (_IO_adjust_column, _IO_least_wmarker)
65028         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65029         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65030         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65031         (_IO_default_doallocate, _IO_wdefault_doallocate)
65032         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65033         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65034         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65035         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65036         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65037         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65038         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65039         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65040         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65041         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65042         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65043         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65044         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65045         proto.
65046         (_IO_flush_all_internal, _IO_adjust_column_internal)
65047         (_IO_default_uflow_internal, _IO_default_finish_internal)
65048         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65049         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65050         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65051         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65052         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65053         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65054         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65055         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65056         (_IO_file_close_internal, _IO_file_close_it_internal)
65057         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65058         (_IO_file_init_internal, _IO_file_attach_internal)
65059         (_IO_file_fopen_internal, _IO_file_read_internal)
65060         (_IO_file_sync_internal, _IO_file_seek_internal)
65061         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65062         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65063         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65064         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65065         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65066         (_IO_list_all_internal, _IO_link_in_internal)
65067         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65068         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65069         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65070         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65071         (_IO_do_write_internal, _IO_padn_internal)
65072         (_IO_getline_info_internal, _IO_getline_internal)
65073         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65074         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65075         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65076         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65077         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65078         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65079         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65080         with libc_hidden_ver, remove use of INTUSE.
65081         * libio/genops.c: Likewise.
65082         * libio/freopen.c: Likewise.
65083         * libio/freopen64.c: Likewise.
65084         * libio/iofclose.c: Likewise.
65085         * libio/iofdopen.c: Likewise.
65086         * libio/iofflush.c: Likewise.
65087         * libio/iofflush_u.c: Likewise.
65088         * libio/iofgets.c: Likewise.
65089         * libio/iofgets_u.c: Likewise.
65090         * libio/iofopen.c: Likewise.
65091         * libio/iofopncook.c: Likewise.
65092         * libio/iofread.c: Likewise.
65093         * libio/iofread_u.c: Likewise.
65094         * libio/ioftell.c: Likewise.
65095         * libio/iofwrite.c: Likewise.
65096         * libio/iogetline.c: Likewise.
65097         * libio/iogets.c: Likewise.
65098         * libio/iogetwline.c: Likewise.
65099         * libio/iopadn.c: Likewise.
65100         * libio/iopopen.c: Likewise.
65101         * libio/ioseekoff.c: Likewise.
65102         * libio/ioseekpos.c: Likewise.
65103         * libio/iosetbuffer.c: Likewise.
65104         * libio/iosetvbuf.c: Likewise.
65105         * libio/ioungetc.c: Likewise.
65106         * libio/ioungetwc.c: Likewise.
65107         * libio/iovdprintf.c: Likewise.
65108         * libio/iovsprintf.c: Likewise.
65109         * libio/iovsscanf.c: Likewise.
65110         * libio/memstream.c: Likewise.
65111         * libio/obprintf.c: Likewise.
65112         * libio/oldfileops.c: Likewise.
65113         * libio/oldiofclose.c: Likewise.
65114         * libio/oldiofdopen.c: Likewise.
65115         * libio/oldiofopen.c: Likewise.
65116         * libio/oldiopopen.c: Likewise.
65117         * libio/oldstdfiles.c: Likewise.
65118         * libio/putc.c: Likewise.
65119         * libio/setbuf.c: Likewise.
65120         * libio/setlinebuf.c: Likewise.
65121         * libio/stdfiles.c: Likewise.
65122         * libio/strops.c: Likewise.
65123         * libio/vasprintf.c: Likewise.
65124         * libio/vscanf.c: Likewise.
65125         * libio/vsnprintf.c: Likewise.
65126         * libio/vswprintf.c: Likewise.
65127         * libio/wfiledoalloc.c: Likewise.
65128         * libio/wfileops.c: Likewise.
65129         * libio/wgenops.c: Likewise.
65130         * libio/wmemstream.c: Likewise.
65131         * libio/wstrops.c: Likewise.
65132         * libio/__fpurge.c: Likewise.
65133         * libio/__fsetlocking.c: Likewise.
65134         * assert/assert.c: Likewise.
65135         * debug/fgets_chk.c: Likewise.
65136         * debug/fgets_u_chk.c: Likewise.
65137         * debug/fread_chk.c: Likewise.
65138         * debug/fread_u_chk.c: Likewise.
65139         * debug/gets_chk.c: Likewise.
65140         * debug/obprintf_chk.c: Likewise.
65141         * debug/vasprintf_chk.c: Likewise.
65142         * debug/vdprintf_chk.c: Likewise.
65143         * debug/vsnprintf_chk.c: Likewise.
65144         * debug/vsprintf_chk.c: Likewise.
65145         * malloc/mtrace.c: Likewise.
65146         * misc/error.c: Likewise.
65147         * misc/syslog.c: Likewise.
65148         * stdio-common/asprintf.c: Likewise.
65149         * stdio-common/fxprintf.c: Likewise.
65150         * stdio-common/getw.c: Likewise.
65151         * stdio-common/isoc99_fscanf.c: Likewise.
65152         * stdio-common/isoc99_scanf.c: Likewise.
65153         * stdio-common/isoc99_vfscanf.c: Likewise.
65154         * stdio-common/isoc99_vscanf.c: Likewise.
65155         * stdio-common/isoc99_vsscanf.c: Likewise.
65156         * stdio-common/printf-prs.c: Likewise.
65157         * stdio-common/printf_fp.c: Likewise.
65158         * stdio-common/printf_fphex.c: Likewise.
65159         * stdio-common/printf_size.c: Likewise.
65160         * stdio-common/putw.c: Likewise.
65161         * stdio-common/scanf.c: Likewise.
65162         * stdio-common/sprintf.c: Likewise.
65163         * stdio-common/tmpfile.c: Likewise.
65164         * stdio-common/vfprintf.c: Likewise.
65165         * stdio-common/vfscanf.c: Likewise.
65166         * stdlib/strfmon_l.c: Likewise.
65167         * sunrpc/openchild.c: Likewise.
65168         * sunrpc/xdr_stdio.c: Likewise.
65169         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65170         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65172 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65174         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65176         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65177         in the third column, to generate for the shared library an IFUNC
65178         that uses _dl_vdso_vsym.
65179         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65180         * Makeconfig (object-suffixes-noshared): New variable.
65182         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65183         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65184         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65185         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65187         [BZ #14132]
65188         * include/sys/time.h (__gettimeofday): Remove macro.
65189         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65190         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65191         Remove INTDEF.
65192         (__gettimeofday): Add libc_hidden_def.
65193         (gettimeofday): Add libc_hidden_weak.
65194         * sysdeps/mach/gettimeofday.c: Likewise.
65195         * sysdeps/posix/gettimeofday.c: Likewise.
65196         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65197         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65198         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65199         (__gettimeofday_internal): Remove strong_alias.
65200         (__gettimeofday): Add libc_hidden_def.
65201         (gettimeofday): Add libc_hidden_weak.
65202         * sysdeps/unix/syscalls.list (gettimeofday):
65203         Remove __gettimeofday_internal alias.
65205 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65206             H.J. Lu  <hongjiu.lu@intel.com>
65208         [BZ #12495]
65209         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65210         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65211         (largebin_index_32_big): New.
65212         (largebin_index): Use it for 16-byte alignment.
65213         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65214         correction with front_misalign.
65216 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65220         Likewise.
65221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65222         Likewise.
65223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65224         Likewise.
65225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65226         Likewise.
65227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65228         Likewise.
65229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65230         Likewise.
65231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65232         Likewise.
65233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65234         Likewise.
65235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65236         Likewise.
65237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65238         Likewise.
65239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65240         Likewise.
65241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65242         Likewise.
65244         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65245         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65247 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65249         [BZ #10846]
65250         [BZ #14036]
65251         * math/libm-test.inc (exp_test): Add test from bug 14036.
65252         (pow_test): Add test from bug 10846.
65254         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65255         and other flags.
65256         (special_function): Do not include flags in test name.
65257         (parse_args): Likewise.
65258         * sysdeps/i386/fpu/libm-test-ulps: Update.
65259         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65260         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65261         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65264         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65265         exceptions.
65266         * math/libm-test.inc ("Philosophy"): Update comment about
65267         exception testing.
65268         (UNDERFLOW_EXCEPTION): New macro.
65269         (UNDERFLOW_EXCEPTION_OK): Likewise.
65270         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65271         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65272         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65273         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65274         (INVALID_EXCEPTION_OK): Update value.
65275         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65276         (OVERFLOW_EXCEPTION_OK): Likewise.
65277         (IGNORE_ZERO_INF_SIGN): Likewise.
65278         (test_exceptions): Handle underflow exceptions.
65279         (acos_test): Update for underflow exception expectations.
65280         (cexp_test): Likewise.
65281         (clog_test): Likewise.
65282         (clog10_test): Likewise.
65283         (csqrt_test): Likewise.
65284         (ctan_test): Likewise.
65285         (ctanh_test): Likewise.
65286         (exp_test): Likewise.
65287         (exp10_test): Likewise.
65288         (exp2_test): Likewise.
65289         (expm1_test): Likewise.
65290         (fma_test): Likewise.
65291         (j0_test): Likewise.
65292         (jn_test): Likewise.
65293         (nexttoward_test): Likewise.
65294         (pow_test): Likewise.
65295         (scalbn_test): Likewise.
65296         (scalbln_test): Likewise.
65297         (tan_test): Likewise.
65298         (y1_test): Likewise.
65299         * sysdeps/i386/fpu/libm-test-ulps: Update.
65300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65302 2012-05-23  David S. Miller  <davem@davemloft.net>
65304         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65305         (__libc_sigaction): Remove unused local variables.
65307 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65309         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65311 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65313         mktime: avoid signed integer overflow
65314         * time/mktime.c (__mktime_internal): Do not mishandle the case
65315         where diff == INT_MIN.
65317         mktime: simplify computation of average
65318         * time/mktime.c (ranged_convert): Use new time_t_avg function
65319         instead of rolling our own (probably-slower) code.
65321         mktime: do not assume signed right shift propagates sign bit
65322         * time/mktime.c (isdst_differ): New static function.
65323         (__mktime_internal): No need to normalize tm_isdst now.
65324         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65325         tm_isdst values.
65327         mktime: merge another wrapv change from gnulib
65328         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65329         from some compilers.
65331         mktime: remove incorrect attempt at unusual arithmetics
65332         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65333         The code didn't really work on such machines anyway.
65334         (TYPE_MINIMUM): Assume two's complement.
65335         (twos_complement_arithmetic): Verify that long_int and time_t
65336         are two's complement (or unsigned, in the latter case).
65338         mktime: check signed shifts on long_int and time_t, too
65339         * time/mktime.c (SHR): Check that shifts work as desired
65340         on the types long_int and time_t too, as SHR is used on
65341         such types.
65343         mktime: do not assume 'long' is wide enough
65344         * time/mktime.c (verify): Move decl up.
65345         (long_int): New type.
65346         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65347         to remove assumption in the code that 'long' is wide enough to
65348         store year values.  This assumption is not true on x32 and on
65349         some non-glibc platforms.
65351         mktime: merge wrapv change from gnulib
65352         * time/mktime.c (WRAPV): New macro.
65353         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65354         (guess_time_tm, __mktime_internal): Do not assume that signed
65355         integer overflow wraps around; modern compilers generate code
65356         where this assumption is no longer valid.
65358 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65360         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65361         Replace "jmp L(pseudo_end)" with "ret".
65362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65363         Likewise.
65365 2012-05-23  Andreas Jaeger  <aj@suse.de>
65367         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65368         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65370 2012-05-23  Andreas Jaeger  <aj@suse.de>
65371             Maximilian Attems  <max@stro.at>
65373         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65374         New macros.
65376 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65378         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65379         code so that pseudo_end is just ret and the stack pointer is
65380         correct also for static library in error case.
65382 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65384         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65385         move to syscalls.list.
65386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65391         * manual/install.texi (Running make install): Do not mention Linux
65392         kernel version for which pt_chown is not needed.
65393         (Linux): Do not mention problems with nscd with 2.0 kernels.
65394         * INSTALL: Regenerated.
65396 2012-05-23  Andreas Jaeger  <aj@suse.de>
65398         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65399         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65400         macro.
65401         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65402         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65403         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65404         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65405         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65406         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65407         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65408         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65409         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65410         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65411         * sysdeps/unix/sysv/linux/bits/in.h
65412         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65414 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65416         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65417         (PREPARE_VERSION): Just use assert instead, it will be elided
65418         under [NDEBUG] anyway.
65420 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65422         * sysdeps/unix/sysv/linux/Makefile: Include
65423         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65424         (sysdep_routines): Remove sysctl.
65425         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65426         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65427         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65428         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65429         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65431 2012-05-22  Andreas Jaeger  <aj@suse.de>
65433         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65434         that pseudo_end is just ret and the stack pointer is correct also
65435         for static library in error case.
65437 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65439         [BZ #14122]
65440         * nss/nsswitch.c (defconfig_entries): New variable.
65441         (__nss_database_lookup): Don't leak defconfig entries.
65442         (nss_parse_service_list): Don't leak on error paths.
65443         (free_database_entries): New function.
65444         (free_defconfig): New function.
65445         (free_mem): Move common code to free_database_entries.
65447 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65449         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65450         Add arch_prctl.
65451         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65453         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65454         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65455         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65456         New macro.
65457         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65458         (INTERNAL_SYSCALL_TYPES): Likewise.
65459         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65460         (LOAD_REGS_TYPES_[1-6]): Likewise.
65461         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65462         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65464 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65466         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65467         copysignl for GLIBC_2_0.
65468         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65469         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65471         logbl for GLIBC_2_0.
65472         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65473         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65475 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65477         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65478         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65480         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65481         Use "neg %eax".
65483         * time/mktime.c: Update copyright years.
65485 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65487         mktime: merge comment-quoting-style change from gnulib
65488         * time/mktime.c: Quote 'like this' in comments.
65489         The GNU coding standards suggest that we no longer quote `like this',
65490         as "`" and "'" are typically rendered asymmetrically nowadays.
65491         The typical gnulib style is to quote 'like this' when quoting
65492         code, and "like this" when quoting English.
65494         * time/mktime.c (compile-command): Add "-I.".
65496         mktime: merge mktime-internal.h change from gnulib
65497         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65499         mktime: merge time_r change from gnulib
65500         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65502         mktime: merge DEBUG change from gnulib
65503         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65504         case system <time.h> has a #define.
65506         mktime: merge <sys/types.h> change from gnulib
65507         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65508         since <time.t> is now guaranteed to define time_t.
65510         mktime: merge HAVE_CONFIG_H change from gnulib
65511         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65513 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65516         Use "neg %eax".
65518         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65519         __rlim_t cast.
65520         (struct rusage): Use anonymous union to pad each field to
65521         __syscall_slong_t.
65523 2012-05-21  David S. Miller  <davem@davemloft.net>
65525         * Makefules (o-iterator): Remove .s cases.
65526         (compile-command.s): Delete.
65527         (COMPILE.s): Delete.
65528         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65530 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65532         * configure.in (libc_cv_predef_stack_protector): Only consider
65533         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65534         * configure: Regenerated.
65536 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65539         New macro.  Use R*LP on int and pointer.
65540         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65541         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65542         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65543         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65545         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65546         [__WORDSIZE_TIME64_COMPAT32] instead of
65547         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65548         (struct utmp): Likewise.
65549         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65550         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65551         Renamed to ...
65552         (__WORDSIZE_TIME64_COMPAT32): This.
65553         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65554         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65555         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65556         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65557         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65558         (__WORDSIZE_TIME64_COMPAT32): New macro.
65560 2012-05-21  Andreas Jaeger  <aj@suse.de>
65562         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65563         only if [SHARED]. Add prototype for __wcschr_ia32.
65565 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65567         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65568         of %rbp unmolested in the jmp_buf while mangling the low bits.
65569         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65570         unmolested high bits of %rbp while demangling the low bits.
65571         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65573 2012-05-21  Andreas Jaeger  <aj@suse.de>
65575         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65576         * sunrpc/svc_simple.c: Use it for registerrpc.
65577         * sunrpc/xcrypt.c: Use it for passwd2des.
65579         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65581 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65583         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65584         Don't define if [__SYSCALL_WORDSIZE != 32].
65585         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65586         New macro.
65588 2012-05-21  Bruno Haible  <bruno@clisp.org>
65589             Andreas Jaeger  <aj@suse.de>
65591         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65592         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65593         inptr and inend for must_buffer_ch.
65594         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65595         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65596         * stdio-common/Makefile (tests): Remove bug15.
65597         (bug15-ENV): Remove macro.
65598         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65599         anymore.
65601 2012-05-19  Andreas Jaeger  <aj@suse.de>
65602             Roland McGrath  <roland@hack.frob.com>
65604         * manual/contrib.texi: Completely rewritten. It contains now an
65605         alphabetical list of contributors and their contributions.
65607 2012-05-21  Richard Henderson  <rth@twiddle.net>
65609         * misc/getauxval.c (__getauxval): Use unsigned long int.
65610         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65611         (getauxval): Use unsigned long int.
65613 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65615         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65617 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65619         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65620         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65621         __alignof__ (long double).
65623 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65627 2012-05-20  Richard Henderson  <rth@twiddle.net>
65629         * misc/getauxval.c: New file.
65630         * misc/sys/auxv.h: New file.
65631         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65632         (routines): Add getauxval.
65633         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65634         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65635         * elf/dl-sysdep.c (_dl_auxv): Remove.
65636         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65637         * elf/dl-support.c (_dl_auxv): New variable.
65638         (_dl_aux_init): Initialize it.
65639         * manual/startup.texi (Auxiliary Vector): New node.
65640         * sysdeps/generic/bits/hwcap.h: New file.
65641         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65642         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65643         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65644         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65645         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65646         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65648         Update.
65649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65652         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65658 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65662 2012-05-19  David S. Miller  <davem@davemloft.net>
65664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65666 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65668         [BZ #14123]
65669         * math/s_ccosh.c: Include <float.h>
65670         (__ccosh): Avoid internal overflow calculating sinh and cosh
65671         values before multiplying by sin and cos values.
65672         * math/s_ccoshf.c: Likewise.
65673         * math/s_ccoshl.c: Likewise.
65674         * math/s_csin.c: Likewise.
65675         * math/s_csinf.c: Likewise.
65676         * math/s_csinl.c: Likewise.
65677         * math/s_csinh.c: Likewise.
65678         * math/s_csinhf.c: Likewise.
65679         * math/s_csinhl.c: Likewise.
65680         * math/libm-test.inc (ccos_test): Add more tests.
65681         (ccosh_test): Likewise.
65682         (csin_test): Likewise.
65683         (csinh_test): Likewise.
65684         * sysdeps/i386/fpu/libm-test-ulps: Update.
65685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65687 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65689         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65690         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65692         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65694 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65696         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65697         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65698         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65699         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65700         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65701         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65702         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65703         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65704         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65705         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65706         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65707         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65708         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65709         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65710         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65711         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65712         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65713         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65714         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65715         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65716         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65717         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65718         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65719         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65720         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65721         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65722         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65723         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65724         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65725         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65726         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65728 2012-05-18  Andreas Jaeger  <aj@suse.de>
65730         * csu/.gitignore: Delete.
65732 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65734         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65735         (timex): Use __syscall_slong_t.
65737 2012-05-18  Andreas Jaeger  <aj@suse.de>
65738             Carlos O'Donell  <carlos_odonell@mentor.com>
65740         * manual/install.texi (Configuring and compiling): Update
65741         description about files modified in the source directory.
65742         * INSTALL: Regenerated.
65744 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65746         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65747         value.  Use "or" to set return value to -1.
65748         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65749         negate return value.
65751 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65753         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65754         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65755         failure if the compiler has Graphite support disabled.
65756         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65757         Likewise.
65758         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65759         (CFLAGS-memmove.c): Likewise.
65760         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65761         Likewise.
65763 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65765         * sysdeps/x86_64/x32/_itoa.h: New file.
65767         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65768         getdents system call only if kernel and user dirents have the
65769         same d_ino and d_off.
65771         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65772         LLONG_MAX != LONG_MAX.
65773         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65774         (_fitoa_word): Likewise.
65776         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65777         years.
65778         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65779         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65780         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65782         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65783         include <bits/wordsize.h>.  Check __x86_64__ instead of
65784         __WORDSIZE.
65785         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65786         if __x86_64__ is defined.  Use anonymous union on fpstate.
65788         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65789         anonymous union.
65791 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65793         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65794         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65795         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65796         Refer to _rtld_local_ro instead of _rtld_global_ro.
65797         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65798         Likewise.
65799         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65800         Likewise.
65801         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65802         Likewise.
65803         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65804         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65805         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65807         [BZ #10882]
65808         * sysdeps/powerpc/powerpc32/dl-machine.c
65809         (__elf_machine_runtime_setup) [PROF]: Don't reference
65810         _dl_prof_resolve.
65812 2012-05-18  Andreas Jaeger  <aj@suse.de>
65814         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65815         function only available for GCCs before 3.4 since GCC 3.4
65816         introduced a builtin.
65817         (lrint): Likewise.
65818         (llrintf): Likewise.
65819         (llrint): Likewise.
65820         (fmaxf): Likewise.
65821         (fmax): Likewise.
65822         (fminf): Likewise.
65823         (fmin): Likewise.
65824         (rint): Likewise.
65825         (rintf): Likewise.
65826         (nearbyint): Likewise.
65827         (nearbyintf): Likewise.
65828         (ceil): Likewise.
65829         (ceilf): Likewise.
65830         (floor): Likewise.
65831         (floorf): Likewise.
65833 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65835         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65836         on both fields and cast pointer to __syscall_ulong_t.
65838         * bits/types.h (__fsword_t): New type.
65839         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65840         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65841         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65842         (__FSWORD_T_TYPE): Likewise.
65843         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65844         (__FSWORD_T_TYPE): Likewise.
65845         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65846         (__FSWORD_T_TYPE): Likewise.
65847         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65848         (__FSWORD_T_TYPE): Likewise.
65849         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65850         __SWORD_TYPE with __fsword_t.
65851         (statfs64): Likewise.
65853 2012-05-17  David S. Miller  <davem@davemloft.net>
65855         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65857 2012-05-17  Andreas Jaeger  <aj@suse.de>
65859         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65860         warning.
65862 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65864         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65866 2012-05-17  Andreas Jaeger  <aj@suse.de>
65868         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65869         when it is used.
65871 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65873         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65875 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65877         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65878         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65880 2012-05-17  Andreas Jaeger  <aj@suse.de>
65881             Carlos O'Donell  <carlos_odonell@mentor.com>
65883         [BZ #14059]
65884         * sysdeps/x86_64/multiarch/init-arch.h
65885         (bit_YMM_Usable): Rename to...
65886         (bit_AVX_Usable): ... this.
65887         (bit_FMA4_Usable): New macro.
65888         (bit_XMM_state): New macro.
65889         (bit_YMM_state): New macro.
65890         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65891         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65892         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65893         (CPUID_OSXSAVE): New macro.
65894         (CPUID_AVX): New macro.
65895         (CPUID_FMA4): New macro.
65896         (index_YMM_Usable): Rename to...
65897         (index_AVX_Usable): ... this.
65898         (HAS_AVX): Use HAS_ARCH_FEATURE.
65899         (HAS_FMA4): Likewise.
65900         (HAS_YMM_USABLE): Remove.
65901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65902         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65903         are present.
65904         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65905         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65906         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65907         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65908         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65910 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65912         * math/libm-test.c: Support platforms without multiple rounding modes.
65913         * math/bug-nextafter.c: Support platforms without FP exceptions.
65914         * math/bug-nexttoward.c: Likewise.
65915         * math/test-fenv.c: Likewise.
65916         * math/test-misc.c: Likewise.
65917         * stdlib/bug-getcontext.c: Likewise.
65919 2012-05-17  Andreas Jaeger  <aj@suse.de>
65921         * manual/examples/search.c (critter_cmp): Change signature to
65922         avoid warnings.
65923         * manual/string.texi (Collation Functions): Likewise.
65925 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65927         * bits/types.h: Fold copyright years.
65928         * bits/typesizes.h: Likewise.
65929         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65930         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65931         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65932         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65933         * time/time.h: Likewise.
65935 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65937         [BZ #208]
65938         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65939         in instead of returning them.  Return void.
65940         (__libc_mallinfo): Accumulate over all arenas.
65941         (__malloc_stats): Adjust for change in int_mallinfo interface.
65943 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65945         [BZ #10375]
65946         * configure.in (NM): Add AC_CHECK_TOOL for it.
65947         (libc_extra_cflags): New substituted variable.
65948         Check for -fstack-protector being used implicitly.
65949         * configure: Regenerated.
65950         * config.make.in (config-extra-cflags): New variable,
65951         gets @libc_extra_cflags@.
65952         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65954         [BZ #10375]
65955         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65956         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65957         * configure: Regenerated.
65958         * config.make.in (CPPUNDEFS): New substituted variable.
65959         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65960         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65961         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65963 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65965         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65966         (mq_attr): Use __syscall_slong_t.
65968 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65970         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65971         Check __x86_64__ instead of __WORDSIZE.
65972         (_STAT_VER_LINUX): Likewise.
65973         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65974         __syscall_ulong_t and __syscall_slong_t.
65975         (stat64): Likewise.
65977 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65979         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65981 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65983         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65985 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65987         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65988         __syscall_ulong_t.
65990         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65991         include <bits/wordsize.h>.  Check __x86_64__ instead of
65992         __WORDSIZE.
65993         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65994         defined.
65995         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65997         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65998         include <bits/wordsize.h>.  Check __x86_64__ instead of
65999         __WORDSIZE.
66000         (user_regs_struct): Use "__extension__ unsigned long long"
66001         instead of "unsigned long" if __x86_64__ is defined.
66002         (user): Likewise.  Pad after pointer field if __ILP32__ is
66003         defined.
66005 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66007         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66008         versions 5 to 9.
66009         * configure: Regenerated.
66010         * manual/install.texi (texinfo): Increase version requirement to
66011         4.5 or later.
66012         * INSTALL: Regenerated.
66014         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66016 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66018         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66020         * sysdeps/x86_64/x32/ffs.c: New file.
66022         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66023         __syscall_ulong_t.
66024         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66025         defined.  Use __syscall_ulong_t.
66026         (shminfo): Use __syscall_ulong_t.
66027         (shm_info): Likewise.
66029         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66030         __syscall_ulong_t.
66032         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66033         <bits/wordsize.h>.
66034         (msgqnum_t): Use __syscall_ulong_t.
66035         (msglen_t): Likewise.
66036         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66037         __syscall_ulong_t.
66039         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66040         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66042         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66044         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66045         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66047         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66048         __syscall_slong_t.
66050         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66051         include <bits/wordsize.h>.  Check __x86_64__ instead of
66052         __WORDSIZE.
66054         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66055         "unsigned long long int" if __x86_64__ is defined.
66056         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66058         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66059         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66060         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66062         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66063         <stdint.h>.
66064         (GET_PC): Cast to uintptr_t first.
66065         (GET_FRAME): Likewise.
66066         (GET_STACK): Likewise.
66068         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66069         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66070         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66071         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66072         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66073         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66074         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66075         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66076         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66077         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66078         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66079         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66080         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66081         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66082         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66083         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66084         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66085         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66086         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66087         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66088         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66089         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66090         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66091         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66092         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66093         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66094         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66095         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66096         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66098 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66100         * Makerules (+depfiles): Also collect depfiles from .oS in
66101         $(extra-objs).
66102         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66103         .oS, $(libnldbl-routines)).
66105         * Makerules (native-compile-mkdep-flags): Define.
66106         * sunrpc/Makefile (extra-objs): Add $(addprefix
66107         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66108         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66109         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66110         calling $(make-target-directory).
66112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66114         * bits/types.h (__snseconds_t): Removed.
66115         * time/time.h (struct timespec): Replace __snseconds_t with
66116         __syscall_slong_t.
66117         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66118         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66119         Likewise.
66120         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66121         (__SNSECONDS_T_TYPE): Likewise.
66122         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66123         (__SNSECONDS_T_TYPE): Likewise.
66124         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66125         (__SNSECONDS_T_TYPE): Likewise.
66127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66129         * sysdeps/mach/hurd/bits/typesizes.h
66130         (__SYSCALL_SLONG_TYPE): New macro.
66131         (__SYSCALL_ULONG_TYPE): Likewise.
66133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66135         * bits/types.h (__syscall_slong_t): New type.
66136         (__syscall_ulong_t): Likewise.
66138         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66139         (__SYSCALL_ULONG_TYPE): Likewise.
66140         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66141         (__SYSCALL_SLONG_TYPE): Likewise.
66142         (__SYSCALL_ULONG_TYPE): Likewise.
66143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66144         (__SYSCALL_SLONG_TYPE): Likewise.
66145         (__SYSCALL_ULONG_TYPE): Likewise.
66146         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66147         (__SYSCALL_SLONG_TYPE): Likewise.
66148         (__SYSCALL_ULONG_TYPE): Likewise.
66150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66152         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66153         Add sigaltstack-offsets.sym.
66154         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66155         <sigaltstack-offsets.h>.
66156         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66157         longjmp_msg pointer.
66158         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66159         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66160         signal stack.
66161         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66163 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66165         * elf/stackguard-macros.h: Remove file.
66166         * sysdeps/generic/stackguard-macros.h: New file.
66167         * sysdeps/i386/stackguard-macros.h: Likewise.
66168         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66169         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66170         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66171         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66172         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66173         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66174         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66175         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66176         <elf/stackguard-macros.h>.
66178         [BZ #14109]
66179         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66180         __aligned__ in attribute.
66181         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66182         (gregset_t): Likewise.
66184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66186         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66187         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66188         * sysdeps/x86_64/x32/Implies-after: New file.
66190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66192         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66193         and access return value for _dl_profile_fixup.  Use R10_LP to
66194         load frame size.
66196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66198         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66202         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66203         * sysdeps/x86_64/x32/sysdep.h: New file.
66205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66207         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66208         * sysdeps/x86_64/setjmp.S: Likewise.
66210 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66212         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66213         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66214         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66215         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66216         remove unused global constant.
66218 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66220         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66221         include of <not-cancel.h>.
66223 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66225         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66227 2012-05-15  Jeff Law  <law@redhat.com>
66228             Andreas Jaeger  <aj@suse.de>
66230         [BZ #13594]
66231         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66232         out from...
66233         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66234         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66235         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66236         code changing __hst_map_handle.map.
66238 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66240         * configure.in (sysnames): Look for Implies-before and Implies-after
66241         files.
66242         * configure: Regenerated.
66244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66246         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66247         8-byte data alignment with LP_SIZE alignment.
66249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66251         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66252         into R10_LP.
66254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66256         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66260         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66261         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66262         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66263         Likewise.
66264         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66268         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66269         (stackinfo_sub_sp): Likewise.
66271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66273         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66274         RAX_LP.
66276 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66278         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66279         into R*_LP.
66281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66283         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66284         sizes into R*_LP.
66286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66288         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66292         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66293         into R11_LP and load __x86_64_shared_cache_size_half into
66294         R8_LP.
66296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66298         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66299         R8_LP.
66301 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66303         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66304         logb for POWER7.
66305         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66306         logbf for POWER7.
66307         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66308         logbl for POWER7.
66309         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66310         powerpc32/power7/fpu/s_logb.c via #include.
66311         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66312         powerpc32/power7/fpu/s_logbf.c via #include.
66313         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66314         powerpc32/power7/fpu/s_logbl.c via #include.
66316 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66318         * README.libm: Remove file.
66320 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66322         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66323         count for x32.  Use R*_LP and omit operand-size suffix.
66325 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66327         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66328         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66329         * sysdeps/x86_64/x32/shlib-versions: New file.
66331 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66333         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66334         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66335         Use _dl_fatal_printf instead.
66337 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66339         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66340         set if not set by the user.  Do not allow for being unset.
66341         * sysdeps/unix/sysv/linux/configure: Regenerated.
66343 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66345         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66346         the `q' suffix from lea and replace .quad with ASM_ADDR.
66348 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66350         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66351         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66352         instead of $17.
66353         (PTR_DEMANGLE): Likewise.
66355 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66357         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66358         (LP_OP): Likewise.
66359         (ASM_ADDR): Likewise.
66360         (RAX_LP): Likewise.
66361         (RBP_LP): Likewise.
66362         (RBX_LP): Likewise.
66363         (RCX_LP): Likewise.
66364         (RDI_LP): Likewise.
66365         (RSI_LP): Likewise.
66366         (RSP_LP): Likewise.
66367         (R8_LP): Likewise.
66368         (R9_LP): Likewise.
66369         (R10_LP): Likewise.
66370         (R10_LP): Likewise.
66371         (R11_LP): Likewise.
66372         (R12_LP): Likewise.
66373         (R13_LP): Likewise.
66374         (R14_LP): Likewise.
66375         (R15_LP): Likewise.
66377 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66379         * sysdeps/x86_64/x32/dl-machine.h: New file.
66381 2012-05-14  Andreas Jaeger  <aj@suse.de>
66383         * manual/Makefile (subdir): Remove export of subdir.
66384         (all): Remove target.
66385         (.PHONY): Remove all from list.
66386         (mkinstalldirs): Remove.
66387         (.PHONY): Remove installdirs from list.
66388         ($(inst_infodir)/libc.info): Use make-target-directory.
66389         (installdirs): Remove.
66390         (subdir_%): Remove.
66391         (glibc-targets): Remove.
66392         (lib): Remove.
66393         (stubs): Remove.
66394         ($(objpfx)stubs ../po/manual.pot): Remove.
66395         ($(objpfx)stamp%): Remove.
66396         (make-target-directory): Remove.
66397         (subdir_install): Remove.
66398         (routines): Remove.
66399         (aux): Remove.
66400         (sources): Remove.
66401         (objects): Remove.
66402         (headers): Remove.
66404         [BZ #13750]
66405         * manual/.gitignore: Remove, it's not needed anymore.
66406         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66407         all files in it.
66408         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66409         directory.
66410         (texis): Renamed to $(objpfx)texis.
66411         (texis-path): New, contains path to generated files.
66412         (chapters.%): Use texis-path for complete path, add extra argument
66413         libc-texinfo.sh.
66414         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66415         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66416         (summary,texi, stamp-summary): Use complete path of
66417         files. Generate files in build dir.
66418         (dir-add.texi): Build in build dir.
66419         (libm-err.texi,stamp-libm-err): Likewise.
66420         (version.texi, stamp-version): Likewise.
66421         (.%c.texi): Likewise.
66422         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66423         (mostlyclean): Remove target.
66424         (realclean): Remove target.
66425         (generated): Add new variable with contents from mostlyclean and
66426         realclean, remove entries duplicated in common-mostlyclean, add
66427         stamp-libm-err and stamp-version.
66428         (generated-dirs): Add libc directory.
66429         ($(inst_infodir)/libc.info): Install files from build dir.
66431         * manual/install.texi (Configuring and compiling): Adjust since
66432         the info files are not part of the tar ball anymore.
66434 2012-05-14  Andreas Jaeger  <aj@suse.de>
66436         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66437         variable.
66439 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66441         [BZ #13717]
66442         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66443         to 2.2.0 where earlier.
66444         * sysdeps/unix/sysv/linux/configure: Regenerated.
66445         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66446         Remove conditional code.
66447         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66448         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66449         Remove conditional code.
66450         [!__NR_lchown]: Likewise.
66451         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66452         [__NR_lchown]: Likewise.
66453         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66454         comment referencing __ASSUME_LCHOWN_SYSCALL.
66455         * sysdeps/unix/sysv/linux/i386/sigaction.c
66456         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66457         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66458         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66459         Remove conditional code.
66460         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66461         (__protocol_available): Remove #if 0 code.
66462         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66463         conditional code.
66464         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66465         * sysdeps/unix/sysv/linux/kernel-features.h
66466         (__ASSUME_GETCWD_SYSCALL): Don't define.
66467         (__ASSUME_REALTIME_SIGNALS): Likewise.
66468         (__ASSUME_PREAD_SYSCALL): Likewise.
66469         (__ASSUME_PWRITE_SYSCALL): Likewise.
66470         (__ASSUME_POLL_SYSCALL): Likewise.
66471         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66472         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66473         non-SPARC.
66474         (__ASSUME_SIOCGIFNAME): Don't define.
66475         (__ASSUME_MSG_NOSIGNAL): Likewise.
66476         (__ASSUME_SENDFILE): Define unconditionally.
66477         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66478         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66479         conditional code.
66480         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66481         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66482         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66483         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66484         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66485         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66486         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66488         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66489         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66491         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66492         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66494         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66497         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66498         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66500         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66503         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66504         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66506         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66507         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66509         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66510         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66511         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66512         Remove conditional code.
66513         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66514         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66515         Remove conditional code.
66516         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66517         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66518         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66519         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66520         Remove conditional code.
66521         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66522         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66523         Remove conditional code.
66524         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66525         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66526         Remove conditional code.
66527         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66528         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66529         Remove conditional code.
66530         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66531         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66532         Remove conditional code.
66533         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66534         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66535         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66536         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66537         * sysdeps/unix/sysv/linux/sigaction.c
66538         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66539         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66540         * sysdeps/unix/sysv/linux/sigpending.c
66541         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66542         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66543         * sysdeps/unix/sysv/linux/sigprocmask.c
66544         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66545         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66546         * sysdeps/unix/sysv/linux/sigsuspend.c
66547         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66548         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66549         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66550         (__libc_missing_rt_sigs): Remove.
66551         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66552         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66553         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66554         Remove conditional code.
66555         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66556         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66557         return 1.
66558         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66559         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66560         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66561         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66563 2012-05-14  Andreas Jaeger  <aj@suse.de>
66565         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66566         it's not used in glibc.
66567         (__coshm1): Likewise.
66568         (__acosh1p): Likewise.
66569         (__sgn): Likewise.
66571         * manual/string.texi (Copying and Concatenation): Add missing
66572         variable in concat example.
66573         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66575 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66577         [BZ #14103]
66578         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66579         __builtin_clzl with __builtin_clzll.
66581 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66583         [BZ #14104]
66584         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66585         libc_freeres_ptr.
66587 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66589         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66590         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66591         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66592         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66594 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66596         * NEWS: Update ia64 info.
66598 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66600         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66601         used as bcopy.
66603 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66605         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66606         * sysdeps/unix/syscalls.list (dup3): Likewise.
66607         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66608         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66610 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66612         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66613         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66615 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66617         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66618         thread pointer.
66619         (TLS_IE): Use mov/add instead of movq/addq to load thread
66620         pointer.
66621         (TLS_GD_PREFIX): New.
66622         (TLS_GD): Use it.
66624 2012-05-11  David S. Miller  <davem@davemloft.net>
66626         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66627         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66628         (_FPU_SETCW): Likewise.
66630 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66632         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66633         is 32-byte aligned.
66635 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66637         [BZ #11837]
66638         * iconvdata/gb18030.c: Update tables.
66639         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66640         characters specially.
66641         (BODY for TO_LOOP): Add encoding of missing ranges.
66643 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66645         [BZ #13673]
66646         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66647         * sysdeps/mach/hurd/dup3.c: Likewise.
66648         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66649         * sysdeps/powerpc/memmove.c:: Likewise.
66651 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66653         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66654         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66656 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66658         * elf/elf.h (R_X86_64_RELATIVE64): New.
66659         (R_X86_64_NUM): Updated.
66660         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66661         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66662         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66663         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66664         tst-quad1pie tst-quad2pie
66665         (modules-names): Add tst-quadmod1 tst-quadmod2.
66666         ($(objpfx)tst-quad1): New dependency.
66667         ($(objpfx)tst-quad2): Likewise.
66668         ($(objpfx)tst-quad1pie): Likewise.
66669         ($(objpfx)tst-quad2pie): Likewise.
66670         * sysdeps/x86_64/tst-quad1.c: New file.
66671         * sysdeps/x86_64/tst-quad1pie.c: New file.
66672         * sysdeps/x86_64/tst-quad2.c: Likewise.
66673         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66674         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66675         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66676         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66677         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66679 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66681         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66682         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66683         * streams/stropts.h (t_scalar_t): Define type.
66685         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66686         (_PATH_PRESERVE): Set to "/var/lib".
66687         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66689         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66690         instead of int.
66692         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66693         if __dir_mkfile succeeded.
66695         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66696         checking for _hurd_dtablesize.  Unlock it right after having
66697         finished _hurd_dtable allocation.
66699 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66701         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66702         * sysdeps/mach/hurd/configure: Regenerated.
66703         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66704         special-casing to...
66705         * sysdeps/gnu/configure.in: ... this new file.
66706         * sysdeps/unix/sysv/linux/configure: Regenerated.
66707         * sysdeps/gnu/configure: New generated file.
66709         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66710         for Linux: use nsec instead of usec, as well as:
66711         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66712         members of type struct timespec.
66713         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66714         New macros.
66715         (struct stat64): Likewise.
66716         (_STATBUF_ST_NSEC): New macro.
66717         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66719         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66720         __strtoul_internal rather than strtoul.
66722 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66724         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66725         and reject them.
66727 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66729         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66730         which preserves existing values.
66731         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66733 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66735         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66736         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66737         greater than FD_SETSIZE.
66739 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66741         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66742         allocated, call __vm_protect to finish enabling the existing space, and
66743         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66744         allocate the remainder.
66746 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66748         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66749         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66751 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66753         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66754         sysdeps/mach/hurd/readlink.c.
66756         * posix/tst-sysconf.c (posix_options): Only use
66757         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66758         _POSIX_SYNCHRONIZED_IO when they are defined
66759         * sysdeps/mach/hurd/bits/posix_opt.h:
66760         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66761         (_XOPEN_REALTIME): Undefine macro.
66762         (_XOPEN_REALTIME_THREADS): Undefine macro.
66763         (_XOPEN_SHM): Undefine macro.
66764         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66765         macro to -1.
66766         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66767         macro to -1.
66768         (_POSIX_ASYNC_IO): Undefine macro.
66769         (_POSIX_PRIORITIZED_IO): Undefine macro.
66770         (_POSIX_SPIN_LOCKS): Define macro to -1.
66772         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66773         SA_NODEFER, SA_RESETHAND.
66774         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66775         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66776         F_DUPFD_CLOEXEC.
66778 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66780         * elf/Makefile (pldd-modules): Define unconditionally.
66782 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66784         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66788         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66789         Return ENOENT when name is empty.
66790         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66794         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66796         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66798 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66800         Fix mlock in all cases except non-readable pages.
66801         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66802         instead of VM_PROT_ALL as parameter to __vm_wire function.
66804         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66805         (__mkdir): When path is `/', just fail with EEXIST.
66806         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66808 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66810         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66811         <sys/uio.h> (for writev).
66812         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66813         and <sys/param.h> (for MIN).
66815 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66817         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66818         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66819         if interrupted.
66821 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66823         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66824         Depend on against $(link-rpcuserlibs).
66826 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66828         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66829         (__libc_stack_end): Do not use attribute_relro.
66830         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66831         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66832         to libthread-provided value.
66833         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66834         attribute_relro.
66836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66838         [BZ #3748]
66839         * bits/libc-lock.h (__libc_once_get): New macro.
66840         * sysdeps/mach/bits/libc-lock.h: Likewise.
66841         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66842         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66843         instead of using implementation details.
66845         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66846         * libio/freopen.c: Likewise.
66847         * libio/freopen64.c: Likewise.
66848         * misc/syslog.c: Likewise.
66849         * nscd/connections.c: Likewise.
66850         * nscd/netgroupcache.c: Likewise.
66851         * sysdeps/posix/getcwd.c: Likewise.
66853 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66855         * math/w_ilogbf.c: Add #include <limits.h>.
66857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66859         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66860         path instead of returning without unlocking.
66862         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66863         immediate-write ioctls.
66864         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66868         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66869         __builtin_frame_address instead of making assumptions about the
66870         location of the return address relative to DATA.  Force early load of
66871         the return address.
66872         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66873         __builtin_frame_address.
66875         dup3 for GNU Hurd.
66876         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66877         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66878         implement dup3 and do some further code clean-ups.
66879         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66880         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66882 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66884         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66886         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66887         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66888         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66889         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66890         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66891         d->port.lock.
66893         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66894         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66895         when handler == SIG_ERR, not when handler != SIG_ERR.
66897 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66899         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66900         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66901         definitions.
66903         accept4 for GNU Hurd.
66904         * include/sys/socket.h (__libc_accept4): New prototype.
66905         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66906         to implement __libc_accept4.
66907         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66908         __libc_accept4.
66909         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66911         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66912         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66913         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66914         signal-defines.sym.
66916 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66918         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66920 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66922         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66923         assertion on O_CLOEXEC flag.
66924         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66925         * hurd/intern-fd.c: Likewise.
66926         * hurd/port2fd.c: Likewise.
66928 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66930         [BZ #3906]
66931         * bits/in.h (IPV6_PKTINFO): Define new macro.
66932         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66934 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66936         [BZ #13954]
66937         [BZ #13955]
66938         [BZ #13956]
66939         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66940         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66941         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66942         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66943         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66944         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66945         * math/libm-test.inc (logb_test) : Additional logb tests.
66947 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66948             Andreas Jaeger  <aj@suse.de>
66950         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66951         * configure: Regenerated.
66952         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66953         * config.make.in (link-obsolete-rpc): New substituted variable.
66954         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66955         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66956         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66957         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66958         so that libc.a contains the symbols.
66959         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66960         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66961         * sunrpc/auth_none.c: Likewise.
66962         * sunrpc/auth_unix.c: Likewise.
66963         * sunrpc/authdes_prot.c: Likewise.
66964         * sunrpc/authuxprot.c: Likewise.
66965         * sunrpc/clnt_gen.c: Likewise.
66966         * sunrpc/clnt_perr.c: Likewise.
66967         * sunrpc/clnt_raw.c: Likewise.
66968         * sunrpc/clnt_simp.c: Likewise.
66969         * sunrpc/clnt_tcp.c: Likewise.
66970         * sunrpc/clnt_udp.c: Likewise.
66971         * sunrpc/clnt_unix.c: Likewise.
66972         * sunrpc/des_crypt.c: Likewise.
66973         * sunrpc/des_soft.c: Likewise.
66974         * sunrpc/get_myaddr.c: Likewise.
66975         * sunrpc/key_call.c: Likewise.
66976         * sunrpc/key_prot.c: Likewise.
66977         * sunrpc/netname.c: Likewise.
66978         * sunrpc/pm_getmaps.c: Likewise.
66979         * sunrpc/pm_getport.c: Likewise.
66980         * sunrpc/pmap_clnt.c: Likewise.
66981         * sunrpc/pmap_prot.c: Likewise.
66982         * sunrpc/pmap_prot2.c: Likewise.
66983         * sunrpc/pmap_rmt.c: Likewise.
66984         * sunrpc/publickey.c: Likewise.
66985         * sunrpc/rpc_cmsg.c: Likewise.
66986         * sunrpc/rpc_common.c: Likewise.
66987         * sunrpc/rpc_dtable.c: Likewise.
66988         * sunrpc/rpc_prot.c: Likewise.
66989         * sunrpc/rpc_thread.c: Likewise.
66990         * sunrpc/rtime.c: Likewise.
66991         * sunrpc/svc.c: Likewise.
66992         * sunrpc/svc_auth.c: Likewise.
66993         * sunrpc/svc_raw.c: Likewise.
66994         * sunrpc/svc_run.c: Likewise.
66995         * sunrpc/svc_tcp.c: Likewise.
66996         * sunrpc/svc_udp.c: Likewise.
66997         * sunrpc/svc_unix.c: Likewise.
66998         * sunrpc/svcauth_des.c: Likewise.
66999         * sunrpc/xcrypt.c: Likewise.
67000         * sunrpc/xdr.c: Likewise.
67001         * sunrpc/xdr_array.c: Likewise.
67002         * sunrpc/xdr_float.c: Likewise.
67003         * sunrpc/xdr_intXX_t.c: Likewise.
67004         * sunrpc/xdr_mem.c: Likewise.
67005         * sunrpc/xdr_rec.c: Likewise.
67006         * sunrpc/xdr_ref.c: Likewise.
67007         * sunrpc/xdr_sizeof.c: Likewise.
67008         * sunrpc/xdr_stdio.c: Likewise.
67010 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67012         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67013         change.  Update copyright years.
67015 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67017         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67019 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67020             Joseph Myers  <joseph@codesourcery.com>
67021             Paul Pluzhnikov  <ppluzhnikov@google.com>
67023         [BZ #14012]
67024         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67025         requiring rpcgen.
67026         [cross-compiling] (extra-libs): Likewise.
67027         [cross-compiling] (extra-libs-others): Likewise.
67028         [cross-compiling] (librpcsvc-routines): Likewise.
67029         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67030         [cross-compiling] (omit-deps): Likewise.
67031         (sunrpc-CPPFLAGS): New variable.
67032         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67033         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67034         (cross-rpcgen-objs): New variable.
67035         (extra-objs): Append $(cross-rpcgen-objs).
67036         ($(cross-rpcgen-objs)): New rule.
67037         ($(objpfx)cross-rpcgen): Likewise.
67038         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67039         comment.
67040         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67041         ($(objpfx)x%.stmp): Likewise.
67042         * sunrpc/proto.h [IS_IN_build] (_): Define.
67043         [IS_IN_build] (_libc_intl_domainname): Likewise.
67045 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67047         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67048         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67049         and R_X86_64_TPOFF64.
67051 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67053         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67054         sysdeps/unix/sysv/syscalls.list.
67055         (stime): Likewise.
67056         (utime): Likewise.
67057         * sysdeps/unix/sysv/syscalls.list: Remove file.
67059 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67061         [BZ #3440]
67062         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67063         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67064         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67065         (__LC_IDENTIFICATION): Make these macros useful in #if
67066         expressions, as required by C99.
67068 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67070         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67071         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67072         after this.
67074 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67076         * stdlib/longlong.h: Updated from GCC.
67078 2012-05-09  Andreas Jaeger  <aj@suse.de>
67080         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67081         default is first entry.
67082         (run_mode): Set type.
67083         (main): Remove informal message about syslog.
67084         (options): Fix typo.
67086         [BZ #14053]
67087         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67088         to asm.
67089         (lrint): Likewise.
67090         (llrintf): Likewise.
67091         (llrint): Likewise.
67092         (rint): Likewise.
67093         (rintf): Likewise.
67094         (nearbyint): Likewise.
67095         (nearbyintf): Likewise.
67097 2012-05-09  Andreas Jaeger  <aj@suse.de>
67098             Pedro Alves  <palves@redhat.com>
67100         * nscd/nscd.c (run_mode): Use enum.
67101         (main): Cleanup coding style issue.
67103 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67104             Andreas Jaeger  <aj@suse.de>
67106         * nscd/nscd.c (go_background): Replaced with...
67107         (run_mode): ... this.
67108         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67109         (options): Add -F --foreground.
67110         (main): Implement it.
67111         (parse_opt): Parse it.
67113 2012-05-09  Andreas Jaeger  <aj@suse.de>
67115         [BZ #14083]
67116         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67117         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67118         -Wconversion warning.
67119         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67120         Likewise.
67122 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67124         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67125         == 0.
67126         (LC_ALL): Use macro-int-constant.
67127         (LC_COLLATE): Likewise.
67128         (LC_CTYPE): Likewise.
67129         (LC_MESSAGES): Likewise.
67130         (LC_MONETARY): Likewise.
67131         (LC_NUMERIC): Likewise.
67132         (LC_TIME): Likewise.
67133         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67134         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67135         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67136         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67137         Specify type.
67138         [C99-based standards] (float_t): Expect type.
67139         [C99-based standards] (double_t): Expect type.
67140         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67141         type.
67142         [C99-based standards] (HUGE_VALL): Likewise.
67143         [C99-based standards] (INFINITY): Likewise.
67144         [C99-based standards] (NAN): Likewise.
67145         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67146         [C99-based standards] (FP_NAN): Likewise.
67147         [C99-based standards] (FP_NORMAL): Likewise.
67148         [C99-based standards] (FP_SUBNORMAL): Likewise.
67149         [C99-based standards] (FP_ZERO): Likewise.
67150         [C99-based standards] (FP_FAST_FMA): Use
67151         optional-macro-int-constant.  Specify type.  Require == 1.
67152         [C99-based standards] (FP_FAST_FMAF): Likewise.
67153         [C99-based standards] (FP_FAST_FMAL): Likewise.
67154         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67155         [C99-based standards] (FP_ILOGBNAN): Likewise.
67156         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67157         Specify type.
67158         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67159         [C99-based standards] (math_errhandling): Specify type.
67160         [ISO99 || ISO11] (signgam): Do not allow.
67161         [non-C99-based standards] (copysignf): Do not allow.
67162         [non-C99-based standards] (exp2f): Likewise.
67163         [non-C99-based standards] (log2f): Likewise.
67164         [non-C99-based standards] (modff): Allow.
67165         [non-C99-based standards] (erff): Do not allow.
67166         [non-C99-based standards] (erfcf): Likewise.
67167         [non-C99-based standards] (gammaf): Likewise.
67168         [non-C99-based standards] (hypotf): Likewise.
67169         [non-C99-based standards] (j0f): Likewise.
67170         [non-C99-based standards] (j1f): Likewise.
67171         [non-C99-based standards] (jnf): Likewise.
67172         [non-C99-based standards] (lgammaf): Likewise.
67173         [non-C99-based standards] (tgammaf): Likewise.
67174         [non-C99-based standards] (y0f): Likewise.
67175         [non-C99-based standards] (y1f): Likewise.
67176         [non-C99-based standards] (ynf): Likewise.
67177         [non-C99-based standards] (isnanf): Likewise.
67178         [non-C99-based standards] (acoshf): Likewise.
67179         [non-C99-based standards] (asinhf): Likewise.
67180         [non-C99-based standards] (atanhf): Likewise.
67181         [non-C99-based standards] (cbrtf): Likewise.
67182         [non-C99-based standards] (expm1f): Likewise.
67183         [non-C99-based standards] (ilogbf): Likewise.
67184         [non-C99-based standards] (log1pf): Likewise.
67185         [non-C99-based standards] (logbf): Likewise.
67186         [non-C99-based standards] (nextafterf): Likewise.
67187         [non-C99-based standards] (remainderf): Likewise.
67188         [non-C99-based standards] (rintf): Likewise.
67189         [non-C99-based standards] (scalbf): Likewise.
67190         [non-C99-based standards] (copysignl): Likewise.
67191         [non-C99-based standards] (exp2l): Likewise.
67192         [non-C99-based standards] (log2l): Likewise.
67193         [non-C99-based standards] (modfl): Allow.
67194         [non-C99-based standards] (erfl): Do not allow.
67195         [non-C99-based standards] (erfcl): Likewise.
67196         [non-C99-based standards] (gammal): Likewise.
67197         [non-C99-based standards] (hypotl): Likewise.
67198         [non-C99-based standards] (j0l): Likewise.
67199         [non-C99-based standards] (j1l): Likewise.
67200         [non-C99-based standards] (jnl): Likewise.
67201         [non-C99-based standards] (lgammal): Likewise.
67202         [non-C99-based standards] (tgammal): Likewise.
67203         [non-C99-based standards] (y0l): Likewise.
67204         [non-C99-based standards] (y1l): Likewise.
67205         [non-C99-based standards] (ynl): Likewise.
67206         [non-C99-based standards] (isnanl): Likewise.
67207         [non-C99-based standards] (acoshl): Likewise.
67208         [non-C99-based standards] (asinhl): Likewise.
67209         [non-C99-based standards] (atanhl): Likewise.
67210         [non-C99-based standards] (cbrtl): Likewise.
67211         [non-C99-based standards] (expm1l): Likewise.
67212         [non-C99-based standards] (ilogbl): Likewise.
67213         [non-C99-based standards] (log1pl): Likewise.
67214         [non-C99-based standards] (logbl): Likewise.
67215         [non-C99-based standards] (nextafterl): Likewise.
67216         [non-C99-based standards] (remainderl): Likewise.
67217         [non-C99-based standards] (rintl): Likewise.
67218         [non-C99-based standards] (scalbl): Likewise.
67219         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67220         [non-C99-based standards] (FP_*): Do not allow.
67221         [C99-based standards] (FP_*): Change to
67222         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67223         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67224         allow.
67225         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67226         (SIG_ERR): Likewise.
67227         [X/Open-based standards] (SIG_HOLD): Likewise.
67228         (SIG_IGN): Likewise.
67229         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67230         positive value.
67231         (SIGFPE): Likewise.
67232         (SIGILL): Likewise.
67233         (SIGINT): Likewise.
67234         (SIGSEGV): Likewise.
67235         (SIGTER): Likewise.
67236         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67237         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67238         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67239         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67240         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67241         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67242         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67243         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67244         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67245         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67246         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67247         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67248         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67249         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67250         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67251         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67252         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67253         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67254         [X/Open-based standards] (SIGTRAP): Likewise.
67255         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67256         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67257         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67258         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67259         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67260         allow.
67262 2012-05-08  Ian Wienand  <ianw@vmware.com>
67264         [BZ #14080]
67265         * time/tzset.c (__tzset_parse_tz): Update default rules for
67266         daylight time changes in the Energy Policy Act of 2005.
67268 2012-05-09  Andreas Jaeger  <aj@suse.de>
67270         [BZ #13983]
67271         * elf/ldconfig.c (parse_conf): Change string to make clear that
67272         ldconfig only issued a warning if ld.so.conf does not exist.
67274 2012-05-08  David S. Miller  <davem@davemloft.net>
67276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67277         movxtod instead of popping the value on the stack.
67279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67281 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67283         * config.h.in: Add HAVE_ARM_PCS_VFP.
67285 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67287         [BZ #13979]
67288         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67289         checking but the checks are disabled for any reason.
67291 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67293         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67294         and ELF64_R_TYPE with ELFW(R_TYPE).
67296 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67298         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67299         (ulimit): Likewise.
67301         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67302         (settimeofday): Likewise.
67304 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67306         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67307         a struct th_u2 inside the union, and move tu_block/tu_code into
67308         a new th_u3 union of tu_block/tu_code inside of that.  Move
67309         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67310         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67311         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67312         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67313         (th_stuff): Change to th_u1.tu_stuff.
67314         (th_data): Define.
67315         (th_msg): Change to th_u1.th_u2.tu_data.
67317 2012-05-07  David S. Miller  <davem@davemloft.net>
67319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67321         [BZ #14074]
67322         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67323         (SETUP_PIC_REG): Use it.
67324         (SETUP_PIC_REG_LEAF): Use it.
67326 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67328         [BZ #13885]
67329         [BZ #13923]
67330         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67331         USE_AS_EXPM1L.
67332         (EXPL_FINITE): Likewise.
67333         (FLDLOG): Likewise.
67334         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67335         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67336         e_expl.S.
67337         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67338         USE_AS_EXPM1L.
67339         (EXPL_FINITE): Likewise.
67340         (FLDLOG): Likewise.
67341         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67342         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67343         e_expl.S.
67344         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67345         test of -max_value argument for long double.
67346         * sysdeps/i386/fpu/libm-test-ulps: Update.
67347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67349 2012-05-06  David S. Miller  <davem@davemloft.net>
67351         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67352         quad soft-float symbols whose references which are compiler
67353         generated.
67354         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67356 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67358         [BZ #13884]
67359         [BZ #13914]
67360         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67361         USE_AS_EXP10L.
67362         (EXPL_FINITE): Likewise.
67363         (FLDLOG): Likewise.
67364         (c0): Likewise.
67365         (c1): Likewise.
67366         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67367         Adjust comments for base varying.
67368         (__expl_finite): Change alias to EXPL_FINITE.
67369         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67370         e_expl.S.
67371         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67372         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67373         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67374         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67375         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67376         USE_AS_EXP10L.
67377         (EXPL_FINITE): Likewise.
67378         (FLDLOG): Likewise.
67379         (c0): Likewise.
67380         (c1): Likewise.
67381         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67382         Adjust comments for base varying.
67383         (__expl_finite): Change alias to EXPL_FINITE.
67384         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67385         tests for bugs.
67386         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67388         [BZ #14064]
67389         * math/libm-test.inc (check_float_internal): Correct ulp
67390         calculation for subnormal expected results.
67392 2012-05-06  Andreas Jaeger  <aj@suse.de>
67394         * Makeconfig (+math-flags): New, set to -frounding-math.
67395         (+cflags): Add +math-flags so that all of glibc gets compiled with
67396         it.
67398         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67400 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67402         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67403         Disable one test.
67405         [BZ #13787]
67406         [BZ #13922]
67407         [BZ #14036]
67408         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67409         (__ieee754_expl): Allow for and saturate large arguments.
67410         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67411         (u_threshold): Likewise.
67412         (__exp): Call __ieee754_exp before checking for overflow and
67413         underflow.
67414         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67415         (u_threshold): Likewise.
67416         (__expf): Call __ieee754_expf before checking for overflow and
67417         underflow.
67418         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67419         (u_threshold): Likewise.
67420         (__expl): Call __ieee754_expl before checking for overflow and
67421         underflow.
67422         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67423         (__ieee754_expl): Allow for and saturate large arguments.
67424         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67425         missing overflow exception on overflow.
67426         (expm1_test): Do not allow missing overflow exception on overflow.
67428         * sysdeps/i386/fpu/e_expl.c: Move to ...
67429         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67430         rather than using inline asm.
67431         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67432         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67433         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67435         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67436         (nice): Likewise.
67437         (poll): Likewise.
67438         (signal): Likewise.
67439         (time): Likewise.
67440         (times): Likewise.
67442 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67444         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67445         sysdeps/unix/common/syscalls.list.
67446         (fchmod): Likewise.
67447         (fchown): Likewise.
67448         (ftruncate): Likewise.
67449         (getrusage): Likewise.
67450         (gettimeofday): Likewise.
67451         (setpgid): Likewise.
67452         (setregid): Likewise.
67453         (setreuid): Likewise.
67454         (sigaction): Likewise.
67455         (truncate): Likewise.
67456         (vhangup): Likewise.
67457         * sysdeps/unix/common/syscalls.list: Remove file.
67458         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67459         * sysdeps/unix/sysv/linux/Implies: Likewise.
67461 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67463         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67465         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67466         Moved to ...
67467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67468         Here.
67469         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67470         to ...
67471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67472         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67473         to ...
67474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67475         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67476         to ...
67477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67478         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67479         to ...
67480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67481         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67482         to ...
67483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67484         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67485         to ...
67486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67487         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67488         to ...
67489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67490         Here.
67491         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67492         to ...
67493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67494         Here.
67495         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67496         to ...
67497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67498         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67499         Moved to ...
67500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67501         Here.
67502         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67503         to ...
67504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67506 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67508         * sysdeps/unix/common/bits/dirent.h: Remove file.
67509         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67511         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67512         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67513         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67514         * sysdeps/unix/bsd/isatty.c: Likewise.
67515         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67516         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67517         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67519 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67521         [BZ #13563]
67522         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67523         long double comparison inaccuracies.
67524         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67527 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67529         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67530         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67532 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67534         [BZ #14049]
67535         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67536         nonzero digits before rounding a hex value.
67537         * stdlib/tst-strtod.c (tests): Add another test.
67539 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67541         * sysdeps/s390/fpu/libm-test-ulps: Update.
67543 2012-05-03  Andreas Jaeger  <aj@suse.de>
67545         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67546         does not get optimized out.
67547         (malloc_opt_barrier): New.
67549 2012-05-03  Andreas Jaeger  <aj@suse.de>
67550             Roland McGrath  <roland@hack.frob.com>
67552         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67553         intermediate file deletion.
67554         (generated): Add .symlist files.
67556 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67558         [BZ #13775]
67559         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67560         Redirect under this condition.
67561         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67562         [__USE_GNU] (__dprintf_chk): Not under this condition.
67563         [__USE_GNU] (__vdprintf_chk): Likewise.
67564         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67565         under this condition.
67566         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67567         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67568         [__USE_XOPEN2K8] (vdprintf): Likewise.
67569         [__USE_GNU] (__dprintf_chk): Not under this condition.
67570         [__USE_GNU] (__vdprintf_chk): Likewise.
67571         [__USE_GNU] (dprintf): Likewise.
67572         [__USE_GNU] (vdprintf): Likewise.
67574 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67576         * elf/Makefile (common-generated): Set this instead of generated for
67577         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67578         $(all-built-dso)-derived lists.
67580 2012-05-03  Andreas Jaeger  <aj@suse.de>
67582         * sysdeps/i386/fpu/libm-test-ulps: Update.
67584         * FAQ: Removed.
67585         * FAQ.in: Likewise.
67586         * scripts/gen-FAQ.pl: Likewise.
67587         * manual/install.texi (Installation): Point to online location of
67588         FAQ.
67589         * Makefile (files-for-dist): Remove FAQ.
67590         (FAQ): Remove.
67592 2012-05-02  Allan McRae  <allan@archlinux.org>
67594         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67595         (LDFLAGS-reldepmod5.so): Likewise.
67596         (LDFLAGS-reldep6mod1.so): Likewise.
67597         (LDFLAGS-reldep6mod4.so): Likewise.
67598         (LDFLAGS-reldep8mod3.so): Likewise.
67599         (LDFLAGS-unload4mod1.so): Likewise.
67600         (LDFLAGS-unload4mod2.so): Likewise.
67601         (LDFLAGS-tst-initorder): Likewise.
67602         (LDFLAGS-tst-initordera2.so): Likewise.
67603         (LDFLAGS-tst-initordera3.so): Likewise.
67604         (LDFLAGS-tst-initordera4.so): Likewise.
67605         (LDFLAGS-tst-initorderb2.so): Likewise.
67606         (LDFLAGS-noload): Likewise.
67607         (LDFLAGS-next): Likewise.
67608         (LDFLAGS-order2mod1.so): Likewise.
67609         (LDFLAGS-order2mod2.so): Likewise.
67610         (LDFLAGS-tst-initorder2): Likewise.
67611         (LDFLAGS-tst-initorder2a.so): Likewise.
67612         (LDFLAGS-tst-initorder2b.so): Likewise.
67613         (LDFLAGS-tst-initorder2c.so): Likewise.
67614         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67616 2012-05-02  David S. Miller  <davem@davemloft.net>
67618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67620 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67622         [BZ #14055]
67623         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67625 2012-05-02  Andreas Jaeger  <aj@suse.de>
67627         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67628         since we manipulate rounding mode.
67629         (CPPFLAGS-test-idouble.c): Likewise.
67630         (CPPFLAGS-test-ifloat.c): Likewise.
67631         (CFLAGS-test-ldouble.c): Likewise.
67632         (CFLAGS-test-double.c): Likewise.
67633         (CFLAGS-test-float.c): Likewise.
67634         (CFLAGS-test-misc.c): Likewise.
67635         (CFLAGS-test-test-fenv.c): Likewise.
67637 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67639         [BZ #2550]
67640         [BZ #2570]
67641         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67642         comparisons to determine direction to adjust input.
67644 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67646         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67647         output to the target.
67649         * scripts/localplt.awk: New file.
67650         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67651         (check-localplt-CFLAGS): Variable removed.
67652         ($(all-built-dso:=.jmprel)): New static pattern rule.
67653         (generated): Add those targets.
67654         (localplt-built-dso): New variable.
67655         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67657         * elf/check-localplt.c: File removed.
67659         * scripts/check-execstack.awk: New file.
67660         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67661         (check-execstack-CFLAGS): Variable removed.
67662         ($(objpfx)check-execstack.h): Target removed.
67663         ($(objpfx)execstack-default): New target.
67664         (generated): Add that instead of check-execstack.h.
67665         ($(all-built-dso:=.phdr)): New static pattern rule.
67666         (generated): Add those targets.
67667         * elf/check-execstack.c: File removed.
67669         * scripts/check-textrel.awk: New file.
67670         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67671         (check-textrel-CFLAGS): Variable removed.
67672         (all-built-dso): Use := to define.o
67673         ($(all-built-dso:=.dyn)): New static pattern rule.
67674         (generated): Add those targets.
67675         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67676         * config.make.in (READELF): New substituted variable.
67677         * elf/check-textrel.c: File removed.
67679 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67681         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67682         allow.
67683         * conform/data/ctype.h-data [C99-based standards] (isblank):
67684         Expect function.
67685         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67686         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67687         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67688         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67689         Specify type.  Require positive value.
67690         (EILSEQ): Likewise.
67691         (ERANGE): Likewise.
67692         [ISO || POSIX] (EILSEQ): Do not expect.
67693         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67694         Specify type.  Require positive value.
67695         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67696         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67697         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67698         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67699         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67700         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67701         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67702         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67703         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67704         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67705         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67706         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67707         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67708         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67709         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67710         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67711         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67712         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67713         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67714         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67715         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67716         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67717         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67718         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67719         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67720         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67721         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67722         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67723         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67724         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67725         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67726         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67727         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67728         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67729         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67730         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67731         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67732         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67733         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67734         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67735         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67736         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67737         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67738         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67739         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67740         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67741         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67742         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67743         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67744         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67745         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67746         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67747         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67748         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67749         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67750         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67751         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67752         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67753         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67754         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67755         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67756         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67757         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67758         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67759         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67760         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67761         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67762         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67763         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67764         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67765         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67766         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67767         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67768         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67769         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67770         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67771         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67772         Require >= 2.
67773         (FLT_ROUNDS): Expect as macro, not constant.
67774         (FLT_MANT_DIG): Use macro-int-constant.
67775         (DBL_MANT_DIG): Likewise.
67776         (LDBL_MANT_DIG): Likewise.
67777         (FLT_DIG): Likewise.
67778         (DBL_DIG): Likewise.
67779         (LDBL_DIG): Likewise.
67780         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67781         (DBL_MIN_EXP): Likewise.
67782         (LDBL_MIN_EXP): Likewise.
67783         (FLT_MAX_EXP): Use macro-int-constant.
67784         (DBL_MAX_EXP): Likewise.
67785         (LDBL_MAX_EXP): Likewise.
67786         (FLT_MAX_10_EXP): Likewise.
67787         (DBL_MAX_10_EXP): Likewise.
67788         (LDBL_MAX_10_EXP): Likewise.
67789         (FLT_MAX): Use macro-constant.
67790         (DBL_MAX): Likewise.
67791         (LDBL_MAX): Likewise.
67792         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67793         (DBL_EPSILON): Likewise.
67794         (LDBL_EPSILON): Likewise.
67795         (FLT_MIN): Likewise.
67796         (DBL_MIN): Likewise.
67797         (LDBL_MIN): Likewise.
67798         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67799         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67800         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67801         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67802         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67803         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67804         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67805         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67806         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67807         [ISO11] (FLT_TRUE_MIN): Likewise.
67808         [ISO11] (LDBL_TRUE_MIN): Likewise.
67809         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67810         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67811         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67812         (SCHAR_MAX): Likewise.
67813         (UCHAR_MAX): Likewise.
67814         (CHAR_MIN): Likewise.
67815         (CHAR_MAX): Likewise.
67816         (MB_LEN_MAX): Use macro-int-constant.
67817         (SHRT_MIN): Use macro-int-constant.  Specify type.
67818         (SHRT_MAX): Likewise.
67819         (USHRT_MAX): Likewise.
67820         (INT_MAX): Likewise.
67821         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67822         bound negative.
67823         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67824         bound with "U".
67825         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67826         bound with "L".
67827         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67828         bound negative.  Suffix upper bound with "L".
67829         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67830         bound with "UL".
67831         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67832         Specify type.
67833         [C99-based standards] (LLONG_MAX): Likewise.
67834         [C99-based standards] (ULLONG_MAX): Likewise.
67835         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67836         == 0.
67837         [ISO11] (max_align_t): Require type.
67838         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67840         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67841         from $CFLAGS, without defining away __attribute__ calls.
67842         (checknamespace): Use $CFLAGS_namespace.
67844         * conform/conformtest.pl (@keywords): Only include C99 keywords
67845         for standards based on C99 or C11.
67847         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67848         Disable tests.
67849         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67850         UNIX98]: Likewise.
67852         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67853         usability of symbols in #if.
67855         * conform/conformtest.pl: If macro or constant types start
67856         "promoted:", expect the symbol to be of the following type
67857         promoted by the integer promotions.
67859         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67860         in one place.  Also handle "macro-constant".
67862         * conform/conformtest.pl: Only accept expected macro values with
67863         "==".  Parse all "macro" lines in one place.
67864         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67866         * conform/conformtest.pl: Handle braced types on "constant" lines
67867         instead of handling "typed-constant".
67868         * conform/data/signal.h-data: Use "constant" instead of
67869         "typed-constant".
67871         * conform/conformtest.pl: Handle "optional-" at start of lines in
67872         one place rather than duplicating several cases.  Handle each
67873         format of "macro" line with initial "optional-".
67875         * conform/conformtest.pl: Only accept expected constant or
67876         optional-constant values with "==".  Parse all "constant" lines in
67877         one place.  Parse all "optional-constant" lines in one place.
67878         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67879         * conform/data/fmtmsg.h-data: Likewise.
67880         * conform/data/netinet/in.h-data: Likewise.
67881         * conform/data/tar.h-data: Likewise.
67882         * conform/data/limits.h-data: Use "==" form on "constant" and
67883         "optional-constant" lines.
67885         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67886         Use -std=c99 for XOPEN2K.
67887         (@knownproblems): Remove.
67888         (newtoken): Don't check %isknown.
67890         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67891         Do not expect macro.
67892         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67893         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67894         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67895         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67896         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67897         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67898         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67899         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67900         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67901         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67902         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67903         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67904         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67905         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67906         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67907         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67908         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67909         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67910         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67911         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67912         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67913         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67914         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67915         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67916         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67917         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67918         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67919         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67920         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67921         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67922         [XPG3] (acosh): Likewise.
67923         [XPG3] (asinh): Likewise.
67924         [XPG3] (atanh): Likewise.
67925         [XPG3] (cbrt): Likewise.
67926         [XPG3] (expm1): Likewise.
67927         [XPG3] (ilogb): Likewise.
67928         [XPG3] (log1p): Likewise.
67929         [XPG3] (logb): Likewise.
67930         [XPG3] (nextafter): Likewise.
67931         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67932         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67933         [XPG3] (remainder): Likewise.
67934         [XPG3] (rint): Likewise.
67935         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67936         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67937         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67938         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67939         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67940         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67941         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67942         [UNIX98 || XOPEN2K] (scalb): Expect.
67943         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67944         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67945         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67946         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67947         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67948         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67949         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67950         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67951         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67952         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67953         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67954         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67955         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67956         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67957         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67958         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67959         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67960         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67961         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67962         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67963         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67964         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67965         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67966         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67967         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67968         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67969         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67970         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67971         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67972         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67973         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67974         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67975         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67976         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67977         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67978         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67979         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67980         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67981         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67982         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67983         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67984         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67985         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67986         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67987         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67988         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67989         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67990         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67991         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67992         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67993         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67994         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67995         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67996         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67997         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67998         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67999         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68000         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68001         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68002         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68003         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68004         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68005         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68006         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68007         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68008         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68009         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68010         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68011         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68012         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68013         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68014         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68015         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68016         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68017         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68018         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68019         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68020         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68021         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68022         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68023         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68024         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68025         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68026         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68027         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68028         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68029         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68030         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68031         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68032         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68033         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68034         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68035         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68036         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68037         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68038         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68039         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68040         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68041         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68042         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68043         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68044         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68045         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68046         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68047         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68048         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68049         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68050         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68051         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68052         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68053         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68054         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68055         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68056         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68057         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68058         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68059         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68060         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68061         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68062         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68063         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68064         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68065         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68066         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68067         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68068         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68069         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68070         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68071         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68072         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68073         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68074         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68075         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68076         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68077         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68078         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68079         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68081         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68082         _XOPEN_SOURCE_EXTENDED for XPG4.
68084         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68086         * Makeconfig (localtime): Remove variable.
68087         (inst_localtime-file): Likewise.
68089 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68092         Update.
68093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68094         Update.
68095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68096         Update.
68097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68098         Update.
68099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68100         Update.
68101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68102         Update.
68103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68104         Update.
68105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68106         Update.
68107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68108         Update.
68110 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68112         [BZ #2550]
68113         [BZ #2570]
68114         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68115         comparisons to determine direction to adjust input.
68116         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68117         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68118         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68119         Likewise.
68120         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68121         Likewise.
68122         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68123         Likewise.
68124         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68125         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68126         Likewise.
68127         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68128         Likewise.
68129         * math/libm-test.inc (nexttoward_test): Add more tests.
68131 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68133         [BZ #14040]
68134         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68135         in version GLIBC_2.1, not GLIBC_2.0.
68136         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68137         Likewise.
68139 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68141         [BZ #13942]
68142         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68143         (1 - x) * (1 + x).
68144         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68145         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68146         * math/libm-test.inc (acos_test): Add more tests.
68147         (asin_test): Likewise.
68148         * sysdeps/i386/fpu/libm-test-ulps: Update.
68149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68151         [BZ #14034]
68152         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68153         of square root.
68154         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68155         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68156         * math/libm-test.inc (acos_test_tonearest): New function.
68157         (acos_test_towardzero): Likewise.
68158         (acos_test_downward): Likewise.
68159         (acos_test_upward): Likewise.
68160         (asin_test_tonearest): Likewise.
68161         (asin_test_towardzero): Likewise.
68162         (asin_test_downward): Likewise.
68163         (asin_test_upward): Likewise.
68164         (main): Call the new functions.
68165         * sysdeps/i386/fpu/libm-test-ulps: Update.
68166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68168         [BZ #13884]
68169         [BZ #13924]
68170         * math/e_exp10.c: Include <float.h>.
68171         (__ieee754_exp10): Handle underflow here rather than multiplying
68172         large negative argument by M_LN10.
68173         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68174         of __ieee754_expf.
68175         * math/e_exp10l.c: Include <float.h>.
68176         (__ieee754_exp10l): Handle underflow here rather than multiplying
68177         large negative argument by M_LN10l.
68178         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68179         spurious overflow exception on underflow.
68181 2012-04-29  Marek Polacek  <polacek@redhat.com>
68183         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68184         (__fortify_function): New macro.
68185         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68186         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68187         __extern_always_inline.
68188         * libio/bits/stdio2.h: Likewise.
68189         * libio/bits/stdio.h: Likewise.
68190         * string/string.h: Likewise.
68191         * string/bits/string3.h: Likewise.
68192         * include/stdio.h: Likewise.
68193         * stdlib/bits/stdlib.h: Likewise.
68194         * stdlib/stdlib.h: Likewise.
68195         * rt/bits/mqueue2.h: Likewise.
68196         * rt/mqueue.h: Likewise.
68197         * posix/bits/unistd.h: Likewise.
68198         * posix/unistd.h: Likewise.
68199         * io/bits/poll2.h: Likewise.
68200         * io/bits/fcntl2.h: Likewise.
68201         * io/fcntl.h: Likewise.
68202         * io/sys/poll.h: Likewise.
68203         * misc/bits/syslog.h: Likewise.
68204         * misc/bits/syslog-ldbl.h: Likewise.
68205         * misc/sys/syslog.h: Likewise.
68206         * socket/bits/socket2.h: Likewise.
68207         * socket/sys/socket.h: Likewise.
68208         * debug/tst-chk1.c: Likewise.
68209         * wcsmbs/bits/wchar2.h: Likewise.
68210         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68211         * wcsmbs/wchar.h: Likewise.
68213 2012-04-29  Andreas Jaeger  <aj@suse.de>
68215         * Makerules (tests): Remove enable-check-abi protection.
68216         (check-abi-warn): Remove.
68217         (check-abi-%): Remove check-abi-warn usage.
68219         * configure.in: Remove check-abi configure option.
68220         * configure: Regenerated.
68221         * config.make.in (enable-check-abi): Remove.
68223 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68225         [BZ #14033]
68226         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68227         double functions to double *_finite functions.
68229         [BZ #13941]
68230         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68231         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68232         LDBL_MIN_EXP.
68233         * stdio-common/Makefile (tests): Add tst-sprintf3.
68234         * stdio-common/tst-sprintf3.c: New file.
68236         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68237         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68239 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68241         * conform/conformtest.pl: Remove duplicate typed-constant
68242         handling.
68244 2012-04-28  David S. Miller  <davem@davemloft.net>
68246         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68247         (check-abi-%): Remove AWK script prerequisite and explicit
68248         abilist directory.
68249         (check-abi): Rewrite to just diff the symlist with the abilist.
68250         (config-tls, config-abi-config): Delete, no longer used.
68251         (update-abi-%): Remove AWK script and explicit abilist directory.
68252         (update-abi): Rewrite to simply compare and conditionally copy the
68253         symlist and the sysdep abilist file.  Remove update-abi-config
68254         checks.
68255         * abilist/ld.abilist: Remove.
68256         * abilist/libBrokenLocale.abilist: Remove.
68257         * abilist/libanl.abilist: Remove.
68258         * abilist/libcrypt.abilist: Remove.
68259         * abilist/libdl.abilist: Remove.
68260         * abilist/librt.abilist: Remove.
68261         * abilist/libthread_db.abilist: Remove.
68262         * abilist/libutil.abilist: Remove.
68263         * scripts/extract-abilist.awk: Remove.
68264         * scripts/merge-abilist.awk: Remove.
68265         * sysdeps/generic/libcidn.abilist: New file.
68266         * sysdeps/generic/libnss_compat.abilist: New file.
68267         * sysdeps/generic/libnss_db.abilist: New file.
68268         * sysdeps/generic/libnss_dns.abilist: New file.
68269         * sysdeps/generic/libnss_files.abilist: New file.
68270         * sysdeps/generic/libnss_hesiod.abilist: New file.
68271         * sysdeps/generic/libnss_nis.abilist: New file.
68272         * sysdeps/generic/libnss_nisplus.abilist: New file.
68273         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68274         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68275         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68276         file.
68277         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68278         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68279         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68280         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68281         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68282         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68283         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68284         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68285         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68286         file.
68287         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68288         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68289         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68290         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68291         file.
68292         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68293         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68294         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68295         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68296         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68297         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68298         file.
68299         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68300         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68301         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68302         file.
68303         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68304         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68305         New file.
68306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68307         New file.
68308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68309         New file.
68310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68311         New file.
68312         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68313         New file.
68314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68315         New file.
68316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68317         New file.
68318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68319         New file.
68320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68321         New file.
68322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68323         New file.
68324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68325         New file.
68326         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68327         New file.
68328         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68329         New file.
68330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68331         file.
68332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68333         New file.
68334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68335         New file.
68336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68337         file.
68338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68339         New file.
68340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68341         New file.
68342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68343         file.
68344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68345         New file.
68346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68347         New file.
68348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68349         New file.
68350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68351         New file.
68352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68353         New file.
68354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68355         New file.
68356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68358         file.
68359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68360         New file.
68361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68362         file.
68363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68364         file.
68365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68366         file.
68367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68368         file.
68369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68370         file.
68371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68372         New file.
68373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68374         file.
68375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68376         file.
68377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68378         New file.
68379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68380         file.
68381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68383         file.
68384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68385         New file.
68386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68387         file.
68388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68389         file.
68390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68391         file.
68392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68393         file.
68394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68395         file.
68396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68397         New file.
68398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68399         file.
68400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68401         file.
68402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68403         New file.
68404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68405         file.
68406         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68407         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68408         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68409         file.
68410         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68411         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68412         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68413         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68414         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68415         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68416         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68417         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68418         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68419         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68422         file.
68423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68424         New file.
68425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68426         file.
68427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68428         file.
68429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68430         file.
68431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68432         file.
68433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68434         file.
68435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68436         New file.
68437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68438         New file.
68439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68440         file.
68441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68442         New file.
68443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68444         file.
68445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68447         file.
68448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68449         New file.
68450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68451         file.
68452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68453         file.
68454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68455         file.
68456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68457         file.
68458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68459         file.
68460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68461         New file.
68462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68463         New file.
68464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68465         file.
68466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68467         New file.
68468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68469         file.
68471 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68473         * conform/conformtest.pl: Fix typo in handling typed-constant from
68474         allow-header.
68476 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68478         * README: Cut down references to pre-2.6 Linux kernels and
68479         Linuxthreads.  Update lists of configurations in libc and ports
68480         and sort alphabetically.  Say "or newer" with Linux kernel version
68481         requirements.
68483         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68485 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68487         [BZ #887]
68488         * math/libm-test.inc (logb_test_downward): New test to expose
68489         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68490         rounding mode.
68492 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68494         [BZ #14027]
68495         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68496         to be done.
68497         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68498         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68500 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68502         * sysdeps/unix/i386/brk.S: Remove file.
68503         * sysdeps/unix/i386/dl-brk.S: Likewise.
68504         * sysdeps/unix/i386/pipe.S: Likewise.
68505         * sysdeps/unix/i386/sigreturn.S: Likewise.
68506         * sysdeps/unix/i386/syscall.S: Likewise.
68507         * sysdeps/unix/i386/vfork.S: Likewise.
68508         * sysdeps/unix/i386/wait.S: Likewise.
68510         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68511         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68513         * configure.in (arm*-none*): Do not allow without
68514         --enable-hacker-mode.
68515         (netbsd*): Remove case setting base_os.
68516         (386bsd*): Likewise.
68517         (freebsd*): Likewise.
68518         (bsdi*): Likewise.
68519         (osf*): Likewise.
68520         (sunos*): Likewise.
68521         (ultrix*): Likewise.
68522         (newsos*): Likewise.
68523         (dynix*): Likewise.
68524         (*bsd*): Likewise.
68525         (sysv*): Likewise.
68526         (isc*): Likewise.
68527         (esix*): Likewise.
68528         (sco*): Likewise.
68529         (minix*): Likewise.
68530         (irix4*): Likewise.
68531         (irix6*): Likewise.
68532         (solaris[2-9]*): Likewise.
68533         (none): Likewise.
68534         * configure: Regenerated.
68536 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68538         [BZ #11521]
68539         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68540         overflow or cancellation in calculating denominator.
68541         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68542         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68543         down expression to avoid unexpected rounding in newer GCCs.
68544         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68546 2012-04-26  David S. Miller  <davem@davemloft.net>
68548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68549         long-double compat symbols.
68550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68564 2012-04-25  David S. Miller  <davem@davemloft.net>
68566         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68567         HWCAP_* values only after the memory barriers have been defined.
68568         (atomic_full_barrier): Define.
68569         (atomic_read_barrier): Define.
68570         (atomic_write_barrier): Define.
68572 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68574         * shlib-versions: Add libgcc_s version information.
68575         * sysdeps/generic/libgcc_s.h: Remove.
68576         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68577         libgcc_s.h.
68578         * sysdeps/gnu/unwind-resume.c: Likewise.
68579         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68581 2012-04-25  David S. Miller  <davem@davemloft.net>
68583         * sysdeps/unix/sparc/brk.S: Delete.
68584         * sysdeps/unix/sparc/dl-brk.S: Delete.
68585         * sysdeps/unix/sparc/pipe.S: Delete.
68586         * sysdeps/unix/sparc/sysdep.S: Delete.
68587         * sysdeps/unix/sparc/sysdep.h: Delete.
68588         * sysdeps/unix/sparc/vfork.S: Delete.
68589         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68590         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68591         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68592         (ret_ERRVAL, r0, r1, MOVE): Define.
68593         (JUMPTARGET): Remove.
68594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68595         sysdeps/unix/sparc/sysdep.h
68596         (ENTRY, END): Remove.
68597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68599 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68601         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68602         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68603         -DIS_IN_build.
68605         * timezone/README: Update upstream location and email address for
68606         tzcode and tzdata.
68607         * timezone/zdump.c: Update from tzcode 2012b.
68608         * timezone/zic.c: Likewise.
68610         * configure.in (libc_cv_as_needed): Remove test.
68611         * configure: Regenerated.
68612         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68613         conditional definition.
68614         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68615         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68616         * config.make.in (have-as-needed): Remove variable.
68618 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68619             Paul Pluzhnikov  <ppluzhnikov@google.com>
68621         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68622         strings correctly.
68624 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68626         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68627         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68628         * sysdeps/sh/strlen.S: Likewise.
68630 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68632         * sysdeps/unix/fork.S: Remove file.
68633         * sysdeps/unix/i386/fork.S: Likewise.
68634         * sysdeps/unix/sparc/fork.S: Likewise.
68636         * sysdeps/unix/system.c: Remove file.
68637         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68639         * sysdeps/unix/getegid.S: Remove file.
68640         * sysdeps/unix/geteuid.S: Likewise.
68642 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68644         * scripts/check-localplt.awk: New file.
68645         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68646         of diff.
68647         * scripts/data/localplt-generic.data: Add a comment.
68649         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68650         NODE when __dir_mkfile failed.
68651         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68652         Reported by Ludovic Courtès <ludo@gnu.org>.
68654 2012-04-24  Andreas Jaeger  <aj@suse.de>
68656         * Makerules (common-clean): Also remove gen-as-const-headers
68657         files.
68659 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68661         * Makerules (native-compile): Do not change working directory for
68662         build.  Use $(OUTPUT_OPTION) in command.
68663         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68665 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68667         [BZ #13886]
68668         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68669         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68670         * math/libm-test.inc (floor_test): Add more tests.
68671         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68673 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68675         * sysdeps/unix/getdents.c: Remove file.
68676         * sysdeps/unix/sysv/getdents.c: Likewise.
68677         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68679         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68680         sysdeps/unix/mman/syscalls.list.
68681         (mmap): Likewise.
68682         (mprotect): Likewise.
68683         (msync): Likewise.
68684         (munmap): Likewise.
68685         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68686         * sysdeps/unix/mman/syscalls.list: Remove.
68687         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68689         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68690         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68691         * configure: Regenerated.
68692         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68693         $(libgcc_s_suffix).
68694         * config.make.in (libgcc_s_suffix): Remove variable.
68696 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68698         * sysdeps/unix/sysv/gethostname.c: Move to ...
68699         * sysdeps/posix/gethostname.c: ... here.
68701         * sysdeps/unix/execve.S: Remove file.
68703         * sysdeps/unix/_exit.S: Remove file.
68705 2012-04-23  Andreas Jaeger  <aj@suse.de>
68707         [BZ #13739]
68708         * manual/Makefile: Remove make dist support, there's no
68709         need for a stand-alone documentation tar ball.
68710         (TEXI2DVI): Define always, it's not in Makeconfig.
68711         (dist): Removed.
68712         (tar-it): Removed.
68713         (edition): Removed.
68714         (glibc-doc-$(edition).tar): Removed
68715         (%.Z): Removed.
68716         (%.gz): Removed.
68717         (%.uu): Removed.
68718         (ETAGS): Remove, it's in Makeconfig.
68719         (move-if-change): Remove, it's in Makeconfig.
68721 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68723         [BZ #13970]
68724         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68725         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68726         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68727         (strtod_l, strtof_l, strtold_l): Remove __wur.
68728         It is not necessarily an error to ignore strtol's return value.
68729         One can reliably look at the stored endptr to decide whether
68730         the number had valid syntax.
68732 2012-04-21  Andreas Jaeger  <aj@suse.de>
68734         [BZ #13739]
68735         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68737 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68739         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68740         * sysdeps/unix/sysv/Versions: Remove file.
68742 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68744         [BZ #13927]
68745         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68747 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68749         [BZ #7064]
68750         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68751         version from __vm86.
68753 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68755         * sysdeps/unix/common/lxstat.c: Remove file.
68756         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68758         * sysdeps/unix/sysv/Makefile: Remove file.
68760         * sysdeps/unix/sysv/direct.h: Remove file.
68762         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68763         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68764         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68765         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68766         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68767         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68768         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68770         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68772         * sysdeps/unix/xmknod.c: Remove file.
68773         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68775         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68777         * sysdeps/unix/sysv/i386/time.S: Remove file.
68779         * sysdeps/unix/fxstat.c: Remove file.
68780         * sysdeps/unix/xstat.c: Likewise.
68781         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68783         * sysdeps/unix/sysv/sigaction.c: Remove file.
68785         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68786         (sysdep_headers): Remove variable.
68787         [termio.h not in sysdep_headers] (generated): Likewise.
68788         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68789         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68790         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68791         * sysdeps/unix/sysv/tcflow.c: Likewise.
68792         * sysdeps/unix/sysv/tcflush.c: Likewise.
68793         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68794         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68795         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68796         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68797         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68799         * sysdeps/unix/siglist.c: Remove file.
68801         * sysdeps/unix/getppid.S: Remove file.
68803         * sysdeps/unix/mkdir.c: Remove file.
68804         * sysdeps/unix/rmdir.c: Likewise.
68806 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68808         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68809         ERR_MAX value.
68810         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68811         errlist-compat value.
68813 2012-04-18  David S. Miller  <davem@davemloft.net>
68815         * sysdeps/generic/memcopy.h (reg_char): Delete.
68816         * debug/strcat_chk.c: Use char, not reg_char.
68817         * debug/strcpy_chk.c: Likewise.
68818         * debug/strncat_chk.c: Likewise.
68819         * debug/strncpy_chk.c: Likewise.
68820         * string/memchr.c: Likewise.
68821         * string/memrchr.c: Likewise.
68822         * string/rawmemchr.c: Likewise.
68823         * string/strcat.c: Likewise.
68824         * string/strchr.c: Likewise.
68825         * string/strchrnul.c: Likewise.
68826         * string/strcmp.c: Likewise.
68827         * string/strcpy.c: Likewise.
68828         * string/strncat.c: Likewise.
68829         * string/strncmp.c: Likewise.
68830         * string/strncpy.c: Likewise.
68832 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68834         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68835         __builtin_memcopy is called when src and dest ranges are known to not
68836         overlap.
68838 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68840         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68841         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68842         fwd_align_merge macro call.
68843         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68844         bwd_align_merge macro call.
68845         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68847 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68849         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68850         bwd_align_merge macros.
68851         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68852         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68853         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68855 2012-04-18  David S. Miller  <davem@davemloft.net>
68857         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68859 2012-04-18  Andreas Jaeger  <aj@suse.de>
68861         [BZ# 6794]
68862         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68863         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68864         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68866         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68867         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68868         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68870         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68871         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68872         Adjust for changed ldbl-128 files.
68874         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68875         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68876         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68878 2012-04-17  David S. Miller  <davem@davemloft.net>
68880         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68882 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68884         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68885         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68886         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68887         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68888         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68889         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68891 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68893         [BZ #6794]
68894         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68895         * math/libm-test.inc: Add ilogb errno and exception tests.
68896         * math/w_ilogb.c: New file: ilogb wrapper.
68897         * math/w_ilogbf.c: New file: ilogbf wrapper.
68898         * math/w_ilogbl.c: New file: ilogbl wrapper.
68899         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68900         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68901         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68902         exception being thrown with 0.0 as argument.
68903         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68904         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68905         exception being thrown with 0.0 as argument.
68906         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68907         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68908         exception being thrown with 0.0 as argument.
68909         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68910         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68911         exception being thrown with 0.0 as argument.
68912         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68913         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68914         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68915         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68916         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68917         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68918         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68919         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68920         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68922 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68924         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68925         with altivec.
68927 2012-04-16  Marek Polacek  <polacek@redhat.com>
68929         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68931 2012-04-16  Marek Polacek  <polacek@redhat.com>
68933         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68934         operands of fdivp instruction.
68936 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68938         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68939         * elf/tst-auditmod3b.c: Likewise.
68940         * elf/tst-auditmod4b.c: Likewise.
68941         * elf/tst-auditmod5b.c: Likewise.
68942         * elf/tst-auditmod6b.c: Likewise.
68943         * elf/tst-auditmod6c.c: Likewise.
68944         * elf/tst-auditmod7b.c: Likewise.
68945         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68946         * sysdeps/x86_64/preconfigure.in: Likewise.
68947         * sysdeps/x86_64/preconfigure: Regenerated.
68949 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68951         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68952         __ILP32__.
68954 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68956         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68957         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68959 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68961         [BZ #13973]
68962         * locale/iso-639.def: Fix gl language name. Spotted by
68963         Yaron Shahrabani.
68965 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68967         [BZ #2074]
68968         * libio/libio.h (__io_write_fn): Update comment.
68970 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68972         [BZ #2074]
68973         * stdio.texi (Hook Functions): The user provided writer function
68974         is not allowed to return -1.
68976 2012-04-11  David S. Miller  <davem@davemloft.net>
68978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68980 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68982         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68983         Add a leading slash to rtkaio.
68985 2012-04-11  Jim Meyering  <meyering@redhat.com>
68987         [BZ #11959]
68988         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68989         It is not necessarily an error to ignore fwrite's return
68990         value.  One can reliably use ferror to test for errors after
68991         the fact.
68993 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68995         * bits/types.h (__snseconds_t): New type.
68996         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68998         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68999         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69000         (__SNSECONDS_T_TYPE): Likewise.
69001         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69002         (__SNSECONDS_T_TYPE): Likewise.
69003         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69004         (__SNSECONDS_T_TYPE): Likewise.
69006 2012-04-10  Andreas Jaeger  <aj@suse.de>
69008         [BZ #2636]
69009         * manual/time.texi (Processor Time): Return type of times is
69010         elapsed real time since an arbitrary point in the past.
69011         (CPU Time): Move CLK_TCK from here...
69012         (Processor Time): ...to here.  Correct description.
69013         * manual/conf.texi (Constants for Sysconf): Correct description of
69014         _SC_CLK_TCK.
69016 2012-04-10  David S. Miller  <davem@davemloft.net>
69018         [BZ #13967]
69019         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69020         where the is a gap between DT_REL(A) and DT_JMPREL.
69022 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69024         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69025         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69026         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69028 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69030         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69031         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69032         (dl_main): Handle --inhibit-cache.
69033         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69034         _dl_inhibit_cache.
69035         * elf/dl-load.c (_dl_map_object): Use it.
69036         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69038 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69040         [BZ #13872]
69041         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69042         (__ieee754_powl): Saturate large exponents rather than testing for
69043         overflow of y*log2(x).
69044         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69045         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69046         exceptions.
69048         [BZ #11521]
69049         * math/s_ctan.c: Include <float.h>.
69050         (__ctan): Avoid internal overflow or cancellation in calculating
69051         denominator.
69052         * math/s_ctanf.c: Likewise.
69053         * math/s_ctanl.c: Likewise.
69054         * math/s_ctanh.c: Likewise.
69055         * math/s_ctanhf.c: Likewise.
69056         * math/s_ctanhl.c: Likewise.
69057         * math/libm-test.inc (ctan_test): Add more tests.
69058         (ctanh_test): Likewise.
69059         * sysdeps/i386/fpu/libm-test-ulps: Update.
69060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69062 2012-04-09  Andreas Jaeger  <aj@suse.de>
69064         [BZ #6894]
69065         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69066         is an optional BSD extension.
69068         [BZ #10254]
69069         * manual/stdio.texi (Opening Streams): Document additional fopen
69070         parameters.
69072 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69074         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69075         %eax without telling the compiler.
69077 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69079         [BZ # 13963]
69080         * manual/install.texi: Use sourceware.org.
69082 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69084         [BZ #13873]
69085         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69086         (__ieee754_pow): Generate overflow and underflow using huge*huge
69087         and tiny*tiny rather than just returning constant infinity or zero
69088         for large exponents.
69089         * math/libm-test.inc (pow_test): Require overflow exceptions for
69090         applicable cases of large exponents.
69092         [BZ #706]
69093         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69094         (__ieee754_pow): Use iterative multiplication algorithm only for
69095         integer exponents with absolute value below 1024.  Check for odd
69096         integer exponents when using algorithm for real exponents.
69097         * math/libm-test.inc (pow_test): Add more tests.
69098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69100 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69102         [BZ #13705]
69103         * math/libm-test.inc (exp_test): Do not allow overflow exception
69104         on underflow test.
69106 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69108         [BZ #13705]
69109         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69110         instead of __kernel_standard_f.
69112 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69114         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69115         * sysdeps/x86_64/memset_chk.S: Likewise.
69117 2012-04-08  Andreas Jaeger  <aj@suse.de>
69119         [BZ #10153]
69120         * manual/startup.texi (Environment Access): Describe return value
69121         for putenv and setenv.
69123         [BZ #6895]
69124         * manual/filesys.texi (Directory Entries): Add description for
69125         DT_LNK.
69127         [BZ #6890]
69128         * manual/filesys.texi (Directory Entries): Clarify that it's file
69129         system not operating system in the description of DT_UNKNOWN.
69131         [BZ #6578]
69132         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69134 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69136         [BZ #6649]
69137         * manual/llio.texi (Opening and Closing Files): Add cross
69138         reference to explain mode argument.
69140 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69142         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69143         * sysdeps/x86_64/memset_chk.S: Likewise.
69145 2012-04-07  David S. Miller  <davem@davemloft.net>
69147         * elf/elf.h (R_SPARC_WDISP10): Define.
69148         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69149         R_SPARC_SIZE32.
69150         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69151         R_SPARC_SIZE64 and R_SPARC_H34.
69153 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69155         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69156         conditions and remove no longer applicable assertion.
69158 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69160         * bits/byteswap.h: Include <features.h>.
69161         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69162         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69164 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69166         * bits/byteswap.h (__bswap_16): Removed.
69167         Include <bits/byteswap-16.h> to get __bswap_16.
69168         * sysdeps/i386/bits/byteswap.h: Likewise.
69169         * sysdeps/s390/bits/byteswap.h: Likewise.
69170         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69171         * bits/byteswap-16.h: New file.
69172         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69173         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69174         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69175         * string/Makefile (headers): Add bits/byteswap-16.h.
69177 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69179         [BZ #13895]
69180         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69181         extra indirection.
69182         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69183         * nss/tst-nss-static.c: New.
69185 2012-04-06  Robert Millan  <rmh@gnu.org>
69187         [BZ #6486]
69188         * manual/llio.texi (File Position Primitive): lseek
69189         refers to WHENCE when it really means OFFSET.
69191 2012-04-06  Andreas Jaeger  <aj@suse.de>
69193         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69194         strncmp declarations.
69196         * abilist/libc.abilist: Add __poll and __ppoll.
69198 2012-04-05  David S. Miller  <davem@davemloft.net>
69200         * scripts/check-local-headers.sh: Accept a host triplet in the
69201         path matched by the exclude regexp.
69203         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69204         definition.
69205         * sysdeps/powerpc/powerpc32/dl-machine.h
69206         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69207         * sysdeps/s390/s390-32/dl-machine.h
69208         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69209         * sysdeps/sparc/sparc32/dl-machine.h
69210         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69211         * sysdeps/sparc/sparc64/dl-machine.h
69212         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69214         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69215         lazy binding.
69216         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69217         undefined symbol errors.
69219         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69220         DT_NEEDED entries.
69222 2012-04-05  Michael Matz  <matz@suse.de>
69224         [BZ #13592]
69225         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69227 2012-04-05  Andreas Jaeger  <aj@suse.de>
69229         [BZ #13908]
69230         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69231         comment.
69233 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69235         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69236         which ROUND is no valid rounding mode.
69238 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69240         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69241         read again.
69242         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69244 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69246         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69247         an exception using FPU order intentionally.
69249 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69251         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69252         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69253         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69254         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69256 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69258         [BZ #12340]
69259         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69260         EINVAL when BUFLEN is too smal.
69262 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69264         [BZ #13553]
69265         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69266         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69268 2012-04-03  Andreas Jaeger  <aj@suse.de>
69270         [BZ #13938]
69271         * manual/setjmp.texi (System V contexts): Fix sentence.
69273         [BZ #13926]
69274         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69275         New macro for this case.
69276         [!__GNUC__] (__bswap_64): New inline function for this case.
69277         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69278         * bits/byteswap.h: Likewise.
69279         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69280         ull, guard with __GLIBC_HAVE_LONG_LONG.
69282         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69283         __GLIBC_HAVE_LONG_LONG.
69285         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69286         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69288 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69290         [BZ #13691]
69291         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69292         inptr and inend, rather than using last_ch.
69294 2012-04-02  David S. Miller  <davem@davemloft.net>
69296         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69297         * stdio-common/printf-parse.h (read_int): Change return type to
69298         'int', return -1 on INT_MAX overflow.
69299         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69300         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69301         overflows INT_MAX.  Check for overflow of in-format-string precision
69302         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69303         SIZE_MAX not INT_MAX for integer overflow test.
69304         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69305         skip the construct in the format string but do not record anything.
69306         * stdio-common/bug22.c: Adjust to test both width/prevision
69307         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69308         explicitly for proper errno values.
69310 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69312         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69313         CHAR_MAX.
69314         * string/test-strcmp.c [! WIDE]: Likewise.
69315         * time/tst-mktime2.c: Likewise for INT_MAX.
69316         * string/test-string.h: #include <sys/param.h> for MIN.
69318         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69319         * sysdeps/i386/init-first.c (init): Likewise.
69320         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69321         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69322         * sysdeps/sh/init-first.c (init): Likewise.
69324 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69326         * po/ru.po: Update from translation team.
69327         * po/vi.po: Likewise.
69329 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69331         * resolv/nss_dns/dns-host.c: Merge copyright years.
69333 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69335         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69336         Optimize memcpy with prefetch if
69337         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69338         src, dst pointers have unequal 16 byte alignments.
69340 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69342         [BZ #13928]
69343         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69344         from a CNAME entry and return the minimum ttl for the query.
69345         (gaih_getanswer_slice): Likewise.
69347 2012-03-30  Jeff Law  <law@redhat.com>
69349         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69350         due to long keys.
69351         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69352         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69354         * resolv/nss_dns/dns-host.c: Update copyright year.
69356 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69358         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69359         requests to save a system call.  Fix check that all bytes are sent.
69361         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69362         comments for sendmmsg.
69364 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69366         [BZ #13691]
69367         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69368         with only 1 character between 0x0041 and 0x01b0.
69369         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69370         * wcsmbs/tst-mbsnrtowcs.c: New file.
69372 2012-03-29  David S. Miller  <davem@davemloft.net>
69374         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69375         small copies by hand.
69377 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69379         [BZ #13761]
69380         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69381         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69382         group memberships.
69384 2012-03-28  David S. Miller  <davem@davemloft.net>
69386         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69387         that branches into memcpy.
69388         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69389         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69390         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69391         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69393         bits.
69394         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69395         implementation too.
69396         * sysdeps/sparc/mempcpy.S: New file.
69398         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69399         the IFUNC routine in the libc case.
69400         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69402         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69403         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69404         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69405         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69406         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69407         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69408         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69409         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69411         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69412         loop to 256 bytes instead of 64 bytes and fix test signedness.
69414         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69415         * sysdeps/sparc/sparc32/Makefile: rather than here...
69416         * sysdeps/sparc/sparc64/Makefile: and here.
69418 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69420         * malloc/mallocbug.c: Avoid warnings about unused variables.
69422 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69424         [BZ #13760]
69425         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69426         in the right place. Discard and retry query if response is
69427         larger than input buffer size.
69429 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69431         [BZ #369]
69432         [BZ #2678]
69433         [BZ #3866]
69434         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69435         x for large integer exponent.
69436         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69437         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69438         sign of result as needed afterwards.
69439         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69440         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69441         result for underflowing pow the same as for overflow.
69442         (__kernel_standard_l): Handle powl overflow and underflow here
69443         rather than calling __kernel_standard.
69444         * math/libm-test.inc (pow_test): Add more tests.
69446         [BZ #3868]
69447         [BZ #13879]
69448         [BZ #13910]
69449         [BZ #13911]
69450         [BZ #13912]
69451         [BZ #13913]
69452         [BZ #13915]
69453         [BZ #13916]
69454         [BZ #13917]
69455         [BZ #13918]
69456         [BZ #13919]
69457         [BZ #13920]
69458         [BZ #13921]
69459         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69460         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69461         (__kernel_standard_l): New function.
69462         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69463         __kernel_standard.
69464         * math/w_acosl.c (__acosl): Likewise.
69465         * math/w_asinl.c (__asinl): Likewise.
69466         * math/w_atan2l.c (__atan2l): Likewise.
69467         * math/w_atanhl.c (__atanhl): Likewise.
69468         * math/w_coshl.c (__coshl): Likewise.
69469         * math/w_exp10l.c (__exp10l): Likewise.
69470         * math/w_exp2l.c (__exp2l): Likewise.
69471         * math/w_fmodl.c (__fmodl): Likewise.
69472         * math/w_hypotl.c (__hypotl): Likewise.
69473         * math/w_j0l.c (__j0l, __y0l): Likewise.
69474         * math/w_j1l.c (__j1l, __y1l): Likewise.
69475         * math/w_jnl.c (__jnl, __ynl): Likewise.
69476         * math/w_lgammal.c (__lgammal): Likewise.
69477         * math/w_log10l.c (__log10l): Likewise.
69478         * math/w_log2l.c (__log2l): Likewise.
69479         * math/w_logl.c (__logl): Likewise.
69480         * math/w_powl.c (__powl): Likewise.
69481         * math/w_remainderl.c (__remainderl): Likewise.
69482         * math/w_scalbl.c (sysv_scalbl): Likewise.
69483         * math/w_sinhl.c (__sinhl): Likewise.
69484         * math/w_sqrtl.c (__sqrtl): Likewise.
69485         * math/w_tgammal.c (__tgammal): Likewise.
69486         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69487         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69488         * math/libm-test.inc (acos_test): Add more tests.
69489         (acosh_test): Likewise.
69490         (asin_test): Likewise.
69491         (atanh_test): Likewise.
69492         (exp_test): Likewise.
69493         (exp10_test): Likewise.
69494         (exp2_test): Likewise.
69495         (expm1_test): Likewise.
69496         (lgamma_test): Likewise.
69497         (log_test): Likewise.
69498         (log10_test): Likewise.
69499         (log1p_test): Likewise.
69500         (log2_test): Likewise.
69501         (pow_test): Do not allow some spurious overflow exceptions.
69502         (sqrt_test): Add more tests.
69503         (tgamma_test): Likewise.
69504         (y0_test): Likewise.
69505         (y1_test): Likewise.
69506         (yn_test): Likewise.
69508 2012-03-27  Anton Blanchard  <anton@samba.org>
69510         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69511         MAP_HUGETLB.
69512         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69513         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69514         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69516 2012-03-27  David S. Miller  <davem@davemloft.net>
69518         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69520         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69521         have-as-vis3 check.
69523 2012-03-27  Andreas Jaeger  <aj@suse.de>
69525         * sysdeps/x86_64/elf/configure.in: Moved to ...
69526         * sysdeps/x86_64/configure.in: ... here.
69527         * sysdeps/x86_64/elf/start.S: Moved to ...
69528         * sysdeps/x86_64/start.S: ... here.
69529         * sysdeps/x86_64/elf/configure: Delete.
69531         * sysdeps/x86_64/configure.in: Merge contents from
69532         sysdeps/i386/configure.in (without i686 check).
69534         * sysdeps/i386/elf/Versions: Merge into ...
69535         * sysdeps/i386/Versions: ... this.
69536         * sysdeps/i386/elf/Versions: Delete file.
69537         * sysdeps/i386/elf/start.S: Moved to ...
69538         * sysdeps/i386/start.S: ...here.
69539         * sysdeps/i386/elf/configure.in: Merge into...
69540         * sysdeps/i386/configure.in: ...here.
69541         * sysdeps/i386/elf/configure.in: Delete file.
69542         * sysdeps/i386/elf/configure: Delete file.
69544         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69545         * debug/backtracesyms.c: ... here.
69546         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69547         * debug/backtracesymsfd.c: ... here.
69548         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69549         * sysdeps/generic/ifunc-sel.h: ... here.
69551         * sysdeps/unix/i386/start.c: Delete file.
69552         * sysdeps/unix/sparc/start.c: Delete file.
69553         * sysdeps/unix/start.c: Delete file.
69555         * sysdeps/sh/elf/configure.in: Moved to ...
69556         * sysdeps/sh/configure.in: ... here.
69557         * sysdeps/sh/elf/start.S: Moved to ...
69558         * sysdeps/sh/start.S: ... here.
69559         * sysdeps/sh/elf/configure: Delete file.
69561         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69562         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69563         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69564         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69565         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69566         * sysdeps/powerpc/powerpc64/start.S: here.
69567         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69568         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69569         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69570         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69571         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69573         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69574         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69575         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69576         * sysdeps/powerpc/powerpc32/start.S: ... here.
69577         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69578         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69579         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69581         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69582         * sysdeps/powerpc/ifunc-sel.h: ... here.
69583         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69584         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69586         * sysdeps/sparc/elf/configure.in: Moved to ...
69587         * sysdeps/sparc/configure.in: ... here.
69588         * sysdeps/sparc/elf/configure: Delete file.
69589         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69590         * sysdeps/sparc/sparc32/start.S: ... here.
69591         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69592         * sysdeps/sparc/sparc64/start.S: ... here.
69593         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69594         * sysdeps/sparc/sparc32/Makefile: ... this.
69595         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69596         * sysdeps/sparc/sparc64/Makefile: ... this.
69598         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69599         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69600         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69601         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69602         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69603         * sysdeps/s390/s390-32/setjmp.S: ... here.
69604         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69605         * sysdeps/s390/s390-32/configure.in: ... here.
69606         * sysdeps/s390/s390-32/elf/configure: Delete file.
69607         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69608         * sysdeps/s390/s390-32/start.S: ... here.
69610         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69611         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69612         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69613         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69614         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69615         * sysdeps/s390/s390-64/setjmp.S: ... here.
69616         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69617         * sysdeps/s390/s390-64/configure.in: ... here
69618         * sysdeps/s390/s390-64/elf/configure: Delete file.
69619         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69620         * sysdeps/s390/s390-64/start.S: ... here.
69621         * sysdeps/s390/s390-64/elf/configure: Delete.
69623         * configure.in: Remove support for elf directories in sysdeps.
69625         * configure: Regenerated.
69626         * sysdeps/i386/configure: Regenerated.
69627         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69628         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69629         * sysdeps/s390/s390-32/configure: Regenerated.
69630         * sysdeps/s390/s390-64/configure: Regenerated.
69631         * sysdeps/sh/configure: Regenerated.
69632         * sysdeps/sparc/configure: Regenerated.
69633         * sysdeps/x86_64/configure: Regenerated.
69635 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69639         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69640         denormal result into account.
69642 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69644         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69645         Reported by Allan McRae <allan@archlinux.org>.
69647 2012-03-23  Jeff Law  <law@redhat.com>
69649         * nss/getnssent.c (__nss_getent): Fix typo.
69651 2012-03-23  David S. Miller  <davem@davemloft.net>
69653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69655 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69657         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69658         to pad to uint64_t for each field.
69659         (dl_tls_index): Replace unsigned long with uint64_t.
69661 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69662         Paul Pluzhnikov  <ppluzhnikov@google.com>
69664         [BZ #6528]
69665         * grp/Makefile (otherlibs): Don't set it.
69666         * inet/Makefile (otherlibs): Likewise.
69667         * login/Makefile (otherlibs): Likewise.
69668         * nscd/Makefile (otherlibs): Likewise.
69669         * posix/Makefile (otherlibs): Likewise.
69670         * pwd/Makefile (otherlibs): Likewise.
69671         * rt/Makefile (otherlibs): Likewise.
69672         * sunrpc/Makefile (otherlibs): Likewise.
69673         * nss/Makefile (otherlibs): Likewise.
69674         Add libnss_files to routines and static-only-routines.
69675         ($(objpfx)getent): Remove rule.
69676         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69677         static-only-routines.
69679 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69681         [BZ #13892]
69682         * math/s_cexp.c: Include <float.h>.
69683         (__cexp): Handle exp result overflowing not necessarily
69684         overflowing both real and imaginary parts of result.
69685         * math/s_cexpf.c: Likewise.
69686         * math/s_cexpl.c: Likewise.
69687         * math/libm-test.inc (cexp_test): Add more tests.
69688         * sysdeps/i386/fpu/libm-test-ulps: Update.
69689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69691 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69693         * include/link.h (ELFW): New macro.
69694         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69695         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69697 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69699         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69700         with uint64_t.
69702 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69704         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69705         declaration.
69706         (struct La_x32_retval): Likewise.
69708 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69710         * sysdeps/x86_64/preconfigure.in: New file.
69711         * sysdeps/x86_64/preconfigure: New generated file.
69713 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69715         [BZ #13824]
69716         * math/e_exp2l.c: Include <float.h>.
69717         (__ieee754_exp2l): Handle overflow and underflow cases
69718         separately.  Only pass fractional part of argument to
69719         __ieee754_expl.
69720         * math/libm-test.inc (exp2_test): Add more tests.
69722         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69723         negating x to take absolute value.
69724         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69725         Likewise.
69726         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69727         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69728         Likewise.
69729         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69730         computing low part if x was negated.
69731         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69733 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69735         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69736         la_x32_gnu_pltexit.
69737         (pltexit): Cast int_retval to ptrdiff_t.
69738         * elf/tst-auditmod3b.c: Likewise.
69739         * elf/tst-auditmod4b.c: Likewise.
69740         * elf/tst-auditmod5b.c: Likewise.
69741         * elf/tst-auditmod6b.c: Likewise.
69742         * elf/tst-auditmod6c.c: Likewise.
69743         * elf/tst-auditmod7b.c: Likewise.
69745         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69746         and x32_gnu_pltexit.
69748         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69749         __ELF_NATIVE_CLASS.
69750         (La_x32_regs): New macro.
69751         (La_x32_retval): Likewise.
69752         (la_x32_gnu_pltenter): New function prototype.
69753         (la_x32_gnu_pltexit): Likewise.
69755 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69757         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69758         exponent.
69760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69762         * configure.in (libc_cv_cc_nofma): Check for option to disable
69763         generation of FMA instructions.
69764         * configure: Regenerate.
69765         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69766         * sysdeps/ieee754/dbl-64/Makefile: New file.
69767         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69768         Remove brandred-fma4.
69769         (CFLAGS-brandred-fma4.c): Remove.
69770         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69771         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69772         define.
69773         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69774         define.
69776 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69778         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69779         LLONG_MAX != LONG_MAX.
69780         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69781         (_fitoa_word): Likewise.
69782         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69783         LLONG_MAX != LONG_MAX.
69784         * stdio-common/_itowa.h: Include <_itoa.h>.
69785         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69786         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69787         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69788         only if not defined.
69789         (_ITOA_WORD_TYPE): Likewise.
69790         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69791         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69793 2012-03-21  David S. Miller  <davem@davemloft.net>
69795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69797 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69799         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69800         of x86_64 when setting libc_cv_slibdir, libdir and
69801         libc_cv_localedir.
69802         * sysdeps/unix/sysv/linux/configure: Regenerated.
69804 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69806         * manual/lang.texi (Old Varargs): Remove section.
69807         (How Variadic): Update menu.
69808         (va_start): Do not mention varargs.h.
69810 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69811             Joseph Myers  <joseph@codesourcery.com>
69813         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69814         link test.
69815         * configure: Regenerated.
69817 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69819         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69820         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69821         conformtest.pl
69823 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69825         * NOTES: Remove.
69826         * Makefile (files-for-dist): Remove NOTES.
69827         (NOTES): Remove rule.
69828         * README: Don't refer to NOTES.
69829         * manual/creature.texi: Don't include macros.texi.
69830         * manual/intro.texi (creature.texi): Remove comment referring to
69831         NOTES.
69833         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69834         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69835         * configure: Regenerated.
69836         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69837         LIBC_TRY_CC_OPTION.
69838         (libc_cv_as_i686): Likewise.
69839         (libc_cv_cc_avx): Likewise.
69840         (libc_cv_cc_sse2avx): Likewise.
69841         (libc_cv_cc_fma4): Likewise.
69842         (libc_cv_cc_novzeroupper): Likewise.
69843         * sysdeps/i386/configure: Regenerated.
69845         [BZ #13883]
69846         * sysdeps/i386/fpu/s_cexp.S: Remove.
69847         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69848         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69849         * math/libm-test.inc (cexp_test): Add more tests.
69850         * sysdeps/i386/fpu/libm-test-ulps: Update.
69851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69853 2012-03-21  Allan McRae  <allan@archlinux.org>
69855         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69857 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69859         [BZ #13871]
69860         * math/w_exp2.c: Do not include <float.h>.
69861         (o_threshold, u_threshold): Remove.
69862         (__exp2): Calculate result before checking finiteness and calling
69863         __kernel_standard.
69864         * math/w_exp2f.c: Likewise.
69865         * math/w_exp2l.c: Likewise.
69866         * math/libm-test.inc (exp2_test): Require overflow exception for
69867         1e6 input.
69869         [BZ #3866]
69870         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69871         range of signed 64-bit integers before using fistpll.  Remove
69872         checks for whether integers fit in mantissa bits.
69873         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69874         the range of signed 32-bit integers before using fistpl.  Remove
69875         checks for whether integers fit in mantissa bits.
69876         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69877         (__ieee754_powl): Test for y outside the range of signed 64-bit
69878         integers before using fistpll.  Reduce 64-bit values to 63-bit
69879         ones as needed.
69880         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69881         divide-by-zero is raised for zero to large negative powers.
69882         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69883         (__ieee754_powl): Test for y outside the range of signed 64-bit
69884         integers before using fistpll.  Reduce 64-bit values to 63-bit
69885         ones as needed.
69886         * math/libm-test.inc (pow_test): Add more tests.
69888 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69890         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69891         <stdio-common/_itoa.h>.
69892         * debug/segfault.c: Likewise.
69893         * elf/dl-cache.c: Likewise.
69894         * elf/dl-minimal.c: Likewise.
69895         * elf/dl-misc.c: Likewise.
69896         * elf/dl-sysdep.c: Likewise.
69897         * elf/dl-version.c: Likewise.
69898         * elf/rtld.c: Likewise.
69899         * hurd/hurdsock.c: Likewise.
69900         * hurd/lookup-retry.c: Likewise.
69901         * malloc/malloc.c: Likewise.
69902         * malloc/mtrace.c: Likewise.
69903         * nscd/nscd_getgr_r.c: Likewise.
69904         * nscd/nscd_getpw_r.c: Likewise.
69905         * nscd/nscd_getserv_r.c: Likewise.
69906         * posix/getopt_init.c: Likewise.
69907         * posix/wordexp.c: Likewise.
69908         * stdio-common/_itoa.c: Likewise.
69909         * stdio-common/printf_fphex.c: Likewise.
69910         * stdio-common/vfprintf.c: Likewise.
69911         * string/_strerror.c: Likewise.
69912         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69913         * sysdeps/i386/i686/hp-timing.h: Likewise.
69914         * sysdeps/mach/_strerror.c: Likewise.
69915         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69916         * sysdeps/mach/hurd/sethostid.c: Likewise.
69917         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69918         * sysdeps/mach/xpg-strerror.c: Likewise.
69919         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69920         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69921         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69922         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69923         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69924         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69925         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69926         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69927         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69928         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69929         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69930         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69931         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69932         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69933         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69934         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69935         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69936         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69937         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69938         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69939         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69941         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69943         * stdio-common/_itoa.h: Moved to ...
69944         * sysdeps/generic/_itoa.h: Here.
69946         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69948         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69949         instead of "_itoa.h" and "_itowa.h".
69950         * stdio-common/vfprintf.: Likewise.
69952 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69954         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69955         <bits/wordsize.h>.
69956         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69957         (__signbit): Likwise.
69958         (llrintf): Likwise.
69959         (llrint): Likwise.
69961 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69963         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69964         __WORDSIZE != 64.
69966 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69968         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69969         OVERFLOW_EXCEPTION_OK.
69970         * math/libm-test.inc ("Philosophy"): Update comment about
69971         exception testing.
69972         (OVERFLOW_EXCEPTION): Define.
69973         (OVERFLOW_EXCEPTION_OK): Likewise.
69974         (INVALID_EXCEPTION_OK): Renumber.
69975         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69976         (IGNORE_ZERO_INF_SIGN): Likewise.
69977         (test_exceptions): Handle FE_OVERFLOW.
69978         (exp10_test): Expect overflow exceptions.
69979         (exp2_test): Likewise.
69980         (expm1_test): Likewise.
69981         (nextafter_test): Likewise.
69982         (pow_test): Likewise.
69983         (scalbn_test): Likewise.
69984         (scalbln_test): Likewise.
69986 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69988         * sysdeps/x86_64/bits/atomic.h
69989         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69990         64bit integer.
69991         (atomic_exchange_acq): Likewise.
69992         (__arch_exchange_and_add_body): Likewise.
69993         (__arch_add_body): Likewise.
69994         (atomic_add_negative): Likewise.
69995         (atomic_add_zero): Likewise.
69997 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69999         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70000         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70002 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70004         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70005         Check __x86_64__ instead of __WORDSIZE.
70007 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70009         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70011 2012-03-19  David S. Miller  <davem@davemloft.net>
70013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70015         * sysdeps/sparc/fpu/fenv_private.h: New file.
70016         * sysdeps/sparc/fpu/math_private.h: Use it.
70017         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70018         Remove.
70019         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70020         (libc_feholdexcept_setroundl): Remove.
70021         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70022         Remove.
70023         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70024         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70026 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70028         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70029         int64_t instead of long int.
70030         (INSERT_WORDS64): Likwise.
70032 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70034         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70035         _Unwind_GetCFA return to _Unwind_Ptr first.
70037 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70039         [BZ #13629]
70040         * math/s_clog.c: Include <float.h>.
70041         (__clog): Scale large or subnormal inputs.
70042         * math/s_clogf.c: Likewise.
70043         * math/s_clogl.c: Likewise.
70044         * math/s_clog10.c: Include <float.h>.
70045         (M_LOG10_2): Define.
70046         (__clog10): Scale large or subnormal inputs.
70047         * math/s_clog10f.c: Likewise.
70048         * math/s_clog10l.c: Likewise.
70049         * math/libm-test.inc (clog_test): Add more tests.
70050         (clog10_test): Likewise.
70051         * sysdeps/i386/fpu/libm-test-ulps: Update.
70052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70054         [BZ #11451]
70055         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70056         x and y.
70057         * math/libm-test.inc (atan2_test): Add another test.
70059         * Makerules (common-objdir-compile): Remove.
70060         * sysdeps/unix/Makefile (config-generated): Do not add
70061         $(unix-generated) to variable.
70062         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70063         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70064         Remove rule.
70065         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70066         Likewise.
70067         [generic bits/local_lim.h] (before-compile): Do not append to
70068         variable.
70069         [generic bits/local_lim.h] (common-generated): Likewise.
70070         [generic sys/param.h] (before-compile): Do not append to variable.
70071         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70072         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70073         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70074         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70075         include.
70076         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70077         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70078         [generic sys/param.h] ($(addprefix
70079         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70080         [generic sys/param.h] (common-generated): Do not append to
70081         variable.
70082         [generic sys/param.h] (sysdep_headers): Likewise.
70083         [generic bits/errno.h] (before-compile): Do not append to
70084         variable.
70085         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70086         rule.
70087         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70088         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70089         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70090         [generic bits/errno.h] (common-generated): Do not append to
70091         variable.
70092         [generic bits/ioctls.h] (before-compile): Do not append to
70093         variable.
70094         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70095         rule.
70096         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70097         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70098         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70099         rule.
70100         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70101         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70102         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70103         [generic bits/ioctls.h] (common-generated): Do not append to
70104         variable.
70105         [generic sys/syscall.h] (syscall.h): Remove variable.
70106         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70107         rule.
70108         [generic sys/syscall.h] (before-compile): Do not append to
70109         variable.
70110         [generic sys/syscall.h] (common-generated): Likewise.
70111         * sysdeps/unix/errnos-tmpl.c: Remove file.
70112         * sysdeps/unix/errnos.awk: Likewise.
70113         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70114         * sysdeps/unix/ioctls.awk: Likewise.
70115         * sysdeps/unix/mk-local_lim.c: Likewise.
70116         * sysdeps/unix/snarf-ioctls: Likewise.
70118 2012-03-19  Richard Henderson  <rth@twiddle.net>
70120         * sysdeps/i386/fpu/fenv_private.h: New file.
70121         * sysdeps/i386/fpu/math_private.h: Use it.
70122         (math_opt_barrier, math_force_eval): Remove.
70123         (libc_feholdexcept_setround_53bit): Remove.
70124         (libc_feupdateenv_53bit): Remove.
70125         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70126         (math_opt_barrier, math_force_eval): Remove.
70127         (libc_feholdexcept): Remove.
70128         (libc_feholdexcept_setround): Remove.
70129         (libc_fetestexcept, libc_fesetenv): Remove.
70130         (libc_feupdateenv_test): Remove.
70131         (libc_feupdateenv, libc_feholdsetround): Remove.
70132         (libc_feresetround): Remove.
70134         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70135         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70137         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70138         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70139         (libc_feupdateenv_testl): New.
70140         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70141         (libc_feupdateenv_testf): New.
70142         (libc_feupdateenv): Use libc_feupdateenv_test.
70143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70144         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70146         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70147         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70148         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70149         (libc_feresetround_noex): New.
70150         (libc_feresetround_noexf): New.
70151         (libc_feresetround_noexl): New.
70152         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70153         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70154         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70155         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70156         SET_RESTORE_ROUND.
70157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70158         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70159         (__cos): Likewise.
70160         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70161         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70162         SET_RESTORE_ROUND_NOEX.
70163         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70164         SET_RESTORE_ROUND_NOEXF.
70165         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70166         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70167         (libc_feholdsetroundf): New.
70168         (libc_feresetround, libc_feresetroundf): New.
70170         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70171         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70172         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70174         * sysdeps/generic/math_private.h: Include <fenv.h>.
70175         (default_libc_feholdexcept): New.
70176         (default_libc_feholdexcept_setround): New.
70177         (default_libc_fesetenv, default_libc_feupdateenv): New.
70178         (libc_feholdexcept): Only define if undefined.
70179         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70180         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70181         (libc_feholdexcept_setroundl): Likewise.
70182         (libc_feholdexcept_setround_53bit): Likewise.
70183         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70184         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70185         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70186         (libc_feupdateenv_53bit): Likewise.
70187         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70188         (libc_feholdexcept): Convert from macro to inline function.
70189         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70190         (libc_fesetenv, libc_feupdateenv): Likewise.
70192         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70193         not previously defined.
70194         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70195         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70196         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70197         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70198         * sysdeps/ieee754/flt-32/math_private.h: New file.
70199         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70200         math_private.h below SET_FLOAT_WORD.
70201         (__isnan, __isinf_ns, __finite): Remove.
70202         (__isnanf, __isinf_nsf, __finitef): Remove.
70204 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70208 2012-03-17  David S. Miller  <davem@davemloft.net>
70210         [BZ #6471]
70211         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70212         for 2.16.
70214 2012-03-16  David S. Miller  <davem@davemloft.net>
70216         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70217         warnings.
70219         [BZ #6471]
70220         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70221         properly.
70222         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70223         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70224         sysdep_routines when subdir is sysvipc.
70225         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70226         __getshmlba helper.
70228         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70230 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70232         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70233         [__LP64__].
70235 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70237         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70238         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70239         (__lround): Renamed to ...
70240         (__llround): This.  Replace long int with long long int.
70241         Define lround functions as aliases of llround functions.
70242         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70244 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70246         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70247         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70248         adresses to uintptr_t.  Replace "long int" and "unsigned long
70249         int" with "greg_t" on va_arg.
70251 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70253         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70254         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70256         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70257         Move e_machine check before EI_CLASS check.  Handle x32
70258         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70259         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70260         SKIP_EM_IA_64 and include
70261         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70263         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70264         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70265         (add_system_dir): New macro.
70267         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70268         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70270 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70272         [BZ #2551]
70273         [BZ #2552]
70274         [BZ #2553]
70275         [BZ #2554]
70276         [BZ #2562]
70277         [BZ #2563]
70278         [BZ #2565]
70279         [BZ #2566]
70280         [BZ #2576]
70281         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70282         (y0): Likewise.
70283         * math/w_j0f.c (j0f): Likewise.
70284         (y0f): Likewise.
70285         * math/w_j0l.c (__j0l): Likewise.
70286         (__y0l): Likewise.
70287         * math/w_j1.c (j1): Likewise.
70288         (y1): Likewise.
70289         * math/w_j1f.c (j1f): Likewise.
70290         (y1f): Likewise.
70291         * math/w_j1l.c (__j1l): Likewise.
70292         (__y1l): Likewise.
70293         * math/w_jn.c (jn): Likewise.
70294         (yn): Likewise.
70295         * math/w_jnf.c (jnf): Likewise.
70296         (ynf): Likewise.
70297         * math/w_jnl.c (__jnl): Likewise.
70298         (__ynl): Likewise.
70299         * math/libm-test.inc (j0_test): Add more tests.
70300         (j1_test): Likewise.
70301         (jn_test): Likewise.  Add trailing semicolon to existing test.
70302         (y0_test): Likewise.
70303         (y1_test): Likewise.
70304         * sysdeps/i386/fpu/libm-test-ulps: Update.
70305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70307         [BZ #13851]
70308         [BZ #13854]
70309         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70310         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70311         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70312         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70313         (__tanl): Set errno for infinite argument.
70314         * sysdeps/i386/fpu/mptan.c: Remove.
70315         * sysdeps/i386/fpu/s_tan.S: Likewise.
70316         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70317         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70318         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70319         * math/libm-test.inc (tan_test): Add more tests and enable more
70320         tests for double and long double.
70321         * sysdeps/i386/fpu/libm-test-ulps: Update.
70322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70324 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70326         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70327         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70329 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70331         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70332         * configure.in: Use it for both main tree and add-ons.
70333         * configure: Regenerated.
70335 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70337         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70339 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70341         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70342         in comment.
70344         [BZ #13851]
70345         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70346         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70347         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70348         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70349         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70350         infinite argument.
70351         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70352         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70353         != 0 for prec == 2.
70354         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70355         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70356         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70357         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70358         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70359         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70360         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70361         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70362         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70363         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70364         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70365         * math/libm-test.inc (cos_test): Add more tests and enable more
70366         tests for long double.
70367         (sin_test): Likewise.
70368         (sincos_test): Likewise.
70369         * sysdeps/i386/fpu/libm-test-ulps: Update.
70370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70372 2012-03-16  David S. Miller  <davem@davemloft.net>
70374         * sysdeps/sparc/fpu/math_private.h: New file.
70376 2012-03-15  David S. Miller  <davem@davemloft.net>
70378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70379         file.
70380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70382         file.
70383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70388         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70389         sysdep routines.
70390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70392         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70393         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70395         * sysdeps/sparc/sparc-ifunc.h: New file.
70396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70397         sparc-ifunc.h
70398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70400         Likewise.
70401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70402         Likewise.
70403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70407         Likewise.
70408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70413         Likewise.
70414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70415         Likewise.
70416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70421         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70422         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70423         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70434         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70435         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70436         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70437         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70438         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70439         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70441 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70443         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70444         scaling.
70445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70447 2012-03-15  Andreas Jaeger  <aj@suse.de>
70449         [BZ #13852]
70450         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70451         ieee754/flt-32 implementation for sin, cos and sincos.
70452         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70453         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70454         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70455         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70456         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70457         ieee754/flt-32 implementation for tan.
70459         * math/libm-test.inc (cos_test): Enable some large input tests for
70460         float as well
70461         (sin_test): Likewise.
70462         (sincos_test): Likewise.
70463         (tan_test): Add tests for large input.
70465         * sysdeps/i386/fpu/libm-test-ulps: Update.
70467 2012-03-15  Andreas Jaeger  <aj@suse.de>
70469         [BZ #13658]
70470         * math/libm-test.inc (cos_test): Add more test cases.
70471         (sin_test): Likewise.
70472         (sincos_test): Likewise.
70474 2012-03-15  Andreas Jaeger  <aj@suse.de>
70476         [BZ #13837]
70477         * math/libm-test.inc (cos_test): Add a test case for large input
70478         value.
70479         (sin_test): Likewise.
70480         (sincos_test): Likewise.
70482 2012-03-15  Andreas Jaeger  <aj@suse.de>
70483             Joseph Myers  <joseph@codesourcery.com>
70485         [BZ #13658]
70486         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70487         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70488         * sysdeps/i386/fpu/branred.c: Likewise.
70489         * sysdeps/i386/fpu/dosincos.c: Likewise.
70490         * sysdeps/i386/fpu/mpa.c: Likewise.
70491         * sysdeps/i386/fpu/s_cos.S: Likewise.
70492         * sysdeps/i386/fpu/s_sin.S: Likewise.
70493         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70494         * sysdeps/i386/fpu/sincos32.c: Likewise.
70496         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70497         Define.
70498         (libc_feupdateenv_53bit): Define.
70499         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70500         Define.
70501         (libc_feupdateenv_53bit): Define.
70503         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70504         53 bit (without extend i386 double precision).
70506         * math/libm-test.inc (sincos_test): Add tests for large input.
70507         (sin): Likewise.
70508         (cos): Likewise.
70510         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70512 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70516 2012-03-15  David S. Miller  <davem@davemloft.net>
70518         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70519         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70520         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70521         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70527         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70528         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70529         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70534         file.
70535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70537         file.
70538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70540         file.
70541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70543         file.
70544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70545         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70546         fmin/fmax sysdep routines.
70547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70549 2012-03-14  David S. Miller  <davem@davemloft.net>
70551         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70552         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70553         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70554         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70555         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70556         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70557         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70558         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70560         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70561         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70562         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70566         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70567         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70568         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70569         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70570         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70571         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70572         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70573         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70574         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70575         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70576         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70577         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70578         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70579         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70580         routines.
70581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70582         file.
70583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70585         file.
70586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70588         file.
70589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70591         file.
70592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70594         file.
70595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70597         file.
70598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70599         file.
70600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70601         file.
70602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70603         file.
70604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70605         New file.
70606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70607         file.
70608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70609         file.
70610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70612         file.
70613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70615         file.
70616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70618         file.
70619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70621         VIS3 routines.
70623         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70624         New file.
70626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70628         * sysdeps/sparc/configure.in: New file.
70629         * sysdeps/sparc/configure: Generate.
70630         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70631         * configure: Regenerate.
70632         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70633         * config.make.in (have-as-vis3): New.
70634         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70635         available use -Av9d instead of -Av9a.
70636         * sysdeps/sparc/sparc64/Makefile: Likewise.
70637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70639         New file.
70640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70641         file.
70642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70643         New file.
70644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70645         file.
70646         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70647         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70648         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70649         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70650         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70652         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70653         fzeros/fnegs to load 0x80000000 into a float register instead of
70654         using the stack.
70655         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70657 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70660         bits/syscall.h.
70661         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70662         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70663         ($(inst_includedir)/bits/syscall.h): Remove rule.
70664         ($(objpfx)bits/syscall.d): Include instead of
70665         $(objpfx)syscall-list.d.
70666         (generated): Change syscall-list.h and syscall-list.d to
70667         bits/syscall.h and bits/syscall.d.
70669 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70671         [BZ #13846]
70672         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70674 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70676         [BZ #13841]
70677         * math/s_csqrt.c: Include <float.h>.
70678         (__csqrt): Scale large or subnormal inputs.
70679         * math/s_csqrtf.c: Likewise.
70680         * math/s_csqrtl.c: Likewise.
70681         * math/libm-test.inc (csqrt_test): Add more tests.
70682         * sysdeps/i386/fpu/libm-test-ulps: Update.
70683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70685         [BZ #13840]
70686         * math/libm-test.inc (hypot_test): Add more tests.
70688 2012-03-13  David S. Miller  <davem@davemloft.net>
70690         [BZ #13840]
70691         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70692         double-precision for the calculation instead of scaling.
70694 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70696         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70697         manipulate bits before adding and subtracting TWO52[sx].
70698         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70699         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70700         Likewise.
70701         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70703 2012-03-13  David S. Miller  <davem@davemloft.net>
70705         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70706         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70707         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70708         rtld-global-offsets.h
70709         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70711         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70712         large parameters.
70714         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70716         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70717         'err' in the ifdef scope in which it is actually used.
70719         * nss/nss_db/db-init.c: Include string.h
70721 2012-03-12  David S. Miller  <davem@davemloft.net>
70723         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70724         masking out of the most significant byte of random value used.
70725         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70726         Fix coding style in previous change.
70728         * sysdeps/unix/sysv/linux/kernel-features.h
70729         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70730         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70731         expression.
70732         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70733         later.
70735 2012-03-11  David S. Miller  <davem@davemloft.net>
70737         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70738         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70739         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70740         for 'resultvar' otherwise things get truncated on 64-bit.
70742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70743         Fix masking out of the most significant byte of random value used.
70745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70747 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70751 2012-03-09  David S. Miller  <davem@davemloft.net>
70753         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70754         variables with appropriate CPP guards.
70755         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70756         from the frame pointer, not the stack pointer.  Correct layout
70757         comments.  Fix test on resulting framesize and the management of
70758         the outregs buffer for pltexit.  Preserve floating point return
70759         values across _dl_call_pltexit call.
70760         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70761         framesize and the management of the outregs buffer for pltexit.
70762         Preserve floating point return values across _dl_call_pltexit
70763         call.
70764         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70765         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70766         (la_sparc64_gnu_pltexit): New functions.
70767         (print_exit): Fix format string for return register value.
70769 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70771         * sunrpc/Makefile (others): Add rpcgen.
70772         ($(objpfx)rpcgen): Remove special build rule and dependency on
70773         libc.
70774         * sunrpc/rpcgen.c: New file.
70776 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70778         [BZ #13673]
70779         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70780         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70781         * sysdeps/i386/crti.S: Likewise.
70782         * sysdeps/i386/crtn.S: Likewise.
70783         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70784         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70785         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70786         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70787         * sysdeps/sh/crti.S: Likewise.
70788         * sysdeps/sh/crtn.S: Likewise.
70789         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70791         [BZ #13673]
70792         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70793         with URL.
70794         * locale/programs/locfile-kw.gperf: Likewise.
70795         * locale/programs/charmap-kw.h: Regenerated.
70796         * locale/programs/locfile-kw.h: Likewise.
70798         [BZ #13673]
70799         * intl/plural.y: Replace FSF snail mail address with URL.
70800         * intl/plural.c: Regenerated.
70802 2012-03-09  Richard Henderson  <rth@twiddle.net>
70804         * include/math_private.h: Remove file.
70805         * math/math_private.h: Move file ...
70806         * sysdeps/generic/math_private.h: ... here.
70808         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70809         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70810         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70812         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70813         and <math_private.h>.
70814         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70815         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70816         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70817         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70818         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70819         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70820         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70821         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70822         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70823         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70824         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70825         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70826         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70827         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70828         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70829         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70830         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70831         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70832         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70833         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70834         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70835         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70836         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70837         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70838         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70839         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70840         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70841         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70842         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70843         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70844         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70845         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70846         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70847         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70848         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70849         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70850         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70851         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70852         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70853         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70854         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70855         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70856         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70857         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70858         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70859         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70860         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70861         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70862         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70863         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70864         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70865         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70866         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70867         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70868         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70869         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70870         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70871         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70872         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70873         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70874         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70875         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70876         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70877         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70878         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70879         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70880         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70881         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70882         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70883         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70884         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70885         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70886         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70887         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70888         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70889         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70890         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70891         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70892         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70893         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70894         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70895         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70896         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70897         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70898         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70899         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70900         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70901         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70902         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70903         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70904         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70905         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70906         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70907         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70908         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70909         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70910         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70911         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70912         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70913         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70914         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70915         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70916         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70917         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70918         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70919         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70920         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70921         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70922         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70923         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70924         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70925         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70926         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70927         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70928         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70929         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70930         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70931         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70932         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70933         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70934         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70935         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70936         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70937         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70938         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70939         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70940         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70941         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70942         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70943         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70944         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70945         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70946         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70947         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70948         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70949         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70950         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70951         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70952         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70953         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70954         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70955         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70956         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70957         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70958         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70959         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70960         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70961         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70962         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70963         * sysdeps/ieee754/k_standard.c: Likewise.
70964         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70965         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70966         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70967         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70968         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70969         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70970         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70971         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70972         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70973         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70974         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70975         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70976         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70977         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70978         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70979         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70980         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70981         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70982         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70983         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70984         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70985         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70986         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70987         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70988         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70989         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70990         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70991         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70992         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70993         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70994         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70995         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70996         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70997         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70998         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70999         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71000         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71001         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71002         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71003         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71004         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71005         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71006         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71007         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71008         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71009         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71010         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71011         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71012         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71013         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71014         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71015         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71016         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71017         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71018         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71019         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71020         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71021         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71022         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71023         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71024         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71025         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71026         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71027         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71028         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71029         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71030         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71031         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71032         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71033         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71034         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71035         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71036         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71037         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71038         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71039         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71040         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71041         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71042         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71043         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71044         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71045         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71046         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71047         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71048         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71049         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71050         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71051         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71052         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71053         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71054         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71055         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71056         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71057         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71058         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71059         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71060         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71061         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71062         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71063         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71064         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71065         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71066         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71067         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71068         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71069         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71070         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71071         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71072         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71073         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71074         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71075         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71076         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71077         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71078         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71079         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71080         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71081         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71082         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71083         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71084         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71085         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71086         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71087         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71088         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71089         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71090         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71091         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71092         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71093         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71094         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71095         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71096         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71097         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71098         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71099         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71100         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71101         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71102         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71103         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71104         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71105         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71106         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71107         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71108         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71109         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71110         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71111         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71112         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71113         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71114         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71115         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71116         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71117         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71118         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71119         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71120         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71121         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71122         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71123         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71124         * sysdeps/ieee754/s_lib_version.c: Likewise.
71125         * sysdeps/ieee754/s_matherr.c: Likewise.
71126         * sysdeps/ieee754/s_signgam.c: Likewise.
71127         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71128         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71129         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71130         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71131         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71132         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71133         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71134         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71135         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71136         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71137         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71138         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71139         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71140         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71141         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71142         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71143         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71144         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71145         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71146         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71147         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71149 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71151         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71152         * sunrpc/rpc_main.c: Likewise.
71153         * sunrpc/rpc_svcout.c: Likewise.
71155 2012-03-09  David S. Miller  <davem@davemloft.net>
71157         * include/math_private.h: New file.
71159 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71161         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71162         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71163         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71164         from <bits/socket_type.h>.
71165         (enum __socket_type): Don't define here.
71166         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71167         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71168         bits/socket_type.h.
71170         [BZ #13566]
71171         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71172         checking __USE_GNU.
71174         * Makerules ($(inst_includedir)/%.h): New rule.
71175         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71176         (install-others): Remove variable setting.
71177         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71179 2012-03-08  Richard Henderson  <rth@twiddle.net>
71181         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71182         from macro to inline function; merge with the
71183         !__LIBC_INTERNAL_MATH_INLINES version.
71184         (__ieee754_sqrtf): Likewise.
71186         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71187         to inline function.
71188         (__rintf, __floor, __floorf): Likewise.
71190         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71191         macro to inline function.
71192         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71194         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71195         not <math/math_private.h>.
71197 2012-03-08  David S. Miller  <davem@davemloft.net>
71199         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71200         copyright year.
71201         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71203 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71205         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71206         normalization.
71207         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71208         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71210 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71212         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71213         be defined individually, they must be defined as a block.  Define
71214         S for printing a string instead of hidint the different by using a
71215         macro for adding the 'l'.
71216         * stdio-common/tst-fphex-wide.c: Adjust.
71218 2012-03-07  Marek Polacek  <polacek@redhat.com>
71220         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71222 2012-03-08  Marek Polacek  <polacek@redhat.com>
71224         [BZ #13806]
71225         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71226         * stdio-common/tst-fphex.c: Define a few macros to make the
71227         test reusable.  Use them.
71228         * stdio-common/tst-fphex-wide.c: New file.
71230 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71232         [BZ #6911]
71233         * manual/macros.texi (gnusystems): New macro.
71234         (nongnusystems): Likewise.
71235         (gnulinuxhurdsystems): Likewise.
71236         (gnuhurdsystems): Likewise..
71237         (gnulinuxsystems): Likewise.
71238         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71239         variants of the GNU system, not "GNU system".
71240         * manual/conf.texi: Likewise.
71241         * manual/errno.texi: Likewise.  Update example of errno macro
71242         expansion.
71243         * manual/filesys.texi: Likewise.
71244         (getumask): Document as specific to GNU/Hurd.
71245         * manual/install.texi: Likewise.  Reword some references to
71246         GNU/Linux.
71247         * manual/intro.texi: Likewise.
71248         * manual/io.texi: Likewise.
71249         (File Name Portability): Detail which constraints are inapplicable
71250         to all GNU systems and which are only inapplicable to GNU/Hurd.
71251         * manual/job.texi: Likewise.
71252         * manual/llio.texi: Likewise.
71253         (O_NOCTTY): Document as present on GNU/Linux.
71254         * manual/maint.texi: Likewise.
71255         * manual/memory.texi: Likewise.
71256         * manual/pattern.texi: Likewise.
71257         * manual/pipe.texi: Likewise.
71258         * manual/process.texi: Likewise.
71259         * manual/resource.texi: Likewise.
71260         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71261         child on GNU/Hurd.
71262         * manual/setjmp.texi: Likewise.
71263         * manual/signal.texi: Likewise.
71264         * manual/startup.texi: Likewise.
71265         * manual/stdio.texi: Likewise.
71266         * manual/terminal.texi: Likewise.
71267         (ONLCR): Document as POSIX.
71268         (OXTABS): Document availability on GNU/Linux as XTABS.
71269         (ONOEOT): Document availability separately from other bits.
71270         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71271         * manual/time.texi: Likewise.
71272         * manual/users.texi: Likewise.
71273         * INSTALL: Regenerated.
71274         * sysdeps/gnu/errlist.c: Regenerated.
71276         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71277         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71278         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71279         puts.
71280         * configure: Regenerated.
71282 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71284         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71285         default includes instead of AC_HEADER_CHECK.
71286         * sysdeps/i386/configure: Regenerated.
71288         [BZ #10716]
71289         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71290         * math/s_cacoshf.c (__cacoshf): Likewise.
71291         * math/s_cacoshl.c (__cacoshl): Likewise.
71292         * math/s_casinh.c (__casinh): Set signs of result from argument.
71293         * math/s_casinhf.c (__casinhf): Likewise.
71294         * math/s_casinhl.c (__casinhl): Likewise.
71295         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71296         (casinh_test): Add more tests.
71297         * sysdeps/i386/fpu/libm-test-ulps: Update.
71298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71300 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71302         * po/zh_TW.po: Update from translation team.
71304         * login/Makefile (distribute): Remove variable.
71305         * catgets/Makefile: Likewise.
71306         * mach/Makefile: Likewise.
71307         * malloc/Makefile: Likewise.
71308         * misc/Makefile: Likewise.
71309         * iconv/Makefile: Likewise.
71310         * nscd/Makefile: Likewise.
71311         * hurd/Makefile: Likewise.
71312         * manual/Makefile: Likewise.
71313         * locale/Makefile: Likewise.
71314         * intl/Makefile: Likewise.
71315         * conform/Makefile: Likewise.
71316         * nss/Makefile: Likewise.
71317         * time/Makefile: Likewise.
71318         * soft-fp/Makefile: Likewise.
71319         * dirent/Makefile: Likewise.
71320         * gmon/Makefile: Likewise.
71321         * po/Makefile: Likewise.
71322         * rt/Makefile: Likewise.
71323         * socket/Makefile: Likewise.
71324         * math/Makefile: Likewise.
71325         * signal/Makefile: Likewise.
71326         * debug/Makefile: Likewise.
71327         * elf/Makefile: Likewise.
71328         * timezone/Makefile: Likewise.
71329         * stdlib/Makefile: Likewise.
71330         * iconvdata/Makefile: Likewise.
71331         * sunrpc/Makefile: Likewise.
71332         * io/Makefile: Likewise.
71333         * argp/Makefile: Likewise.
71334         * inet/Makefile: Likewise.
71335         * hesiod/Makefile: Likewise.
71336         * grp/Makefile: Likewise.
71337         * csu/Makefile: Likewise.
71338         * wctype/Makefile: Likewise.
71339         * crypt/Makefile: Likewise.
71340         * libio/Makefile: Likewise.
71341         * string/Makefile: Likewise.
71342         * nis/Makefile: Likewise.
71343         * resolv/Makefile: Likewise.
71344         * stdio-common/Makefile: Likewise.
71345         * wcsmbs/Makefile: Likewise.
71346         * dlfcn/Makefile: Likewise.
71347         * posix/Makefile: Likewise.
71349         [BZ #6959]
71350         * timezone/Makefile: Don't install timezone files, just the programs
71351         and scripts.
71353 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71355         * nss/databases.def: Add missing gshadow entry.
71357         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71359 2012-03-06  Marek Polacek  <polacek@redhat.com>
71361         [BZ #13726]
71362         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71363         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71364         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71365         * stdio-common/tst-long-dbl-fphex.c: New file.
71367 2012-03-06  David S. Miller  <davem@davemloft.net>
71369         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71370         (set_obp_int): New function.
71371         (get_obp_int): New function.
71372         (__get_clockfreq_via_dev_openprom): Likewise.
71373         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71374         Avoid unused variable warnings on 'val' and use builtin_expect.
71375         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71376         __builtin_expect.
71377         (INLINE_CLONE_SYSCALL): Likewise.
71379 2012-03-05  David S. Miller  <davem@davemloft.net>
71381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71383 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71387         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71388         only for |x| >= 40.
71389         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71391 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71393         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71394         Replace gettimeofday with __vdso_gettimeofday.
71396         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71397         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71398         __vdso_clock_gettime and __vdso_getcpu.
71400         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71401         time with __vdso_time.
71403 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71405         * manual/lang.texi (size_t): Note types to which size_t may be
71406         equivalent with the GNU C Library, but do not describe when
71407         differences between them are significant.
71409 2012-03-05  Andreas Jaeger  <aj@suse.de>
71411         * sysdeps/i386/fpu/libm-test-ulps: Update.
71413 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71415         [BZ #3976]
71416         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71417         (__ieee754_pow): Save and restore rounding mode and use
71418         round-to-nearest for main computations.
71419         * math/libm-test.inc (pow_test_tonearest): New function.
71420         (pow_test_towardzero): Likewise.
71421         (pow_test_downward): Likewise.
71422         (pow_test_upward): Likewise.
71423         (main): Call the new functions.
71424         * sysdeps/i386/fpu/libm-test-ulps: Update.
71425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71427         [BZ #3976]
71428         * math/libm-test.inc (cosh_test_tonearest): New function.
71429         (cosh_test_towardzero): Likewise.
71430         (cosh_test_downward): Likewise.
71431         (cosh_test_upward): Likewise.
71432         (sinh_test_tonearest): Likewise.
71433         (sinh_test_towardzero): Likewise.
71434         (sinh_test_downward): Likewise.
71435         (sinh_test_upward): Likewise.
71436         (main): Call the new functions.
71437         * sysdeps/i386/fpu/libm-test-ulps: Update.
71438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71440 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71442         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71443         default stack guard is set in last bytes.
71444         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71446 2012-03-05  Kees Cook  <keescook@chromium.org>
71448         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71450         [BZ #13656]
71451         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71452         possibly allocate from heap instead of stack.
71453         * stdio-common/bug-vfprintf-nargs.c: New file.
71454         * stdio-common/Makefile (tests): Add nargs overflow test.
71456 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71460 2012-03-03  Marek Polacek  <polacek@redhat.com>
71462         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71463         * math/math_private.h: Likewise.
71464         * stdlib/tst-strtod.c: Likewise.
71465         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71466         * sysdeps/x86_64/bits/atomic.h: Likewise.
71468 2012-03-02  David S. Miller  <davem@davemloft.net>
71470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71474         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71475         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71476         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71477         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71479 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71481         [BZ #13792]
71482         * manual/examples/README: New file, says the example source files
71483         can be used under GPL>=2.
71484         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71485         line containing just "*/".
71486         * manual/examples/add.c: Add copyright header (GPL>=2).
71487         * manual/examples/argp-ex1.c: Likewise.
71488         * manual/examples/argp-ex2.c: Likewise.
71489         * manual/examples/argp-ex3.c: Likewise.
71490         * manual/examples/argp-ex4.c: Likewise.
71491         * manual/examples/atexit.c: Likewise.
71492         * manual/examples/db.c: Likewise.
71493         * manual/examples/dir.c: Likewise.
71494         * manual/examples/dir2.c: Likewise.
71495         * manual/examples/execinfo.c: Likewise.
71496         * manual/examples/filecli.c: Likewise.
71497         * manual/examples/filesrv.c: Likewise.
71498         * manual/examples/fmtmsgexpl.c: Likewise.
71499         * manual/examples/genpass.c: Likewise.
71500         * manual/examples/inetcli.c: Likewise.
71501         * manual/examples/inetsrv.c: Likewise.
71502         * manual/examples/isockad.c: Likewise.
71503         * manual/examples/longopt.c: Likewise.
71504         * manual/examples/memopen.c: Likewise.
71505         * manual/examples/memstrm.c: Likewise.
71506         * manual/examples/mkfsock.c: Likewise.
71507         * manual/examples/mkisock.c: Likewise.
71508         * manual/examples/mygetpass.c: Likewise.
71509         * manual/examples/pipe.c: Likewise.
71510         * manual/examples/popen.c: Likewise.
71511         * manual/examples/rprintf.c: Likewise.
71512         * manual/examples/search.c: Likewise.
71513         * manual/examples/select.c: Likewise.
71514         * manual/examples/setjmp.c: Likewise.
71515         * manual/examples/sigh1.c: Likewise.
71516         * manual/examples/sigusr.c: Likewise.
71517         * manual/examples/stpcpy.c: Likewise.
71518         * manual/examples/strdupa.c: Likewise.
71519         * manual/examples/strftim.c: Likewise.
71520         * manual/examples/strncat.c: Likewise.
71521         * manual/examples/subopt.c: Likewise.
71522         * manual/examples/swapcontext.c: Likewise.
71523         * manual/examples/termios.c: Likewise.
71524         * manual/examples/testopt.c: Likewise.
71525         * manual/examples/testpass.c: Likewise.
71526         * manual/examples/timeval_subtract.c: Likewise.
71528         [BZ #13792]
71529         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71530         function to ...
71531         * manual/timeval_subtract.c.texi: ... here, new file.
71533 2012-03-02  David S. Miller  <davem@davemloft.net>
71535         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71537 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71539         [BZ #3976]
71540         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71541         (__sin): Save and restore rounding mode and use round-to-nearest
71542         for all computations.
71543         (__cos): Save and restore rounding mode and use round-to-nearest
71544         for all computations.
71545         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71546         <fenv.h>.
71547         (tan): Save and restore rounding mode and use round-to-nearest for
71548         all computations.
71549         * math/libm-test.inc (cos_test_tonearest): New function.
71550         (cos_test_towardzero): Likewise.
71551         (cos_test_downward): Likewise.
71552         (cos_test_upward): Likewise.
71553         (sin_test_tonearest): Likewise.
71554         (sin_test_towardzero): Likewise.
71555         (sin_test_downward): Likewise.
71556         (sin_test_upward): Likewise.
71557         (tan_test_tonearest): Likewise.
71558         (tan_test_towardzero): Likewise.
71559         (tan_test_downward): Likewise.
71560         (tan_test_upward): Likewise.
71561         (main): Call the new functions.
71562         * sysdeps/i386/fpu/libm-test-ulps: Update.
71563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71565         [BZ #10135]
71566         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71567         small n, then large n, before computing and testing k+n.
71568         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71569         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71570         Likewise.
71571         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71572         Likewise.
71573         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71574         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71575         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71576         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71577         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71578         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71579         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71580         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71581         * math/libm-test.inc (scalbn_test): Add more tests.
71582         (scalbln_test): Likewise.
71584         * manual/filesys.texi (mode_t): Describe constraints on size and
71585         signedness, not exact equivalence to a particular type.
71586         (ino_t): Likewise.
71587         (ino64_t): Likewise.
71588         (dev_t): Likewise.
71589         (nlink_t): Likewise.
71590         (blkcnt_t): Likewise.
71591         (blkcnt64_t): Likewise.
71592         * manual/llio.texi (off_t): Likewise.
71594         [BZ #3976]
71595         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71596         (__ieee754_exp): Save and restore rounding mode and use
71597         round-to-nearest for all computations.
71598         * math/libm-test.inc (exp_test_tonearest): New function.
71599         (exp_test_towardzero): Likewise.
71600         (exp_test_downward): Likewise.
71601         (exp_test_upward): Likewise.
71602         (main): Call the new functions.
71603         * sysdeps/i386/fpu/libm-test-ulps: Update.
71604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71606 2012-03-01  Chris Demetriou  <cgd@google.com>
71608         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71609         have predictable order.
71611 2012-03-01  David S. Miller  <davem@davemloft.net>
71613         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71615         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71616         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71617         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71618         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71620         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71621         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71622         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71624         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71625         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71626         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71627         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71628         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71632         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71633         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71634         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71636         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71637         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71638         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71639         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71640         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71641         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71642         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71643         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71644         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71645         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71646         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71647         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71648         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71649         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71650         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71651         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71652         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71653         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71654         * sysdeps/sparc/elf/configure: Regenerated.
71656 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71658         * configure.in (AS, LD): Require binutils 2.20 or later.
71659         * configure: Regenerated.
71660         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71661         as required minimum version.
71662         * INSTALL: Regenerated.
71664         [BZ #2541]
71665         [BZ #4108]
71666         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71667         before squaring exponent.
71668         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71669         bottom long double and 27 bits of top long double before squaring
71670         exponent.
71671         * math/libm-test.inc (erfc_test): Add more tests.
71672         * sysdeps/i386/fpu/libm-test-ulps: Update.
71673         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71676 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71678         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71679         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71680         containing bit-fields.
71681         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71682         * soft-fp/single.h (_FP_UNION_S): Likewise.
71683         * soft-fp/double.h (_FP_UNION_D): Likewise.
71685 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71687         [BZ #13786]
71688         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71689         not include ../strcmp.S.
71690         [USE_AS_STRNCASECMP_L]: Likewise.
71691         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71692         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71693         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71694         (__strncasecmp_l_ia32): Define as alias to
71695         __strncasecmp_l_nonascii.
71697         [BZ #5794]
71698         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71699         * sysdeps/i386/fpu/libm-test-ulps: Update.
71700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71702         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71705 2012-02-29  Jeff Law  <law@redhat.com>
71707         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71708         out of bounds read.
71710 2012-02-29  Marek Polacek  <polacek@redhat.com>
71712         [BZ #13706]
71713         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71714         * elf/Makefile: Add rules to run tst-unused-dep.out.
71716 2012-02-28  David S. Miller  <davem@davemloft.net>
71718         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71719         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71720         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71721         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71722         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71723         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71725 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71727         * math/libm-test.inc (llround_test): Move one test from
71728         lround_test.  Use TEST_f_L in moved test.
71729         (lround_test): Move misplaced test to llround_test.  Add testcase
71730         from bug 2561.
71732 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71734         * sysdeps/x86_64/fpu/e_expf.S: New file.
71735         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71737 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71739         [BZ #13637]
71740         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71741         of remain_len that may cause incomplete multi-byte character and
71742         false match.
71743         * posix/bug-regex33.c: New file.
71744         * posix/Makefile (tests): Add bug-regex33.
71746 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71748         * manual/macros.texi: New file.
71749         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71750         * manual/libc.texinfo: Include macros.texi.
71751         * manual/creatute.texi: Likewise.
71752         * manual/install.texi: Likewise.
71753         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71754         @glibcadj{} in references to the GNU C Library.
71755         * manual/charset.texi: Likewise.
71756         * manual/conf.texi: Likewise.
71757         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71758         when not using those macros.
71759         * manual/creature.texi: Likewise.
71760         * manual/crypt.texi: Likewise.
71761         * manual/errno.texi: Likewise.
71762         * manual/filesys.texi: Likewise.
71763         * manual/header.texi: Likewise.
71764         * manual/install.texi: Likewise.
71765         * manual/intro.texi: Likewise.
71766         * manual/io.texi: Likewise.
71767         * manual/job.texi: Likewise.
71768         * manual/lang.texi: Likewise.
71769         * manual/libc.texiinfo: Likewise.
71770         * manual/llio.texi: Likewise.
71771         * manual/locale.texi: Likewise.
71772         * manual/maint.texi: Likewise.
71773         * manual/math.texi: Likewise.
71774         * manual/memory.texi: Likewise.
71775         * manual/message.texi: Likewise.
71776         * manual/nss.texi: Likewise.
71777         * manual/pattern.texi: Likewise.
71778         * manual/process.texi: Likewise.
71779         * manual/resource.texi: Likewise.
71780         * manual/search.texi: Likewise.
71781         * manual/setjmp.texi: Likewise.
71782         * manual/signal.texi: Likewise.
71783         * manual/socket.texi: Likewise.
71784         * manual/startup.texi: Likewise.
71785         * manual/stdio.texi: Likewise.
71786         * manual/string.texi: Likewise.
71787         * manual/sysinfo.texi: Likewise.
71788         * manual/syslog.texi: Likewise.
71789         * manual/terminal.texi: Likewise.
71790         * manual/time.texi: Likewise.
71791         * manual/users.texi: Likewise.
71792         * INSTALL: Regenerated.
71793         * NOTES: Regenerated.
71794         * sysdeps/gnu/errlist.c: Regenerated.
71796 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71798         * include/dirent.h: Include <dirstream.h> before
71799         <dirent/dirent.h>.
71801 2012-02-28  David S. Miller  <davem@davemloft.net>
71803         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71804         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71805         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71806         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71808 2012-02-27  David S. Miller  <davem@davemloft.net>
71810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71812         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71813         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71816         frame pointer instead of stack pointer relative arg slot.
71817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71818         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71819         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71821 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71823         [BZ #3992]
71824         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71826 2012-02-27  David S. Miller  <davem@davemloft.net>
71828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71832         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71833         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71834         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71835         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71837 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71839         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71840         later.  Allow versions 5-9.
71841         * configure: Regenerated.
71842         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71843         required minimum version and 4.6 as recommended version.  Do not
71844         mention bugs in GCC 2.7 and 2.8.
71845         * INSTALL: Regenerated.
71847 2012-02-27  David S. Miller  <davem@davemloft.net>
71849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71853         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71854         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71855         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71856         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71858         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71859         manipulate bits before adding and subtracting TWO112[sx].
71860         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71862 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71864         [BZ #13775]
71865         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71866         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71867         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71868         being in POSIX, because they are in 1003.1-2008.
71870         * rt/tst-aio.c: Include <fcntl.h>.
71871         * rt/tst-aio7.c: Likewise.
71872         * rt/tst-aio64.c: Likewise.
71874         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71876 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71878         * manual/install.texi (--with-headers): Describe headers as
71879         interface headers, not private headers.
71880         (Specific advice for GNU/Linux systems): Describe use of headers
71881         from "make headers_install", not private headers from older
71882         kernels.
71883         * INSTALL: Regenerated.
71884         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71885         Change to 2.6.19.
71886         * sysdeps/unix/sysv/linux/configure: Regenerated.
71888         * manual/llio.texi (fclean): Remove documentation.
71890         * manual/Makefile (libc-texi-generated): New variable.  Include
71891         version.texi.
71892         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71893         $(libc-texi-generated), not duplicated list of files.
71894         (version.texi, stamp-version): New rules.
71895         (realclean): Remove $(libc-texi-generated), not individual files
71896         from that list.  Do not remove dir-add.texinfo.
71897         * manual/libc.texinfo: Comment out uses of edition numbers and
71898         references to printed manual.  Remove last-updated dates.
71899         (EDITION): Comment out.
71900         (ISBN): Likewise.
71901         (VERSION, UPDATED): Remove.
71902         (version.texi): Include.
71904 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71906         * sysdeps/posix/spawni.c: Include <signal.h>.
71907         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71908         * sysdeps/pthread/aio_fsync.c: Likewise.
71910 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71912         * conform/Makefile (tests): Run only when not cross-compiling and
71913         when fast-check is not defined.
71915         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71916         * conform/data/limits.h-data: Fixes for POSIX2008.
71917         * conform/run-conformtest.sh: Run all tests.
71918         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71919         headers.
71920         * include/bits/dlfcn.h: Likewise.
71921         * include/langinfo.h: Likewise.
71922         * include/monetary.h: Likewise.
71923         * include/sys/poll.h: Likewise.
71925         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71926         for __USE_GNU.
71927         * posix/spawn.h: Define __need_sigset_t.
71928         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71929         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71930         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71931         to get sigevent_t only.
71932         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71933         only for __USE_GNU.
71934         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71935         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71936         process_vm_writev only for __USE_GNU.
71937         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71939         * conform/Makefile: For now ignore errors from run-conformtest.
71940         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71941         POSIX to avoid namespace pollution.  Don't prepend headers.
71942         * conform/data/aio.h-data: Fixes for POSIX testing.
71943         * conform/data/fcntl.h-data: Likewise.
71944         * conform/data/glob.h-data: Likewise.
71945         * conform/data/grp.h-data: Likewise.
71946         * conform/data/pthread.h-data: Likewise.
71947         * conform/data/pwd.h-data: Likewise.
71948         * conform/data/signal.h-data: Likewise.
71949         * conform/data/spawn.h-data: Likewise.
71950         * conform/data/stdio.h-data: Likewise.
71951         * conform/data/stdlib.h-data: Likewise.
71952         * conform/data/stropts.h-data: Likewise.
71953         * conform/data/sys/mman.h-data: Likewise.
71954         * conform/data/sys/stat.h-data: Likewise.
71955         * conform/data/sys/types.h-data: Likewise.
71956         * conform/data/sys/wait.h-data: Likewise.
71957         * conform/data/time.h-data: Likewise.
71958         * conform/data/unistd.h-data: Likewise.
71959         * conform/data/utime.h-data: Likewise.
71961         * io/sys/stat.h: fchmod was always in POSIX.
71962         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71963         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71964         * rt/aio.h: Define __need_timespec before including <time.h>.
71965         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71966         struct.  Add forward declaration of pthread_attr_t and use it in
71967         sigevent.
71968         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71969         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71970         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71971         always remove CLK_TCK definition.
71973 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71975         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71977 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71979         * conform/run-conformtest.sh: New file.
71980         * conform/Makefile: Run run-conformtest for tests.
71981         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71982         support.
71984         * conform/data/uchar.h-data: New file.
71985         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71986         * conform/data/arpa/inet.h-data: Likewise.
71987         * conform/data/assert.h-data: Likewise.
71988         * conform/data/complex.h-data: Likewise.
71989         * conform/data/cpio.h-data: Likewise.
71990         * conform/data/ctype.h-data: Likewise.
71991         * conform/data/dirent.h-data: Likewise.
71992         * conform/data/dlfcn.h-data: Likewise.
71993         * conform/data/errno.h-data: Likewise.
71994         * conform/data/fcntl.h-data: Likewise.
71995         * conform/data/float.h-data: Likewise.
71996         * conform/data/fmtmsg.h-data: Likewise.
71997         * conform/data/fnmatch.h-data: Likewise.
71998         * conform/data/ftw.h-data: Likewise.
71999         * conform/data/glob.h-data: Likewise.
72000         * conform/data/grp.h-data: Likewise.
72001         * conform/data/iconv.h-data: Likewise.
72002         * conform/data/inttypes.h-data: Likewise.
72003         * conform/data/langinfo.h-data: Likewise.
72004         * conform/data/libgen.h-data: Likewise.
72005         * conform/data/limits.h-data: Likewise.
72006         * conform/data/locale.h-data: Likewise.
72007         * conform/data/math.h-data: Likewise.
72008         * conform/data/monetary.h-data: Likewise.
72009         * conform/data/mqueue.h-data: Likewise.
72010         * conform/data/ndbm.h-data: Likewise.
72011         * conform/data/net/if.h-data: Likewise.
72012         * conform/data/netdb.h-data: Likewise.
72013         * conform/data/netinet/in.h-data: Likewise.
72014         * conform/data/nl_types.h-data: Likewise.
72015         * conform/data/poll.h-data: Likewise.
72016         * conform/data/pthread.h-data: Likewise.
72017         * conform/data/pwd.h-data: Likewise.
72018         * conform/data/regex.h-data: Likewise.
72019         * conform/data/sched.h-data: Likewise.
72020         * conform/data/search.h-data: Likewise.
72021         * conform/data/semaphore.h-data: Likewise.
72022         * conform/data/setjmp.h-data: Likewise.
72023         * conform/data/signal.h-data: Likewise.
72024         * conform/data/spawn.h-data: Likewise.
72025         * conform/data/stdarg.h-data: Likewise.
72026         * conform/data/stdio.h-data: Likewise.
72027         * conform/data/stdlib.h-data: Likewise.
72028         * conform/data/string.h-data: Likewise.
72029         * conform/data/strings.h-data: Likewise.
72030         * conform/data/stropts.h-data: Likewise.
72031         * conform/data/sys/ipc.h-data: Likewise.
72032         * conform/data/sys/mman.h-data: Likewise.
72033         * conform/data/sys/msg.h-data: Likewise.
72034         * conform/data/sys/resource.h-data: Likewise.
72035         * conform/data/sys/select.h-data: Likewise.
72036         * conform/data/sys/sem.h-data: Likewise.
72037         * conform/data/sys/shm.h-data: Likewise.
72038         * conform/data/sys/socket.h-data: Likewise.
72039         * conform/data/sys/stat.h-data: Likewise.
72040         * conform/data/sys/statvfs.h-data: Likewise.
72041         * conform/data/sys/time.h-data: Likewise.
72042         * conform/data/sys/timeb.h-data: Likewise.
72043         * conform/data/sys/times.h-data: Likewise.
72044         * conform/data/sys/types.h-data: Likewise.
72045         * conform/data/sys/uio.h-data: Likewise.
72046         * conform/data/sys/un.h-data: Likewise.
72047         * conform/data/sys/utsname.h-data: Likewise.
72048         * conform/data/sys/wait.h-data: Likewise.
72049         * conform/data/syslog.h-data: Likewise.
72050         * conform/data/tar.h-data: Likewise.
72051         * conform/data/termios.h-data: Likewise.
72052         * conform/data/utime.h-data: Likewise.
72053         * conform/data/utmpx.h-data: Likewise.
72054         * conform/data/varargs.h-data: Likewise.
72055         * conform/data/wchar.h-data: Likewise.
72056         * conform/data/wctype.h-data: Likewise.
72057         * conform/data/wordexp.h-data: Likewise.
72059         * include/stropts.h: New file.
72060         * include/uchar.h: New file.
72061         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72062         * include/assert.h: Likewise.
72063         * include/ctype.h: Likewise.
72064         * include/dirent.h: Likewise.
72065         * include/dlfcn.h: Likewise.
72066         * include/fcntl.h: Likewise.
72067         * include/fnmatch.h: Likewise.
72068         * include/glob.h: Likewise.
72069         * include/grp.h: Likewise.
72070         * include/libio.h: Likewise.
72071         * include/locale.h: Likewise.
72072         * include/math.h: Likewise.
72073         * include/net/if.h: Likewise.
72074         * include/netdb.h: Likewise.
72075         * include/netinet/in.h: Likewise.
72076         * include/pthread.h: Likewise.
72077         * include/pwd.h: Likewise.
72078         * include/regex.h: Likewise.
72079         * include/sched.h: Likewise.
72080         * include/search.h: Likewise.
72081         * include/setjmp.h: Likewise.
72082         * include/signal.h: Likewise.
72083         * include/stdio.h: Likewise.
72084         * include/stdlib.h: Likewise.
72085         * include/string.h: Likewise.
72086         * include/sys/cdefs.h: Likewise.
72087         * include/sys/mman.h: Likewise.
72088         * include/sys/msg.h: Likewise.
72089         * include/sys/resource.h: Likewise.
72090         * include/sys/select.h: Likewise.
72091         * include/sys/socket.h: Likewise.
72092         * include/sys/stat.h: Likewise.
72093         * include/sys/statvfs.h: Likewise.
72094         * include/sys/time.h: Likewise.
72095         * include/sys/times.h: Likewise.
72096         * include/sys/uio.h: Likewise.
72097         * include/sys/utsname.h: Likewise.
72098         * include/sys/wait.h: Likewise.
72099         * include/termios.h: Likewise.
72100         * include/time.h: Likewise.
72101         * include/ulimit.h: Likewise.
72102         * include/unistd.h: Likewise.
72103         * include/utime.h: Likewise.
72104         * include/wchar.h: Likewise.
72105         * include/wctype.h: Likewise.
72106         * include/wordexp.h: Likewise.
72108         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72110         * time/time.h: TIME_UTC must be a macro.
72111         Make timespec_get available for ISO C11 only as well.
72113 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72115         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72116         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72118 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72120         * configure.in: Use -o not -a in test for unsupported multi-arch.
72122 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72124         * manual/texinfo.tex: Update to version 2012-01-19.16.
72126 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72128         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72130 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72132         [BZ #13738]
72133         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72134         * manual/fdl-1.3.texi: New file.
72135         * manual/fdl-1.1.texi: File removed.
72137         [BZ #13738]
72138         * manual/libc.texinfo (FDL_VERSION): New @set.
72139         Use it for mention of FDL in cover text.
72140         (Documentation License): Use it in @include file name.
72142 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72143             Roland McGrath  <roland@hack.frob.com>
72145         [BZ #5461]
72146         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72147         (not LONG_LONG_MAX and LONG_LONG_MIN.
72148         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72149         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72150         name.
72151         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72153 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72155         [BZ #2547]
72156         [BZ #11365]
72157         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72158         manipulate bits before adding and subtracting TWO23[sx].
72159         * math/libm-test.inc (nearbyint_test): Add more tests.
72161 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72163         [BZ #2548]
72164         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72165         bits before adding and subtracting TWO23[sx].
72166         * math/libm-test.inc (rint_test): Add more tests.
72167         (rint_test_tonearest): Likewise.
72168         (rint_test_towardzero): Likewise.
72169         (rint_test_downward): Likewise.
72170         (rint_test_upward: Likewise.
72172 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72174         [BZ #10110]
72175         * include/stdc-predef.h: New file.  Extracted from features.h.
72176         * include/features.h: Include stdc-predef.h.
72177         * Makefile (headers): Add stdc-predef.h.
72178         * CONFORMANCE (Compiler limitations): Update.
72180 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72182         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72184 2012-02-21  David S. Miller  <davem@davemloft.net>
72186         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72187         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72189 2012-02-20  David S. Miller  <davem@davemloft.net>
72191         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72192         using a normal save/restore sequence, rather than allocating a
72193         dummy stack frame just to store a frame pointer and restore.
72194         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72196 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72198         * manual/install.texi: Fix stray word in line-wrapped comment.
72200 2012-02-20  David S. Miller  <davem@davemloft.net>
72202         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72203         both binutils and gcc support GOTDATA.
72205         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72206         "rd %pc" in the PIC register setup sequences.
72208         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72209         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72210         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72211         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72212         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72213         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72214         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72215         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72216         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72217         (SYSCALL_ERROR_HANDLER): Likewise.
72218         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72219         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72221         (SYSCALL_ERROR_HANDLER): Likewise.
72223         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72224         (HAVE_GCC_GOTDATA): New.
72225         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72226         relocation support in both binutils and gcc.
72227         * sysdeps/sparc/elf/configure: Regenerate.
72229         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72230         * sysdeps/sparc/sparc32/elf/configure: Delete.
72231         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72232         * sysdeps/sparc/sparc64/elf/configure: Delete.
72233         * sysdeps/sparc/elf/configure.in: New file.
72234         * sysdeps/sparc/elf/configure: Generate.
72236         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72237         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72238         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72239         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72240         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72242 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72244         * manual/install.texi: Do not mention specific glibc version
72245         numbers.
72246         * manual/libc.texinfo (VERSION, UPDATED): Update.
72247         (@copying): Use @copyright{} and range of years.
72249 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72251         [BZ #13695]
72252         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72253         [crti.S not in sysdirs] (generated): Do not append.
72254         [crti.S not in sysdirs] (omit-deps): Likewise.
72255         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72256         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72257         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72258         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72259         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72260         Likewise.
72261         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72262         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72263         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72264         * csu/defs.awk: Remove file.
72265         * sysdeps/generic/initfini.c: Likewise.
72266         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72267         variable.
72268         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72269         Likewise.
72271 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72273         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72274         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72275         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72276         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72277         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72278         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72279         <bits/epoll.h>.
72280         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72281         (__EPOLL_PACKED): Define to empty if not defined by
72282         <bits/epoll.h>.
72283         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72284         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72285         bits/epoll.h.
72287 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72289         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72290         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72291         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72292         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72293         <bits/timerfd.h>.
72294         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72296         bits/timerfd.h.
72298 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72300         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72301         in C locale.
72302         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72303         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72304         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72307 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72309         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72310         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72312 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72314         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72315         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72316         defined.
72317         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72318         Likewise.
72319         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72320         entry for 2.16.
72322 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72324         * math/w_acos.c: Use non-signaling floating-point comparisons.
72325         * math/w_acosf.c: Likewise.
72326         * math/w_acosh.c: Likewise.
72327         * math/w_acoshf.c: Likewise.
72328         * math/w_acoshl.c: Likewise.
72329         * math/w_acosl.c: Likewise.
72330         * math/w_asin.c: Likewise.
72331         * math/w_asinf.c: Likewise.
72332         * math/w_asinl.c: Likewise.
72333         * math/w_atanh.c: Likewise.
72334         * math/w_atanhf.c: Likewise.
72335         * math/w_atanhl.c: Likewise.
72336         * math/w_exp2.c: Likewise.
72337         * math/w_exp2f.c: Likewise.
72338         * math/w_exp2l.c: Likewise.
72339         * math/w_j0.c: Likewise.
72340         * math/w_j0f.c: Likewise.
72341         * math/w_j0l.c: Likewise.
72342         * math/w_j1.c: Likewise.
72343         * math/w_j1f.c: Likewise.
72344         * math/w_j1l.c: Likewise.
72345         * math/w_jn.c: Likewise.
72346         * math/w_jnf.c: Likewise.
72347         * math/w_log.c: Likewise.
72348         * math/w_log10.c: Likewise.
72349         * math/w_log10f.c: Likewise.
72350         * math/w_log10l.c: Likewise.
72351         * math/w_log2.c: Likewise.
72352         * math/w_log2f.c: Likewise.
72353         * math/w_log2l.c: Likewise.
72354         * math/w_logf.c: Likewise.
72355         * math/w_logl.c: Likewise.
72356         * math/w_sqrt.c: Likewise.
72357         * math/w_sqrtf.c: Likewise.
72358         * math/w_sqrtl.c: Likewise.
72359         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72360         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72361         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72362         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72363         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72365 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72367         [BZ #9739]
72368         * manual/string.texi (strnlen): Use correct parameter name in
72369         equivalent expression.
72371 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72373         [BZ #11174]
72374         * manual/users.texi (seteuid): Consistently use neweuid for
72375         argument name.
72377 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72379         [BZ #13704]
72380         * manual/nss.texi (Services in the NSS configuration): Correct
72381         list of services in example configuration file.
72383 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72385         [BZ #11322]
72386         * manual/arith.texi: Remove statements about negative zero
72387         behaving identically to zero.
72389 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72391         [BZ #5993]
72392         * manual/install.texi: Do not document upgrading from libc5.
72394 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72396         [BZ #4596]
72397         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72399 2012-02-18  David S. Miller  <davem@davemloft.net>
72401         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72402         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72403         %o7 across the call.
72404         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72405         instead.
72406         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72407         SETUP_PIC_REG_LEAF.
72408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72409         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72410         * sysdeps/sparc/crtn.S: Likewise.
72412 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72414         * aout/Makefile: Remove.
72416 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72418         [BZ #13058]
72419         * manual/examples/argp-ex1.c (main): Format definition in GNU
72420         style.
72421         * manual/examples/argp-ex2.c (main): Likewise.
72422         * manual/examples/argp-ex3.c (main): Likewise.
72423         * manual/examples/argp-ex4.c (main): Likewise.
72424         * manual/examples/longopt.c (main): Use new-style prototype
72425         definition.
72426         * manual/examples/strncat.c (main): Specify return type and use
72427         (void) for arguments.
72428         * manual/examples/subopt.c (main): Use char **argv argument.
72430 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72432         [BZ #5077]
72433         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72434         rounding modes.
72436 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72438         [BZ #6907]
72439         * manual/string.texi (strchr): Change when strchrnul is
72440         recommended.
72442 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72444         [BZ #174]
72445         * manual/locale.texi (setlocale): Document LOCPATH.
72447 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72449         [BZ #10210]
72450         * manual/process.texi (execle): Move @dots{} before last argument.
72452 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72454         [BZ #12047]
72455         * manual/charset.texi (Generic Charset Conversion): Fix typo
72456         (LC_TYPE -> LC_CTYPE).
72458 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72460         [BZ #5805]
72461         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72462         (scalbnf): Likewise.
72463         (scalbnl): Likewise.
72464         (scalbln): Likewise.
72465         (scalblnf): Likewise.
72466         (scalblnl): Likewise.
72467         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72468         (vwarnx): Likewise.
72469         (verr): Likewise.
72470         (verrx): Likewise.
72471         * manual/filesys.texi (telldir): Use braces around return type.
72472         * manual/llio.texi (mmap): Add space after comma.
72473         (mmap64): Likewise.
72474         * manual/math.texi (jn): Use @var{} on parameter names.
72475         (jnf): Likewise.
72476         (jnl): Likewise.
72477         (yn): Likewise.
72478         (ynf): Likewise.
72479         (ynl): Likewise.
72480         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72481         line.
72482         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72483         "...".
72484         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72485         (sched_get_priority_max): Likewise.
72486         * manual/signal.texi (sigvec): Add space after comma.
72487         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72488         names.
72489         (if_indextoname): Likewise.
72490         (if_freenameindex): Likewise.
72491         (sendto): Use ',' instead of '.' in prototype.
72492         * manual/startup.texi (syscall): Use @dots{} instead of literal
72493         "...".
72494         * manual/stdio.texi (__fpending): Separate initial words of
72495         paragraph from @deftypefun line.
72496         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72497         "...".
72498         (vsyslog): Use @var{} on parameter names.
72499         * manual/terminal.texi (stty): Use @var{} on parameter names.
72500         * manual/users.texi (getutmp): Use @var{} on parameter names.
72501         (getutmpx): Likewise.
72503 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72505         [BZ #6884]
72506         * manual/stdio.texi (fopen): Fix typos in description of
72507         ",ccs=STRING".
72509 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72511         [BZ #4026]
72512         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72513         get clock_id definition.
72515 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72517         [BZ #4822]
72518         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72519         (madvise): Cast every argument to void on its own.
72521 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72523         [BZ #9902]
72524         * manual/startup.texi (Exit Status): Fix typo.
72526 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72528         [BZ #10140]
72529         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72530         * manual/examples/argp-ex2.c: Likewise.
72531         * manual/examples/argp-ex3.c: Likewise.
72533 2012-02-16  Richard Henderson  <rth@redhat.com>
72535         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72536         * sysdeps/s390/s390-32/initfini.c: Remove.
72537         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72538         * sysdeps/s390/s390-64/initfini.c: Remove.
72540 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72542         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72543         compiler output for sysdeps/generic/initfini.c.
72544         * sysdeps/sh/elf/initfini.c: Remove file.
72546 2012-02-16  David S. Miller  <davem@davemloft.net>
72548         [BZ #11494]
72549         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72551         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72552         * sysdeps/sparc/crti.S: New file.
72553         * sysdeps/sparc/crtn.S: New file.
72554         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72555         * sysdeps/sparc/sparc64/Makefile: Likewise.
72557 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72559         [BZ #3335]
72560         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72562 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72564         [BZ #4822]
72565         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72567         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72568         (write, read, close): Likewise.
72569         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72571 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72573         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72574         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72575         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72576         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72577         <bits/signalfd.h>.
72578         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72580         bits/signalfd.h.
72582 2012-02-14  Marek Polacek  <polacek@redhat.com>
72584         * sysdeps/x86_64/crti.S: New file.
72585         * sysdeps/x86_64/crtn.S: New file.
72586         * sysdeps/x86_64/elf/initfini.c: Remove file.
72588 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72590         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72591         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72592         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72593         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72594         <bits/inotify.h>.
72595         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72597         bits/inotify.h.
72599 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72601         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72602         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72603         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72604         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72605         <bits/eventfd.h>.
72606         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72608         bits/eventfd.h.
72610 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72612         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72613         __feraiseexcept instead of feraiseexcept.
72615         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72616         nanosleep invocations.
72617         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72618         strings, and add error checking for a nanosleep invocations.
72620 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72622         Replace FSF snail mail address with URLs, as per GNU coding standards.
72623         Most of the snail mail addresses were wrong anyway, and omitting
72624         them makes the source code easier to maintain.  Almost all of the
72625         changes are to license notices and to locale LC_IDENTIFICATION
72626         addresses, except for this one:
72627         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72628         not its snail mail address.
72630 2012-02-09  Richard Henderson  <rth@twiddle.net>
72632         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72633         of kernel-features.h.
72635         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72637 2012-02-08  Marek Polacek  <polacek@redhat.com>
72639         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72640         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72641         * sysdeps/gnu/_G_config.h: Likewise.
72642         * sysdeps/generic/_G_config.h: Likewise.
72644 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72646         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72647         tests.
72648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72650         * sysdeps/powerpc/powerpc32/crti.S: New file.
72651         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72652         * sysdeps/powerpc/powerpc64/crti.S: New file.
72653         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72655         * Makeconfig (have-initfini): Don't set.
72656         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72657         * configure.in (nopic_initfini): Don't substitute.
72658         * config.h.in (HAVE_INITFINI): Don't #undef.
72659         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72660         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72662 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72664         Support crti.S and crtn.S provided directly by architectures.
72665         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72666         [crti.S in sysdirs] (omit-deps): Likewise.
72667         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72668         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72669         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72670         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72671         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72672         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72673         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72674         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72675         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72676         compiler output for sysdeps/generic/initfini.c.
72677         * sysdeps/i386/elf/Makefile: Remove file.
72678         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72680 2012-02-07  Marek Polacek  <polacek@redhat.com>
72682         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72683         * sysdeps/gnu/_G_config.h: Likewise.
72684         * sysdeps/mach/hurd/_G_config.h: Likewise.
72686 2012-02-07  Marek Polacek  <polacek@redhat.com>
72688         * math/Makefile (tests): Add tst-CMPLX2.
72689         * math/tst-CMPLX2.c: New file.
72691 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72693         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72695         * math/libm-test.inc (jn_test): Add missing L suffix.
72697 2012-02-06  Marek Polacek  <polacek@redhat.com>
72699         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72700         * sysdeps/i386/fpu/e_powf.S: Likewise.
72701         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72702         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72703         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72704         * sysdeps/i386/fpu/e_pow.S: Likewise.
72705         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72706         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72707         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72708         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72709         * sysdeps/i386/fpu/e_log2.S: Likewise.
72710         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72711         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72712         * sysdeps/i386/fpu/e_powl.S: Likewise.
72713         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72714         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72715         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72716         * sysdeps/i386/fpu/e_logl.S: Likewise.
72717         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72718         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72719         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72720         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72721         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72722         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72723         * sysdeps/i386/fpu/e_log.S: Likewise.
72724         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72725         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72726         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72727         * sysdeps/i386/fpu/e_logf.S: Likewise.
72728         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72729         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72730         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72731         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72732         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72733         * sysdeps/i386/fpu/e_log10.S: Likewise.
72734         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72735         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72736         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72737         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72738         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72739         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72740         * sysdeps/i386/asm-syntax.h: Likewise.
72741         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72742         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72743         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72744         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72745         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72746         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72747         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72748         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72749         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72750         * sysdeps/powerpc/sysdep.h: Likewise.
72751         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72752         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72754 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72756         [BZ #411]
72757         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72759 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72761         * sysdeps/i386/sysdep.h: Include <features.h>.
72762         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72763         version.
72765 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72767         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72768         Define.
72769         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72770         LOAD_PIC_REG_STR.
72772 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72774         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72775         (SETUP_PIC_REG): Use GET_PC_THUNK.
72776         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72777         macro.
72779 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72781         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72782         for non-PIC compilation.
72783         (SETUP_PIC_REG): Add .p2align directive.
72784         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72785         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72786         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72787         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72788         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72789         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72790         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72791         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72792         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72793         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72794         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72795         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72796         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72797         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72798         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72799         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72800         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72801         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72802         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72803         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72804         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72805         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72806         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72807         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72808         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72809         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72810         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72811         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72812         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72813         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72814         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72815         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72816         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72817         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72818         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72819         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72820         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72821         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72822         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72823         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72824         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72826 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72828         * math/tst-CMPLX.c: Include <stdio.h>.
72830 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72832         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72833         float.
72834         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72835         * sysdeps/sparc/bits/mathdef.h: Likewise.
72837 2012-01-31  Marek Polacek  <polacek@redhat.com>
72839         * libio/libio.h: Don't define _PARAMS.
72840         * locale/programs/config.h: Don't define PARAMS.
72841         * stdlib/strtol_l.c: Likewise.
72842         (__strtol_l): Remove PARAMS from the prototype.
72844 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72846         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72847         names.  Just use the correct names.  Remove unnecessary wrapper
72848         functions.
72849         * malloc/arena.c: Likewise.
72850         * malloc/hooks.c: Likewise.
72852         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72853         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72854         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72856 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72858         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72859         into tail calls.
72860         (update_get_addr): New function.
72861         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72862         GET_ADDR_MODULE parameter.
72864 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72866         * crypt/cert.c: Remove __STDC__ conditionals.
72867         * crypt/crypt-entry.c: Likewise.
72868         * crypt/crypt_util.c: Likewise.
72869         * libio/filedoalloc.c: Likewise.
72870         * libio/fileops.c: Likewise.
72871         * libio/genops.c: Likewise.
72872         * libio/iofclose.c: Likewise.
72873         * libio/iofdopen.c: Likewise.
72874         * libio/iofopen.c: Likewise.
72875         * libio/iofopen64.c: Likewise.
72876         * libio/iogetdelim.c: Likewise.
72877         * libio/iopopen.c: Likewise.
72878         * libio/obprintf.c: Likewise.
72879         * libio/oldfileops.c: Likewise.
72880         * libio/oldiofclose.c: Likewise.
72881         * libio/oldiofdopen.c: Likewise.
72882         * libio/oldiofopen.c: Likewise.
72883         * libio/oldiopopen.c: Likewise.
72884         * libio/wfiledoalloc.c: Likewise.
72885         * libio/wgenops.c: Likewise.
72886         * locale/programs/xmalloc.c: Likewise.
72887         * misc/syslog.c: Likewise.
72888         * stdio-common/xbug.c: Likewise.
72889         * string/memchr.c: Likewise.
72890         * string/memcmp.c: Likewise.
72891         * string/memrchr.c: Likewise.
72892         * string/rawmemchr.c: Likewise.
72893         * sysdeps/posix/getcwd.c: Likewise.
72894         * time/strftime_l.c: Likewise.
72896 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72898         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72899         * config.make.in (config-cflags-sse2avx): Define.
72900         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72901         Fix typo.
72903 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72905         * scripts/config.guess: Update from upstream config git repository.
72906         * scripts/config.sub: Likewise.
72908 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72910         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72911         (EM_NUM): Update.
72912         (R_TILEPRO_*, R_TILEGX_*): New macros.
72914         * scripts/firstversions.awk: Fix bug in version range handling.
72916         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72918         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72920         * include/sys/epoll.h: New file.
72921         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72922         libc_hidden_def.
72924 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72926         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72927         Avoid unnecessary __WORDSIZE == 64 test.
72928         (fmaxf): Use VEX format if possible.
72929         (fmax): Likewise.
72930         (fminf): Likewise.
72931         (fmin): Likewise.
72933         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72934         * math/math_private.h: Remove libc_fegetround* and
72935         libc_fesetround*.
72936         * sysdeps/i386/configure.in: Check for -msse2avx.
72937         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72938         also if SSE2AVX is defined.
72939         Remove libc_fegetround* and libc_fesetround*.
72940         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72941         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72942         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72943         of HAS_YMM_USABLE.
72944         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72945         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72946         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72947         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72948         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72950         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72952 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72954         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72955         size is not set.
72956         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72958 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72960         [BZ #13618]
72961         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72962         relocation.
72963         * Makeconfig (libm): Define.
72964         * elf/Makefile: Add rules to build and run tst-relsort1.
72965         * elf/tst-relsort1.c: New file.
72966         * elf/tst-relsort1mod1.c: New file.
72967         * elf/tst-relsort1mod2.c: New file.
72969 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72971         * math/s_ldexp.c: Remove __STDC__ conditionals.
72972         * math/s_ldexpf.c: Likewise.
72973         * math/s_ldexpl.c: Likewise.
72974         * math/s_nextafter.c: Likewise.
72975         * math/s_nexttowardf.c: Likewise.
72976         * math/s_significand.c: Likewise.
72977         * math/s_significandf.c: Likewise.
72978         * math/s_significandl.c: Likewise.
72979         * math/w_jnl.c: Likewise.
72980         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72981         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72982         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72983         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72984         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72985         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72986         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72987         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72988         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72989         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72990         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72991         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72992         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72993         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72994         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72995         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72996         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72997         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72998         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72999         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73000         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73001         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73002         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73003         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73004         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73005         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73006         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73007         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73008         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73009         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73010         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73011         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73012         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73013         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73014         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73015         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73016         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73017         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73018         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73019         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73020         * sysdeps/ieee754/k_standard.c: Likewise.
73021         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73022         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73023         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73024         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73025         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73026         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73027         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73028         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73029         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73030         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73031         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73032         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73033         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73034         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73035         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73036         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73037         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73038         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73039         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73040         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73041         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73042         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73043         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73044         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73045         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73046         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73047         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73048         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73050         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73051         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73052         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73053         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73054         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73055         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73056         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73057         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73058         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73059         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73060         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73061         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73062         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73063         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73064         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73065         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73066         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73067         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73068         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73069         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73070         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73071         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73072         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73073         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73074         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73075         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73076         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73077         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73078         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73079         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73080         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73081         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73082         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73083         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73084         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73085         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73086         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73087         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73088         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73089         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73090         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73091         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73092         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73093         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73094         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73095         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73096         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73097         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73098         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73099         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73100         * sysdeps/ieee754/s_matherr.c: Likewise.
73101         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73102         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73103         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73104         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73106 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73108         * crypt/md5.h: Remove __STDC__ conditionals.
73109         * libio/libioP.h: Likewise.
73110         * locale/programs/config.h: Likewise.
73111         * sysdeps/generic/sysdep.h: Likewise.
73112         * sysdeps/i386/asm-syntax.h: Likewise.
73113         * sysdeps/s390/asm-syntax.h: Likewise.
73114         * sysdeps/unix/sysdep.h: Likewise.
73115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73118 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73120         * libio/libio.h: Remove __STDC__ conditionals.
73121         * malloc/obstack.h: Likewise.
73122         * math/complex.h: Likewise.
73123         * math/math.h: Likewise.
73124         * sysdeps/generic/_G_config.h: Likewise.
73125         * sysdeps/gnu/_G_config.h: Likewise.
73126         * sysdeps/mach/hurd/_G_config.h: Likewise.
73127         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73128         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73129         * sysdeps/sparc/bits/mathdef.h: Likewise.
73131 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73133         [BZ #13583]
73134         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73135         Clean up HAS_* macros.
73136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73137         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73138         possible.
73139         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73140         HAS_AVX.
73141         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73142         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73143         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73144         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73145         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73147 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73149         * elf/tst-unique3.cc (gets): Remove declaration.
73150         * elf/tst-unique3lib.cc (gets): Likewise.
73151         * elf/tst-unique3lib2.cc (gets): Likewise.
73152         * elf/tst-unique4.cc (gets): Likewise.
73154 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73156         * include/stdio.h: Add C++ protection.  Add gets declarations and
73157         definitions.
73158         * debug/tst-chk1.c: Don't declare gets here.
73159         * stdio-common/tst-gets.c: Likewise.
73161 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73163         * posix/glob: Remove directory.
73165 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73167         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73169 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73171         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73172         of the non-standard EPFNOSUPPORT.
73174 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73176         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73177         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73178         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73180 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73182         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73184 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73186         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73187         transient errors.
73188         * nscd/grpcache.c (cache_addgr): Likewise.
73189         * nscd/hstcache.c (cache_addhst): Likewise.
73190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73191         * nscd/pwdcache.c (cache_addpw): Likewise.
73192         * nscd/servicescache.c (cache_addserv): Likewise.
73194 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73196         * malloc/malloc.c: Various cleanups.
73197         * malloc/hooks.c: Likewise.
73199         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73200         * stdlib/bug-fmtmsg1.c: New file.
73202         * stdlib/fmtmsg.c (init): Add missing unlock.
73203         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73205 2012-01-12  Marek Polacek  <polacek@redhat.com>
73207         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73208         and _GNU_SOURCE.
73210 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73212         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73213         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73214         macro to ensure uniqueness of label name.
73215         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73216         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73218 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73220         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73222         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73223         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73224         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73225         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73227 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73229         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73231         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73232         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73233         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73235         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73237         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73238         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73239         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73240         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73242         * math/bits/math-finite.h: Add ldexp support.
73244 2012-01-10  Marek Polacek  <polacek@redhat.com>
73246         * locale/programs/localedef.h (show_archive_content): Add noreturn
73247         attribute.
73249 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73251         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73253 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73255         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73257         * io/Makefile (headers): Add bits/poll2.h.
73259 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73262         typo #include statement.
73264 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73266         * include/sys/cdefs.h: Define __attribute_alloc_size.
73267         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73268         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73269         * elf/pldd.c: Likewise.
73270         * iconv/iconv_charmap.c: Likewise.
73271         * iconv/iconvconfig.c: Likewise.
73272         * iconv/strtab.c: Likewise.
73273         * locale/programs/locale.c: Likewise.
73274         * locale/programs/localedef.h: Likewise.
73275         * locale/programs/simple-hash.c: Likewise.
73276         * nscd/nscd.h: Likewise.
73277         * nss/makedb.c: Likewise.
73278         * sysdeps/generic/ldconfig.h: Likewise.
73279         * locale/programs/localedef.c: Remove xmalloc prototype.
73280         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73282 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73284         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73285         appropriate.
73287 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73289         * math/Makefile (tests): Add tst-CMPLX.
73290         * math/tst-CMPLX.c: New file.
73292         * math/complex.h (CMPLXL): Fix typo.
73294         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73295         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73296         GLIBC_2.16.
73297         * debug/tst-chk1.c: Add poll and ppoll tests.
73298         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73299         * include/sys/poll.h: Add hidden proto for ppoll.
73300         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73301         * sysdeps/mach/hurd/ppoll.c: Likewise.
73302         * io/ppoll.c: Likewise.
73303         * debug/poll_chk.c: New file.
73304         * debug/ppoll_chk.c: New file.
73305         * include/bits/poll2.h: New file.
73306         * io/bits/poll2.h: New file.
73308         [BZ #1350]
73309         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73311         * configure.in: static is always set to yes.  Remove.
73312         * config.make.in: Don't set build-static.
73313         * Makeconfig: Remove use of build-static.
73314         * dlfcn/Makefile: Likewise.
73315         * elf/Makefile: Likewise.
73316         * math/Makefile: Likewise.
73317         * misc/Makefile: Likewise.
73318         * nptl/Makefile: Likewise.
73319         * sysdeps/mach/hurd/Makefile: Likewise.
73321         * configure.in: PWD_P is not used anymore.
73322         * config.make.in: Remove PWD_P entry.
73324         * configure.in: Remove last remnants of RANLIB.
73325         No need to check for signed size_t anymore.
73326         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73327         and IA-64.
73328         Remove __builtin_expect test because we require at least gcc 3.4.
73329         * aclocal.m4: Likewise.
73331         * wcsmbs/mbrtoc16.c: Implement using towc function.
73332         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73333         * wcsmbs/wcsmbsload.c: Likewise.
73334         * iconv/gconv_simple.c: Likewise.
73335         * iconv/gconv_int.h: Likewise.
73336         * iconv/gconv_builtin.h: Likewise.
73337         * iconv/iconv_prog.c: Remove CHAR16 handling.
73339         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73341         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73343         * configure.in: Remove --with-elf and --enable-bounded options.
73344         Dont set base_machine for ia64.  More non-ELF conditions removed.
73345         Remove testing and setting of leading underscore information.
73346         * config.make.in (build-bounded): Set to no.
73347         * config.h.in: Remove NO_UNDERSCORES entry.
73348         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73349         them.
73350         * csu/start.c: Remove !NO_UNDERSCORE code.
73351         * locale/localeinfo.h: Likewise.
73352         * sysdeps/generic/machine-gmon.h: Likewise.
73353         * sysdeps/generic/sysdep.h: Likewise.
73354         * sysdeps/i386/sysdep.h: Likewise.
73355         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73356         * sysdeps/mach/sysdep.h: Likewise.
73357         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73358         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73359         * sysdeps/sh/sysdep.h: Likewise.
73360         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73361         * sysdeps/unix/i386/sysdep.S: Likewise.
73362         * sysdeps/unix/sparc/start.c: Likewise.
73363         * sysdeps/unix/sparc/sysdep.S: Likewise.
73364         * sysdeps/unix/sparc/sysdep.h: Likewise.
73365         * sysdeps/unix/start.c: Likewise.
73366         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73367         * sysdeps/x86_64/sysdep.h: Likewise.
73369 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73371         [BZ #13553]
73372         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73373         for non-gcc.
73374         * argp/argp-fmtstream.h: Use const instead __const.
73375         * argp/argp.h: Likewise.
73376         * assert/assert.h: Likewise.
73377         * bits/fenv.h: Likewise.
73378         * bits/sched.h: Likewise.
73379         * bits/sigset.h: Likewise.
73380         * bits/sigthread.h: Likewise.
73381         * catgets/nl_types.h: Likewise.
73382         * conform/data/pthread.h-data: Likewise.
73383         * crypt/crypt-private.h: Likewise.
73384         * crypt/crypt.h: Likewise.
73385         * crypt/crypt_util.c: Likewise.
73386         * ctype/ctype.h: Likewise.
73387         * debug/execinfo.h: Likewise.
73388         * debug/mbsnrtowcs_chk.c: Likewise.
73389         * debug/mbsrtowcs_chk.c: Likewise.
73390         * debug/wcsnrtombs_chk.c: Likewise.
73391         * debug/wcsrtombs_chk.c: Likewise.
73392         * debug/wcstombs_chk.c: Likewise.
73393         * dirent/dirent.h: Likewise.
73394         * dlfcn/dlfcn.h: Likewise.
73395         * elf/neededtest4.c: Likewise.
73396         * grp/grp.h: Likewise.
73397         * gshadow/gshadow.h: Likewise.
73398         * iconv/gconv.h: Likewise.
73399         * iconv/gconv_int.h: Likewise.
73400         * iconv/gconv_simple.c: Likewise.
73401         * iconv/iconv.h: Likewise.
73402         * iconv/loop.c: Likewise.
73403         * iconv/skeleton.c: Likewise.
73404         * include/aio.h: Likewise.
73405         * include/aliases.h: Likewise.
73406         * include/argz.h: Likewise.
73407         * include/arpa/inet.h: Likewise.
73408         * include/assert.h: Likewise.
73409         * include/dirent.h: Likewise.
73410         * include/dlfcn.h: Likewise.
73411         * include/execinfo.h: Likewise.
73412         * include/fcntl.h: Likewise.
73413         * include/fenv.h: Likewise.
73414         * include/glob.h: Likewise.
73415         * include/grp.h: Likewise.
73416         * include/libintl.h: Likewise.
73417         * include/mntent.h: Likewise.
73418         * include/netdb.h: Likewise.
73419         * include/pwd.h: Likewise.
73420         * include/rpc/netdb.h: Likewise.
73421         * include/sched.h: Likewise.
73422         * include/search.h: Likewise.
73423         * include/shadow.h: Likewise.
73424         * include/signal.h: Likewise.
73425         * include/stdio.h: Likewise.
73426         * include/stdlib.h: Likewise.
73427         * include/string.h: Likewise.
73428         * include/sys/socket.h: Likewise.
73429         * include/sys/stat.h: Likewise.
73430         * include/sys/statfs.h: Likewise.
73431         * include/sys/statvfs.h: Likewise.
73432         * include/sys/syslog.h: Likewise.
73433         * include/sys/time.h: Likewise.
73434         * include/sys/uio.h: Likewise.
73435         * include/time.h: Likewise.
73436         * include/unistd.h: Likewise.
73437         * include/utmp.h: Likewise.
73438         * include/wchar.h: Likewise.
73439         * include/wctype.h: Likewise.
73440         * inet/aliases.h: Likewise.
73441         * inet/arpa/inet.h: Likewise.
73442         * inet/netinet/ether.h: Likewise.
73443         * inet/netinet/in.h: Likewise.
73444         * intl/libintl.h: Likewise.
73445         * io/bits/fcntl2.h: Likewise.
73446         * io/fcntl.h: Likewise.
73447         * io/ftw.h: Likewise.
73448         * io/sys/poll.h: Likewise.
73449         * io/sys/stat.h: Likewise.
73450         * io/sys/statfs.h: Likewise.
73451         * io/sys/statvfs.h: Likewise.
73452         * io/utime.h: Likewise.
73453         * libio/bits/stdio.h: Likewise.
73454         * libio/bits/stdio2.h: Likewise.
73455         * libio/libio.h: Likewise.
73456         * libio/libioP.h: Likewise.
73457         * libio/stdio.h: Likewise.
73458         * locale/lc-ctype.c: Likewise.
73459         * locale/locale.h: Likewise.
73460         * login/utmp.h: Likewise.
73461         * malloc/arena.c: Likewise.
73462         * malloc/malloc.c: Likewise.
73463         * malloc/malloc.h: Likewise.
73464         * malloc/mcheck.c: Likewise.
73465         * malloc/mtrace.c: Likewise.
73466         * math/bits/mathcalls.h: Likewise.
73467         * math/fenv.h: Likewise.
73468         * math/math_private.h: Likewise.
73469         * misc/bits/error.h: Likewise.
73470         * misc/bits/syslog.h: Likewise.
73471         * misc/err.h: Likewise.
73472         * misc/error.h: Likewise.
73473         * misc/fstab.h: Likewise.
73474         * misc/mntent.h: Likewise.
73475         * misc/regexp.h: Likewise.
73476         * misc/search.h: Likewise.
73477         * misc/sgtty.h: Likewise.
73478         * misc/sys/mman.h: Likewise.
73479         * misc/sys/syslog.h: Likewise.
73480         * misc/sys/uio.h: Likewise.
73481         * misc/sys/xattr.h: Likewise.
73482         * misc/ttyent.h: Likewise.
73483         * nis/rpcsvc/ypclnt.h: Likewise.
73484         * nss/nss.h: Likewise.
73485         * posix/bits/unistd.h: Likewise.
73486         * posix/fnmatch.h: Likewise.
73487         * posix/glob.h: Likewise.
73488         * posix/sched.h: Likewise.
73489         * posix/spawn.h: Likewise.
73490         * posix/sys/wait.h: Likewise.
73491         * posix/unistd.h: Likewise.
73492         * posix/wordexp.h: Likewise.
73493         * pwd/pwd.h: Likewise.
73494         * resolv/netdb.h: Likewise.
73495         * resource/sys/resource.h: Likewise.
73496         * rt/aio.h: Likewise.
73497         * rt/bits/mqueue2.h: Likewise.
73498         * rt/mqueue.h: Likewise.
73499         * shadow/shadow.h: Likewise.
73500         * signal/signal.h: Likewise.
73501         * socket/send.c: Likewise.
73502         * socket/sendto.c: Likewise.
73503         * socket/sys/socket.h: Likewise.
73504         * stdio-common/printf.h: Likewise.
73505         * stdlib/bits/stdlib.h: Likewise.
73506         * stdlib/fmtmsg.h: Likewise.
73507         * stdlib/monetary.h: Likewise.
73508         * stdlib/stdlib.h: Likewise.
73509         * stdlib/ucontext.h: Likewise.
73510         * streams/stropts.h: Likewise.
73511         * string/argz.h: Likewise.
73512         * string/bits/string2.h: Likewise.
73513         * string/string.h: Likewise.
73514         * string/strings.h: Likewise.
73515         * sunrpc/rpc/auth.h: Likewise.
73516         * sunrpc/rpc/auth_des.h: Likewise.
73517         * sunrpc/rpc/clnt.h: Likewise.
73518         * sunrpc/rpc/netdb.h: Likewise.
73519         * sunrpc/rpc/pmap_clnt.h: Likewise.
73520         * sunrpc/rpc/xdr.h: Likewise.
73521         * sysdeps/generic/inttypes.h: Likewise.
73522         * sysdeps/generic/net/if.h: Likewise.
73523         * sysdeps/generic/sys/swap.h: Likewise.
73524         * sysdeps/gnu/net/if.h: Likewise.
73525         * sysdeps/gnu/utmpx.h: Likewise.
73526         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73527         * sysdeps/i386/i486/bits/string.h: Likewise.
73528         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73529         * sysdeps/s390/bits/string.h: Likewise.
73530         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73531         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73532         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73533         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73534         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73535         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73536         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73537         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73538         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73539         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73540         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73541         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73542         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73543         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73544         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73545         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73546         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73548         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73549         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73550         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73551         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73552         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73553         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73554         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73555         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73556         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73557         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73558         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73559         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73560         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73561         * sysvipc/sys/ipc.h: Likewise.
73562         * sysvipc/sys/msg.h: Likewise.
73563         * sysvipc/sys/sem.h: Likewise.
73564         * sysvipc/sys/shm.h: Likewise.
73565         * termios/termios.h: Likewise.
73566         * time/sys/time.h: Likewise.
73567         * time/time.h: Likewise.
73568         * wcsmbs/bits/wchar2.h: Likewise.
73569         * wcsmbs/uchar.h: Likewise.
73570         * wcsmbs/wchar.h: Likewise.
73571         * wctype/wctype.h: Likewise.
73573         [BZ #13551]
73574         * Makeconfig: Remove all but ELF support including AIX support.
73575         * Makerules: Likewise.
73576         * config.h.in: Likewise.
73577         * config.make.in: Likewise.
73578         * configure: Likewise.
73579         * configure.in: Likewise.
73580         * csu/Makefile: Likewise.
73581         * csu/version.c: Likewise.
73582         * debug/Makefile: Likewise.
73583         * dlfcn/Makefile: Likewise.
73584         * elf/Makefile: Likewise.
73585         * extra-lib.mk: Likewise.
73586         * iconv/Makefile: Likewise.
73587         * include/libc-symbols.h: Likewise.
73588         * include/shlib-compat.h: Likewise.
73589         * resolv/Makefile: Likewise.
73590         * resolv/res_libc.c: Likewise.
73591         * rt/Makefile: Likewise.
73592         * sysdeps/i386/asm-syntax.h: Likewise.
73593         * sysdeps/i386/sysdep.h: Likewise.
73594         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73595         * sysdeps/mach/sysdep.h: Likewise.
73596         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73597         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73598         * sysdeps/s390/asm-syntax.h: Likewise.
73599         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73600         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73601         * sysdeps/sh/sysdep.h: Likewise.
73602         * sysdeps/unix/sparc/sysdep.h: Likewise.
73603         * sysdeps/wordsize-32/divdi3.c: Likewise.
73604         * sysdeps/x86_64/sysdep.h: Likewise.
73606         * argp/Versions: Remove _argp_unlock_xxx.
73608         [BZ #13559]
73609         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73610         * abilist/libBrokenLocale.abilist: Likewise.
73611         * abilist/libanl.abilist: Likewise.
73612         * abilist/libc.abilist: Likewise.
73613         * abilist/libcrypt.abilist: Likewise.
73614         * abilist/libdl.abilist: Likewise.
73615         * abilist/libm.abilist: Likewise.
73616         * abilist/libnsl.abilist: Likewise.
73617         * abilist/libpthread.abilist: Likewise.
73618         * abilist/libresolv.abilist: Likewise.
73619         * abilist/librt.abilist: Likewise.
73620         * abilist/libthread_db.abilist: Likewise.
73621         * abilist/libutil.abilist: Likewise.
73622         * abilist/libnss_db.abilist: New file.
73624         * scripts/abilist.awk: Add support for indirect functions.
73626         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73628         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73630         * shlib-versions: Remove entries for ports architectures.
73632         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73633         files in ports.
73634         * elf/stackguard-macros.h: Remove support for IA-64.
73635         * elf/tst-auditmod1.c: Likewise.
73636         * sysdeps/generic/ldsodefs.h: Likewise.
73638         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73639         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73640         configure files.
73642         [BZ #13552]
73643         * configure.in: Remove --enable-omitfp support.
73644         * FAQ.in: Adjust.
73645         * config.make.in: Likewise.
73646         * Makeconfig: Likewise.
73647         * manual/install.texi: Likewise.
73649         In case anyone cares, the IA-64 architecture could move to ports.
73650         * sysdeps/ia64/*: Removed.
73651         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73652         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73654         [BZ #13555]
73655         * configure.in: Remove entries for unsupported architectures.
73657         [BZ #13533]
73658         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73659         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73660         routines.
73661         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73662         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73663         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73664         fall back to using wcrtomb.
73665         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73666         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73667         renaming.
73668         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73669         * wcsmbs/tst-c16c32-1.c: New file.
73671         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73672         local variable.
73674         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73676         * elf/tst-unique3.cc: Add explicit declaration of gets.
73677         * elf/tst-unique3lib.cc: Likewise.
73678         * elf/tst-unique3lib2.cc: Likewise.
73679         * elf/tst-unique4.cc: Likewise.
73681         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73683 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73685         [BZ #13566]
73686         * assert/assert.h (static_assert): Don't define for C++.
73687         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73688         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73690 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73692         * iconv/loop.c (single loop): Fix assertion in storing of
73693         remaining bytes.
73695         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73697 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73699         * posix/getconf.c: Update copyright year.
73700         * nss/getent.c: Likewise.
73701         * nss/makedb.c: Likewise.
73702         * iconv/iconvconfig.c: Likewise.
73703         * iconv/iconv_prog.c: Likewise.
73704         * elf/ldconfig.c: Likewise.
73705         * elf/pldd.c: Likewise.
73706         * elf/sotruss.ksh: Likewise.
73707         * catgets/gencat.c: Likewise.
73708         * csu/version.c: Likewise.
73709         * elf/ldd.bash.in: Likewise.
73710         * elf/sprof.c (print_version): Likewise.
73711         * locale/programs/locale.c: Likewise.
73712         * locale/programs/localedef.c: Likewise.
73713         * login/programs/pt_chown.c: Likewise.
73714         * nscd/nscd.c (print_version): Likewise.
73715         * debug/xtrace.sh: Likewise.
73716         * malloc/memusage.sh: Likewise.
73717         * malloc/mtrace.pl: Likewise.
73718         * debug/catchsegv.sh: Likewise.
73720 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73722         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73723         pure attribute.
73725 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73727         [BZ #13533]
73728         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73729         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73730         transformations.
73731         * iconv/gconv_int.h: Likewise.
73732         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73733         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73734         from libc for GLIBC_2.16.
73735         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73736         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73737         * wcsmbs/uchar.h: Really define mbstate_t.
73738         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73739         * wcsmbs/c16rtomb.c: New file.
73740         * wcsmbs/mbrtoc16.c: New file.
73741         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73742         for C/POSIX locale.
73743         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73744         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73746         * wcsmbs/wchar.h: Add missing __restrict.
73748 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73750         [BZ #13532]
73751         * time/Makefile (routines): Add timespec_get.
73752         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73753         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73754         timespec for ISO C11.
73755         * time/timespec_get.c: New file.
73756         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73757         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73759         [BZ #13531]
73760         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73761         * stdlib/stdlib.h: Declare aligned_alloc.
73762         * Versions.def: Add GLIBC_2.16 for libc.
73763         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73765         [BZ 13527]
73766         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73767         ISO C11.
73769         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73770         code.
73772         [BZ #13528]
73773         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73775         [BZ #13529]
73776         * assert/assert.h (static_assert): Define.
73778         * version.h: Update for 2.16 development version.
73780         [BZ #13526]
73781         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73782         _ISOC11_SOURCE.
73784         * version.h (RELEASE): Bump for 2.15 release.
73785         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73787         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73788         Patch by Marek Polacek <mpolacek@redhat.com>.
73790         * bits/byteswap.h: Protect long long constants with __extension__.
73791         * sysdeps/i386/bits/byteswap.h: Likewise.
73792         * sysdeps/ia64/bits/byteswap.h: Likewise.
73793         * sysdeps/s390/bits/byteswap.h: Likewise.
73794         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73796 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73798         [BZ #13540]
73799         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73800         destination buffer.
73801         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73803 2011-12-23  Marek Polacek  <polacek@redhat.com>
73805         * elf/dl-addr.c (determine_info): Add inline keyword.
73806         * elf/tst-auditmod4b.c (check_avx): Likewise.
73807         * elf/tst-auditmod6b.c (check_avx): Likewise.
73808         * elf/tst-auditmod6c.c (check_avx): Likewise.
73809         * elf/tst-auditmod7b.c (check_avx): Likewise.
73811 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73813         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73814         !__SSE_MATH__.
73816 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73818         [BZ #13540]
73819         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73820         processing for last bytes.
73822 2011-08-06  Bruno Haible  <bruno@clisp.org>
73824         [BZ #13061]
73825         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73826         U+0385, not to U+1FEE.
73828         [BZ #13062]
73829         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73830         entry for U+00A5 U+0301.
73832 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73834         [BZ #13166]
73835         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73836         buffer for the output is too small.
73838         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73839         optimization.
73841         [BZ #13185]
73842         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73843         SSE flags if possible.
73845 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73847         [BZ #13540]
73848         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73849         processing for last bytes.
73851 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73853         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73854         (syscall-list-default-options, syscall-list-default-condition)
73855         (syscall-list-includes): Define.
73856         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73857         list of ABIs and options and #if conditions for each ABI.  Do not
73858         handle common syscalls between ABIs specially.
73859         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73860         Remove.
73861         (syscall-list-variants, syscall-list-32bit-options)
73862         (syscall-list-32bit-condition, syscall-list-64bit-options)
73863         (syscall-list-64bit-condition): Define.
73864         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73865         (syscall-list-variants, syscall-list-32bit-options)
73866         (syscall-list-32bit-condition, syscall-list-64bit-options)
73867         (syscall-list-64bit-condition): Define.
73868         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73869         Remove.
73870         (syscall-list-variants, syscall-list-32bit-options)
73871         (syscall-list-32bit-condition, syscall-list-64bit-options)
73872         (syscall-list-64bit-condition): Define.
73873         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73874         Remove.
73875         (syscall-list-variants, syscall-list-32bit-options)
73876         (syscall-list-32bit-condition, syscall-list-64bit-options)
73877         (syscall-list-64bit-condition): Define.
73879 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73881         * locale/iso-639.def: Add brx entry.
73883         [BZ #13328]
73884         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73885         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73887         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73888         __feraiseexcept_renamed.
73890 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73892         [BZ #13538]
73893         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73894         EPOLLET with unsigned values.
73895         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73896         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73898         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73899         to large cancellation.
73900         * math/s_cacoshf.c: Likewise.
73901         * math/s_cacoshl.c: Likewise.
73903 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73905         [BZ #13305]
73906         [BZ #12786]
73907         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73908         * math/s_cacoshf.c: Likewise.
73909         * math/s_cacoshl.c: Likewise.
73911 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73913         [BZ #13439]
73914         * iconv/gconv.h: Define __GCONV_SWAP.
73915         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73916         * iconvdata/utf-16.c: Likewise.
73917         * iconvdata/utf-32.c: Likewise.
73919 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73921         [BZ #13524]
73922         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73923         numerator after shifting it by one limb.
73925 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73927         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73928         under [__USE_EXTERN_INLINES].
73930 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73932         [BZ #13446]
73933         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73935 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73937         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73938         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73939         optimized code.
73940         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73941         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73942         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73943         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73944         for strncasecmp/strncasecmp_l compilation.
73945         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73946         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73948 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73950         [BZ #13484]
73951         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73952         of __asm__.
73954 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73956         [BZ #13506]
73957         * time/tzfile.c (__tzfile_read): Check values from file header.
73959 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73961         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73962         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73963         * powerpc/powerpc32/dl-start.S: Likewise.
73964         * powerpc/powerpc32/elf/start.S: Likewise.
73965         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73966         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73967         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73968         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73969         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73970         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73971         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73972         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73973         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73974         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73975         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73976         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73977         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73978         * powerpc/powerpc32/memset.S: Likewise.
73979         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73980         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73981         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73982         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73983         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73984         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73985         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73986         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73987         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73988         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73989         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73990         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73991         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73993 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73995         * math/libm-test.inc: Added more nearbyint tests.
73996         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73997         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73998         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73999         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74001 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74003         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74004         FD_CLOEXEC.
74006 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74008         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74009         Add wcscpy-ssse3 wcscpy-c.
74010         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74011         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74012         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74013         * sysdeps/x86_64/wcschr.S: New file.
74014         * sysdeps/x86_64/wcsrchr.S: New file.
74015         * string/test-strcmp.c: Remove checking of wcscmp function for
74016         wrong alignments.
74017         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74018         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74019         wcsrchr-sse2 wcsrchr-c.
74020         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74021         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74022         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74023         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74024         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74025         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74026         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74027         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74028         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74029         * wcsmbc/wcschr.c (WCSCHR): New macro.
74031 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74033         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74034         * wcsmbs/test-wcsrchr.c: New file.
74035         * string/test-strrchr.c: Add wcsrchr support.
74036         (WIDE): New macro.
74037         * wcsmbs/test-wcscpy.c: New file.
74038         * string/test-strcpy.c: Add wcscpy support.
74039         (WIDE): New macro.
74041 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74043         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74044         the inner loop.
74046 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74048         [BZ #13472]
74049         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74051 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74053         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74054         Minor optimizations.
74056         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74057         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74058         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74060 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74062         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74063         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74064         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74065         for gcc to avoid warnings.
74066         * inet/Makefile (tests): Add tst-checks.
74067         * inet/tst-checks.c: New file.
74069         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74070         warning.
74072         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74073         __wmemcmp_sse2.
74075         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74076         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74078         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74080 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74082         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74083         problem.
74085         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74087 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74089         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74090         conditional on GCC version.
74091         (__arch_compare_and_exchange_val_8_acq)
74092         (__arch_compare_and_exchange_val_16_acq)
74093         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74094         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74095         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74097 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74099         * sysdeps/sh/backtrace.c: New file.
74101 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74103         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74104         parenthesis.
74106 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74108         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74109         falling back to utime.
74111 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74113         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74114         expectations for float.
74116 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74118         * locale/weight.h (findidx): Add parameter len.
74119         * locale/weightwc.h (findidx): Likewise.
74120         * posix/fnmatch_loop.c (FCT): Adjust caller.
74121         * posix/regcomp.c (build_equiv_class): Likewise.
74122         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74123         * posix/regexec.c (check_node_accept_bytes): Likewise.
74124         * string/strcoll_l.c (STRCOLL): Likewise.
74125         * string/strxfrm_l.c (STRXFRM): Likewise.
74127 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74129         * Makefile.in: Remove CVSOPT handling.
74130         * configure.in: Remove use of AC_REVISION.
74131         * iconvdata/Makefile (distribute): No need to filter out CVS.
74132         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74133         handling.
74135 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74137         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74138         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74139         [USE_AS_STRNCASECMP_L]: Likewise.
74140         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74141         NO_TLS_DIRECT_SEG_REFS.
74142         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74143         Fix argument offsets for non-PIC.
74144         [USE_AS_STRNCASECMP_L]: Likewise.
74145         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74146         NO_TLS_DIRECT_SEG_REFS.
74148 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74150         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74151         O_CLOEXEC.
74152         * locale/loadlocale.c (_nl_load_locale): Likewise.
74154 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74156         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74157         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74158         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74159         (SYSCALL_GETTIME): Set errno on error.
74161         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74162         count references to noai6ai_cached.
74164 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74166         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74168         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74169         FD_CLOEXEC for /proc/self/maps.
74171         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74172         FD_CLOEXEC for /proc/meminfo.
74174         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74175         gai.conf.
74177         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74178         FD_CLOEXEC for given file.
74180         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74182         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74183         FD_CLOEXEC for /etc/hosts.
74184         (_gethtent): Likewise.
74186         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74188         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74189         cancellation and set FD_CLOEXEC for /etc/netgroup.
74191         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74192         reading /etc/publickey.
74194         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74195         allow cancellation when reading /etc/group.
74197         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74198         cancellation.
74199         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74201         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74202         when using data file.
74204         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74206         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74207         (write_nis_obj): Use "c" and "e" in fopen.
74209         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74211         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74213         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74215         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74217         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74218         locale.alias.
74220         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74222         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74224         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74226         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74227         file parsing and set FD_CLOEXEC.
74229 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74231         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74233 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74235         * malloc/arena.c (arena_get2): Don't call reused_arena when
74236         _int_new_arena failed.
74238 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74240         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74241         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74242         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74243         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74244         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74245         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74246         to compile strcasecmp and strncasecmp.
74247         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74248         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74252 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74254         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74255         locale-defines.sym to gen-as-const-headers.
74256         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74257         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74258         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74259         to compile strcasecmp and strncasecmp.
74260         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74261         strcasecmp_l and strncasecmp_l.
74262         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74263         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74264         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74265         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74266         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74267         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74268         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74269         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74270         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74271         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74272         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74274 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74276         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74277         result of SYSDEP_GETTIME_CPU to retval.
74278         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74279         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74281         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74282         variable.
74284         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74285         mantissa words.
74286         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74288         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74289         from unused variable.
74291         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74292         DWARF definitions.
74293         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74294         for assembling.
74296         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74297         over namespaces.
74299         * sunrpc/rpc_prot.c (rejected): Fix case value.
74301         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74302         unsigned long long int to avoid warnings in shift.
74304         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74305         of use of trans.
74306         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74307         variable tmp.
74309         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74310         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74311         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74313         * nis/nis_table.c (nis_list): Use variable of correct type for
74314         result of __follow_path call.
74316 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74318         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74319         of math functions ceil, trunc, floor, round, and sqrt, when
74320         avaliable on the platform.
74321         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74322         name clash.
74323         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74324         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74325         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74327 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74329         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74330         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74332 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74334         * include/unistd.h: Fix __readlink return type.
74335         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74337 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74339         * stdlib/ucontext.h: Undo last change for makecontext.
74341 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74343         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74345         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74346         * setjmp/setjmp.h: Mark functions as non-leaf.
74347         * setjmp/bits/setjmp2.h: Likewise.
74348         * stdlib/ucontext.h: Likewise.
74350 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74352         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74353         (reused_arena): Don't check arena limit.
74354         (arena_get2): Atomically check arena limit.
74356 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74358         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74359         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74362         instructions.
74364 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74366         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74367         handler when locking.
74369         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74370         Fix size of allocated buffer.
74372 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74374         [BZ #10103]
74375         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74376         declarations for long double functions.
74377         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74379         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74381 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74383         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74384         installed.
74386         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74387         is disabled.
74389 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74391         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74393 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74395         * include/alloca.h (stackinfo_alloca_round): Define.
74396         (extend_alloca): Use it.
74397         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74398         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74399         here.
74401         * scripts/check-local-headers.sh: Ignore libaudit.h.
74403         * nscd/Makefile (extra-objs): Make recursively expanded.
74405 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74407         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74408         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74410         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74411         * posix/tst-rfc3484-2.c: Likewise.
74412         * posix/tst-rfc3484-3.c: Likewise.
74414         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74415         process_vm_writev.
74416         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74417         process_vm_writev.
74418         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74419         process_vm_writev from libc using GLIBC_2.15 version.
74421         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74423 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74425         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74426         stack usage.
74428 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74430         [BZ #13367]
74431         * nss/getent.c (initgroups_keys): Show error message in case no group
74432         names are given.
74434         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74435         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74436         __bump_nl_timestamp.
74437         * nscd/connections (nscd_init): When host database is served open
74438         netlink socket and request notification about configuration changes.
74439         (main_loop_poll): Track netlink file descriptor and bump timestamp
74440         in case data becomes available.
74441         (main_loop_epoll): Likewise.
74442         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74443         (database_pers_head): Add extra_data fileds.
74444         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74445         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74446         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74447         Adjust caller.
74448         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74449         in6ai data, call __free_in6ai.
74450         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74451         Add -DHAVE_NETLINK.
74452         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74453         interface information.  Reuse previous data if netlink timestamp
74454         is not changed.
74455         (__bump_nl_timestamp): New function.
74456         (__free_in6ai): New function.
74458 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74460         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74461         close_not_cancel_no_status here.
74462         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74464 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74466         [BZ #13276]
74467         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74468         return value.
74470         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74471         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74472         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74474 2011-07-03  Andreas Jaeger  <aj@suse.de>
74476         [BZ #10709]
74477         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74478         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74479         * math/libm-test.inc (sin_test): Add test case.
74481 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74483         [BZ #13337]
74484         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74485         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74487         * elf/chroot_canon.c (chroot_canon): Cleanups.
74489         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74491         [BZ #13335]
74492         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74493         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74495         * string/test-strchr.c: Make usable for strchrnul testing.
74496         * string/test-strchrnul.c: New file.
74497         * string/Makefile (strop-tests): Add strchrnul.
74499         * po/it.po: Update from translation team.
74500         * po/es.po: Likewise.
74502 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74504         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74505         the three constants needed as parameters.  Drop the others.
74506         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74507         __m128i_strloadu_tolower.
74508         Create and initialize variable zero and use it in all the places
74509         where _mm_setzero_si128 was used.
74511         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74512         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74513         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74514         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74515         anymore.
74516         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74517         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74518         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74519         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74520         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74521         __mpranred, __mptan.
74522         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74523         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74524         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74525         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74526         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74527         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74528         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74529         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74530         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74532 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74534         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74535         redefine if SHARED.
74536         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74539         wide char related routines to wcsmbs subdir.
74541 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74543         [BZ #13344]
74544         * misc/sys/cdefs.h (__THROWNL): Define.
74545         * posix/unistd.h: Use __THREADNL instead of __THREAD
74546         for memory synchronization functions.
74548 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74550         [BZ #13349]
74551         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74552         doesn't exist.
74553         * manual/stdio.texi (Obstack Streams): Node removed.
74555 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74557         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74558         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74559         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74561         * math/math_private.h (math_force_eval): Allow non-addressable
74562         arguments.
74563         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74565 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74567         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74568         file is not needed.
74570         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74571         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74572         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74573         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74574         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74575         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74576         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74577         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74578         Add AVX variants.
74579         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74580         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74581         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74582         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74583         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74584         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74585         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74586         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74587         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74588         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74589         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74590         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74591         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74592         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74593         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74594         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74595         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74596         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74597         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74599         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74600         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74602         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74603         place.  Use VEX encoding when compiling for AVX.
74605 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74607         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74608         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74610         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74612 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74614         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74615         useless if() expression.
74616         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74617         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74618         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74619         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74620         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74621         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74622         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74623         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74624         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74625         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74626         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74627         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74628         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74629         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74630         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74631         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74632         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74633         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74634         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74636         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74638 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74640         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74641         condition.
74642         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74644 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74646         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74647         .text section.  Avoid duplicate constants.
74648         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74650         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74651         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74652         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74653         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74654         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74655         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74656         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74657         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74658         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74659         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74660         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74661         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74662         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74663         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74664         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74665         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74666         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74667         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74668         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74669         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74670         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74671         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74672         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74673         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74674         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74675         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74676         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74677         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74678         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74679         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74680         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74681         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74682         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74683         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74684         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74685         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74686         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74687         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74688         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74689         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74690         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74691         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74692         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74694 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74696         * sysdeps/x86_64/dla.h: Move to ...
74697         * sysdeps/x86_64/fpu/dla.h: ...here.
74698         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74699         situations.  Use __builtin_fma only for gcc 4.6 and up.
74701         * config.make.in: Add have-mfma4 entry.
74702         * configure.in: Substitute libc_cv_cc_fma4.
74703         * math/Makefile (dbl-only-routines): Add sincostab.
74704         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74705         Use __sincostab not sincos.
74706         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74707         name is a macro.
74708         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74709         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74710         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74712         using __copysign.
74713         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74714         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74715         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74716         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74717         and __inv.
74718         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74719         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74720         __copysign.
74721         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74722         define aliases when function name is a macro.
74723         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74724         sysdeps/ieee754/dbl-64/sincos.tbl.
74725         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74726         fma4-enabled routines.
74727         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74728         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74729         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74730         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74731         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74732         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74733         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74734         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74735         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74736         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74737         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74738         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74739         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74740         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74741         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74742         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74743         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74744         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74745         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74746         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74747         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74748         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74749         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74750         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74751         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74752         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74753         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74754         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74755         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74756         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74758         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74759         rename.
74760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74761         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74764         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74765         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74766         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74767         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74769 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74771         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74773 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74775         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74777         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74778         prediction.
74779         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74781         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74782         Remove unused variable magic_bits.
74783         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74785         * string/strnlen.c: Define and use STRNLEN macro.
74786         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74787         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74788         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74789         * wcsmbs/wcslen.c: Define and use WCSLEN.
74790         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74791         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74792         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74793         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74794         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74795         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74796         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74798 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74801         strnlen-sse2-no-bsf.
74802         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74803         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74804         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74805         Add strnlen support.
74806         (USE_AS_STRNLEN): New macro.
74807         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74808         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74809         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74810         * sysdeps/x86_64/wcslen.S: New file.
74812 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74814         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74815         XMM-moves are used for copying on small sizes.
74817 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74819         * wcsmbs/Makefile (strop-tests): Add wcschr.
74820         * wcsmbs/test-wcschr.c: New file.
74821         * string/test-strchr.c: Update.
74822         Add wcschr support.
74823         (WIDE): New macro.
74825 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74827         * wcsmbs/Makefile (strop-tests): Add wcslen.
74828         * wcsmbs/test-wcslen.c: New file.
74829         * string/test-strlen.c: Update.
74830         Add wcslen support.
74831         (WIDE): New macro.
74833 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74835         * po/it.po: Update from translation team.
74837 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74839         * sysdeps/x86_64/wcscmp.S: Update.
74840         Fix wrong comparison semantics.
74841         wcscmp shall use signed comparison not unsigned.
74842         Don't use substraction to avoid overflow bug.
74843         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74844         * wcsmbc/wcscmp.c: Likewise.
74845         * string/test-strcmp.c: Likewise.
74846         Add new tests to check cases with negative values.
74848 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74850         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74851         * sysdeps/x86_64/dla.h: ...here.  New file.
74852         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74853         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74854         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74855         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74856         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74857         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74858         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74859         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74860         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74862 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74864         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74865         __ynl_finite aliases.
74867 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74871         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74872         define DLA_FMA.
74873         [DLA_FMA] (EMULV): Use DLA_FMA.
74874         [DLA_FMA] (MUL12): Use EMULV.
74875         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74876         that are not needed.
74877         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74879         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74880         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74881         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74882         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74883         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74885 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74887         * math/s_nan.c: Undef __nan.
74888         * math/s_nanf.c: Undef __nanf.
74889         * math/s_nanl.c: Undef __nanl.
74890         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74891         "math_private.h".
74893 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74895         * math/s_catan.c: Add branch predictions.
74896         * math/s_catanf.c: Likewise.
74897         * math/s_catanh.c: Likewise.
74898         * math/s_catanhf.c: Likewise.
74899         * math/s_catanhl.c: Likewise.
74900         * math/s_catanl.c: Likewise.
74901         * math/s_cexp.c: Likewise.
74902         * math/s_cexpf.c: Likewise.
74903         * math/s_cexpl.c: Likewise.
74904         * math/s_clog.c: Likewise.
74905         * math/s_clog10.c: Likewise.
74906         * math/s_clog10f.c: Likewise.
74907         * math/s_clog10l.c: Likewise.
74908         * math/s_clogf.c: Likewise.
74909         * math/s_clogl.c: Likewise.
74910         * math/s_csqrt.c: Likewise.
74911         * math/s_csqrtf.c: Likewise.
74912         * math/s_csqrtl.c: Likewise.
74913         * math/s_ctanf.c: Likewise.
74914         * math/s_ctanh.c: Likewise.
74915         * math/s_ctanhf.c: Likewise.
74916         * math/s_ctanhl.c: Likewise.
74917         * math/s_ctanl.c: Likewise.
74919         * math/math_private.h: Define __nan, __nanf, __nanl.
74920         * math/s_cacosh.c: Include <math_private.h>.
74921         * math/s_cacoshl.c: Likewise.
74922         * math/s_casinh.c: Likewise.
74923         * math/s_casinhf.c: Likewise.
74924         * math/s_casinhl.c: Likewise.
74925         * math/s_ccos.c: Rely entire on ccosh.
74926         * math/s_ccosf.c: Rely entire on ccoshf.
74927         * math/s_ccosl.c: Rely entirely on ccoshl.
74928         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74929         Remove tests for FE_INVALID.
74930         * math/s_ccoshf.c: Likewise.
74931         * math/s_ccoshl.c: Likewise.
74932         * math/s_csin.c: Likewise.
74933         * math/s_csinf.c: Likewise.
74934         * math/s_csinh.c Likewise.
74935         * math/s_csinhf.c: Likewise.
74936         * math/s_csinhl.c: Likewise.
74937         * math/s_csinl.c: Likewise.
74938         * math/s_ctan.c: Likewise.
74939         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74940         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74941         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74943 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74946         compilation problems.
74948         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74949         __builtin_expect.
74951 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74953         * sysdeps/i386/configure.in: Test for -mfma4 option.
74954         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74955         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74956         COMMON_CPUID_INDEX_80000001.
74957         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74958         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74959         use it if FMA3 is not supported.
74960         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74962         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74963         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74965 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74967         [BZ #12892]
74968         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74969         it would create a cycle with a link time dependency.
74971 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74973         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74974         instruction.
74975         * string/Makefile (strop-tests): Add rawmemchr.
74976         * string/test-rawmemchr.c: New file.
74978         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74979         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74980         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74981         when compiling str{,n}casecmp and when AVX is available.  Hook up
74982         new optimized code in initializers.
74984 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74986         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74987         __feraiseexcept instead of feraiseexcept.
74989 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74991         * math/math_private.h: Define defaults for libc_fetestexcept and
74992         libc_feupdateenv.
74993         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74994         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74995         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74996         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74997         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74998         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74999         libc_fetestexcept and libc_feupdateenv.
75001         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75002         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75003         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75004         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75005         libc_feholdexcept_setround.
75007         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75008         Add s_nearbyint-c and s_nearbyintf-c.
75009         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75010         nearbyintf inlines.
75011         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75012         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75013         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75014         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75016         * math/math_private.h: Define defaults for libc_fegetround,
75017         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75018         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75019         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75020         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75021         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75022         standard functions.
75023         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75024         Remove comments and hacks for old compiler versions.
75025         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75026         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75027         libc_feholdexceptl.
75029 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75031         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75032         (__feraiseexcept_renamed): Add __NTH.
75033         (feraiseexcept): Add __NTH.  Rename local variables to fix
75034         namespace violations.
75036 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75038         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75040         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75042         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75043         recently added interfaces.
75044         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75046         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75047         about macro parameter expansion.
75049         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75050         __NO_MATH_INLINES is defined.  Cleanups.
75052         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75053         and __floorf is target has SSE4.1.
75054         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75055         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75056         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75057         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75059         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75060         name.
75061         (floorf): Likewise.
75063         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75065 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75067         * misc/sys/cdefs.h: Fix last change.
75069         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75070         database lookup.
75072 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75074         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75076         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75077         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75078         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75079         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75080         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75081         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75082         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75083         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75084         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75085         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75086         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75087         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75088         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75089         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75090         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75091         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75092         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75093         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75094         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75095         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75096         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75097         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75099         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75100         ceil, ceilf, floor, floorf.
75102         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75103         Perform IRELATIVE relocations last.
75105         * elf/do-rel.h: Add another parameter nrelative, replacing the
75106         local variable with the same name.  Change name of the function
75107         to end in Rel or Rela (uppercase).
75108         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75109         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75110         elf_dynamic_do_##reloc function.
75112 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75114         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75115         is sufficient, at least on modern CPUs.
75117         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75119         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75120         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75122         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75123         __expl_finite.
75124         * math/bits/math-finite.h: Add entries for exp.
75125         * math/e_expl.c: Add __*_finite alias.
75126         * sysdeps/i386/fpu/e_exp.S: Likewise.
75127         * sysdeps/i386/fpu/e_expf.S: Likewise.
75128         * sysdeps/i386/fpu/e_expl.c: Likewise.
75129         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75130         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75131         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75132         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75133         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75134         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75135         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75137         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75138         is sufficient, at least on modern CPUs.
75140         * ctype/ctype-info.c (__ctype_init): Define.
75141         * include/ctype.h (__ctype_init): Declare.
75142         (__ctype_b_loc): The variable is always initialized.
75143         (__ctype_toupper_loc): Likewise.
75144         (__ctype_tolower_loc): Likewise.
75145         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75146         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75148 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75150         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75152         * configure.in: Also look in $cxxmachine/include for C++ system
75153         headers.
75155 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75157         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75158         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75159         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75160         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75161         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75162         (USE_AS_WMEMCMP): New macro.
75163         Fixing indents.
75164         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75165         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75166         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75167         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75169         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75170         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75171         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75172         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75173         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75174         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75175         (USE_AS_WMEMCMP): New macro.
75176         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75177         * sysdeps/string/test-memcmp.c: Update.
75178         Fix simple_wmemcmp.
75179         Add new tests.
75180         * wcsmbs/wmemcmp.c: Update.
75181         (WMEMCMP): New macro.
75182         Fix overflow bug.
75184 2011-10-12  Andreas Jaeger  <aj@suse.de>
75186         [BZ #13268]
75187         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75189 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75191         * libio/iofwide.c (do_length): Avoid warning.
75193         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75195 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75197         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75199         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75200         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75201         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75202         * sysdeps/i386/i686/fpu/e_log.S: New file.
75203         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75204         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75206         * ctype/ctype.h: Add support for inlined isXXX functions when
75207         compiling C++ code.
75209 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75211         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75213         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75215 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75217         [BZ #13291]
75218         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75220 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75222         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75223         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75224         feraiseexcept.
75226         * sysdeps/x86_64/memrchr.S: Check for zero size.
75228         * string/stratcliff.c: Add memrchr tests.
75230 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75232         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75233         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75234         rawmemchr-sse2 rawmemchr-sse2-bsf.
75235         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75236         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75237         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75238         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75239         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75240         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75241         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75242         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75243         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75244         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75245         * string/memrchr.c (MEMRCHR): New macro.
75247 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75249         Add integration with gcc's -ffinite-math-only and optimize wrapper
75250         functions in libm.
75251         * Versions.def: Define GLIBC_2.15 version for libm.
75252         * math/Makefile (headers): Add bits/math-finite.h.
75253         * math/bits/math-finite.h: New file.
75254         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75255         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75256         * math/e_acoshl.c: Add __*_finite alias.
75257         * math/e_acosl.c: Likewise.
75258         * math/e_asinl.c: Likewise.
75259         * math/e_atan2l.c: Likewise.
75260         * math/e_atanhl.c: Likewise.
75261         * math/e_coshl.c: Likewise.
75262         * math/e_exp10.c: Likewise.
75263         * math/e_exp10f.c: Likewise.
75264         * math/e_exp10l.c: Likewise.
75265         * math/e_exp2l.c: Likewise.
75266         * math/e_fmodl.c: Likewise.
75267         * math/e_gammal_r.c: Likewise.
75268         * math/e_hypotl.c: Likewise.
75269         * math/e_j0l.c: Likewise.
75270         * math/e_j1l.c: Likewise.
75271         * math/e_jnl.c: Likewise.
75272         * math/e_lgammal_r.c: Likewise.
75273         * math/e_log10l.c: Likewise.
75274         * math/e_log2l.c: Likewise.
75275         * math/e_logl.c: Likewise.
75276         * math/e_powl.c: Likewise.
75277         * math/e_sinhl.c: Likewise.
75278         * math/e_sqrtl.c: Likewise.
75279         * math/e_scalb.c: Completely rewritten and optimized.
75280         * math/e_scalbf.c: Likewise.
75281         * math/e_scalbl.c: Likewise.
75282         * math/w_acos.c: Likewise.
75283         * math/w_acosf.c: Likewise.
75284         * math/w_acosl.c: Likewise.
75285         * math/w_acosh.c: Likewise.
75286         * math/w_acoshf.c: Likewise.
75287         * math/w_acoshl.c: Likewise.
75288         * math/w_asin.c: Likewise.
75289         * math/w_asinf.c: Likewise.
75290         * math/w_asinl.c: Likewise.
75291         * math/w_atan2.c: Likewise.
75292         * math/w_atan2f.c: Likewise.
75293         * math/w_atan2l.c: Likewise.
75294         * math/w_atanh.c: Likewise.
75295         * math/w_atanhf.c: Likewise.
75296         * math/w_atanhl.c: Likewise.
75297         * math/w_exp10.c: Likewise.
75298         * math/w_exp10f.c: Likewise.
75299         * math/w_exp10l.c: Likewise.
75300         * math/w_fmod.c: Likewise.
75301         * math/w_fmodf.c: Likewise.
75302         * math/w_fmodl.c: Likewise.
75303         * math/w_j0.c: Likewise.
75304         * math/w_j0f.c: Likewise.
75305         * math/w_j0l.c: Likewise.
75306         * math/w_j1.c: Likewise.
75307         * math/w_j1f.c: Likewise.
75308         * math/w_j1l.c: Likewise.
75309         * math/w_jn.c: Likewise.
75310         * math/w_jnf.c: Likewise.
75311         * math/w_log.c: Likewise.
75312         * math/w_logf.c: Likewise.
75313         * math/w_logl.c: Likewise.
75314         * math/w_log10.c: Likewise.
75315         * math/w_log10f.c: Likewise.
75316         * math/w_log10l.c: Likewise.
75317         * math/w_log2.c: Likewise.
75318         * math/w_log2f.c: Likewise.
75319         * math/w_log2l.c: Likewise.
75320         * math/w_pow.c: Likewise.
75321         * math/w_powf.c: Likewise.
75322         * math/w_powl.c: Likewise.
75323         * math/w_remainder.c: Likewise.
75324         * math/w_remainderf.c: Likewise.
75325         * math/w_remainderl.c: Likewise.
75326         * math/w_scalb.c: Likewise.
75327         * math/w_scalbf.c: Likewise.
75328         * math/w_scalbl.c: Likewise.
75329         * math/w_sqrt.c: Likewise.
75330         * math/w_sqrtf.c: Likewise.
75331         * math/w_sqrtl.c: Likewise.
75332         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75333         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75334         used.
75335         * math/math_private.h: Declare __kernel_standard_f.
75336         * math/w_cosh.c: Remove cruft and optimize a bit.
75337         * math/w_coshf.c: Likewise.
75338         * math/w_coshl.c: Likewise.
75339         * math/w_exp2.c: Likewise.
75340         * math/w_exp2f.c: Likewise.
75341         * math/w_exp2l.c: Likewise.
75342         * math/w_hypot.c: Likewise.
75343         * math/w_hypotf.c: Likewise.
75344         * math/w_hypotl.c: Likewise.
75345         * math/w_lgamma.c: Likewise.
75346         * math/w_lgamma_r.c: Likewise.
75347         * math/w_lgammaf.c: Likewise.
75348         * math/w_lgammaf_r.c: Likewise.
75349         * math/w_lgammal.c: Likewise.
75350         * math/w_lgammal_r.c: Likewise.
75351         * math/w_sinh.c: Likewise.
75352         * math/w_sinhf.c: Likewise.
75353         * math/w_sinhl.c: Likewise.
75354         * math/w_tgamma.c: Likewise.
75355         * math/w_tgammaf.c: Likewise.
75356         * math/w_tgammal.c: Likewise.
75357         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75358         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75359         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75360         Minor optimizations.  Pretty printing.  Remove cruft.
75361         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75362         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75363         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75364         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75365         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75366         * sysdeps/i386/fpu/e_asin.S: Likewise.
75367         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75368         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75369         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75370         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75371         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75372         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75373         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75374         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75375         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75376         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75377         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75378         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75379         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75380         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75381         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75382         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75383         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75384         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75385         * sysdeps/i386/fpu/e_log.S: Likewise.
75386         * sysdeps/i386/fpu/e_log10.S: Likewise.
75387         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75388         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75389         * sysdeps/i386/fpu/e_log2.S: Likewise.
75390         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75391         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75392         * sysdeps/i386/fpu/e_logf.S: Likewise.
75393         * sysdeps/i386/fpu/e_logl.S: Likewise.
75394         * sysdeps/i386/fpu/e_pow.S: Likewise.
75395         * sysdeps/i386/fpu/e_powf.S: Likewise.
75396         * sysdeps/i386/fpu/e_powl.S: Likewise.
75397         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75398         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75399         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75400         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75401         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75402         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75403         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75404         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75405         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75406         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75407         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75408         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75409         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75410         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75411         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75412         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75413         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75414         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75415         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75416         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75417         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75418         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75419         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75420         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75421         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75422         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75423         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75424         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75425         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75426         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75427         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75428         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75429         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75430         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75431         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75432         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75433         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75434         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75435         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75436         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75437         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75438         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75439         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75440         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75441         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75442         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75443         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75444         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75445         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75446         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75447         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75448         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75449         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75450         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75451         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75452         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75453         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75454         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75455         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75456         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75457         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75458         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75459         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75460         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75461         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75462         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75463         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75464         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75465         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75466         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75467         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75468         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75469         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75470         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75471         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75472         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75473         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75474         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75475         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75476         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75477         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75478         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75479         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75480         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75481         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75482         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75483         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75484         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75485         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75486         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75487         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75488         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75489         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75490         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75491         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75492         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75493         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75494         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75495         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75496         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75497         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75498         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75499         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75500         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75501         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75502         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75503         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75504         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75505         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75506         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75507         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75508         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75509         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75510         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75511         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75512         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75513         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75514         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75515         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75516         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75517         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75518         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75519         (__isnanf): Likewise.
75520         (__isinf_ns): Likewise.
75521         (__isinf_nsf): Likewise.
75522         (__finite): Likewise.
75523         (__finitef): Likewise.
75524         (__ieee754_sqrt): Define as macro.
75525         (__ieee754_sqrtf): Define as macro.
75526         (__ieee754_sqrtl): Define as macro.
75527         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75528         inlined copy.
75529         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75530         __FINITE_MATH_ONLY__ consistent.
75531         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75533 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75535         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75536         of rawmemchr.
75538         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75540 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75542         * po/ja.po: Update from translation team.
75544 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75546         * locale/programs/locarchive.c (prepare_address_space): New function.
75547         (create_archive, enlarge_archive, open_archive): Use it.
75549         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75550         inside [SHARED], where it is used.
75552         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75554         * nss/getent.c (netgroup_keys): Remove unused variable.
75555         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75557 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75559         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75560         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75561         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75562         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75563         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75564         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75565         * math/Makefile (libm-calls): Add s_isinf_ns.
75566         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75567         * math/multc3.c: Likewise.
75568         * math/s_casin.c: Likewise.
75569         * math/s_casinf.c: Likewise.
75570         * math/s_casinl.c: Likewise.
75571         * math/s_ccos.c: Likewise.
75572         * math/s_ccosf.c: Likewise.
75573         * math/s_ccosl.c: Likewise.
75574         * math/s_ctan.c: Likewise.
75575         * math/s_ctanf.c: Likewise.
75576         * math/s_ctanh.c: Likewise.
75577         * math/s_ctanhf.c: Likewise.
75578         * math/s_ctanhl.c: Likewise.
75579         * math/s_ctanl.c: Likewise.
75580         * math/w_fmod.c: Likewise.
75581         * math/w_fmodf.c: Likewise.
75582         * math/w_fmodl.c: Likewise.
75583         * math/w_remainder.c: Likewise.
75584         * math/w_remainderf.c: Likewise.
75585         * math/w_remainderl.c: Likewise.
75586         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75587         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75588         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75589         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75590         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75591         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75592         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75593         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75595         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75596         of the number.
75597         * stdio-common/printf_fphex.c: Likewise.
75598         * stdio-common/printf_size.c: Likewise.
75600         * math/e_exp10.c: Include math_private.h using <...> not "...".
75601         * math/e_exp10f.c: Likewise.
75602         * math/e_exp10l.c: Likewise.
75603         * math/e_exp2l.c: Likewise.
75604         * math/e_j0l.c: Likewise.
75605         * math/e_j1l.c: Likewise.
75606         * math/e_jnl.c: Likewise.
75607         * math/e_lgammal_r.c: Likewise.
75608         * math/e_rem_pio2l.c: Likewise.
75609         * math/e_scalb.c: Likewise.
75610         * math/e_scalbf.c: Likewise.
75611         * math/e_scalbl.c: Likewise.
75612         * math/k_cosl.c: Likewise.
75613         * math/k_sinl.c: Likewise.
75614         * math/k_tanl.c: Likewise.
75615         * math/s_cacoshf.c: Likewise.
75616         * math/s_catan.c: Likewise.
75617         * math/s_catanf.c: Likewise.
75618         * math/s_catanh.c: Likewise.
75619         * math/s_catanhf.c: Likewise.
75620         * math/s_catanhl.c: Likewise.
75621         * math/s_catanl.c: Likewise.
75622         * math/s_ccosh.c: Likewise.
75623         * math/s_ccoshf.c: Likewise.
75624         * math/s_ccoshl.c: Likewise.
75625         * math/s_cexp.c: Likewise.
75626         * math/s_cexpf.c: Likewise.
75627         * math/s_cexpl.c: Likewise.
75628         * math/s_clog.c: Likewise.
75629         * math/s_clog10.c: Likewise.
75630         * math/s_clog10f.c: Likewise.
75631         * math/s_clog10l.c: Likewise.
75632         * math/s_clogf.c: Likewise.
75633         * math/s_clogl.c: Likewise.
75634         * math/s_csin.c: Likewise.
75635         * math/s_csinf.c: Likewise.
75636         * math/s_csinh.c: Likewise.
75637         * math/s_csinhf.c: Likewise.
75638         * math/s_csinhl.c: Likewise.
75639         * math/s_csinl.c: Likewise.
75640         * math/s_csqrt.c: Likewise.
75641         * math/s_csqrtf.c: Likewise.
75642         * math/s_csqrtl.c: Likewise.
75643         * math/s_ctan.c: Likewise.
75644         * math/s_ctanf.c: Likewise.
75645         * math/s_ctanh.c: Likewise.
75646         * math/s_ctanhf.c: Likewise.
75647         * math/s_ctanhl.c: Likewise.
75648         * math/s_ctanl.c: Likewise.
75649         * math/s_ldexp.c: Likewise.
75650         * math/s_ldexpf.c: Likewise.
75651         * math/s_ldexpl.c: Likewise.
75652         * math/s_significand.c: Likewise.
75653         * math/s_significandf.c: Likewise.
75654         * math/s_significandl.c: Likewise.
75655         * math/w_acos.c: Likewise.
75656         * math/w_acosf.c: Likewise.
75657         * math/w_acosh.c: Likewise.
75658         * math/w_acoshf.c: Likewise.
75659         * math/w_acoshl.c: Likewise.
75660         * math/w_acosl.c: Likewise.
75661         * math/w_asin.c: Likewise.
75662         * math/w_asinf.c: Likewise.
75663         * math/w_asinl.c: Likewise.
75664         * math/w_atan2.c: Likewise.
75665         * math/w_atan2f.c: Likewise.
75666         * math/w_atan2l.c: Likewise.
75667         * math/w_atanh.c: Likewise.
75668         * math/w_atanhf.c: Likewise.
75669         * math/w_atanhl.c: Likewise.
75670         * math/w_cosh.c: Likewise.
75671         * math/w_coshf.c: Likewise.
75672         * math/w_coshl.c: Likewise.
75673         * math/w_dremf.c: Likewise.
75674         * math/w_exp10.c: Likewise.
75675         * math/w_exp10f.c: Likewise.
75676         * math/w_exp10l.c: Likewise.
75677         * math/w_exp2.c: Likewise.
75678         * math/w_exp2f.c: Likewise.
75679         * math/w_fmod.c: Likewise.
75680         * math/w_fmodf.c: Likewise.
75681         * math/w_fmodl.c: Likewise.
75682         * math/w_hypot.c: Likewise.
75683         * math/w_hypotf.c: Likewise.
75684         * math/w_hypotl.c: Likewise.
75685         * math/w_j0.c: Likewise.
75686         * math/w_j0f.c: Likewise.
75687         * math/w_j0l.c: Likewise.
75688         * math/w_j1.c: Likewise.
75689         * math/w_j1f.c: Likewise.
75690         * math/w_j1l.c: Likewise.
75691         * math/w_jn.c: Likewise.
75692         * math/w_jnf.c: Likewise.
75693         * math/w_jnl.c: Likewise.
75694         * math/w_lgamma.c: Likewise.
75695         * math/w_lgamma_r.c: Likewise.
75696         * math/w_lgammaf.c: Likewise.
75697         * math/w_lgammaf_r.c: Likewise.
75698         * math/w_lgammal.c: Likewise.
75699         * math/w_lgammal_r.c: Likewise.
75700         * math/w_log.c: Likewise.
75701         * math/w_log10.c: Likewise.
75702         * math/w_log10f.c: Likewise.
75703         * math/w_log10l.c: Likewise.
75704         * math/w_log2.c: Likewise.
75705         * math/w_log2f.c: Likewise.
75706         * math/w_log2l.c: Likewise.
75707         * math/w_logf.c: Likewise.
75708         * math/w_logl.c: Likewise.
75709         * math/w_pow.c: Likewise.
75710         * math/w_powf.c: Likewise.
75711         * math/w_powl.c: Likewise.
75712         * math/w_remainder.c: Likewise.
75713         * math/w_remainderf.c: Likewise.
75714         * math/w_remainderl.c: Likewise.
75715         * math/w_scalb.c: Likewise.
75716         * math/w_scalbf.c: Likewise.
75717         * math/w_scalbl.c: Likewise.
75718         * math/w_sinh.c: Likewise.
75719         * math/w_sinhf.c: Likewise.
75720         * math/w_sinhl.c: Likewise.
75721         * math/w_sqrt.c: Likewise.
75722         * math/w_sqrtf.c: Likewise.
75723         * math/w_sqrtl.c: Likewise.
75724         * math/w_tgamma.c: Likewise.
75725         * math/w_tgammaf.c: Likewise.
75726         * math/w_tgammal.c: Likewise.
75728         * po/ja.po: Update from translation team.
75730 2011-09-29  Andreas Jaeger  <aj@suse.de>
75732         [BZ #13179]
75733         * sunrpc/netname.c (netname2host): Fix logic.
75735         [BZ #6779]
75736         [BZ #6783]
75737         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75738         correctly.
75739         * math/w_remainder.c (__remainder): Likewise.
75740         * math/w_remainderf.c (__remainderf): Likewise.
75741         * math/libm-test.inc (remainder_test): Add test cases.
75743 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75745         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75746         sdiv_qrnnd.
75748 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75750         * string/test-memcmp.c: Avoid unncessary #defines.
75751         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75753 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75755         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75756         Use new sse2 version for core i3 - i7 as it's faster
75757         than sse42 version.
75758         (bit_Prefer_PMINUB_for_stringop): New.
75759         * sysdeps/x86_64/rawmemchr.S: Update.
75760         Replace with faster SSE2 version.
75761         * sysdeps/x86_64/memrchr.S: New file.
75762         * sysdeps/x86_64/memchr.S: Update.
75763         Replace with faster SSE2 version.
75765 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75767         * elf/dl-load.c (lose): Add cast to avoid warning.
75769 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75771         * po/ca.po: Update from translation team.
75773         * inet/getnetgrent_r.c: Hook up nscd.
75774         * nscd/Makefile (routines): Add nscd_netgroup.
75775         (nscd-modules): Add netgroupcache.
75776         (CFLAGS-netgroupcache.c): Define.
75777         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75778         (cache_search): Add const to second parameter.
75779         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75780         INNETGR.
75781         (dbs): Add netgrdb entry.
75782         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75783         (verify_persistent_db): Handle netgrdb.
75784         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75785         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75786         GETFDNETGR.
75787         (netgroup_response_header): Define.
75788         (innetgroup_response_header): Define.
75789         (datahead): Add netgroup_response_header and innetgroup_response_header
75790         elements.
75791         * nscd/nscd.conf: Add entries for netgroup cache.
75792         * nscd/nscd.h (dbtype): Add netgrdb.
75793         (_PATH_NSCD_NETGROUP_DB): Define.
75794         (netgroup_iov_disabled): Declare.
75795         (xmalloc, xcalloc, xrealloc): Move declarations here.
75796         (cache_search): Adjust prototype.
75797         Add netgroup-related prototypes.
75798         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75799         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75800         (__nscd_innetgr): Declare.
75801         * nscd/selinux.c (perms): Use access_vector_t as element type and
75802         add netgroup-related initializers.
75803         * nscd/netgroupcache.c: New file.
75804         * nscd/nscd_netgroup.c: New file.
75805         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75806         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75807         For four parameters use innetgr.
75808         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75809         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75810         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75811         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75813         * nscd/connections.c (register_traced_file): Don't register file
75814         for disabled databases.
75816 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75818         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75820         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75821         from tree and freeing node.
75823 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75825         * nss/nsswitch.c (__nss_database_lookup): Handle
75826         nss_parse_service_list out of memory case.
75828 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75830         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75831         out of memory case.
75833 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75835         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75836         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75837         pass it down.
75838         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75839         elf_machine_rela, elf_machine_lazy_rel.
75840         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75841         (ELF_DYNAMIC_DO_REL): Likewise.
75842         (ELF_DYNAMIC_DO_RELA): Likewise.
75843         (ELF_DYNAMIC_RELOCATE): Likewise.
75844         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75845         to ELF_DYNAMIC_DO_REL.
75846         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75847         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75848         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75849         elf_machine_rela.
75850         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75851         skip_ifunc, don't call ifunc function if non-zero.
75852         (elf_machine_rela): Likewise.
75853         (elf_machine_lazy_rel): Likewise.
75854         (elf_machine_lazy_rela): Likewise.
75855         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75856         (elf_machine_lazy_rel): Likewise.
75857         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75858         Likewise.
75859         (elf_machine_lazy_rel): Likewise.
75860         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75861         Likewise.
75862         (elf_machine_lazy_rel): Likewise.
75863         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75864         (elf_machine_lazy_rel): Likewise.
75865         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75866         (elf_machine_lazy_rel): Likewise.
75867         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75868         (elf_machine_lazy_rel): Likewise.
75869         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75870         (elf_machine_lazy_rel): Likewise.
75871         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75872         (elf_machine_lazy_rel): Likewise.
75873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75874         (elf_machine_lazy_rel): Likewise.
75876 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75878         * nss/nss_files/files-init.c (_nss_files_init): Use static
75879         initialization for all the *_traced_file variables.
75881 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75883         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75885 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75887         [BZ #13226]
75888         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75890 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75892         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75893         Reread the line before reparsing it.
75895 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75897         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75899 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75900             Maxim Kuvyrkov  <maxim@codesourcery.com>
75901             Joseph Myers  <joseph@codesourcery.com>
75903         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75904         if needed for __stack_chk_guard.
75906 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75908         * sysdeps/posix/spawni.c (script_execute): Always define it.
75909         It will be optimized away if unused.
75910         (maybe_script_execute): New function.
75911         (__spawni): Call it.
75913         * Makerules: Don't include tls.make.
75914         (config-tls): Always set to thread.
75915         * tls.make.c: File removed.
75917 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75919         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75920         * config.make.in (CPPFLAGS-config): New substituted variable.
75922 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75924         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75926         [BZ #13192]
75927         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75928         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75930 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75932         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75933         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75934         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75935         (CALL_FAIL): Likewise.
75936         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75937         (CALL_FAIL): Macro removed.
75938         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75940 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75942         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75943         for __FINITE_MATH_ONLY__ == 1.
75945 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75947         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75948         __ieee754_sqrt instead of sqrt.
75949         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75950         __ieee754_sqrtf instead of sqrtf.
75951         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75952         __floorf instead of floorf.
75953         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75954         __floorf, __truncf instead of floorf, truncf.
75956 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75958         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75960         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75961         __extern_always_inline.
75962         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75963         32-bit.
75965 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75967         * elf/rtld.c (dl_main): Also relocate in dependency order when
75968         doing symbol dependency testing.
75970 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75972         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75973         Always define `refsym'.
75975 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75977         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75978         (__FD_ELT): Renamed from __FDELT.
75979         * misc/bits/select2.h (__FD_ELT): Likewise.
75980         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75981         __FD_MASK instead of __FDELT, __FDMASK.
75982         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75983         Likewise.
75984         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75985         Likewise.
75987         * elf/Makefile (gen-ldd): Fix pattern.
75989         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75990         (init_tls): Likewise.
75992 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75994         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75996 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75998         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75999         `struct cmsghdr *' instead of `void *'.
76000         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76001         Likewise.
76003 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76005         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76006         if non-absolute.
76007         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76008         ldd_rewrite_script.
76010 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76012         * configure.in: Remove --with-tls option.
76013         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76014         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76015         out in case it is missing.
76016         * sysdeps/ia64/elf/configure.in: Likewise.
76017         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76018         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76019         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76020         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76021         * sysdeps/sh/elf/configure.in: Likewise.
76022         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76023         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76024         * sysdeps/x86_64/elf/configure.in: Likewise.
76025         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76026         * sysdeps/mach/hurd/tls.h: Likewise.
76028         [BZ #13067]
76029         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76031         [BZ #13090]
76032         * configure.in: Fix use of AC_INIT.
76034         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76036 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76038         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76039         __set_errno.
76040         * malloc/hooks.c: Likewise.
76042         [BZ #11929]
76043         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76044         variables statically.
76045         (narenas): Initialize.
76046         (list_lock): Initialize.
76047         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76048         initializtion of main_arena and list_lock.  Small cleanups.
76049         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76050         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76051         Add initializers to main_arena and mp_.
76052         (malloc_state): Remove pagesize member.  Change all users to use
76053         GLRO(dl_pagesize).
76055         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76056         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76057         is always initialized.
76059         * malloc/malloc.c: Removed unused configurations and dead code.
76060         * malloc/arena.c: Likewise.
76061         * malloc/hooks.c: Likewise.
76062         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76064         * include/tls.h: Removed.  USE___THREAD must always be defined.
76065         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76066         * elf/dl-libc.c: Likewise.
76067         * elf/dl-tsd.c: Likewise.
76068         * include/errno.h: Likewise.
76069         * include/netdb.h: Likewise.
76070         * include/resolv.h: Likewise.
76071         * inet/herrno-loc.c: Likewise.
76072         * inet/herrno.c: Likewise.
76073         * malloc/arena.c: Likewise.
76074         * malloc/hooks.c: Likewise.
76075         * malloc/malloc.c: Likewise.
76076         * resolv/res-state.c: Likewise.
76077         * resolv/res_libc.c: Likewise.
76078         * sysdeps/i386/dl-machine.h: Likewise.
76079         * sysdeps/ia64/dl-machine.h: Likewise.
76080         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76081         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76082         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76083         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76084         * sysdeps/sh/dl-machine.h: Likewise.
76085         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76086         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76087         * sysdeps/unix/i386/sysdep.S: Likewise.
76088         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76089         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76090         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76091         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76092         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76093         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76094         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76095         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76096         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76098         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76099         * sysdeps/x86_64/dl-machine.h: Likewise.
76100         * tls.make.c: Likewise.
76102         * configure.in: Remove --with-__thread option.  Make tests for
76103         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76104         tls_model attribute fail if no support is available.  Remove
76105         USE_IN_LIBIO.
76106         * Makeconfig: Adjust for dropped configure option.  All features are
76107         now mandatory.
76108         * Makerules: Likewise.
76109         * Versions.def: Likewise.
76110         * argp/argp-fmtstream.c: Likewise.
76111         * argp/argp-fmtstream.h: Likewise.
76112         * argp/argp-help.c: Likewise.
76113         * assert/assert.c: Likewise.
76114         * config.h.in: Likewise.
76115         * config.make.in: Likewise.
76116         * configure: Likewise.
76117         * configure.in: Likewise.
76118         * csu/Versions: Likewise.
76119         * csu/init.c: Likewise.
76120         * elf/tst-audit2.c: Likewise.
76121         * elf/tst-tls10.c: Likewise.
76122         * elf/tst-tls10.h: Likewise.
76123         * elf/tst-tls11.c: Likewise.
76124         * elf/tst-tls12.c: Likewise.
76125         * elf/tst-tls14.c: Likewise.
76126         * elf/tst-tlsmod11.c: Likewise.
76127         * elf/tst-tlsmod12.c: Likewise.
76128         * elf/tst-tlsmod13.c: Likewise.
76129         * elf/tst-tlsmod13a.c: Likewise.
76130         * elf/tst-tlsmod14a.c: Likewise.
76131         * elf/tst-tlsmod15b.c: Likewise.
76132         * elf/tst-tlsmod16a.c: Likewise.
76133         * elf/tst-tlsmod16b.c: Likewise.
76134         * elf/tst-tlsmod7.c: Likewise.
76135         * elf/tst-tlsmod8.c: Likewise.
76136         * elf/tst-tlsmod9.c: Likewise.
76137         * gmon/gmon.c: Likewise.
76138         * grp/fgetgrent_r.c: Likewise.
76139         * grp/putgrent.c: Likewise.
76140         * hurd/fopenport.c: Likewise.
76141         * include/libc-symbols.h: Likewise.
76142         * include/tls.h: Likewise.
76143         * intl/gettextP.h: Likewise.
76144         * intl/loadinfo.h: Likewise.
76145         * locale/global-locale.c: Likewise.
76146         * locale/localeinfo.h: Likewise.
76147         * mach/devstream.c: Likewise.
76148         * malloc/arena.c: Likewise.
76149         * malloc/set-freeres.c: Likewise.
76150         * misc/err.c: Likewise.
76151         * misc/getttyent.c: Likewise.
76152         * misc/mntent_r.c: Likewise.
76153         * posix/getopt.c: Likewise.
76154         * posix/wordexp.c: Likewise.
76155         * pwd/fgetpwent_r.c: Likewise.
76156         * resolv/Versions: Likewise.
76157         * resolv/res_hconf.c: Likewise.
76158         * shadow/fgetspent_r.c: Likewise.
76159         * shadow/putspent.c: Likewise.
76160         * stdio-common/printf_fphex.c: Likewise.
76161         * stdio-common/tmpfile.c: Likewise.
76162         * stdlib/abort.c: Likewise.
76163         * stdlib/fmtmsg.c: Likewise.
76164         * sunrpc/auth_unix.c: Likewise.
76165         * sunrpc/clnt_perr.c: Likewise.
76166         * sunrpc/clnt_tcp.c: Likewise.
76167         * sunrpc/clnt_udp.c: Likewise.
76168         * sunrpc/clnt_unix.c: Likewise.
76169         * sunrpc/openchild.c: Likewise.
76170         * sunrpc/svc_simple.c: Likewise.
76171         * sunrpc/svc_tcp.c: Likewise.
76172         * sunrpc/svc_udp.c: Likewise.
76173         * sunrpc/svc_unix.c: Likewise.
76174         * sunrpc/xdr.c: Likewise.
76175         * sunrpc/xdr_array.c: Likewise.
76176         * sunrpc/xdr_rec.c: Likewise.
76177         * sunrpc/xdr_ref.c: Likewise.
76178         * sunrpc/xdr_stdio.c: Likewise.
76180 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76182         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76184 2011-07-03  Andreas Jaeger  <aj@suse.de>
76186         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76187         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76188         regenerate with gen-libm-tests.pl.
76190 2010-05-12  Petr Baudis  <pasky@suse.cz>
76192         [BZ #11589]
76193         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76194         around j0() zero points by switching to j1().
76195         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76196         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76198         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76200 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76202         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76203         instead of 0.
76204         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76205         instead of 0.
76206         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76207         Patch in part by Pavel Roskin <proski@gnu.org>.
76209         [BZ #13138]
76210         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76211         realloc.
76212         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76213         Free memory block if necessary.
76215         [BZ #12847]
76216         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76217         be NULL.  Don't lock in this case.
76219 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76221         * elf/elf.h (ELFOSABI_GNU): New macro.
76222         (ELFOSABI_LINUX): Define to that.
76224 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76226         * string/strncat.c (strncat): Undef the symbol in case it has been
76227         defined in bits/string.h.
76229 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76231         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76233         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76234         link map.
76236 2011-08-17  Andreas Jaeger  <aj@suse.de>
76238         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76240 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76241             Ian Lance Taylor  <iant@google.com>
76243         * math/libm-test.inc (lround_test): New testcase.
76244         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76246 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76248         * Makefile: Remove support for automatic cvs check-ins.
76249         * Makerules: Likewise.
76250         * config.make.in: Likewise.
76251         * configure.in: Likewise.
76252         * intl/Makefile: Likewise.
76253         * locale/Makefile: Likewise.
76254         * po/Makefile: Likewise.
76255         * posix/Makefile: Likewise.
76256         * sysdeps/gnu/Makefile: Likewise.
76257         * sysdeps/mach/hurd/Makefile: Likewise.
76258         * sysdeps/sparc/sparc32/Makefile: Likewise.
76260         [BZ #13118]
76261         * posix/Makefile (bug-regex32-ENV): Define.
76262         Patch by John Stanley <jpsinthemix@verizon.net>.
76264         * misc/Makefile (headers): Add bits/select2.h.
76265         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76266         * misc/bits/select2.h: New file.
76267         * include/bits/select2.h: New file.
76268         * debug/Makefile (routines): Add fdelt_chk.
76269         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76270         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76271         FD_ISSET.
76272         * debug/fdelt_chk.c: New file.
76274         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76275         * wcsmbs/test-wmemcmp.c: Likewise.
76276         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76277         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76279 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76281         * string/Makefile (strop-tests): Add memcmp.
76282         * string/test-wmemcmp.c: New file.
76283         * string/test-memcmp.c: Add wmemcmp support.
76285 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76287         [BZ #13153]
76288         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76289         2011-07-19 change.
76291         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76292         garbage value in a __mach_port_mod_refs call in the cases of the
76293         task-self and thread-self ports.
76295 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76297         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76299 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76301         * elf/dl-load.c (lose): Check for non-null L.
76303 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76305         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76307         * elf/dl-libc.c (dlerror_run): Pass back error code from
76308         dl_catch_error.
76310         [BZ #13123]
76311         * elf/dl-load.c (lose): Free l_origin if it is valid.
76313         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76314         names.
76315         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76316         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76317         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76318         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76319         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76320         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76322 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76324         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76325         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76326         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76327         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76328         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76329         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76330         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76331         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76332         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76333         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76335 2011-08-15  Alan Modra  <amodra@gmail.com>
76337         [BZ #13092]
76338         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76339         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76340         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76341         ppc_mcount to static-only-routines.
76342         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76343         __mcount_internal.
76344         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76345         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76347 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76349         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76350         for finite and infinity parameters.
76352 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76354         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76355         and add nop instructions for throughput optimization.
76356         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76358 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76360         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76361         aligned copy for power7 with vector-scalar instructions.
76362         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76364 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76366         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76367         AVX check.
76369 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76371         [BZ #13144]
76372         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76373         last change.
76375 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76377         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76378         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76379         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76380         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76381         clock_gettime.
76383 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76385         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76386         Forgot to demangle the pointer.
76388         * sysdeps/i386/sysdep.h: Define atom_text_section.
76389         * sysdeps/x86_64/sysdep.h: Likewise.
76390         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76391         section with atom_text_section.
76392         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76393         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76394         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76395         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76396         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76398         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76399         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76400         already be defined.  Change to take two parameters and don't assign
76401         result to variable.  Adjust all users.
76402         Define INTERNAL_GETTIME if not already defined.
76403         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76404         call.
76405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76406         HAVE_CLOCK_GETTIME_VSYSCALL.
76407         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76409         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76410         gettimeofday vsyscall, just use time.
76412 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76414         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76415         <errno.h>.
76417 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76419         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76420         syscall on x86-64.
76421         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76422         syscall.
76423         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76424         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76425         syscall if possible.
76427 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76429         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76430         e_ident.  Don't pass to find_mapsXX.
76431         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76433 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76436         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76437         * sysdeps/x86_64/multiarch/strchr.S: Update.
76438         Check bit_slow_BSF bit.
76439         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76440         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76441         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76443 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76445         [BZ #13134]
76446         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76447         before glibc 2.15.
76448         (tryshell): Define.
76449         (__spawni): Change last parameter to be flag.  Test
76450         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76451         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76452         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76453         * posix/spawni.c: Likewise.
76454         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76455         * posix/spawnp.c: Likewise.  Change normal version to use
76456         SPAWN_XFLAGS_USE_PATH.
76457         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76458         SPAWN_XFLAGS_TRY_SHELL.
76460         [BZ #13150]
76461         * posix/glob.h: Remove gcc 1.x support.
76463         [BZ #13068]
76464         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76466 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76468         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76469         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76470         strrchr-sse2-bsf
76471         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76472         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76473         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76474         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76475         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76476         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76478 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76480         * sysdeps/x86_64/wcscmp.S: New file.
76482         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76483         wcscmp-c wcscmp-sse2
76484         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76485         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76486         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76487         * wcsmbs/wcscmp.c: Allow renaming.
76489 2011-09-05  David S. Miller  <davem@davemloft.net>
76491         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76492         stack slot, rather than the struct return pointer slot.
76493         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76494         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76496         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76498 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76500         * po/ja.po: Update from translation team.
76502         [BZ #13144]
76503         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76504         kernel in 64-bit binaries.
76506 2011-09-01  David S. Miller  <davem@davemloft.net>
76508         * elf/elf.h (HWCAP_SPARC_*): Move to..
76509         * sysdeps/sparc/sysdep.h: this new file and add new values.
76510         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76511         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76512         _DL_HWCAP_COUNT to 24.
76513         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76514         entries.
76515         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76516         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76517         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76518         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76519         instead of magic constants.
76520         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76522 2011-08-31  David S. Miller  <davem@davemloft.net>
76524         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76526         Reimplement to do errno handling inline.
76527         (SYSCALL_ERROR_HANDLER): New macro.
76528         (__SYSCALL_STRING): Do not do errno handling in asm.
76529         (__CLONE_SYSCALL_STRING): Delete.
76530         (__INTERNAL_SYSCALL_STRING): Delete.
76531         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76532         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76533         (PSEUDO): Reimplement to do errno handling inline.
76534         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76535         (SYSCALL_ERROR_HANDLER): New macro.
76536         (__SYSCALL_STRING): Do not do errno handling in asm.
76537         (__CLONE_SYSCALL_STRING): Delete.
76538         (__INTERNAL_SYSCALL_STRING): Delete.
76539         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76540         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76541         i386.
76542         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76543         (inline_syscall*): Add 'err' argument.
76544         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76545         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76546         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76547         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76549         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76550         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76552 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76554         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76556 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76558         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76559         directive.
76561 2011-08-24  David S. Miller  <davem@davemloft.net>
76563         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76565 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76567         * elf/Makefile: Add rules to build and run unload8 test.
76568         * elf/unload8.c: New file.
76569         * elf/unload8mod1.c: New file.
76570         * elf/unload8mod1x.c: New file.
76571         * elf/unload8mod2.c: New file.
76572         * elf/unload8mod3.c: New file.
76574         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76575         it wasn't used.
76577 2011-08-23  David S. Miller  <davem@davemloft.net>
76579         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76580         subtract stack bias.
76581         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76582         %sp not %fp in calculations.
76583         (_JMPBUF_UNWINDS_ADJ): Likewise.
76585         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76586         (aio_suspend): Call it to force an exception region around the
76587         AIO_MISC_WAIT() invocation.
76589 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76591         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76592         backslash.
76594 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76596         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76597         protection macro.
76598         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76599         and <dl-machine.h>.
76600         (Elf64_FuncDesc): Remove.
76602 2011-08-22  David S. Miller  <davem@davemloft.net>
76604         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76605         sigaltstack check, add missing cfi directives.
76606         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76607         missing cfi directives, and sigaltstack handling.
76609 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76611         [BZ #11724]
76612         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76613         object is seen twice.
76614         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76616         * elf/Makefile (distribute): Add tst-initorder2.c.
76617         (tests): Add tst-initorder2.
76618         (modules-names): Add tst-initorder2a tst-initorder2b
76619         tst-initorder2c tst-initorder2d.  Add rules to build them.
76620         ($(objpfx)tst-initorder2.out): New rule.
76621         * elf/tst-initorder2.c: New file.
76622         * elf/tst-initorder2.exp: New file.
76624 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76626         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76628         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76629         dependencies back to end of function.
76631         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76632         $(elfobjdir)/ld.so.
76634 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76636         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76637         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76638         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76639         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76640         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76641         of __vdso_gettimeofday.
76642         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76643         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76644         attribute_hidden.
76645         (_libc_vdso_platform_setup): Remove initialization of
76646         __vdso_gettimeofday and __vdso_time.
76648 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76650         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76651         and fgetc_unlocked.
76652         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76653         getc_unlocked.
76655         * elf/dl-open.c (add_to_global): Report additions to the global scope
76656         for LD_DEBUG=scopes.
76657         (dl_open_worker): Also print scope of newly loaded dependencies.
76658         (_dl_show_scope): Indicate if there is no scope.
76660         [BZ #13114]
76661         * stdio-common/Makefile (tests): Add bug24.
76662         * stdio-common/bug24.c: New file.
76664 2011-08-19  Andreas Jaeger  <aj@suse.de>
76666         [BZ #13114]
76667         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76668         non-existant file when using close-on-exec mode.
76670 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76673         the very first instruction.
76675         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76676         the CFI state in the end.
76677         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76678         inclusion of dl-trampoline.h.
76679         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76681 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76683         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76684         expectations for long double.
76686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76687         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76689 2011-08-14  David S. Miller  <davem@davemloft.net>
76691         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76692         artificual limit depends upon the system page size.
76694 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76696         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76697         * resolv/Makefile: Define CFLAGS-libresolv.
76699 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76701         * nss/makedb.c (compute_tables): Make variables used in nested
76702         function static.
76704 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76706         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76707         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76708         if buffer was too small.
76710         * elf/pldd.c (main): Attach to all threads in the process.
76711         Rewrite /proc handling to use *at functions.
76713 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76715         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76716         specifies first scope to show.
76717         (dl_open_worker): Update callers.  Move printing scope of new
76718         object to before the relocation.
76719         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76720         * sysdeps/generic/ldsodefs.h: Update declaration.
76722         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76723         string for the scope number.
76725 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76727         * nscd/servicescache.c (cache_addserv): Make sure written is always
76728         initialized.
76730 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76732         * sysdeps/i386/i486/bits/atomic.h
76733         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76734         statement expression, so as to suppress "set but not used" warning.
76735         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76737         * string/strncat.c (STRNCAT): Use prototype definition.
76739         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76740         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76741         -Iprograms here.
76742         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76743         (localedef-modules): Add localedef.
76744         (locale-modules): Add locale.
76746         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76747         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76748         to avoid a warning.
76750 2011-08-14  David S. Miller  <davem@davemloft.net>
76752         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76753         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76755 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76757         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76758         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76759         * elf/rtld.c (dl_main): Set l_name of vDSO.
76760         Call _dl_show_scope when DL_DEBUG_SCOPES.
76761         (process_dl_debug): Recognize scopes flag and also set it for all.
76762         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76763         Declare _dl_show_scope.
76765         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76766         (do_dlopen): Pass caller_dlopen to dl_open.
76767         (__libc_dlopen_mode): Initialize caller_dlopen.
76769         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76770         of libc.  Make tolower call locale-independent.  Optimize a bit by
76771         using isdigit instead of isalnum.
76772         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76774 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76776         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76777         was a dependency or dynamically loaded.
76779 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76781         * intl/l10nflist.c: Allow architecture-specific pop function.
76782         * sysdeps/x86_64/l10nflist.c: New file.
76784         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76785         classification.
76787 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76789         * include/dirent.h: Add libc_hidden_proto for scandirat and
76790         scandirat64.  Don't declare __scandirat64.
76791         * dirent/scandirat.c: Add libc_hidden_def.
76792         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76793         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76795 2011-08-10  David S. Miller  <davem@davemloft.net>
76797         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76798         enum.
76799         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76800         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76801         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76803 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76805         * Versions.def [libc]: Add GLIBC_2.15.
76806         * dirent/Makefile (routines): Add scandirat and scandirat64.
76807         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76808         GLIBC_2.15.
76809         * dirent/dirent.h: Declare scandirat and scandirat64.
76810         * dirent/scandirat.c: New file.
76811         * dirent/scandirat64.c: New file.
76812         * sysdeps/wordsize-64/scandirat.c: New file.
76813         * sysdeps/wordsize-64/scandirat64.c: New file.
76814         * dirent/opendir.c: Define opendirat.
76815         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76816         using scandirat.
76817         * dirent/scandir64.c: Adjust for scandir.c change.
76818         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76819         __scandirat64, and __scandir_cancel_handler.
76820         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76821         additional parameter and use openat instead of open (outside of ld.so).
76822         Add new __opendir as wrapper around __opendirat.
76823         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76824         here without requiring old scandirat implementation.
76826 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76828         * dirent/scandir.c (cancel_handler): Renamed to
76829         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76830         defined.  Adjust users.
76831         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76832         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76834 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76836         * string/test-string.h (IMPL): Use __STRING to expand name and then
76837         stringify it.
76839         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76840         of cleanups.
76842 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76844         * string/Makefile: Update.
76845         (strop-tests): Append strncat.
76846         * string/test-wcscmp.c: New file.
76847         New comprehensive test for wcscmp.
76848         * string/test-strcmp.c: Update.
76849         (WIDE): New define.
76851 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76853         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76854         line.
76856 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76859         encoding to ACE if AI_IDN.
76861 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76863         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76864         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76866 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76868         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76869         Fix overflow bug in strncat.
76870         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76872         * string/test-strncat.c: Update.
76873         Add new tests for checking overflow bugs.
76875 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76877         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76878         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76879         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76880         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76881         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76882         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76883         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76884         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76885         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76887         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76888         (USE_AS_STRCAT): Define.
76889         Add strcat and strncat support.
76890         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76892 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76894         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76895         __n bigger than INT_MAX+1.
76896         (__strncmp_g): Likewise.
76898 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76900         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76901         * libio/stido.h: Likewise.
76903         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76904         (AF_NFC): Define.
76905         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76906         (AF_NFC): Define.
76908         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76909         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76910         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76911         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76912         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76914         [BZ #13021]
76915         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76916         installed.
76918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76919         typo.
76920         (_dl_x86_64_save_sse): Likewise.
76922 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76924         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76925         OSXSAVE.
76926         (_dl_x86_64_save_sse): Likewise.
76928         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76930         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76932 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76934         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76935         change.
76936         (_dl_x86_64_save_sse): Use correct AVX check.
76938 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76940         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76941         bug in strncpy/strncat.
76942         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76944 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76946         * string/tester.c (test_strcat): Add tests for different alignments
76947         of source and destination.
76948         (test_strncat): Likewise.
76950 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76952         [BZ #12852]
76953         * posix/glob.c (glob): Check passed in values before using them in
76954         expressions to avoid some overflows.
76955         (glob_in_dir): Likewise.
76957         [BZ #13007]
76958         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76959         check for AVX enablement so that we don't crash with old kernels and
76960         new hardware.
76961         * elf/tst-audit4.c: Add same checks here.
76962         * elf/tst-audit6.c: Likewise.
76964         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76966 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76968         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76970 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76972         * po/cs.po: Update from translation team.
76973         * po/bg.po: Likewise.
76975 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76977         * misc/sys/cdefs.h: Add support for const attribute.
76978         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76979         to gnu_dev_{major,minor,makedev} functions.
76981 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76983         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76985 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76987         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76988         strlen results.
76990 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76992         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76993         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76994         register in order to avoid conflicts with the soft frame pointer
76995         being held in r11 when necessary.
76996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76997         (INTERNAL_VSYSCALL_NCS): Likewise.
76999 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77001         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77002         * elf/dl-fini.c (_dl_fini): Adjust caller.
77003         * elf/dl-close.c (_dl_close_worker): Likewise.
77004         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77006 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77008         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77009         "aux_cache->nlibs < 0".
77011         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77012         in the reload-count case.
77014 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77017         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77018         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77019         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77020         * sysdeps/x86_64/multiarch/strcat.S: New file.
77021         * sysdeps/x86_64/multiarch/strncat.S: New file.
77022         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77023         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77024         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77025         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77026         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77027         (USE_AS_STRCAT): Define.
77028         Add strcat and strncat support.
77029         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77030         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77031         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77032         * string/strncat.c: Update.
77033         (USE_AS_STRNCAT): Define.
77034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77035         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77036         and i7.
77037         * sysdeps/x86_64/multiarch/init-arch.h
77038         (bit_Prefer_PMINUB_for_stringop): New.
77039         (index_Prefer_PMINUB_for_stringop): Likewise.
77040         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77041         bit_Prefer_PMINUB_for_stringop.
77043 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77045         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77046         buffer64.
77047         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77048         of casting of buffer.
77049         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77050         buffer32 and buffer64.
77051         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77052         writes instead of casting of buffer.
77053         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77054         buffer32.
77055         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77056         casting of buffer.
77058 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77060         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77062 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77064         * nscd/nscd.c (termination_handler): Don't do anything for a database
77065         if it has not yet been initialized.
77067 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77069         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77071 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77073         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77075 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77077         * po/nl.po: Update from translation team.
77078         * po/sv.po: Likewise.
77080 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77082         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77083         now disallowed by GCC.
77085         * configure.in (use-default-link): Default to yes if a test -shared
77086         link meets our qualifications.
77087         * configure: Regenerated.
77089         * config.make.in (output-format): New variable.
77090         * configure.in: Check for ld --print-output-format support.
77091         * configure: Regenerated.
77092         * Makerules ($(common-objpfx)format.lds)
77093         [$(output-format) != unknown]: Just use $(output-format),
77094         instead of the linker-script munging.
77096 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77098         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77099         of $(common-objpfx)shlib.lds.
77100         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77102         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77103         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77105         * configure.in (-z relro check): Adjust test code to add a large
77106         writable data section after it.
77107         * configure: Regenerated.
77109 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77111         * configure.in (-z relro check): Fix test code to make the variable
77112         truly const.
77113         * configure: Regenerated.
77115 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77117         * nscd/nscd.h (struct traced_file): Define.
77118         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77119         elements.  Add traced_files.
77120         (inotify_fd): Declare.
77121         (register_traced_file): Declare.
77122         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77123         (inotify_fd): Export.
77124         (resolv_conf_descr): Remove.
77125         (nscd_init): Move inotify descriptor creation to main.
77126         Don't register files for notification here.
77127         (register_traced_file): New function.
77128         (invalidate_cache): Don't use reset_res to determine whether to call
77129         res_init, go through the list of registered files.
77130         (main_loop_poll): The inotify descriptors are now stored in the
77131         structures for the traced files.
77132         (main_loop_epoll): Likewise.
77133         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77134         to __nss_disable_nscd.
77135         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77136         for a database anymore.  Check the records for all the registered
77137         files instead.
77138         * nss/Makefile (libnss_files-routines): Add files-init.
77139         (libnss_db-routines): Add db-init.
77140         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77141         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77142         * nss/nss_db/db-init.c: New file.
77143         * nss/nss_files/files-init.c: New file.
77144         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77145         __nss_lookup_function.
77146         (__nss_lookup_function): Call nss_load_library.
77147         (nss_load_all_libraries): New function.
77148         (__nss_disable_nscd): Take parameter with callback function for files
77149         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77150         used for the cached services.
77151         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77152         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77153         options for features to all the files in nscd.
77155         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77157 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77159         * csu/elf-init.c (__libc_csu_init): Comment typo.
77161 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77163         * po/pl.po: Update from translation team.
77164         * po/ja.po: Likewise.
77165         * po/ru.po: Likewise.
77166         * po/ko.po: Likewise.
77167         * po/fr.po: Likewise.
77169 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77171         * configure.in (.ctors/.dtors header and trailer check):
77172         Use an empirical test on a built program.
77173         * configure: Regenerated.
77175         * configure.in (-z relro check): Use an empirical test on a built DSO.
77176         Detect, but do not require, on ia64.
77177         * configure: Regenerated.
77179         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77180         Update tests that use readelf to use $READELF instead.
77181         * configure: Regenerated.
77183 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77185         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77186         if the result is not used.
77188 2011-07-05  Andreas Jaeger  <aj@suse.de>
77190         [BZ#9696]
77191         * stdlib/tst-strtod.c: Add testcase.
77193 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77195         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77196         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77197         The latter has a higher limit.  Take additional parameter to pass to
77198         the new function.
77199         (__pathconf): Pass file to __statfs_link_max.
77200         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77201         __statfs_link_max.
77202         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77203         __statfs_link_max.
77205         [BZ #12868]
77206         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77207         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77208         Handle Lustre.
77209         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77210         (__statfs_filesize_max): Likewise.
77211         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77213 2011-07-05  Andreas Jaeger  <aj@suse.de>
77215         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77217 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77219         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77220         `status' variable.
77221         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77222         Likewise.
77224 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77226         * Makefile (strop-tests): Add strncat.
77227         * string/test-strncat.c: New file.
77229 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77231         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77233 2011-06-21  Andreas Jaeger  <aj@suse.de>
77235         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77236         Copy rule from iconvdata/Makefile.
77238 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77240         [BZ #12922]
77241         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77242         but no long options are defined, just return 'W'.
77244 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77246         [BZ #9696]
77247         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77249 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77251         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77252         netgroups to read.
77253         (innetgr): Likewise.
77255 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77257         * config.make.in (install_root): Default to $(DESTDIR).
77259 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77261         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77263 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77265         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77267         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77268         containing directory rather than embedding absolute directory names.
77270         * scripts/check-local-headers.sh: Rewritten using awk.
77271         Match by word, not by line.  Print error messages for matches.
77272         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77274         * Makerules [shlib-lds-flags empty]:
77275         ($(common-objpfx)libc_pic.opts): New target.
77276         ($(common-objpfx)libc_pic.os.clean): New target.
77277         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77279         * config.make.in (OBJCOPY): New variable.
77280         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77281         * configure: Regenerated.
77283         * config.make.in (use-default-link): New variable.
77284         * configure.in (use_default_link): Grok --with-default-link to set it.
77285         * configure: Regenerated.
77286         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77287         (shlib-lds, shlib-lds-flags): Define to empty.
77289         * Makerules (shlib-lds): New variable.
77290         (shlib-lds-flags): New variable.
77291         (build-shlib, build-moduile, build-module-asneeded): Use it.
77292         ($(common-objpfx)libc.so): Use $(shlib-lds).
77293         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77294         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77296         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77297         DT_FLAGS/DT_FLAGS_1 with zero flags.
77299         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77300         linker script munging.
77302 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77304         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77305         as 128-bit value.
77306         * crypt/sha512.c (sha512_process_block): Perform total addition using
77307         128-bit if possible.
77308         (__sha512_finish_ctx): Likewise.
77309         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77310         as 64-bit value.
77311         * crypt/sha256.c (SWAP64): Define.
77312         (sha256_process_block): Perform total addition using 64-bit if
77313         possible.
77314         (__sha256_finish_ctx): Likewise.
77316 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77318         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77319         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77320         * nscd/hstcache.c (cache_addhst): Likewise.
77321         * nscd/grpcache.c (cache_addgr): Likewise.
77322         * nscd/aicache.c (addhstaiX): Likewise.
77323         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77325 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77327         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77328         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77329         * nscd/hstcache.c (cache_addhst): Likewise.
77330         * nscd/grpcache.c (cache_addgr): Likewise.
77331         * nscd/aicache.c (addhstaiX): Likewise.
77333 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77335         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77336         domain only when needed.
77338 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77341         is always restored.
77343 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77345         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77346         are re-adding the entry.
77347         * nscd/servicescache.c (cache_addserv): Likewise.
77349 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77351         * sysdeps/generic/dl-irel.h: fix protection against multiple
77352         inclusions.
77353         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77355 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77357         [BZ #12935]
77358         * malloc/memusage.sh: Fix quoting in message.
77359         * debug/xtrace.sh: Likewise.
77361         * configure.in: Remove support for --experimental-malloc option, make
77362         it the default.
77363         * config.make.in: Likewise.
77364         * malloc/Makefile: Likewise.
77366 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77368         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77369         two-byte characters.
77371 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77373         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77374         AC_CACHE_CHECK invocation.
77375         * configure: Regenerated.
77377         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77379 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77381         [BZ #12350]
77382         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77383         bit from old_res_options.
77385         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77387         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77388         value type for setfct.
77390 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77392         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77393         __gettimeofday instead of gettimeofday.
77395 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77397         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77399 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77401         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77403         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77404         info.
77406 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77409         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77410         strcpy-sse2-unaligned strncpy-sse2-unaligned
77411         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77412         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77413         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77414         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77415         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77416         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77417         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77418         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77419         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77420         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77421         (STRCPY): Support SSE2 and SSSE3 versions.
77423 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77425         [BZ #12874]
77426         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77427         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77428         kernels which artificially limit size of requests.
77430 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77432         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77433         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77434         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77435         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77436         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77437         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77438         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77439         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77440         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77441         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77442         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77443         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77444         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77445         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77446         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77448         Enable unaligned load optimization for Intel Core i3, i5 and i7
77449         processors.
77450         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77451         Define.
77452         (index_Fast_Unaligned_Load): Define.
77453         (HAS_FAST_UNALIGNED_LOAD): Define.
77455 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77457         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77459 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77461         [BZ #12907]
77462         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77463         until it is clear that the information is realy needed.
77464         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77466 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77470 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77472         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77473         /sys/devices/system/cpu/online if it is usable.
77475         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77476         reading the information from the /proc filesystem to once a second.
77478 2011-06-21  Andreas Jaeger  <aj@suse.de>
77480         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77481         NULL after inclusion of kernel headers.
77483 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77485         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77486         calls to internal_setent.
77488         [BZ #12885]
77489         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77490         addresses using gethostbyname4_r ignore IPv4 addresses.
77492         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77493         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77495         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77497 2011-06-20  David S. Miller  <davem@davemloft.net>
77499         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77500         inclusions.
77501         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77503         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77504         (elf_irel): Use it.
77505         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77506         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77507         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77508         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77509         * sysdeps/x86_64/dl-irel.h: Likewise.
77511         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77512         * elf/dl-sym.c: Likewise.
77514 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77516         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77517         need to dereference resplen2.
77519 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77521         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77523 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77525         * Makeconfig: Define vardbdir and inst_vardbdir.
77526         * nss/Makefile: Add rules to install db-Makefile.
77528         * nss/nss_db/db-XXX.c: Cleanup.
77530         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77531         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77532         GLIBC_PRIVATE.
77533         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77534         * nss/makedb.c: Implement -g option to specify that value strings
77535         are generated and should not be added to table iterated over for
77536         get*ent calls.
77537         * nss/nss_db/db-initgroups.c: New file.
77539         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77540         interface.
77542         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77543         (internal_getgrouplist): Adjust to name change.
77544         Update use_initgroups_entry if this is not the first call.
77545         * nss/databases.def: Add initgroups entry.
77547         * nss/makedb.c (compute_tables): Check result of multiple hash table
77548         sizes to minimize maximum chain length.
77550 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77552         * Versions.def: Add entry for libnss_db.
77553         * shlib-versions: Likewise.
77554         * nss/Makefile: Add rules to build libnss_db.
77555         * nss/Versions: Add libnss_db information.  Organize libnss_files
77556         entries better.
77557         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77558         makedb progra.  Some minor improvements to generate smaller files.
77559         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77560         here from...
77561         * nss/makedb.c: ...here.
77562         Improve database format to be smaller and require less memory at
77563         runtime.
77564         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77565         db anymore.
77566         * nss/nss_db/db-netgrp.c: Likewise.
77567         * nss/nss_db/db-open.c: Likewise.
77568         * nss/nss_files/flies-XXX.x: Adjust comments.
77569         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77570         * nss/nss_files/files-grp.c: Likewise.
77571         * nss/nss_files/files-hosts.c: Likewise.
77572         * nss/nss_files/files-network.c: Likewise.
77573         * nss/nss_files/files-proto.c: Likewise.
77574         * nss/nss_files/files-pwd.c: Likewise.
77575         * nss/nss_files/files-rpc.c: Likewise.
77576         * nss/nss_files/files-service.c: Likewise.
77577         * nss/nss_files/files-sgrp.c: Likewise.
77578         * nss/nss_files/files-spwd.c: Likewise.
77579         * nss/nss_db/db-alias.c: Removed.
77580         * nss/nss_db/dummy-db.h: Removed.
77582 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77584         * nss/makedb.c: Rewritten to not use database library.
77585         * nss/Makefile: Update to build new makedb program.
77587 2011-06-14  Andreas Jaeger  <aj@suse.de>
77589         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77590         memset declaration.
77592 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77595         tmpbuf.
77597 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77599         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77600         * elf/Makefile ($(objpfx)ld.so): Likewise.
77602         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77603         Don't list ld.so twice in dependencies.
77605         * posix/bug-regex31.c: Include <stdlib.h>.
77607         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77609         * nis/nss_compat/compat-spwd.c
77610         (getspent_next_nss_netgr): Remove unused variable.
77611         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77613         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77614         nonmembers" output to use the right array.
77616         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77618         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77620         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77621         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77622         * catgets/gencat.c (read_input_file): Likewise.
77623         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77625         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77626         variable definition inside #if's controlling its use.
77628         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77630         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77632         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77634         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77635         unreachable code.
77637         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77639         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77640         * configure: Regenerated.
77642         * Makerules: Revert last change.
77643         * elf/Makefile: Likewise.
77645 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77647         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77648         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77649         (reloc-link): Likewise.
77651 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77653         * elf/Makefile: Add rules to build pldd.
77654         * elf/pldd.c: New file.
77655         * elf/pldd-xx.c: New file.
77657 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77659         * version.h: Update for 2.15 development version.
77661 2011-06-07  David S. Miller  <davem@davemloft.net>
77663         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77664         ifuncs.
77665         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77666         elf_machine_lazy_rel): Likewise.
77667         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77668         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77669         elf_machine_lazy_rel): Likewise.
77670         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77671         dl_hwcap via passed in argument.
77672         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77673         Likewise.
77675 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77677         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77679 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77681         [BZ #12849]
77682         * manual/fdl-1.1.texi: New file, verbatim from:
77683         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77684         * manual/lgpl-2.1.texi: New file, verbatim from:
77685         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77686         * manual/Makefile (licenses): New variable, list those new file names.
77687         (texis): Use it.
77688         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77690         * manual/fdl.texi: File removed.
77691         * manual/lesser.texi: File removed.
77692         * manual/libc.texinfo (Copying, Documentation License):
77693         Use new @include file names, put @appendix directive before @include.
77695 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77697         [BZ #12841]
77698         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77699         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77700         (mq_open): Add __NTH.
77702 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77705         Assume Intel Core i3/i5/i7 processor if AVX is available.
77707 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77709         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77710         typo.
77712 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77714         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77715         memory.  Use alloca_account.  Fix memory leak when retrying.
77717 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77719         * version.h (RELEASE): Bump for 2.14 release.
77720         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77722         * config.make.in (RANLIB): Remove entry.
77724 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77726         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77727         (libc.pot): Work around missing support for .ksh extension in xgettext.
77729         [BZ #12684]
77730         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77731         if both request failed.
77732         (send_dg): In case of server errors clear resplen or *resplen2.
77734         [BZ #12454]
77735         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77736         when there are multiple maps.
77737         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77738         (_dl_fini): Remove test here.
77740         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77742 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77744         [BZ #12350]
77745         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77746         bit from old_res_options.
77747         (gaih_inet): Likewise.
77749         [BZ #11099]
77750         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77751         as signed.
77753         * resolv/res_init.c (res_setoptions): Make the code more compact.
77755         [BZ #11558]
77756         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77757         set RES_USEVC.
77759         [BZ #11634]
77760         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77762         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77764         [BZ #11781]
77765         * malloc/malloc.h: Declare malloc hook variables as volatile.
77767         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77768         in last patch.
77770         [BZ #11799]
77771         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77772         raise in the comment.
77773         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77774         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77775         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77777 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77779         [BZ #12811]
77780         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77781         grow the buffers more if it already has to be sufficient.
77782         (build_wcs_upper_buffer): Likewise.
77783         * posix/regexec.c (check_matching): Likewise.
77784         (clean_state_log_if_needed): Likewise.
77785         (extend_buffers): Don't enlarge buffers beyond size of the input
77786         buffer.
77787         Patches mostly by Emil Wojak <emil@wojak.eu>.
77788         * posix/bug-regex32.c: New file.
77789         * posix/Makefile (tests): Add bug-regex32.
77791         * locale/findlocale.c (_nl_find_locale): Return right away if
77792         _nl_explode_name failed.
77793         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77795         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77797         * debug/xtrace.sh: Unify messages.
77798         * malloc/memusage.sh: Likewise.
77800         [BZ #12813]
77801         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77802         time symbol from vDSO.  Substitute with vsyscall if not available.
77803         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77804         __vdso_time.
77806         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77807         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77808         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77809         Add sendmmsg and internal_sendmmsg.
77810         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77811         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77812         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77814         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77815         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77816         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77818 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77820         [BZ #12813]
77821         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77822         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77823         available.
77824         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77825         __vdso_getcpu.
77827         [BZ #12814]
77828         * iconvdata/Makefile (tests): Add bug-iconv9.
77829         * iconvdata/bug-iconv9.c: New file.
77831 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77833         [BZ #12814]
77834         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77836 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77838         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77839         (struct user_regs_struct): Change intcs field back to cs.
77841 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77843         * po/ja.po: Update from translation team.
77845 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77847         [BZ #12795]
77848         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77849         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77851 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77853         * stdlib/longlong.h: Update from GCC.
77855 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77857         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77858         parameter name.
77859         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77860         Add parameter name.
77861         (__sysconf): Pass it down.
77863 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77865         [BZ #12671]
77866         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77867         some situations.
77868         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77869         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77870         add in in __libc_use_alloca calls.  Adjust callers.
77871         (glob): Use malloc in some situations.
77873         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77874         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77875         pltexit.
77877 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77879         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77880         and CLOCK_BOOTTIME_ALARM.
77882         [BZ #12782]
77883         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77884         is returned.
77886         * string/_strerror.c (__strerror_r): Print negative errors as signed
77887         numbers.
77889         [BZ #12777]
77890         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77891         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77892         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77894         * configure.in: Fix typo in redirection and correct removal of test
77895         files in two cases.
77897         [BZ #12788]
77898         * locale/setlocale.c (new_composite_name): Fix test to check for
77899         identical name of all categories.
77901         [BZ #12792]
77902         * libio/filedoalloc.c (local_isatty): New function.
77903         (_IO_file_doallocate): Use local_isatty.
77904         * stdio-common/perror.c (perror): In case a new stream is used
77905         forward the stream error.
77906         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77907         error flag.
77909 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77911         [BZ #11884]
77912         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77913         alloca.
77914         * include/alloca.h (extend_alloca_account): Define.
77916         [BZ #11857]
77917         * posix/regex.h: Fix comments with documentation of user-accessible
77918         fields after compilation and describe correct free'ing of pattern
77919         after re_compile_pattern.
77920         Patch by Reuben Thomas <rrt@sc3d.org>.
77922 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77924         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77925         and -mno-altivec to prevent the compiler from using Altivec and/or
77926         VSX instructions when the corresponding registers are not available.
77928 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77930         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77932 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77934         * libio/freopen.c (freopen): Use __dup2, not dup2.
77935         * libio/freopen64.c (freopen64): Likewise.
77937 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77939         [BZ #12775]
77940         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77941         * math/Makefile (tests): Add test-powl.
77942         (CFLAGS-test-powl.c): Define.
77943         * math/test-powl.c: New file.
77945 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77947         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77949 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77951         [BZ #11837]
77952         * iconvdata/gb18030.c: Update to GB18020-2005.
77954 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77956         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77957         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77958         Patch by Aharon Robbins <arnold@skeeve.com>.
77960         [BZ #11892]
77961         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77962         on the stack.
77964         [BZ #11895]
77965         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77966         through underflows.
77968         [BZ #12766]
77969         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77970         point to strings before performing equality test for error_one_per_line
77971         mode.
77973         [BZ #11697]
77974         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77976         [BZ #11820]
77977         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77978         (struct user_fpregs_struct): Avoid __uint*_t types.
77980         [BZ #6420]
77981         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77982         symbol info.  Use it instead of calling _dl_addr locally.
77983         (lock_and_info): New function.
77984         (tr_freehook): Call lock_and_info and pass symbol info as additional
77985         parameter to tr_where.
77986         (tr_mallochook): Likewise.
77987         (tr_reallochook): Likewise.
77988         (tr_memalignhook): Likewise.
77990         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77991         used and couldn't be at all thread-safe.
77993 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77995         * libio/freopen.c (freopen): Don't close old file descriptor
77996         before the new one is opened.  Instead dup the new file descriptor
77997         to the old one after the new stream is created.
77998         * libio/freopen64.c (freopen64): Likewise.
77999         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78000         * libio/fileops.c (_IO_new_file_close_it): Handle new
78001         _IO_FLAGS2_NOCLOSE flag.
78002         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78003         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78004         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78005         _IO_FLAGS2_NOCLOSE flag.
78006         * include/unistd.h: Add hidden_proto for dup3.
78007         Define __have_dup3.
78008         * io/dup3.c: Define hidden symbol.
78009         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78011         [BZ #7101]
78012         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78013         when an incomplete long option is used.
78014         * posix/tst-getopt_long1.c: New file.
78015         * posix/Makefile (tests): Add tst-getopt_long1.
78017         [BZ #10138]
78018         * scripts/config.guess: Update from autoconf-2.68.
78019         * scripts/config.sub: Likewise.
78021         [BZ #10157]
78022         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78023         tests into ...
78024         (has_cpuclock): ...this.  New function.
78025         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78026         macro here based on has_cpuclock code.
78028         [BZ #10149]
78029         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78030         First byte (not low byte) is now always NUL.
78031         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78033         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78034         Use non-cancelable interfaces.
78036         [BZ #9809]
78037         * locale/iso-639.def: Add entry for Sorani.
78039         [BZ #11901]
78040         * include/stdlib.h: Move include protection to the right place.
78041         Define abort_msg_s.  Declare __abort_msg with it.
78042         * stdlib/abort.c (__abort_msg): Adjust type.
78043         * assert/assert.c (__assert_fail_base): New function.  Majority
78044         of code from __assert_fail.  Allocate memory for __abort_msg with
78045         mmap.
78046         (__assert_fail): Now call __assert_fail_base.
78047         * assert/assert-perr.c: Remove bulk of implementation.  Use
78048         __assert_fail_base.
78049         * include/assert.hL Declare __assert_fail_base.
78050         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78051         mmap.
78052         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78054 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78056         [BZ #11952]
78057         [BZ #12453]
78058         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78059         until all modules are registered in the DTV.
78060         * elf/Makefile: Add rules to build and run tst-tls19.
78061         * elf/tst-tls19.c: New file.
78062         * elf/tst-tls19mod1.c: New file.
78063         * elf/tst-tls19mod2.c: New file.
78064         * elf/tst-tls19mod3.c: New file.
78065         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78067         [BZ #12083]
78068         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78069         correctly.
78071         [BZ #12601]
78072         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78073         two-byte sequence errors.
78074         * iconvdata/Makefile (tests): Add bug-iconv8.
78075         * iconvdata/bug-iconv8.c: New file.
78077         [BZ #12626]
78078         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78079         buf2 definition.
78081         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78083         [BZ #12432]
78084         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78085         (dummy_getcfa): New function.
78086         (init): Get _Unwind_GetCFA address, use dummy if not found.
78087         (backtrace_helper): In recursion check, also check whether CFA changes.
78088         (__backtrace): Completely initialize arg.
78090         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78091         storing incomplete byte sequence in state object.  Avoid testing for
78092         guaranteed too small input if we know there is enough data available.
78094 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78096         * Makeconfig (+link-pie): Indent.
78097         * Rules (binaries-pie): Define if $(have-fpie) and
78098         $(build-shared).
78099         (binaries-shared): Also filter out $(binaries-pie).
78100         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78101         * nscd/Makefile (others-pie): Add nscd.
78102         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78103         ($(objpfx)nscd): Remove command override.
78104         * login/Makefile (others-pie): Add pt_chown.
78105         ($(objpfx)pt_chown): Remove command override.
78106         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78107         remove command overrides.
78109 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78111         * libio/tst_putwc.c: Fix error messages.
78113         [BZ #12724]
78114         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78115         currently writing and seek to current position when not.
78116         * libio/Makefile (tests): Add bug-fclose1.
78117         * libio/bug-fclose1.c: New file.
78119 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78121         [BZ #12511]
78122         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78123         don't set DF_1_NODELETE here.
78124         (do_lookup_x): When entering new entry test for copy relocation
78125         and if necessary set DF_1_NODELETE flag.
78126         * elf/tst-unique4.cc: New file.
78127         * elf/tst-unique4.h: New file.
78128         * elf/tst-unique4lib.cc: New file.
78129         * elf/Makefile: Add rules to build and run tst-unique4.
78130         Patch by Piotr Bury <pbury@goahead.com>.
78132 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78134         [BZ #12052]
78135         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78137         [BZ #12625]
78138         * misc/mntent_r.c (addmntent): Flush the stream after the output
78140         [BZ #12393]
78141         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78142         (is_trusted_path_normalize): Skip initial colon.  Append slash
78143         to empty buffer.  Duplicate is_trusted_path code but allow
78144         constructed patch to be prefix.
78145         (is_dst): Allow $ORIGIN followed by /.
78146         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78147         Correct testing of result of is_trusted_path_normalize
78148         (decompose_rpath): Fix warning.
78150 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78152         [BZ #11257]
78153         * grp/initgroups.c (internal_getgrouplist): When we found the service
78154         list through the initgroups entry in nsswitch.conf do not always
78155         continue on a successful lookup.  Don't always use the
78156         __nss_group_database value if it is set.
78157         * nss/nsswitch.conf (initgroups): Change action for successful db
78158         lookup to continue for compatibility.
78160 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78162         [BZ #11532]
78163         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78164         and CP774 modules.
78165         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78166         and CP774 modules.
78167         * iconvdata/tst-tables.sh: Likewise.
78168         * iconvdata/cp770.c: New file.
78169         * iconvdata/cp771.c: New file.
78170         * iconvdata/cp772.c: New file.
78171         * iconvdata/cp773.c: New file.
78172         * iconvdata/cp774.c: New file.
78173         * iconvdata/testdata/CP770: New file.
78174         * iconvdata/testdata/CP770..UTF8: New file.
78175         * iconvdata/testdata/CP771: New file.
78176         * iconvdata/testdata/CP771..UTF8: New file.
78177         * iconvdata/testdata/CP772: New file.
78178         * iconvdata/testdata/CP772..UTF8: New file.
78179         * iconvdata/testdata/CP773: New file.
78180         * iconvdata/testdata/CP773..UTF8: New file.
78181         * iconvdata/testdata/CP774: New file.
78182         * iconvdata/testdata/CP774..UTF8: New file.
78184         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78185         END CHARMAP line.
78186         * iconvdata/gen-8bit-gap.sh: Likewise.
78187         * iconvdata/gen-8bit.sh: Likewise.
78189         * locale/iso-639.def: Add ary entry.
78191         [BZ #11258]
78192         * locale/C-translit.h.in: Add U20A1 transliteration.
78194         [BZ #12178]
78195         * locale/iso-639.def: Add wae entry.
78196         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78198         [BZ #12545]
78199         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78200         for n.
78202         [BZ #12711]
78203         * locale/C-translit.h.in: Add entry for U20B9.
78204         Patch by pravin.d.s@gmail.com.
78206 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78208         [BZ #12713]
78209         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78210         ENAMETOOLONG use generic getcwd.
78211         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78212         in rtld.  Use *stat64.
78213         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78214         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78215         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78216         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78217         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78218         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78219         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78220         __fstatat64 macros.
78221         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78222         * dirent/rewinddir.c: Add libc_hidden_def.
78223         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78224         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78226         * include/dirent.h (__alloc_dir): Add flags parameter.
78227         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78228         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78229         __alloc_dir.
78230         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78231         from fdopendir if O_CLOEXEC is already set.
78233 2011-03-15  Alan Modra  <amodra@gmail.com>
78235         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78236         l_tls_firstbyte_offset non-zero.  Save padding offset in
78237         l_tls_firstbyte_offset for later use.
78238         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78239         freeing static tls block.
78241 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78243         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78244         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78245         being defined by the kernel headers.
78247 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78249         [BZ #12734]
78250         * resolv/resolv.h: Define RES_NOTLDQUERY.
78251         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78252         no-tld-query and set RES_NOTLDQUERY.
78253         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78254         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78255         modern BIND to search name as TLD unless forbidden.
78257 2011-05-07  Petr Baudis  <pasky@suse.cz>
78258             Ulrich Drepper  <drepper@gmail.com>
78260         [BZ #12393]
78261         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78262         (is_trusted_path): ...to here.
78263         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78264         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78265         using is_trusted_path_normalize() in setuid scripts.
78267 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78269         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78270         __BEGIN/__END_DECLS.
78272 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78274         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78275         NSS_STATUS_NOTFOUND if no record was found.
78277 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78279         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78280         (headers-not-in-tirpc): Remove rpc/netdb.h
78281         * resolv/netdb.h: Revert last change.
78283 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78285         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78286         circular dependency between libgcc.a and libc.a.
78288 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78290         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78291         * nis/Makefile: Don't install rpcsvc/*.
78292         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78293         instead of <rpc/types.h>.
78294         (MAXHOSTNAMELEN): Define.
78296 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78298         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78300 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78302         [BZ #12714]
78303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78304         gethostbyname4_r when IPv6 results are possible.
78306 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78308         [BZ #12723]
78309         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78310         _PC_PIPE_BUF handling.
78312 2011-04-30  Bruno Haible  <bruno@clisp.org>
78314         [BZ #12717]
78315         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78316         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78317         to 'int'.
78318         * inet/getnameinfo.c (getnameinfo): Likewise.
78320 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78322         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78323         to groups setting in database lookup.
78324         * nss/nsswitch.conf: Add initgroups entry.
78326 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78328         [BZ #12685]
78329         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78330         mode string.
78331         Patch by Eric Blake <eblake@redhat.com>.
78333 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78335         * sunrpc/Makefile (need-export-routines): Add svc_run.
78336         (routines): Remove svc_run.
78337         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78338         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78339         * sunrpc/svc_run.c (svc_run): Likewise.
78340         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78342 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78344         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78345         problem in reallocation in last patch.
78347 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78349         * sunrpc/Makefile: Move inclusion of Rules.
78351 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78353         * nss/nss_files/files-initgroups.c: New file.
78354         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78355         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78356         _nss_files_initgroups_dyn.
78358 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78360         * elf/elf.h (R_ARM_IRELATIVE): Define.
78362 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78364         * po/ru.po: Update from translation team.
78366 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78368         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78369         dependencies.
78371 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78373         [BZ #12653]
78374         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78375         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78376         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78377         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78378         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78380 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78382         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78383         differing bytes.
78384         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78385         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78386         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78388 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78390         [BZ #12420]
78391         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78392         storing it.
78393         * stdlib/bug-getcontext.c: New file.
78394         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78396 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78398         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78399         instructions into .machine "z9-109".
78400         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78401         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78403 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78405         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78406         between environment variables and auxiliary vector.
78408 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78410         * Makefile: Add rules to build linkobj/libc.so.
78411         * include/libc-symbols.h: Define libc_hidden_nolink.
78412         * include/rpc/auth.h: Mark functions which are to be hidden.
78413         * include/rpc/auth_des.h: Likewise.
78414         * include/rpc/auth_unix.h: Likewise.
78415         * include/rpc/clnt.h: Likewise.
78416         * include/rpc/des_crypt.h: Likewise.
78417         * include/rpc/key_prot.h: Likewise.
78418         * include/rpc/pmap_clnt.h: Likewise.
78419         * include/rpc/pmap_prot.h: Likewise.
78420         * include/rpc/pmap_rmt.h: Likewise.
78421         * include/rpc/rpc_msg.h: Likewise.
78422         * include/rpc/svc.h: Likewise.
78423         * include/rpc/svc_auth.h: Likewise.
78424         * include/rpc/xdr.h: Likewise.
78425         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78426         * nss/Makefile: Likewise.
78427         * sunrpc/Makefile: Don't install headers.  Build library with normal
78428         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78429         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78430         for the compat linking library.  Remove use of INTDEF/INTUSE.
78431         * sunrpc/auth_none.c: Likewise.
78432         * sunrpc/auth_unix.c: Likewise.
78433         * sunrpc/authdes_prot.c: Likewise.
78434         * sunrpc/authuxprot.c: Likewise.
78435         * sunrpc/clnt_gen.c: Likewise.
78436         * sunrpc/clnt_perr.c: Likewise.
78437         * sunrpc/clnt_raw.c: Likewise.
78438         * sunrpc/clnt_simp.c: Likewise.
78439         * sunrpc/clnt_tcp.c: Likewise.
78440         * sunrpc/clnt_udp.c: Likewise.
78441         * sunrpc/clnt_unix.c: Likewise.
78442         * sunrpc/des_crypt.c: Likewise.
78443         * sunrpc/des_soft.c: Likewise.
78444         * sunrpc/get_myaddr.c: Likewise.
78445         * sunrpc/key_call.c: Likewise.
78446         * sunrpc/key_prot.c: Likewise.
78447         * sunrpc/netname.c: Likewise.
78448         * sunrpc/pm_getmaps.c: Likewise.
78449         * sunrpc/pm_getport.c: Likewise.
78450         * sunrpc/pmap_clnt.c: Likewise.
78451         * sunrpc/pmap_prot.c: Likewise.
78452         * sunrpc/pmap_prot2.c: Likewise.
78453         * sunrpc/pmap_rmt.c: Likewise.
78454         * sunrpc/publickey.c: Likewise.
78455         * sunrpc/rpc_cmsg.c: Likewise.
78456         * sunrpc/rpc_common.c: Likewise.
78457         * sunrpc/rpc_dtable.c: Likewise.
78458         * sunrpc/rpc_prot.c: Likewise.
78459         * sunrpc/rpc_thread.c: Likewise.
78460         * sunrpc/rtime.c: Likewise.
78461         * sunrpc/svc.c: Likewise.
78462         * sunrpc/svc_auth.c: Likewise.
78463         * sunrpc/svc_authux.c: Likewise.
78464         * sunrpc/svc_raw.c: Likewise.
78465         * sunrpc/svc_run.c: Likewise.
78466         * sunrpc/svc_simple.c: Likewise.
78467         * sunrpc/svc_tcp.c: Likewise.
78468         * sunrpc/svc_udp.c: Likewise.
78469         * sunrpc/svc_unix.c: Likewise.
78470         * sunrpc/svcauth_des.c: Likewise.
78471         * sunrpc/xcrypt.c: Likewise.
78472         * sunrpc/xdr.c: Likewise.
78473         * sunrpc/xdr_array.c: Likewise.
78474         * sunrpc/xdr_float.c: Likewise.
78475         * sunrpc/xdr_intXX_t.c: Likewise.
78476         * sunrpc/xdr_mem.c: Likewise.
78477         * sunrpc/xdr_rec.c: Likewise.
78478         * sunrpc/xdr_ref.c: Likewise.
78479         * sunrpc/xdr_sizeof.c: Likewise.
78480         * sunrpc/xdr_stdio.c: Likewise.
78482 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78484         [BZ #12650]
78485         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78486         * sysdeps/ia64/dl-tls.h: Likewise.
78487         * sysdeps/powerpc/dl-tls.h: Likewise.
78488         * sysdeps/s390/dl-tls.h: Likewise.
78489         * sysdeps/sh/dl-tls.h: Likewise.
78490         * sysdeps/sparc/dl-tls.h: Likewise.
78491         * sysdeps/x86_64/dl-tls.h: Likewise.
78492         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78494 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78496         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78497         rpath element also skip the following colon.
78498         (expand_dynamic_string_token): Add is_path parameter and pass
78499         down to DL_DST_REQUIRED and _dl_dst_substitute.
78500         (decompose_rpath): Call expand_dynamic_string_token with
78501         non-zero is_path.  Ignore empty rpaths.
78502         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78503         with zero is_path.
78505 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78508         Make cancelable.
78510 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78512         [BZ #12655]
78513         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78514         Patch by Filipe David Manana <fdmanana@apache.org>.
78516 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78518         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78519         Maintain aligned stack.
78520         (CHECK_RSP): Remove unused macro.
78522 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78524         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78525         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78527 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78529         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78531         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78533 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78535         [BZ #12518]
78536         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78537         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78538         * sysdeps/x86_64/memmove.c: New file.
78539         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78540         (memcpy): Renamed to ...
78541         (__new_memcpy): This.
78542         (memcpy): Provide GLIBC_2_14 memcpy.
78543         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78544         (memcpy): Provide GLIBC_2_2_5 memcpy.
78546 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78548         [BZ #12631]
78549         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78551 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78553         * misc/syncfs.c: New file.
78554         * misc/Makefile (routines): Add syncfs.
78555         * posix/unistd.h: Declare syncfs.
78556         * sysdeps/unix/syscalls.list: Add syncfs.
78558 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78560         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78561         open_by_handle_at.
78562         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78563         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78565         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78566         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78567         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78568         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78570 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78572         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78573         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78574         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78575         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78576         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78577         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78578         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78580         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78581         sync_file_range.c with -fexceptions.
78582         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78583         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78584         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78585         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78586         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78587         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78588         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78589         sync_file_range as cancellation point
78590         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78591         now a wrapper around __call_sync_file_range with cancellation handling.
78592         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78593         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78594         function name to __call_sync_file_range.
78595         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78596         Add call_sync_file_range.
78598 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78601         bits/timex.h.
78603 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78605         * iconv/iconv.h: Fix typo in comment.
78606         * io/fcntl.h: Likewise.
78607         * libio/stdio.h: Likewise.
78608         * posix/spawn.h: Likewise.
78609         * posix/unistd.h: Likewise.
78610         * stdlib/stdlib.h: Likewise.
78611         * time/time.h: Likewise.
78612         * wcsmbs/wchar.h: Likewise.
78614         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78615         open_by_handle): Add.
78616         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78617         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78618         Augment a few comments.
78619         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78620         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78621         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78622         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78623         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78624         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78625         open_by_handle.
78627         * io/fcntl.h (AT_EMPTY_PATH): Define.
78629 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78631         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78632         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78633         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78634         to...
78635         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78636         * Versions.def: Add GLIBC_2.14.
78637         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78638         Export.
78640 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78642         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78643         round counter.
78644         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78646 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78648         [BZ #12597]
78649         * string/test-strncmp.c (do_page_test): New function.
78650         (check2): Likewise.
78651         (test_main): Call check2.
78652         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78654 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78656         [BZ #12587]
78657         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78658         Handle cache information in CPU leaf 4.
78659         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78661 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78663         [BZ #12583]
78664         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78665         character representation.
78666         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78668 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78670         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78671         END(__isnan) to END(__isnanf) to match function entry point/label
78672         EALIGN(__isnanf,...).
78674 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78676         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78678 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78680         [BZ #12510]
78681         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78682         copy from the symbol referenced in the relocation to initialize the
78683         used variable.
78684         Patch by Piotr Bury <pbury@goahead.com>.
78685         * elf/Makefile: Add rules to build and tst-unique3.
78686         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78687         * elf/tst-unique3.cc: New file.
78688         * elf/tst-unique3.h: New file.
78689         * elf/tst-unique3lib.cc: New file.
78690         * elf/tst-unique3lib2.cc: New file.
78692         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78694 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78696         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78697         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78698         to _start.
78700 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78702         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78703         to-be-loaded object along a path to loader is ld.so.
78705 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78706             Ulrich Drepper  <drepper@gmail.com>
78708         * sysdeps/x86_64/memset.S: After aligning destination, code
78709         branches to different locations depending on the value of
78710         misalignment, when multiarch is enabled. Fix this.
78712 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78714         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78715         Set _x86_64_preferred_memory_instruction for AMD processsors.
78716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78717         Set bit_Prefer_SSE_for_memop for AMD processors.
78719 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78721         * libio/fmemopen.c (fmemopen): Optimize a bit.
78723 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78725         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78727 2011-03-03  Roland McGrath  <roland@redhat.com>
78729         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78731 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78733         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78734         __bzero_ultra1 instead of __memset_ultra1.
78736 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78737             Ulrich Drepper  <drepper@gmail.com>
78739         [BZ #12509]
78740         * include/link.h (struct link_map): Add l_orig_initfini.
78741         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78742         returning unsuccessfully.
78743         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78744         close of a file loaded at startup, restore the original l_initfini
78745         list.
78746         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78747         list, store the pointer.
78748         * elf/Makefile ($(objpfx)noload-mem): New rule.
78749         (noload-ENV): Define.
78750         (tests): Add $(objpfx)noload-mem.
78751         * elf/noload.c: Include <memcheck.h>.
78752         (main): Call mtrace.  Close all opened handles.
78754 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78756         [BZ #12454]
78757         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78758         dependencies are missing.
78760 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78762         Fix __if_freereq crash: Unlike the generic version which uses free,
78763         Hurd needs munmap.
78764         * sysdeps/mach/hurd/ifreq.h: New file.
78766 2011-01-27  Petr Baudis  <pasky@suse.cz>
78767             Ulrich Drepper  <drepper@gmail.com>
78769         [BZ 12445]#
78770         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78771         to extend_alloca().
78772         * stdio-common/bug23.c: New file.
78773         * stdio-common/Makefile (tests): Add bug23.
78775 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78776             Ulrich Drepper  <drepper@gmail.com>
78778         [BZ #12489]
78779         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78780         before performing relro protection.  At old place add assertion
78781         to make sure nothing changed.
78783 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78784             Glauber de Oliveira Costa  <glommer@gmail.com>
78786         * elf/elf.h: Add new ARM TLS relocs.
78788 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78791         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78792         cast from r3.
78793         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78794         'tests' variable.
78795         * sysdeps/wordsize-64/tst-writev.c: New file.
78797 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78799         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78800         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78801         insns in _dl_start to prevent a TOC reference before relocs are
78802         resolved.
78804 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78806         [BZ #12469]
78807         * Makeconfig: Remove RANLIB definition.
78808         * Makerules: Don't use RANLIB.
78809         * aclocal.m4: Remove ranlib test.
78810         * configure.in: No need to check for ranlib.
78811         * elf/rtld-Rules: Don't use RANLIB.
78813 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78815         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78816         protection macro.
78817         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78818         inclusion protection macro.
78820         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78821         SIGRTMIN and SIGRTMAX and print information in that case only when
78822         SIGRTMIN is defined.
78824 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78826         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78827         arginfo fn returning -1.
78829         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78830         and thousands string is zero terminated.
78832 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78835         sysdeps/unix/sysv/linux/bits/socket.h.
78837 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78839         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78840         (__CPU_COUNT): Remove old macros.
78841         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78842         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78843         (__CPU_ALLOC, __CPU_FREE): Add macros.
78844         (__sched_cpualloc, __sched_cpufree): Add declarations.
78846 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78848         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78849         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78850         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78851         (readdhstai): Return value of addhstaiX call.
78852         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78853         (addgrbyX): Return value returned by cache_addgr.
78854         (readdgrbyname): Return value returned by addgrbyX.
78855         (readdgrbygid): Likewise.
78856         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78857         (addpwbyX): Return value returned by cache_addpw.
78858         (readdpwbyname): Return value returned by addhstbyX.
78859         (readdpwbyuid): Likewise.
78860         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78861         (addservbyX): Return value returned by cache_addserv.
78862         (readdservbyname): Return value returned by addservbyX:
78863         (readdservbyport): Likewise.
78864         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78865         (addhstbyX): Return value returned by cache_addhst.
78866         (readdhstbyname): Return value returned by addhstbyX.
78867         (readdhstbyaddr): Likewise.
78868         (readdhstbynamev6): Likewise.
78869         (readdhstbyaddrv6): Likewise.
78870         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78871         (readdinitgroups): Return value returned by addinitgroupsX.
78872         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78873         (prune_cache): Keep track of timeout value of re-added entries.
78874         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78875         * nscd/nscd.h: Adjust prototypes of readd* functions.
78877 2011-02-04  Roland McGrath  <roland@redhat.com>
78879         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78880         (nis_stats): Likewise.
78881         * nis/nis_modify.c (nis_modify): Likewise.
78882         * nis/nis_remove.c (nis_remove): Likewise.
78883         * nis/nis_add.c (nis_add): Likewise.
78885         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78887         * posix/fnmatch_loop.c: Add some consts.
78889         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78891 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78893         [BZ #12460]
78894         * config.make.in (config-cflags-novzeroupper): Define.
78895         * configure.in: Substitute libc_cv_cc_novzeroupper.
78896         * elf/Makefile (AVX-CFLAGS): Define.
78897         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78898         (CFLAGS-tst-auditmod4a.c): Likewise.
78899         (CFLAGS-tst-auditmod4b.c): Likewise.
78900         (CFLAGS-tst-auditmod6b.c): Likewise.
78901         (CFLAGS-tst-auditmod6c.c): Likewise.
78902         (CFLAGS-tst-auditmod7b.c): Likewise.
78903         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78905 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78907         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78908         function to the callback.
78909         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78911 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78913         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78914         of errno.
78916 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78918         [BZ #11724]
78919         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78920         of constructors.
78921         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78922         of destructors.
78923         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78925         [BZ #11724]
78926         * elf/Makefile: Add rules to build and run new test.
78927         * elf/tst-initorder.c: New file.
78928         * elf/tst-initorder.exp: New file.
78929         * elf/tst-initordera1.c: New file.
78930         * elf/tst-initordera2.c: New file.
78931         * elf/tst-initordera3.c: New file.
78932         * elf/tst-initordera4.c: New file.
78933         * elf/tst-initorderb1.c: New file.
78934         * elf/tst-initorderb2.c: New file.
78935         * elf/tst-order-a1.c: New file.
78936         * elf/tst-order-a2.c: New file.
78937         * elf/tst-order-a3.c: New file.
78938         * elf/tst-order-a4.c: New file.
78939         * elf/tst-order-b1.c: New file.
78940         * elf/tst-order-b2.c: New file.
78941         * elf/tst-order-main.c: New file.
78942         New test case by George Gensure <werkt0@gmail.com>.
78944 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78947         decoding ACE if AI_CANONIDN.
78949 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78951         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78953 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78955         * version.h (RELEASE): Bump for 2.13 release.
78956         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78958         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78960         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78961         MADV_NOHUGEPAGE.
78962         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78963         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78964         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78965         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78966         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78967         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78969         * posix/getconf.c: Update copyright year.
78970         * catgets/gencat.c: Likewise.
78971         * csu/version.c: Likewise.
78972         * debug/catchsegv.sh: Likewise.
78973         * debug/xtrace.sh: Likewise.
78974         * elf/ldconfig.c: Likewise.
78975         * elf/ldd.bash.in: Likewise.
78976         * elf/sprof.c (print_version): Likewise.
78977         * iconv/iconv_prog.c: Likewise.
78978         * iconv/iconvconfig.c: Likewise.
78979         * locale/programs/locale.c: Likewise.
78980         * locale/programs/localedef.c: Likewise.
78981         * malloc/memusage.sh: Likewise.
78982         * malloc/mtrace.pl: Likewise.
78983         * nscd/nscd.c (print_version): Likewise.
78984         * nss/getent.c: Likewise.
78986         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78987         PF_CAIF, and PF_ALG.
78988         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78990 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78992         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78993         (modules-names): Use them.
78994         (ifunc-test-modules, ifunc-pie-tests): Define.
78995         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78996         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78997         (test-extras): Likewise.
78998         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78999         $(compile-command.c).
79000         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79001         (all-built-dso): Define.
79002         (check-textrel.out, check-execstack.out): Depend on it.
79004         * configure.in: Don't override --enable-multi-arch.
79006 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79008         [BZ #6812]
79009         * nscd/hstcache.c (tryagain): Define.
79010         (cache_addhst): Return tryagain not notfound for temporary errors.
79011         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79012         failed.
79014 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79016         [BZ #10563]
79017         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79018         to make the syscall.
79019         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79021         [BZ #12378]
79022         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79023         and fall back to matching as normal character if the string ends before
79024         the matching ']' is found.  This is what POSIX requires.
79025         * posix/testfnm.c: Adjust test result.
79026         * posix/globtest.sh: Adjust test result.  Add new test.
79027         * posix/tst-fnmatch.input: Likewise.
79028         * posix/tst-fnmatch2.c: Add new test.
79030 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79032         * elf/Makefile (check-execstack): Revert last change.  Depend on
79033         check-execstack.h.
79034         (check-execstack.h): New target.
79035         (generated): Add check-execstack.h.
79036         * elf/check-execstack.c: Include "check-execstack.h".
79037         (main): Revert last change.
79038         (handle_file): Return zero if GNU_STACK is absent and
79039         DEFAULT_STACK_PERMS doesn't include PF_X.
79041 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79043         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79044         in child fails because the descriptor is already closed.
79045         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79046         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79047         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79049         [BZ #12397]
79050         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79051         syscall.
79053         [BZ #10484]
79054         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79055         temporary buffer used to handle multi lookups locally.
79056         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79058 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79060         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79061         loader is ld.so.
79063 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79065         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79066         alignment for SSE2.
79068 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79070         [BZ #12394]
79071         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79072         characters.  When rounding increased number of integer digits recompute
79073         number of groups.
79074         * stdio-common/tst-grouping.c: New file.
79075         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79077 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79079         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79080         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79082         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79083         void.
79084         * bits/select.h: Likewise.
79086 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79088         * po/ja.po: Update from translation team.
79090 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79092         [BZ #11155]
79093         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79094         implementation just like for lxstat, fxstatat, et al.
79096 2010-12-27  Jim Meyering  <meyering@redhat.com>
79098         [BZ #12348]
79099         * posix/regexec.c (build_trtable): Return failure indication upon
79100         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79102 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79104         [BZ #12201]
79105         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79106         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79107         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79108         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79110         [BZ #12207]
79111         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79113         [BZ #12204]
79114         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79115         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79117 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79119         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79120         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79121         script has SORT_BY_INIT_PRIORITY.
79122         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79123         NO_CTORS_DTORS_SECTIONS is defined.
79124         * elf/soinit.c: Likewise.
79125         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79126         NO_CTORS_DTORS_SECTIONS is defined.
79127         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79128         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79129         * sysdeps/sh/init-first.c: Likewise.
79130         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79132 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79134         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79135         always use the slow path.
79137 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79139         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79140         similar rule which adds the sysdep directories to the header search in
79141         order to pick up the correct platform stackinfo.h.
79142         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79143         perform test if it is, otherwise return successfully without testing.
79144         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79145         DEFAULT_STACK_PERMS define in stackinfo.h.
79146         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79147         defined in stackinfo.h.
79148         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79149         DEFAULT_STACK_PERMS defined in stackinfo.h.
79150         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79151         * sysdeps/ia64/stackinfo.h: Likewise.
79152         * sysdeps/s390/stackinfo.h: Likewise.
79153         * sysdeps/sh/stackinfo.h: Likewise.
79154         * sysdeps/sparc/stackinfo.h: Likewise.
79155         * sysdeps/x86_64/stackinfo.h: Likewise.
79156         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79157         PF_X for powerpc64.  Retain PF_X for powerpc32.
79159 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79161         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79162         accurately.
79163         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79164         GETDENTS_64BIT_ALIGNED.
79166 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79168         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79170 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79172         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79173         _GNU_SOURCE.
79175         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79176         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79177         Remove __restrict.
79178         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79179         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79181 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79183         [BZ #11655]
79184         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79185         are initialized.
79187 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79189         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79191 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79193         * po/it.po: Update from translation team.
79195 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79197         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79198         unused codes.
79200 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79202         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79204 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79206         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79207         specially.
79208         (gaih_getanswer_slice): Likewise.
79210 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79212         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79214 2010-05-31  Petr Baudis  <pasky@suse.cz>
79216         [BZ #11149]
79217         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79218         silently even in the chroot mode.
79220 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79222         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79223         last patch a bit.  Pretty printing
79225 2010-05-31  Petr Baudis <pasky@suse.cz>
79227         [BZ #10085]
79228         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79229         initialization of skip_initgroups_dyn.
79231 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79233         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79234         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79236 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79238         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79240 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79242         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79243         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79244         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79245         ($(objpfx)tst-fnmatch-mem): New rule.
79246         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79247         * posix/tst-fnmatch.c (main): Call mtrace.
79249 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79252         Support Intel processor model 6 and model 0x2c.
79254 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79256         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79257           signed comparison.
79259 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79261         [BZ #12205]
79262         * string/test-strncasecmp.c (check_result): New function.
79263         (do_one_test): Use it.
79264         (check1): New function.
79265         (test_main): Use it.
79266         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79267         Support strcasecmp and strncasecmp.
79269 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79271         [BZ #12194]
79272         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79273         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79275 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79277         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79278         IFUNC support.
79279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79280         memset-x86-64.
79281         * sysdeps/x86_64/multiarch/bzero.S: New file.
79282         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79283         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79284         * sysdeps/x86_64/multiarch/memset.S: New file.
79285         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79287         Set bit_Prefer_SSE_for_memop for Intel processors.
79288         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79289         Define.
79290         (index_Prefer_SSE_for_memop): Define.
79291         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79293 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79295         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79296         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79298 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79300         [BZ #12191]
79301         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79302         (__x86_64_raw_data_cache_size_half): Likewise.
79303         (__x86_64_raw_shared_cache_size): Likewise.
79304         (__x86_64_raw_shared_cache_size_half): Likewise.
79306         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79307         (__x86_64_raw_data_cache_size_half): Likewise.
79308         (__x86_64_raw_shared_cache_size): Likewise.
79309         (__x86_64_raw_shared_cache_size_half): Likewise.
79310         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79311         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79312         and __x86_64_raw_shared_cache_size_half.  Round
79313         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79314         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79315         to multiple of 256 bytes.
79317 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79319         [BZ #12167]
79320         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79321         of inacessible symlinks.  Verify result of symlink before returning it.
79322         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79323         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79325 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79327         * math/math.h (isinf): Fix typo in comment.
79329 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79331         * po/da.po: Update from translation team.
79333 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79335         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79336         is added to the list.
79338 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79339             Ulrich Drepper  <drepper@gmail.com>
79341         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79342         the global list here.  Move code to...
79343         (_dl_add_to_namespace_list): ...here.  New function.
79344         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79345         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79346         * elf/dl-load.c (lose): Don't remove the element from the list.
79347         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79348         (_dl_map_object): Likewise.
79350 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79352         [BZ #12159]
79353         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79354         into all bytes of SSE register.
79355         Patch by Richard Li <richardpku@gmail.com>.
79357 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79359         [BZ #12140]
79360         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79361         perturbing.
79363 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79365         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79366         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79367         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79368         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79370         submachine.
79371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79373 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79375         * include/dlfcn.h (__RTLD_SECURE): Define.
79376         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79377         mode & __RTLD_SECURE instead.
79378         (open_path): Rename preloaded parameter to secure.
79379         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79380         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79381         * elf/dl-deps.c (openaux): Likewise.
79382         * elf/rtld.c (struct map_args): Remove is_preloaded.
79383         (map_doit): Don't use it.
79384         (dl_main): Likewise.
79385         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79386         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79388 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79390         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79391         (sysd-rules-targets): Remove duplicates.
79392         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79393         rtld-%.$o dependency.
79395 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79397         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79398         _dl_map_object do it.
79400 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79402         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79403         fast fma builtins, define the macros in the C99 standard.
79404         (FP_FAST_FMAF): Likewise.
79405         (FP_FAST_FMAL): Likewise.
79406         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79408         * bits/mathdef.h: Update copyright year.
79409         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79411 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79413         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79414         builtins, define the macros in the C99 standard.
79415         (FP_FAST_FMAF): Likewise.
79416         (FP_FAST_FMAL): Likewise.
79417         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79418         multiply/add.
79419         (FP_FAST_FMAF): Likewise.
79421 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79423         [BZ #3268]
79424         * math/libm-test.inc (fma_test): Some new testcases.
79425         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79426         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79427         y and infinite z.  Do multiplication by C already in long double.
79428         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79429         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79430         y and infinite z.  Do bitwise or of inexact bit into u.d.
79431         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79432         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79433         * sysdeps/i386/fpu/s_fma.S: Removed.
79434         * sysdeps/i386/fpu/s_fmal.S: Removed.
79436 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79438         [BZ #3268]
79439         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79440         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79441         computation is not scheduled after fetestexcept.  Fix value
79442         of minimum denormal long double.
79444 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79446         [BZ #3268]
79447         * math/libm-test.inc (fma_test): Add some more tests.
79448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79449         correctly.
79451 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79453         * scripts/data/localplt-s390-linux-gnu.data: New file.
79454         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79456 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79458         [BZ #3268]
79459         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79460         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79461         instead of dbl-64.
79462         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79463         inlines.
79464         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79466         if one of x and y is very large and the other is subnormal.
79467         * sysdeps/s390/fpu/s_fmaf.c: New file.
79468         * sysdeps/s390/fpu/s_fma.c: New file.
79469         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79470         * sysdeps/powerpc/fpu/s_fma.S: New file.
79471         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79472         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79473         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79475 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79477         [BZ #3268]
79478         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79479         fma tests.
79480         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79481         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79482         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79483         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79484         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79485         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79486         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79488 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79490         [BZ #12078]
79491         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79492         * posix/bug-regex31.input: Add test case.
79494 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79496         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79497         * posix/bug-regex31.input: New file.
79499         [BZ #12078]
79500         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79501         (parse_sub_exp): Fix last change, use postorder.
79503         * posix/bug-regex31.c: New file.
79504         * posix/Makefile: Add rules to build and run bug-regex31.
79506         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79508         [BZ #12078]
79509         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79511         [BZ #12108]
79512         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79513         to have entries in sys_siglist.
79515         [BZ #12093]
79516         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79517         be NULL.
79519 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79521         [BZ #3268]
79522         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79523         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79524         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79525         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79526         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79527         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79528         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79529         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79530         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79531         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79532         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79533         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79534         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79535         * math/ftestexcept.c (fetestexcept): Likewise.
79536         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79537         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79538         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79539         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79540         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79541         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79542         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79544 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79546         [BZ #12107]
79547         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79548         newline.
79550 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79552         * string/bug-strstr1.c: New file.
79553         * string/Makefile: Add rules to build and run bug-strstr1.
79555 2010-10-05  Eric Blake  <eblake@redhat.com>
79557         [BZ #12092]
79558         * string/str-two-way.h (two_way_long_needle): Always clear memory
79559         when skipping input due to the shift table.
79561 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79563         [BZ #12005]
79564         * malloc/mcheck.c: Handle large requests.
79566         [BZ #12077]
79567         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79568         for strncmp and strncasecmp.
79569         * string/stratcliff.c: Add tests for strcmp and strncmp.
79570         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79572 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79574         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79575         __set_fpscr.
79577 2010-09-30  Andreas Jaeger  <aj@suse.de>
79579         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79580         (CGROUP_SUPER_MAGIC): Define.
79581         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79582         Handle btrfs and cgroup file systems.
79583         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79584         Likewise.
79586 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79588         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79589         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79591 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79593         [BZ #12067]
79594         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79595         trying to locate the ELF header.
79597 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79599         [BZ #11611]
79600         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79601         Mask out sign-bit copies when constructing f_fsid.
79603 2010-09-24  Petr Baudis <pasky@suse.cz>
79605         * debug/stack_chk_fail_local.c: Add missing licence exception.
79606         * debug/warning-nop.c: Likewise.
79608 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79610         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79611         implementing getdents64 using getdents syscall, set d_type if
79612         __ASSUME_GETDENTS32_D_TYPE.
79614 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79616         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79617         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79619 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79621         [BZ #12037]
79622         * posix/unistd.h: Undo change of feature selection for ftruncate from
79623         2010-01-11.
79625 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79627         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79628         detection.
79630 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79632         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79633         fanotify_mark.
79634         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79636 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79638         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79639         variables after CHECK_SP call.
79640         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79642 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79643             Ulrich Drepper  <drepper@redhat.com>
79645         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79646         re-relocationg ld.so.
79647         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79648         _dl_init_paths call.
79649         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79650         here anymore.
79652 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79654         * resolv/res_init.c (__res_vinit): Count the default server we added.
79656 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79657             Ulrich Drepper  <drepper@redhat.com>
79659         [BZ #11968]
79660         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79661         (____longjmp_chk): Use %ebx for saving value across system call.
79662         Add unwind info.
79664 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79666         * manual/Makefile: Don't mix pattern rules with normal rules.
79668 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79670         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79671         operation.
79672         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79673         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79674         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79675         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79676         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79677         Likewise.
79679 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79681         [BZ #11979]
79682         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79683         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79685 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79687         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79688         * sysdeps/x86_64/addmul_1.S: Likewise.
79689         * sysdeps/x86_64/lshift.S: Likewise.
79690         * sysdeps/x86_64/mul_1.S: Likewise.
79691         * sysdeps/x86_64/rshift.S: Likewise.
79692         * sysdeps/x86_64/sub_n.S: Likewise.
79693         * sysdeps/x86_64/submul_1.S: Likewise.
79695 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79697         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79698         Define __sched_param instead of SCHED_* and sched_param when
79699         <bits/sched.h> is included with __need_schedparam defined.
79700         * bits/sched.h [__need_schedparam]
79701         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79702         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79703         (__defined_schedparam): Define to 1.
79704         (__sched_param): New structure, identical to sched_param.
79705         (__need_schedparam): Undefine.
79707 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79709         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79710         (epoll_create1): Declare.
79712         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79714 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79716         [BZ #7066]
79717         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79718         shifting retval into place.
79720 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79722         * nis/rpcsvc/nis.h: Update copyright notice.
79723         * nis/rpcsvc/nis.x: Likewise.
79724         * nis/rpcsvc/nis_callback.h: Likewise.
79725         * nis/rpcsvc/nis_callback.x: Likewise.
79726         * nis/rpcsvc/nis_object.x: Likewise.
79727         * nis/rpcsvc/nis_tags.h: Likewise.
79728         * nis/rpcsvc/yp.h: Likewise.
79729         * nis/rpcsvc/yp.x: Likewise.
79730         * nis/rpcsvc/ypupd.h: Likewise.
79731         * nis/yp_xdr.c: Likewise.
79732         * nis/ypupdate_xdr.c: Likewise.
79734         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79735         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79736         (pmap_getport): Use __libc_rpc_getport.
79737         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79738         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79739         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79741 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79744         fanotify_mark.
79746 2010-08-27  Roland McGrath  <roland@redhat.com>
79748         * sysdeps/i386/i686/multiarch/Makefile
79749         (CFLAGS-varshift.c): New variable.
79751 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79753         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79754         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79756         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79758         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79760 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79762         * sysdeps/x86_64/strlen.S: Unroll the loop.
79763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79764         strlen-sse2 strlen-sse2-bsf.
79765         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79766         __strlen_no_bsf if bit_Slow_BSF is set.
79767         (__strlen_sse42): Removed.
79768         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79769         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79771 2010-08-25  Roland McGrath  <roland@redhat.com>
79773         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79774         * sysdeps/x86_64/multiarch/varshift.c: New file.
79775         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79776         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79777         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79778         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79780 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79782         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79783         strlen-sse2 strlen-sse2-bsf.
79784         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79785         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79786         (__strlen_sse2): Removed.
79787         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79788         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79790         bit_Slow_BSF for Atom.
79791         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79792         (index_Slow_BSF): Define.
79793         (HAS_SLOW_BSF): Define.
79795 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79797         [BZ #10851]
79798         * resolv/res_init.c (__res_vinit): When no server address at all
79799         is given default to loopback.
79801 2010-08-24  Roland McGrath  <roland@redhat.com>
79803         * configure.in: Remove config-name.h generation.
79804         * configure: Regenerated.
79805         * config-name.in: File removed.
79806         * scripts/config-uname.sh: New file.
79807         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79808         ($(objdir)config-name.h): New target.
79810         * sunrpc/rpc_parse.h: Avoid nested comment.
79812 2010-08-24  Richard Henderson  <rth@redhat.com>
79813             Ulrich Drepper  <drepper@redhat.com>
79814             H.J. Lu  <hongjiu.lu@intel.com>
79816         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79818         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79819         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79820         _mm_alignr_epi8 with _mm_loadu_si128.
79821         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79822         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79823         (__m128i_shift_right): Removed.
79824         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79825         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79826         * sysdeps/x86_64/multiarch/varshift.h: New file.
79827         * sysdeps/x86_64/multiarch/varshift.S: New file.
79829 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79831         * configure.in: Move assembler checks to before sysdep dir checking.
79833 2010-08-20  Petr Baudis  <pasky@suse.cz>
79835         * LICENSES: Sync the sunrpc license.
79837 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79839         * sunrpc/auth_des.c: Update copyright notice once again.
79840         * sunrpc/auth_none.c: Likewise.
79841         * sunrpc/auth_unix.c: Likewise.
79842         * sunrpc/authdes_prot.c: Likewise.
79843         * sunrpc/authuxprot.c: Likewise.
79844         * sunrpc/bindrsvprt.c: Likewise.
79845         * sunrpc/clnt_gen.c: Likewise.
79846         * sunrpc/clnt_perr.c: Likewise.
79847         * sunrpc/clnt_raw.c: Likewise.
79848         * sunrpc/clnt_simp.c: Likewise.
79849         * sunrpc/clnt_tcp.c: Likewise.
79850         * sunrpc/clnt_udp.c: Likewise.
79851         * sunrpc/clnt_unix.c: Likewise.
79852         * sunrpc/des_crypt.c: Likewise.
79853         * sunrpc/des_soft.c: Likewise.
79854         * sunrpc/get_myaddr.c: Likewise.
79855         * sunrpc/getrpcport.c: Likewise.
79856         * sunrpc/key_call.c: Likewise.
79857         * sunrpc/key_prot.c: Likewise.
79858         * sunrpc/openchild.c: Likewise.
79859         * sunrpc/pm_getmaps.c: Likewise.
79860         * sunrpc/pm_getport.c: Likewise.
79861         * sunrpc/pmap_clnt.c: Likewise.
79862         * sunrpc/pmap_prot.c: Likewise.
79863         * sunrpc/pmap_prot2.c: Likewise.
79864         * sunrpc/pmap_rmt.c: Likewise.
79865         * sunrpc/rpc/auth.h: Likewise.
79866         * sunrpc/rpc/auth_unix.h: Likewise.
79867         * sunrpc/rpc/clnt.h: Likewise.
79868         * sunrpc/rpc/des_crypt.h: Likewise.
79869         * sunrpc/rpc/key_prot.h: Likewise.
79870         * sunrpc/rpc/netdb.h: Likewise.
79871         * sunrpc/rpc/pmap_clnt.h: Likewise.
79872         * sunrpc/rpc/pmap_prot.h: Likewise.
79873         * sunrpc/rpc/pmap_rmt.h: Likewise.
79874         * sunrpc/rpc/rpc.h: Likewise.
79875         * sunrpc/rpc/rpc_des.h: Likewise.
79876         * sunrpc/rpc/rpc_msg.h: Likewise.
79877         * sunrpc/rpc/svc.h: Likewise.
79878         * sunrpc/rpc/svc_auth.h: Likewise.
79879         * sunrpc/rpc/types.h: Likewise.
79880         * sunrpc/rpc/xdr.h: Likewise.
79881         * sunrpc/rpc_clntout.c: Likewise.
79882         * sunrpc/rpc_cmsg.c: Likewise.
79883         * sunrpc/rpc_common.c: Likewise.
79884         * sunrpc/rpc_cout.c: Likewise.
79885         * sunrpc/rpc_dtable.c: Likewise.
79886         * sunrpc/rpc_hout.c: Likewise.
79887         * sunrpc/rpc_main.c: Likewise.
79888         * sunrpc/rpc_parse.c: Likewise.
79889         * sunrpc/rpc_parse.h: Likewise.
79890         * sunrpc/rpc_prot.c: Likewise.
79891         * sunrpc/rpc_sample.c: Likewise.
79892         * sunrpc/rpc_scan.c: Likewise.
79893         * sunrpc/rpc_scan.h: Likewise.
79894         * sunrpc/rpc_svcout.c: Likewise.
79895         * sunrpc/rpc_tblout.c: Likewise.
79896         * sunrpc/rpc_util.c: Likewise.
79897         * sunrpc/rpc_util.h: Likewise.
79898         * sunrpc/rpcinfo.c: Likewise.
79899         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79900         * sunrpc/rpcsvc/key_prot.x: Likewise.
79901         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79902         * sunrpc/rpcsvc/mount.x: Likewise.
79903         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79904         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79905         * sunrpc/rpcsvc/rex.x: Likewise.
79906         * sunrpc/rpcsvc/rstat.x: Likewise.
79907         * sunrpc/rpcsvc/rusers.x: Likewise.
79908         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79909         * sunrpc/rpcsvc/spray.x: Likewise.
79910         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79911         * sunrpc/rtime.c: Likewise.
79912         * sunrpc/svc.c: Likewise.
79913         * sunrpc/svc_auth.c: Likewise.
79914         * sunrpc/svc_authux.c: Likewise.
79915         * sunrpc/svc_raw.c: Likewise.
79916         * sunrpc/svc_run.c: Likewise.
79917         * sunrpc/svc_simple.c: Likewise.
79918         * sunrpc/svc_tcp.c: Likewise.
79919         * sunrpc/svc_udp.c: Likewise.
79920         * sunrpc/svc_unix.c: Likewise.
79921         * sunrpc/svcauth_des.c: Likewise.
79922         * sunrpc/xcrypt.c: Likewise.
79923         * sunrpc/xdr.c: Likewise.
79924         * sunrpc/xdr_array.c: Likewise.
79925         * sunrpc/xdr_float.c: Likewise.
79926         * sunrpc/xdr_mem.c: Likewise.
79927         * sunrpc/xdr_rec.c: Likewise.
79928         * sunrpc/xdr_ref.c: Likewise.
79929         * sunrpc/xdr_sizeof.c: Likewise.
79930         * sunrpc/xdr_stdio.c: Likewise.
79932         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79933         handling.
79935 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79937         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79939 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79941         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79942         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79943         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79944         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79945         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79946         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79947         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79948         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79949         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79950         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79951         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79952         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79953         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79954         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79956 2010-07-26  Anton Blanchard  <anton@samba.org>
79958         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79959         * malloc/arena.c (heap_trim): Likewise.
79961 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79963         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79964         here.  Not...
79965         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79966         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79968 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79970         * sysdeps/i386/elf/Makefile: New file.
79972 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79974         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79975         from fanotify_init.
79976         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79979 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79981         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79982         of strncasecmp_l.
79983         * sysdeps/multiarch/strcmp.S: Likewise.
79985 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79987         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79988         strncase_l-nonascii.
79989         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79990         Add strncase_l-ssse3.
79991         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79992         * sysdeps/x86_64/strcmp.S: Likewise.
79993         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79994         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79995         * sysdeps/x86_64/strncase.S: New file.
79996         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79997         * sysdeps/x86_64/strncase_l.S: New file.
79998         * string/Makefile (strop-tests): Add strncasecmp.
79999         * string/test-strncasecmp.c: New file.
80001         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80002         warning.
80004         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80005         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80007 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80009         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80011 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80013         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80014         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80015         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80017 2010-05-01  Alan Modra  <amodra@gmail.com>
80019         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80020         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80021         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80022         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80023         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80024         tidying.  Don't tail-call __sigjmp_save for static lib.
80025         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80026         save location.
80027         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80028         (CALL_MCOUNT): Add eh info, and nop after bl.
80029         (TAIL_CALL_SYSCALL_ERROR): New macro.
80030         (PSEUDO_RET): Use it.
80031         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80032         Correct save location of integer regs and cr.
80033         (_dl_profile_resolve): Correct cr save location.  Delete nops
80034         after bl when SHARED.  Reduce cfi size a little by better
80035         placement of cfi directives.
80036         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80037         make a stack frame.  Instead use parm save area as a temp.
80038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80039         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80041         Don't make a stack frame for parent, use parm save area.
80042         Increase child stack frame to 112 bytes.  Don't save unused reg,
80043         and adjust reg usage.  Set up cfi on error recovery and
80044         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80046         (__makecontext): Add dummy nop after jump to exit.
80047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80048         Use correct parm save area and cr save, reduce stack frame.
80049         Correct cfi for possible PSEUDO_RET frame setup.
80050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80051         Branch to local label emitted by PSEUDO_RET rather than
80052         __syscall_error.
80054 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80056         [BZ #11904]
80057         * locale/programs/locale.c (print_assignment): New function.
80058         (show_locale_vars): Use it.
80060 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80062         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80063         field.
80064         (struct statfs64): Likewise.
80065         (_STATFS_F_FLAGS): Define.
80066         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80067         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80068         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80069         (ST_VALID): Define locally.
80070         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80071         __statvfs_getflags, use the provided value.
80072         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80073         __ASSUME_STATFS_F_FLAGS.
80075         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80077         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80078         Add sys/fanotify.h.
80079         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80080         fanotify_mask for GLIBC_2.13.
80081         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80082         fanotify_init and fanotify_mark.
80083         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80084         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80086         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80087         Add prlimit.
80088         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80089         prlimit64 for GLIBC_2.13.
80090         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80091         prlimit64.
80092         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80093         syscall.
80094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80095         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80096         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80097         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80098         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80099         add prlimit alias.
80100         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80102         [BZ #11903]
80103         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80104         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80106         * nss/Makefile: Add rules to build and run tst-nss-test1.
80107         * shlib-versions: Add entry for libnss_test1.
80108         * nss/nss_test1.c: New file.
80109         * nss/tst-nss-test1.c: New file.
80111         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80112         (__nss_configure_lookup): Set appropriate entry in
80113         __nss_configure_lookup to true.
80114         * nss/nsswitch.h: Define enum with indeces of databases in
80115         databases and __nss_database_custom arrays.  Declare
80116         __nss_database_custom.
80117         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80118         to avoid using nscd when custom rules are installed.
80119         * nss/getXXbyYY_r.c: Likewise.
80120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80122         * nss/nss_files/files-parse.c: Whitespace fixes.
80124 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80126         [BZ #11883]
80127         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80128         * posix/fnmatch_loop.c: Likewise.
80130 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80132         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80133         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80134         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80135         * Versions.def [GLIBC_2.13]: Add.
80137 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80139         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80140         Also fail if tpwd after pwuid call is NULL.
80142 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80144         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80145         when converting to ms.
80147 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80149         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80150         EOPNOTSUPP errors with ENOTTY.
80151         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80152         EOPNOTSUPP errors with ENOTTY.
80154 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80156         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80157         Add strcasecmp_l-ssse3.
80158         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80159         strcasecmp.
80160         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80161         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80162         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80164 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80166         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80168         * string/Makefile (strop-tests): Add strcasecmp.
80169         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80170         strcasecmp_l-nonascii.
80171         (gen-as-const-headers): Add locale-defines.sym.
80172         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80173         * sysdeps/x86_64/strcasecmp.S: New file.
80174         * sysdeps/x86_64/strcasecmp_l.S: New file.
80175         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80176         * sysdeps/x86_64/locale-defines.sym: New file.
80177         * string/test-strcasecmp.c: New file.
80179         * string/test-strcasestr.c: Test both ends of the range of characters.
80180         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80182 2010-07-29  Roland McGrath  <roland@redhat.com>
80184         [BZ #11856]
80185         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80187 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80189         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80190         for ld.so.
80192 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80194         * manual/memory.texi (Malloc Tunable Parameters): Document
80195         M_PERTURB.
80197 2010-07-26  Roland McGrath  <roland@redhat.com>
80199         [BZ #11840]
80200         * configure.in (-fgnu89-inline check): Set and substitute
80201         gnu89_inline, not libc_cv_gnu89_inline.
80202         * configure: Regenerated.
80203         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80205 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80207         * string/test-strnlen.c: New file.
80208         * string/Makefile (strop-tests): Add strnlen.
80209         * string/tester.c (test_strnlen): Add a few more test cases.
80210         * string/tst-strlen.c: Better error reporting.
80212         * sysdeps/x86_64/strnlen.S: New file.
80214 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80216         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80217         lower-latency instructions.
80219 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80221         * string/test-strcasestr.c: New file.
80222         * string/test-strstr.c: New file.
80223         * string/Makefile (strop-tests): Add strstr and strcasestr.
80224         * string/str-two-way.h: Don't undefine MAX.
80225         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80227 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80230         strcasestr-nonascii.
80231         (CFLAGS-strcasestr-nonascii.c): Define.
80232         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80233         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80234         Remove unused attribute.
80236 2010-07-20  Roland McGrath  <roland@redhat.com>
80238         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80239         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80240         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80241         like LD_HWCAP_MASK can disable hwcaps.
80243 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80245         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80247 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80249         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80250         call in strcasestr.
80251         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80252         __strcasestr_sse42_nonascii.
80253         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80254         strcasestr-nonascii.c.
80255         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80257 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80259         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80260         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80261         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80262         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80264 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80266         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80267         fcntl.
80269 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80271         [BZ #11577]
80272         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80273         dl_signal_cerror.
80275 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80277         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80278         _PC_PIPE_BUF using F_GETPIPE_SZ.
80280 2010-07-05  Roland McGrath  <roland@redhat.com>
80282         * manual/arith.texi (Rounding Functions): Fix rint description
80283         implicit in round description.
80285 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80287         * elf/Makefile: Fix linking for a few tests to make recent linker
80288         happy.
80290 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80292         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80293         $(common-objpfx)libc_nonshared.a.
80295 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80297         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80298         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80299         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80300         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80301         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80302         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80303         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80304         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80319         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80320         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80321         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80322         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80323         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80324         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80325         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80326         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80327         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80328         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80329         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80330         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80346 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80348         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80349         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80350         * string/memmove.c (memmove): Renamed to ...
80351         (MEMMOVE): ...this.  Default to memmove.
80352         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80353         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80354         (END_CHK): Define.
80355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80356         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80357         mempcpy-ssse3-back memmove-ssse3-back.
80358         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80359         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80360         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80361         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80362         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80363         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80364         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80365         * sysdeps/x86_64/multiarch/memmove.c: New file.
80366         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80367         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80368         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80369         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80370         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80371         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80372         Define.
80373         (index_Fast_Copy_Backward): Define.
80374         (HAS_ARCH_FEATURE): Define.
80375         (HAS_FAST_REP_STRING): Define.
80376         (HAS_FAST_COPY_BACKWARD): Define.
80378 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80380         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80381         Restore proper fallback handling.
80383 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80385         [BZ #11701]
80386         * posix/group_member.c (__group_member): Correct checking loop.
80388         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80389         OOM in getpwuid_r correctly.  Return error number when the caller
80390         should return, otherwise -1.
80391         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80392         call returning > 0 value.
80393         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80395 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80397         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80398         libc_nonshared.a from targets in modules-names.
80400 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80402         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80403         requires it.
80405 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80407         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80408         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80409         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80410         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80412 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80414         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80416 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80418         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80419         and F_GETPIPE_SZ.
80420         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80421         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80422         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80423         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80424         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80425         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80427 2010-06-14  Roland McGrath  <roland@redhat.com>
80429         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80431 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80433         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80434         __REDIRECT followed by __THROW.
80435         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80436         * posix/getopt.h (getopt): Likewise.
80438 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80440         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80441         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80442         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80443         in AT_FLAGS.
80444         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80445         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80447 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80449         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80451 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80453         [BZ #11640]
80454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80455         Properly check family and model.
80457 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80459         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80461 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80463         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80465 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80467         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80468         symbol reference.
80470 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80472         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80473         symbol reference.
80475 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80477         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80478         and internal_recvmmsg.
80479         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80480         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80481         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80482         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80484         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80485         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80486         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80488 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80490         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80492 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80494         POWER7 optimizations.
80495         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80496         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80498 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80500         * version.h: Update for 2.13 development version.
80502 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80504         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80505         exceptions.  Return 0.
80507 2010-05-07  Roland McGrath  <roland@redhat.com>
80509         * elf/ldconfig.c (main): Add a const.
80511 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80513         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80514         (args_options): Add no-idn option.
80515         (ahosts_keys_int): Add idn_flags to ai_flags.
80516         (parse_option): Handle 'i' option to clear idn_flags.
80518         * malloc/malloc.c (_int_free): Possible race in the most recently
80519         added check.  Only act on the data if no current modification
80520         happened.
80522 See ChangeLog.17 for earlier changes.