Use libc_ifunc macro for clock_* symbols in librt.
[glibc.git] / ChangeLog
blob44c1ef2ec8367c3fb8b30bfe682cb7dce41ba592
1 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9         in header for using it as type for ifunc function because __GI_* symbols
10         for ppc32 do not target the ifunc symbols.
11         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
17         libc_ifunc_hidden_def.
18         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
19         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
20         Redirect ifunced function in header for using it as type of ifunc'ed
21         function. Redefine libc_hidden_def to use fallback non ifunc'ed
22         function for __GI_* symbol.
23         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
24         * include/libc-symbols.h
25         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
27 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29         [BZ #20478]
30         * sysdeps/s390/multiarch/ifunc-resolve.h
31         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
32         to create ifunc symbols.
33         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
34         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
35         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
36         for using it as type for ifunc function.
37         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
38         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
39         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
40         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
41         * sysdeps/s390/multiarch/strcat.c: Likewise.
42         * sysdeps/s390/multiarch/strchr.c: Likewise.
43         * sysdeps/s390/multiarch/strcmp.c: Likewise.
44         * sysdeps/s390/multiarch/strcpy.c: Likewise.
45         * sysdeps/s390/multiarch/strcspn.c: Likewise.
46         * sysdeps/s390/multiarch/strlen.c: Likewise.
47         * sysdeps/s390/multiarch/strncmp.c: Likewise.
48         * sysdeps/s390/multiarch/strncpy.c: Likewise.
49         * sysdeps/s390/multiarch/strnlen.c: Likewise.
50         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
51         * sysdeps/s390/multiarch/strrchr.c: Likewise.
52         * sysdeps/s390/multiarch/strspn.c: Likewise.
53         * sysdeps/s390/multiarch/wcschr.c: Likewise.
54         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
55         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
56         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
57         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
58         * sysdeps/s390/multiarch/wmemset.c: Likewise.
59         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
60         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
61         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
62         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
63         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
64         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
66 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
68         * include/libc-symbols.h (__ifunc_resolver):
69         New macro is used by __ifunc* macros.
70         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
71         depending on HAVE_GCC_IFUNC.
72         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
73         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
74         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
75         Redirect ifunced function in header for using as type for ifunc function.
76         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
77         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
78         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
79         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
80         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
81         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
82         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
83         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
84         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
85         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
86         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
87         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
88         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
89         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
90         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
91         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
92         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
93         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
94         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
95         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
96         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
97         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
98         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
99         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
100         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
101         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
102         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
103         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
104         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
105         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
106         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
107         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
108         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
110         Add libc_hidden_def() and use libc_ifunc_hidden() macro
111         instead of libc_ifunc() macro.
112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
113         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
115 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
117         * config.h.in (HAVE_GCC_IFUNC): New undef.
118         * configure.ac: Add check if gcc supports attribute ifunc feature.
119         * configure: Regenerated.
120         * manual/install.texi: Add recommendation for gcc with
121         indirect-function support.
122         * INSTALL: Regenerated.
124 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
126         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
127         macro.
128         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
129         (__iseqsig): New declaration.
130         * math/s_iseqsig_template.c: New file.
131         * math/Versions (__iseqsigf): New libm symbol at version
132         GLIBC_2.25.
133         (__iseqsig): Likewise.
134         (__iseqsigl): Likewise.
135         * math/libm-test.inc (iseqsig_test_data): New array.
136         (iseqsig_test): New function.
137         (main): Call iseqsig_test.
138         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
139         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
140         * manual/libm-err-tab.pl: Update comment on interfaces without
141         ulps tabulated.
142         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
143         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
144         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
145         * sysdeps/nacl/libm.abilist: Update.
146         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
147         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
148         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
149         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
150         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
151         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
152         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
153         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
154         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
155         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
156         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
157         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
159         Likewise.
160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
161         Likewise.
162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
163         Likewise.
164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
165         Likewise.
166         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
167         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
168         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
169         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
170         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
172         Likewise.
173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
174         Likewise.
175         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
176         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
177         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
179 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
181         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
182         do_sincos_2, sloww, sloww1): Update comments.
184         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
185         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
187         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
188         K boolean and rename it.
189         (__sin): Adjust.
190         (__cos): Adjust.
192 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
193             Siddhesh Poyarekar  <siddhesh@sourceware.org>
195         * manual/nss.texi: Fix typos in the manual.
197 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
199         * manual/contrib.texi: Fix typos in the manual.
201         * manual/maint.texi: Fix typos in the manual.
203         * manual/install.texi: Fix typos in the manual.
204         * INSTALL: Regenerated.
206         * manual/lang.texi: Fix typos in the manual.
208         * manual/probes.texi: Fix typos in the manual.
210         * manual/threads.texi: Fix typos in the manual.
212         * manual/debug.texi: Fix typos in the manual.
214         * manual/crypt.texi: Fix typos in the manual.
216         * manual/conf.texi: Fix typos in the manual.
218         * manual/sysinfo.texi: Fix typos in the manual.
220         * manual/users.texi: Fix typos in the manual.
222         * manual/job.texi: Fix typos in the manual.
224         * manual/process.texi: Fix typos in the manual.
226         * manual/argp.texi: Fix typos in the manual.
227         * manual/getopt.texi: Likewise.
228         * manual/startup.texi: Likewise.
230         * manual/signal.texi: Fix typos in the manual.
232         * manual/setjmp.texi: Fix typos in the manual.
234         * manual/resource.texi: Fix typos in the manual.
236         * manual/time.texi: Fix typos in the manual.
238         * manual/arith.texi: Fix typos in the manual.
240         * manual/math.texi: Fix typos in the manual.
242         * manual/syslog.texi: Fix typos in the manual.
244         * manual/terminal.texi: Fix typos in the manual.
246         * manual/socket.texi: Fix typos in the manual.
248         * manual/filesys.texi: Fix typos in the manual.
250         * manual/llio.texi: Fix typos in the manual.
252         * manual/stdio.text: Fix typos in the manual.
254 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
256         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
257         instead of K1.
259         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
260         SHIFT_QUADRANT and make it bool.
261         (do_sincos_2): Likewise.
262         (sloww): Likewise.
263         (sloww1): Likewise.
264         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
265         (__cos): Likewise.
267 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
269         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
271 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
273         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
274         Define to __WORDSIZE, not conditional on [LONG_MAX ==
275         0x7fffffffL].
276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
278 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
280         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
281         inline by __inline__.
282         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
283         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
284         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
285         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
286         sigset_t from signal.h.
287         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
288         which is already required.
290 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
292         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
294 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
296         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
297         (struct tcp_repair_window): New type.
299 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
301         * libio/tst-memstream3.c: Include string.h.
303 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
305         [BZ #18241]
306         [BZ #20181]
307         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
308         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
309         write position is at the end the buffer.
310         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
311         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
312         (_IO_str_seekoff): Set correct offset from negative displacement and
313         set EINVAL for invalid ones.
314         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
315         buffer length.
316         (_IO_wstr_switch_to_get_mode): New function.
317         (_IO_wstr_seekoff): Set correct offset from negative displacement and
318         set EINVAL for invalid ones.
319         * libio/tst-memstream3.c: New file.
320         * libio/tst-wmemstream3.c: Likewise.
321         * manual/examples/memstrm.c: Remove warning when priting size_t.
323 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
325         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
326         macro to use __builtin_fma.
327         * sysdeps/x86_64/fpu/dla.h: Remove file.
329         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
330         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
331         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
333 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
335         [BZ #20292]
336         * elf/Makefile (routines): Add dl-addr-obj.
337         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
338         tst-_dl_addr_inside_object.
339         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
340         [ifeq (yesyes,$(have-fpie)$(build-shared))]
341         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
342         [ifeq (yesyes,$(have-fpie)$(build-shared))]
343         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
344         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
345         * elf/dl-open.c: Likewise.
346         * elf/dl-addr-obj.c: New file.
347         * elf/tst-_dl_addr_inside_object.c: New file.
349 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
351         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
352         <bits/iscanonical.h>.
353         * bits/iscanonical.h: New file.
354         * math/s_iscanonicall.c: Likewise.
355         * math/Versions (__iscanonicall): New libm symbol at version
356         GLIBC_2.25.
357         * math/libm-test.inc (iscanonical_test_data): New array.
358         (iscanonical_test): New function.
359         (main): Call iscanonical_test.
360         * math/Makefile (headers): Add bits/iscanonical.h.
361         (type-ldouble-routines): Add s_iscanonicall.
362         * manual/arith.texi (Floating Point Classes): Document
363         iscanonical.
364         * manual/libm-err-tab.pl: Update comment on interfaces without
365         ulps tabulated.
366         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
367         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
368         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
369         Likewise.
370         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
371         test-iscanonical-ldbl-128ibm.
372         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
373         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
374         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
375         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
376         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
377         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
378         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
380         Likewise.
381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
382         Likewise.
383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
384         Likewise.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
386         Likewise.
387         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
388         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
390 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
392         * string/bits/string3.h: Remove C++ style comments.
394 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
396         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
397         instead of ternary condition.
398         (do_sincos_2): Likewise.
399         (__sin): Likewise.
400         (__cos): Likewise.
401         (slow): Likewise.
402         (sloww): Likewise.
403         (sloww1): Likewise.
404         (bsloww): Likewise.
405         (bsloww1): Likewise.
407         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
408         instead of ternary condition.
409         (do_sin_slow): Likewise.
410         (do_sincos_1): Likewise.
411         (do_sincos_2): Likewise.
412         (__cos): Likewise.
413         (sloww): Likewise.
414         (sloww1): Likewise.
415         (sloww2): Likewise.
416         (bsloww): Likewise.
417         (bsloww1): Likewise.
418         (bsloww2): Likewise.
420         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
421         check from here...
422         (slow2): ... and here...
423         (__sin): ... to here.
425 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
427         * math/math.h
428         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
429         Cast argument to its own type.
430         * math/test-iszero-excess-precision.c: New file.
431         * math/Makefile (tests): Add test-iszero-excess-precision.
432         (CFLAGS-test-iszero-excess-precision.c): New variable.
434 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
436         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
437         field, add err field.
438         (__spawni_child): Report error through err member instead of pipe.
439         (__spawnix): Likewise.
441 2016-09-28  Zack Weinberg  <zackw@panix.com>
443         * scripts/check-installed-headers.sh: Generalize treatment of
444         sys/elf.h to all target architectures.
446         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
447         deleted typedef ucontext_t.
449 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
451         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
452         (__INTERNAL_SYSCALL1): Likewise.
453         (__INTERNAL_SYSCALL2): Likewise.
454         (__INTERNAL_SYSCALL3): Likewise.
455         (__INTERNAL_SYSCALL4): Likewise.
456         (__INTERNAL_SYSCALL5): Likewise.
457         (__INTERNAL_SYSCALL6): Likewise.
458         (__INTERNAL_SYSCALL7): Likewise.
459         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
460         (__INTERNAL_SYSCALL_NARGS): Likewise.
461         (__INTERNAL_SYSCALL_DISP): Likewise.
462         (INTERNAL_SYSCALL_CALL): Likewise.
463         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
464         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
465         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
466         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
467         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
468         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
469         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
470         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
471         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
472         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
473         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
474         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
475         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
477 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
479         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
480         macro.
481         * math/libm-test.inc (iszero_test_data): New array.
482         (iszero_test): New function.
483         (main): Call iszero_test.
484         * manual/arith.texi (Floating Point Classes): Document iszero.
485         * manual/libm-err-tab.pl: Update comment on interfaces without
486         ulps tabulated.
488 2016-09-23  Zack Weinberg  <zackw@panix.com>
490         * scripts/check-installed-headers.sh: New script.
491         * Rules: In each directory that defines header files to be installed,
492         run check-installed-headers.sh on them as a special test.
493         * Makefile: Likewise for the headers installed at top level.
495         * include/aliases.h, include/alloca.h, include/argz.h
496         * include/arpa/nameser.h, include/arpa/nameser_compat.h
497         * include/elf.h, include/envz.h, include/err.h
498         * include/execinfo.h, include/fpu_control.h, include/getopt.h
499         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
500         * include/link.h, include/malloc.h, include/mcheck.h
501         * include/mntent.h, include/netinet/ether.h
502         * include/nss.h, include/obstack.h, include/printf.h
503         * include/pty.h, include/resolv.h, include/rpc/auth.h
504         * include/rpc/auth_des.h, include/rpc/auth_unix.h
505         * include/rpc/clnt.h, include/rpc/des_crypt.h
506         * include/rpc/key_prot.h, include/rpc/netdb.h
507         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
508         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
509         * include/rpc/rpc_msg.h, include/rpc/svc.h
510         * include/rpc/svc_auth.h, include/rpc/xdr.h
511         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
512         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
513         * include/rpcsvc/ypupd.h, include/shadow.h
514         * include/stdio_ext.h, include/sys/epoll.h
515         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
516         * include/sys/prctl.h, include/sys/profil.h
517         * include/sys/statfs.h, include/sys/sysctl.h
518         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
519         * sysdeps/arm/nacl/include/bits/setjmp.h
520         * sysdeps/mips/include/sys/asm.h
521         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
522         * sysdeps/unix/sysv/linux/include/sys/timex.h
523         * sysdeps/x86/fpu/include/bits/fenv.h:
524         Add #ifndef _ISOMAC guard around internal declarations.
525         Add multiple-inclusion guard if not already present.
527 2016-09-23  Zack Weinberg  <zackw@panix.com>
529         * sysdeps/generic/sys/ucontext.h
530         * sysdeps/arm/sys/ucontext.h
531         * sysdeps/i386/sys/ucontext.h
532         * sysdeps/m68k/sys/ucontext.h
533         * sysdeps/mips/sys/ucontext.h
534         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
535         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
536         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
537         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
538         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
539         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
540         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
541         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
542         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
543         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
544         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
545         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
546         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
547         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
548         Include both bits/sigcontext.h and bits/sigstack.h.
549         Fix grammar error in comment, if present.
551         * bits/sigstack.h
552         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
553         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
554         * sysdeps/unix/sysv/linux/bits/sigstack.h
555         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
556         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
557         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
558         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
559         * bits/sigcontext.h
560         * sysdeps/mach/hurd/i386/bits/sigcontext.h
561         * sysdeps/unix/sysv/linux/bits/sigcontext.h
562         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
563         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
564         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
565         as well as signal.h, if this was not already allowed.  Request
566         definition of size_t if necessary.  Minimize semantically-null
567         differences across files.
569 2016-09-23  Zack Weinberg  <zackw@panix.com>
571         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
572         Remove all logic conditional on __need macros.  Move all the
573         conditionally defined types to their own headers...
574         * time/bits/types/clock_t.h: Define clock_t here.
575         * time/bits/types/clockid_t.h: Define clockid_t here.
576         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
577         * time/bits/types/struct_timespec.h: Define struct timespec here.
578         * time/bits/types/struct_timeval.h: Define struct timeval here.
579         * time/bits/types/struct_tm.h: Define struct tm here.
580         * time/bits/types/time_t.h: Define time_t here.
581         * time/bits/types/timer_t.h: Define timer_t here.
582         * time/Makefile: Install the new headers.
584         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
585         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
586         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
587         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
588         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
589         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
590         * sysdeps/unix/sysv/linux/bits/resource.h
591         * sysdeps/unix/sysv/linux/bits/timex.h
592         * sysdeps/unix/sysv/linux/mips/bits/resource.h
593         * sysdeps/unix/sysv/linux/net/ppp_defs.h
594         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
595         * sysdeps/unix/sysv/linux/sys/acct.h
596         * sysdeps/unix/sysv/linux/sys/timerfd.h
597         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
598         * time/sys/time.h, time/sys/timeb.h
599         Use the new bits/types headers.
601         * include/time.h: Remove __need logic.
602         * include/bits/time.h
603         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
604         * include/bits/types/time_t.h, include/bits/types/timer_t.h
605         * include/bits/types/struct_itimerspec.h
606         * include/bits/types/struct_timespec.h
607         * include/bits/types/struct_timeval.h
608         * include/bits/types/struct_tm.h:
609         New wrapper headers.
611 2016-09-23  Zack Weinberg  <zackw@panix.com>
613         * sysdeps/mach/hurd/net/if_ppp.h
614         * sysdeps/unix/sysv/linux/net/if_ppp.h:
615         Only define struct ifpppstatsreq and struct ifpppcstatsreq
616         if __USE_MISC is defined, to ensure struct ifreq is declared.
618         * inet/netinet/ether.h: Condition all function prototypes
619         on __USE_MISC, to ensure struct ether_addr is declared.
621         * socket/bits/types/struct_osockaddr.h: New header.
622         * include/bits/types/struct_osockaddr.h: New wrapper.
623         * socket/Makefile: Install the new header.
624         * socket/sys/socket.h, inet/protocols/talkd.h:
625         Refer to bits/types/struct_osockaddr.h for the definition of
626         struct osockaddr.
628 2016-09-23  Zack Weinberg  <zackw@panix.com>
630         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
631         * inet/protocols/routed.h, inet/protocols/talkd.h
632         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
633         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
634         * sysdeps/generic/netinet/if_ether.h
635         * sysdeps/generic/netinet/in_systm.h
636         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
637         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
638         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
639         * sysdeps/mach/hurd/net/if_arp.h
640         * sysdeps/mach/hurd/net/if_ppp.h
641         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
642         * sysdeps/unix/sysv/linux/bits/in.h
643         * sysdeps/unix/sysv/linux/net/ethernet.h
644         * sysdeps/unix/sysv/linux/net/if_arp.h
645         * sysdeps/unix/sysv/linux/net/if_ppp.h
646         * sysdeps/unix/sysv/linux/net/if_shaper.h
647         * sysdeps/unix/sysv/linux/net/route.h
648         * sysdeps/unix/sysv/linux/netinet/if_ether.h
649         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
650         * sysdeps/unix/sysv/linux/netinet/if_tr.h
651         * sysdeps/unix/sysv/linux/netipx/ipx.h
652         * sysdeps/unix/sysv/linux/sys/acct.h
653         * include/arpa/nameser.h, include/resolv.h:
654         Change all uses of u_char to unsigned char,
655         u_short and ushort to unsigned short, u_int and uint to unsigned int,
656         u_long and ulong to unsigned long, u_int8_t to uint8_t,
657         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
658         and u_int64_t and u_quad_t to uint64_t.
660         * mach/sys/reboot.h: Remove two casts of integer literals
661         to the types they already have.
663         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
664         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
665         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
666         from referring to 'unsigned char' to 'uint8_t' for consistency with
667         the macro definition below.
669         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
670         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
671         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
672         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
673         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
674         * sysdeps/unix/sysv/linux/sys/acct.h
675         * include/arpa/nameser.h, include/resolv.h:
676         Fix indentation disrupted by mechanical edits.
678         * inet/protocols/talkd.h, resolv/arpa/nameser.h
679         * sysdeps/generic/netinet/in_systm.h
680         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
681         * sysdeps/gnu/netinet/udp.h
682         * sysdeps/unix/sysv/linux/net/ethernet.h
683         * sysdeps/unix/sysv/linux/net/if_arp.h
684         * sysdeps/unix/sysv/linux/net/if_ppp.h
685         * sysdeps/unix/sysv/linux/net/if_shaper.h
686         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
687         * sysdeps/unix/sysv/linux/netinet/if_tr.h
688         * sysdeps/unix/sysv/linux/netipx/ipx.h
689         * sysdeps/unix/sysv/linux/sys/acct.h
690         Include stdint.h for uintNN_t definitions.
691         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
693 2016-09-23  Zack Weinberg  <zackw@panix.com>
695         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
696         * sysdeps/unix/sysv/linux/netrose/rose.h:
697         Include sys/socket.h and netax25/ax25.h.
699         * inet/netinet/icmp6.h, inet/netinet/ip6.h
700         * resolv/arpa/nameser_compat.h:
701         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
703         * sysdeps/unix/sysv/linux/sys/quota.h:
704         Use __caddr_t instead of caddr_t.
705         * sysdeps/unix/sysv/linux/sys/timerfd.h:
706         Use __clockid_t instead of clockid_t.
708         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
710         * argp/argp.h: Check whether _LIBC is defined before expanding it.
711         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
712         expanding it.
714         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
715         Define __glibc_c99_flexarr_available to 1 when the compiler
716         supports C99-compatible flexible array members, 0 otherwise.
717         * sysdeps/unix/sysv/linux/bits/socket.h
718         * sysdeps/mach/hurd/bits/socket.h
719         * bits/socket.h: Use __glibc_c99_flexarr_available in
720         definitions of struct cmsghdr and CMSG_DATA.
722 2016-09-23  Florian Weimer  <fweimer@redhat.com>
724         * manual/nss.texi (NSS Modules Interface): Adjust function return
725         type to enum nss_status.  Document errnop argument.  Clarify
726         h_errnop semantics.  Fix cross-reference formatting.
727         (NSS Module Function Internals): Mention that *errnop needs to be
728         set on failure, but not to zero.
730 2016-09-23  Florian Weimer  <fweimer@redhat.com>
732         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
733         (get_random_name): New functions.
734         (check_wrapper_flags_mode): Use linkat to give the new file a name
735         determined by get_random_name.
736         (do_test): Add calls to test open64 and openat64.
738 2016-09-23  Florian Weimer  <fweimer@redhat.com>
740         * test-skeleton.c: Remove #include <stdarg.h>.
742 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
744         [BZ #19826]
745         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
746         initialization of static TLS entries.
747         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
748         * nptl/allocatestack.c (init_one_static_tls): Likewise.
750 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
752         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
753         _hurd_malloc_fork_prepare.
754         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
755         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
756         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
757         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
758         (_hurd_fork_child_hook): Drop malloc_fork_child.
759         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
760         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
761         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
762         after locking locks (notably hurd_dtable_lock). Call
763         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
764         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
765         __malloc_fork_unlock_child.
766         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
768 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
770         * soft-fp/extendhftf2.c: New.
771         * soft-fp/fixhfti.c: Likewise.
772         * soft-fp/fixunshfti.c: Likewise.
773         * soft-fp/floattihf.c: Likewise.
774         * soft-fp/floatuntihf.c: Likewise.
775         * soft-fp/half.h: Likewise.
776         * soft-fp/trunctfhf2.c: Likewise.
778 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
780         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
781         macro.
782         * math/libm-test.inc (issubnormal_test_data): New array.
783         (issubnormal_test): New function.
784         * manual/arith.texi (Floating Point Classes): Document
785         issubnormal.
786         * manual/libm-err-tab.pl: Update comment on interfaces without
787         ulps tabulated.
789         * sysdeps/generic/stdint.h: Define
790         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
791         <bits/libc-header-start.h> instead of including <features.h>.
792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
825         * manual/arith.texi (Integers): Document these macros for types
826         specified by width properties.
827         * manual/lang.texi (Width of Type): Document these macros for
828         other standard typedefs.
829         * stdlib/tst-width-stdint.c: New file.
830         * stdlib/Makefile (tests): Add tst-width-stdint.
832 2016-09-21  Florian Weimer  <fweimer@redhat.com>
834         [BZ #20016]
835         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
836         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
837         Move ...
838         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
839         ... here, as compatibility symbols in a new file.
840         * resolv/Makefile (libresolv-routines): Add compat-hooks.
841         * resolv/res_init.c (__res_vinit): Adjust member names.
842         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
843         * resolv/resolv.h (res_sendhookact, res_send_qhook)
844         (res_send_rhook): Remove.
845         (struct __res_state): Rename qhook, rhook members.
847 2016-09-21  Florian Weimer  <fweimer@redhat.com>
849         malloc: Use __libc_lock wrappers.
850         * malloc/arena.c (list_lock, free_list_lock): Define using
851         __libc_lock_define_initialized.
852         (arena_lock): Adjust formatting.
853         * malloc/malloc.c (struct malloc_state): Define mutex using
854         __libc_lock_define.
855         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
856         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
857         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
858         (mutex_unlock, mutex_trylock): Remove.
859         (__pthread_initialize): Remove unused macro.
860         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
861         (mutex_unlock, mutex_trylock): Remove.
863 2016-09-21  Florian Weimer  <fweimer@redhat.com>
865         [BZ #20592]
866         Remove RR type classification macros.
867         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
868         (ns_t_udp_p, ns_t_xfr_p): Remove.
870 2016-09-21  Florian Weimer  <fweimer@redhat.com>
872         Remove misleading version information.
873         * resolv/arpa/nameser.h (__NAMESER): Remove.
874         * resolv/arpa/nameser_compat.h (__BIND): Remove.
876 2016-09-21  Florian Weimer  <fweimer@redhat.com>
878         Remove the always-defined BIND_4_COMPAT macro.
879         * resolv/arpa/nameser.h: Unconditionally include
880         <arpa/nameser_compat.h>.
881         (BIND_4_COMPAT): Remove.
882         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
884 2016-09-21  Florian Weimer  <fweimer@redhat.com>
886         [BZ #20591]
887         Remove obsolete DNSSEC support.
888         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
889         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
890         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
891         (ns_verify_tcp, ns_verify_tcp_init): Remove.
892         (ns_cert_types): Add comment.
893         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
894         separately.
895         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
896         (dst_s_dns_key_id): Remove.
897         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
898         variables.
900 2016-09-21  Florian Weimer  <fweimer@redhat.com>
902         [BZ #20524]
903         * manual/string.texi (String/Array Comparison): Clarify the
904         strverscmp behavior.
906 2016-09-21  Florian Weimer  <fweimer@redhat.com>
908         * test-skeleton.c (xasprintf): Add function.
909         * io/tst-open-tmpfile.c: New test.
910         * io/Makefile (tests): Add it.
912 2016-09-21  Florian Weimer  <fweimer@redhat.com>
914         Avoid running $(CXX) during build to obtain header file paths.
915         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
916         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
917         * Makerules (cstdlib, cmath): Remove variables.  Use
918         $(c++-cstdlib-header), $(c++-cmath-header) instead.
919         * configure: Regenerate.
921 2016-09-21  Florian Weimer  <fweimer@redhat.com>
923         * Makeconfig (all-object-suffixes): Include .op only if
924         $(build-profile).
926 2016-09-21  Florian Weimer  <fweimer@redhat.com>
928         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
929         conditionals.  Do not define PATH_MAX.
931 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
933         * posix/Makefile (tests): Add tst-spawn3.
934         * posix/tst-spawn3.c: New file.
935         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
936         if it is already opened for open action.
938         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
939         all signals when executing the clone vfork child.
940         (SIGALL_SET): Remove macro.
942         * nptl/Makefile (tests): Add tst-exec5.
943         * nptl/tst-exec5.c: New file.
944         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
945         asynchronous cancellation.
947 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
949         * hurd/exc2signal.c: #include <hurd/signal.h>
950         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
951         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
952         accordingly.
953         * mach/mach_error.c (mach_error): Fix old-style function definition.
954         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
956 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
958         * math/Makefile (libm-calls): Remove s_nanF.
959         (gen-libm-calls): Add s_nanF.
961         * math/s_nan.c: Refactor into ...
962         * math/s_nan_template.c: New file.
964         * math/s_nanf.c: Removed.
965         * math/s_nanl.c: Removed.
966         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
967         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
969         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
970         (LDOUBLE_nanl_libm_version): New macro.
972         * sysdeps/generic/math-type-macros-double.h:
973         (M_STRTO_NAN): New macro.
974         * sysdeps/generic/math-type-macros-float.h: Likewise.
975         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
977         * sysdeps/generic/math-type-macros.h: Document
978         M_STRTO_NAN.
980 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
982         * math/s_nanf.c: Remove __nanf undef.
983         * math/s_nan.c: Remove __nan undef.
984         * math/s_nanl.c: Remove __nanl undef.
986         * sysdeps/generic/math_private.h (__nan): Remove macro
987         override.
988         (__nanf): Likewise.
989         (__nanl): Likewise.
991 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
993         * math/Makefile (gen-all-calls): New variable.
994         (generated): Replace gen-libm-calls with gen-all-calls.
995         (gen-libm-templates.stmp): Likewise.  Also, ensure
996         the output directory exists or is created and add
997         dependency on the Makefile.
998         (calls): Move s_ldexpF into gen-calls.
999         (gen-calls): New variable.
1001         * math/s_ldexpf.c: Removed.
1002         * math/s_ldexpl.c: Removed.
1003         * math/s_ldexp.c: Refactored into ...
1004         * math/s_ldexp_template.c: New file.
1006         * sysdeps/generic/math-type-macros-double.h: Remove
1007         redundant fall-through definition of declare_mgen_alias.
1008         (declare_mgen_alias_2): New macro.
1010         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1011         New macro for function aliased to two exported symbols.
1013         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1014         new template file.
1015         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1017 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1019         * Makeconfig (all-object-suffixes): Remove .og.
1020         * Makerules (elide-routines.og): Remove.
1021         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1022         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1023         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1025 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1027         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1028         .os objects.
1030 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1032         [BZ #20615]
1033         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1034         fpu directory by non-fpu.
1035         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1036         on non-fpu directory from a fpu directory.
1038 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1040         * include/limits.h: Define
1041         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1042         <bits/libc-header-start.h> instead of including <features.h>.
1043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1044         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1050         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1053         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1054         * manual/lang.texi (Width of Type): Document these macros.
1055         * stdlib/tst-width.c: New file.
1056         * stdlib/Makefile (tests): Add tst-width.
1058 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1060         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1061         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1063 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1065         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1066         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1067         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1069 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1071         [BZ #18243]
1072         * rt/Makefile (test): Add tst-shm-cancel.
1073         * rt/tst-shm-cancel.c: New file.
1074         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1076         [BZ #18243]
1077         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1078         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1079         definition.
1080         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1081         uncontended case.
1082         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1083         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1084         (tf): Fix check for uncontended case.
1085         (do_test): Likewise.
1086         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1087         (tf): Fix check for uncontended case.
1088         (do_test): Likewise.
1089         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1090         (tf): Fix check for uncontended case.
1091         (do_test): Likewise.
1092         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1093         (tf): Fix check for uncontended case.
1094         (do_test): Likewise.
1096         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1097         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1099         [BZ #15765]
1100         * nptl/Makefile (tests): Add tst-sem16.
1101         * nptl/tst-sem16.c: New file.
1102         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1104         * nptl/sem_open.c (sem_open): Init pad value to 0.
1105         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1106         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1108 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1110         [BZ #20611]
1111         * inet/Makefile (routines): Add inet6_scopeid_pton.
1112         (tests): Add tst-inet6_scopeid_pton.
1113         * inet/inet6_scopeid_pton.c: New file.
1114         * inet/net-internal.h: Likewise.
1115         * inet/tst-inet6_scopeid_pton.c: New test.
1116         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1117         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1120 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1122         Remove support for compiling wrappers with PTW.
1123         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1124         * nptl/Makefile (pthread-compat-wrappers): Define.
1125         (libpthread-routines): Use pthread-compat-wrappers.
1126         * sysdeps/unix/sysv/linux/alpha/Makefile
1127         (libpthread-routines, libpthread-shared-only-routines): Remove
1128         ptw- prefix.
1129         * sysdeps/s390/nptl/Makefile
1130         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1131         * sysdeps/ia64/nptl/Makefile
1132         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1133         * sysdeps/nacl/Makefile (libpthread-routines): Use
1134         pthread-compat-wrappers to filter the routines list instead of the
1135         ptw- prefix.
1137 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1139         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1140         with L() and remove explicit suffix, convert real literals
1141         which can be equivalentally substituted with integers, and
1142         transform -L(x) to L(-x).
1144         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1145         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1146         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1147         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1148         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1149         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1150         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1151         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1152         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1153         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1154         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1155         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1156         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1157         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1158         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1159         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1160         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1161         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1162         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1163         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1164         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1165         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1166         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1167         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1168         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1169         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1170         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1171         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1172         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1173         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1174         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1175         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1176         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1177         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1178         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1179         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1180         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1181         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1182         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1183         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1184         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1185         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1186         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1187         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1188         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1189         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1190         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1191         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1192         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1193         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1195 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1197         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1199 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1201         * malloc/Makefile (tests): Remove individual static test names
1202         and just add all of tests-static.
1204         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1206 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1208         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1209         file.
1211         * sysdeps/sparc/fpu/fegetmode.c: New file.
1212         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1214         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1215         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1217         * sysdeps/s390/fpu/fegetmode.c: New file.
1218         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1220         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1221         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1222         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1223         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1224         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1225         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1227         * sysdeps/mips/fpu/fegetmode.c: New file.
1228         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1230         * sysdeps/m68k/fpu/fegetmode.c: New file.
1231         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1233         * sysdeps/ia64/fpu/fegetmode.c: New file.
1234         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1236         * sysdeps/hppa/fpu/fegetmode.c: New file.
1237         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1239         * sysdeps/arm/fegetmode.c: New file.
1240         * sysdeps/arm/fesetmode.c: Likewise.
1242         * sysdeps/alpha/fpu/fegetmode.c: New file.
1243         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1245         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1246         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1248         * math/fegetmode.c: New file.
1249         * math/fesetmode.c: Likewise.
1250         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1251         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1252         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1253         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1254         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1256         declaration.
1257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1258         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1259         typedef.
1260         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1261         * sysdeps/aarch64/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/alpha/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/arm/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/hppa/fpu/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/ia64/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/m68k/fpu/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 macro.
1279         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1280         (femode_t): New typedef.
1281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1282         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1283         (femode_t): New typedef.
1284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1285         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1286         (femode_t): New typedef.
1287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1288         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1289         (femode_t): New typedef.
1290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1291         declaration.
1292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1293         * sysdeps/s390/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         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1297         (femode_t): New typedef.
1298         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1299         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1300         (femode_t): New typedef.
1301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1302         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1303         (femode_t): New typedef.
1304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1305         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1306         (femode_t): New typedef.
1307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1308         * manual/arith.texi (FE_DFL_MODE): Document macro.
1309         (fegetmode): Document function.
1310         (fesetmode): Likewise.
1311         * math/Versions (fegetmode): New libm symbol at version
1312         GLIBC_2.25.
1313         (fesetmode): Likewise.
1314         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1315         (tests): Add test-femode and test-femode-traps.
1316         * math/test-femode-traps.c: New file.
1317         * math/test-femode.c: Likewise.
1318         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1319         alias for __fe_dfl_env.
1320         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1321         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1322         (__fe_dfl_mode): Likewise.
1323         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1324         version GLIBC_2.25.
1325         * sysdeps/nacl/libm.abilist: Update.
1326         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1327         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1328         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1329         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1330         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1331         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1332         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1333         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1334         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1336         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1337         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1339         Likewise.
1340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1341         Likewise.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1343         Likewise.
1344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1345         Likewise.
1346         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1347         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1348         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1349         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1350         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1352         Likewise.
1353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1359 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1361         [BZ #20495]
1362         [BZ #20508]
1363         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1364         processors, set Use_dl_runtime_resolve_slow and set
1365         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1366         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1367         New.
1368         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1369         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1370         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1371         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1372         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1373         if Use_dl_runtime_resolve_opt is set.  Use
1374         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1375         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1376         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1377         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1378         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1379         New.
1380         (_dl_runtime_resolve_opt): Likewise.
1381         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1382         defined.
1384 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1386         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1387         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1389 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1391         Convert malloc to __libc_lock.  Automated part, using this Perl
1392         s/// command:
1393           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1394             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1395         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1396         conversion.
1398 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1400         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1401         (linknamespace-symlists-tests): Likewise.
1402         (linknamespace-header-tests): Likewise.
1404 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1406         [BZ #19810]
1407         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1408         * elf/tst-noload.c: New test case.
1409         * elf/Makefile (tests): Add tst-noload.
1411 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1413         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1415         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1416         not any more.
1418         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1420 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1422         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1423         (do_cos_slow): Likewise.
1424         (do_sin): Likewise.
1425         (do_sin_slow): Likewise.
1426         (slow): Likewise.
1427         (slow1): Likewise.
1428         (slow2): Likewise.
1429         (sloww): Likewise.
1430         (sloww1): Likewise.
1431         (sloww2): Likewise.
1432         (bsloww): Likewise.
1433         (bsloww1): Likewise.
1434         (bsloww2): Likewise.
1435         (cslow2): Likewise.
1437         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1439         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1440         arguments.  Consolidate input partitioning from callers here.
1441         (do_cos_slow): Likewise.
1442         (do_sin): Likewise.
1443         (do_sin_slow): Likewise.
1444         (do_sincos_1): Remove the no longer necessary input partitioning.
1445         (do_sincos_2): Likewise.
1446         (__sin): Likewise.
1447         (__cos): Likewise.
1448         (slow1): Likewise.
1449         (slow2): Likewise.
1450         (sloww1): Likewise.
1451         (sloww2): Likewise.
1452         (bsloww1): Likewise.
1453         (bsloww2): Likewise.
1454         (cslow2): Likewise.
1456 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1458         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1459         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1460         outside of allocated array.
1462 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1464         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1465         instead of MB_CUR_MAX to avoid variable-length array.
1467 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1469         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1470         (type-double-routines): Add k_rem_pio2.
1471         (type-float-routines): Add k_rem_pio2f.
1473         * sysdeps/generic/math_private.h:
1474         (__kernel_rem_pio2l): Removed.
1476         * math/k_rem_pio2l.c: Removed.
1477         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1478         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1479         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1480         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1482 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1484         * math/Makefile (gen-libm-calls): Add s_fmin
1485         (libm-calls): Remove above.
1487         * math/s_fmin.c: Refactor into ...
1488         * math/s_fmin_template.c: New file.
1490         * math/s_fminf.c: Removed.
1491         * math/s_fminl.c: Removed.
1492         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1493         (LDOUBLE_fmin_libm_version): New macro.
1495         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1496         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1498 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1500         * math/Makefile: (gen-libm-calls): Add s_fmax.
1501         (libm-calls): Remove above.
1503         * math/s_fmax.c: Refactor into ...
1504         * math/s_fmax_template.c: New file.
1505         * math/s_fmaxf.c: Removed.
1506         * math/s_fmaxl.c: Removed.
1508         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1509         (LDOUBLE_fmaxl_libm_version): New macro.
1511         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1512         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1514         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1515         s_fmin.c to pick the aarch64 version of the file.
1516         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1517         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1519 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1521         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1522         (libm-calls): Remove above.
1524         * math/s_nextdown.c: Refactor into ...
1525         * math/s_nextdown_template.c: New file.
1526         * math/s_nextdownf.c: Removed.
1527         * math/s_nextdownl.c: Removed.
1529         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1531 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1533         * math/Makefile (gen-libm-calls): Add s_fdim.
1534         (libm-calls): Move to above.
1536         * math/s_fdim.c: Renamed and refactored into to ...
1537         * math/s_fdim_template.c: New file.
1538         * math/s_fdiml.c: Removed.
1539         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1540         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1542         * sysdeps/generic/math-type-macros-double.h:
1543         (declare_mgen_alias): Don't declare if already declared.
1544         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1545         Likewise.
1547         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1548         (declare_mgen_alias): Don't declare if already declared.
1549         (M_LIBM_NEED_COMPAT): Likewise.
1550         (declare_mgen_libm_compat): Likewise.
1551         (LDOUBLE_fdiml_libm_version): New macro.
1553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1554         Include math/s_fdim.c now that ldbl-opt version is not needed.
1555         (declare_mgen_alias): New macro to disable aliasing.
1557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1558         (declare_mgen_alias): Likewise.
1559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1560         (declare_mgen_alias): Likewise.
1561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1562         (declare_mgen_alias): Likewise.
1563         (M_LIBM_NEED_COMPAT): Likewise.
1565 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1567         [BZ #20525]
1568         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1569         Include <linux/quota.h>.
1570         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1571         and btodb.
1572         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1573         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1574         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1575         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1576         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1577         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1578         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1579         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1580         types.
1581         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1582         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1584 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1586         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1587         (gammal_positive): Fix spacing.
1588         (__ieee754_gammal_r): Likewise.
1590 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1592         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1593         (_Float128): Define as long double, always.
1594         (L): Apply long double type suffix, always.
1596         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1597         _Float128, excepting comments.
1599         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1600         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1601         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1602         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1603         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1604         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1605         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1606         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1607         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1608         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1609         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1610         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1611         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1612         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1613         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1614         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1615         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1616         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1617         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1618         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1619         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1620         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1621         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1622         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1623         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1624         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1625         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1626         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1627         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1628         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1629         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1630         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1631         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1632         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1633         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1634         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1635         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1636         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1637         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1638         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1639         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1640         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1641         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1642         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1643         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1644         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1645         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1646         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1647         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1648         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1649         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1650         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1651         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1652         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1653         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1654         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1655         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1656         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1657         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1658         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1659         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1660         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1661         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1662         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1663         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1664         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1665         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1666         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1668         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1669         _Float128, and include math_private.h.
1670         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1672         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1673         long double semantics.
1674         (_Float128): Likewise.
1675         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1676         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1677         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1678         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1680 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1682         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1683         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1684         * sysdeps/s390/configure: Regenerated.
1685         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1686         instruction for raising over-/underflow if z196 zarch is supported
1687         by default.
1688         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1690 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1692         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1693         it point to a dumb buffer for RPC to fill it.
1695 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1697         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1698         instead of if/else.
1699         (do_sin_slow): Likewise.
1700         (do_sincos_1): Use fabs instead of if/else.
1701         (do_sincos_2): Likewise.
1702         (__sin): Likewise.
1703         (__cos): Likewise.
1704         (slow2): Likewise.
1705         (sloww): Likewise.
1706         (sloww1): Likewise.  Drop argument M.
1707         (sloww2): Use fabs instead of if/else.
1708         (bsloww): Likewise.
1709         (bsloww1): Likewise.
1710         (bsloww2): Likewise.
1712         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1713         fall through comment.
1714         (do_sincos_1): Likewise.
1716         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1717         Consolidate switch cases 0 and 2.
1719 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1721         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1722         (libm-calls): Remove the above.
1724         * math/s_cexp_template.c: Update using type-generic macros.
1725         * math/s_clog10_template.c: Likewise.
1726         * math/s_cpow_template.c: Likewise.
1727         * math/s_clog_template.c: Likewise.
1728         * math/s_cproj_template.c: Likewise.
1729         * math/s_csqrt_template.c: Likewise.
1731         * math/s_cexp.c: Removed.
1732         * math/s_cexpf.c: Removed.
1733         * math/s_cexpl.c: Removed.
1734         * math/s_clog10.c: Removed.
1735         * math/s_clog10f.c: Removed.
1736         * math/s_clog10l.c: Removed.
1737         * math/s_cpow.c: Removed.
1738         * math/s_cpowf.c: Removed.
1739         * math/s_cpowl.c: Removed.
1740         * math/s_clog.c: Removed.
1741         * math/s_clogf.c: Removed.
1742         * math/s_clogl.c: Removed.
1743         * math/s_cproj.c: Removed.
1744         * math/s_cprojf.c: Removed.
1745         * math/s_cprojl.c: Removed.
1746         * math/s_csqrt.c: Removed.
1747         * math/s_csqrtf.c: Removed.
1748         * math/s_csqrtl.c: Removed.
1750         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1751         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1752         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1753         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1754         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1755         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1757         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1758         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1759         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1760         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1761         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1762         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1763         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1764         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1765         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1766         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1767         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1769         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1770         version.
1772         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1773         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1774         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1775         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1777 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1779         * s_cexp_template.c: Copy of s_cexp.c.
1780         * s_clog_template.c: Copy of s_clog.c.
1781         * s_clog10_template.c: Copy of s_clog10.c.
1782         * s_cpow_template.c: Copy of s_cpow.c.
1783         * s_cproj_template.c: Copy of s_cproj.c.
1784         * s_csqrt_template.c: Copy of s_csqrt.c.
1786 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1788         [BZ #20517]
1789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1790         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1791         exported.
1793 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1795         * math/fetestexceptflag.c: New file.
1796         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1797         Stefan Liebler.
1798         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1799         (fetestexceptflag): New function declaration.
1800         * manual/arith.texi (fetestexceptflag): Document function.
1801         * math/Versions (fetestexceptflag): New libm symbol at version
1802         GLIBC_2.25.
1803         * math/Makefile (libm-support): Add fetestexceptflag.
1804         (tests): Add test-fetestexceptflag.
1805         * math/test-fetestexceptflag.c: New file.
1806         * sysdeps/nacl/libm.abilist: Update.
1807         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1808         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1809         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1810         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1811         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1812         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1813         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1814         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1815         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1816         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1817         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1818         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1820         Likewise.
1821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1822         Likewise.
1823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1824         Likewise.
1825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1826         Likewise.
1827         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1828         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1829         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1830         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1831         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1833         Likewise.
1834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1835         Likewise.
1836         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1837         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1838         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1840 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1842         [BZ #20432]
1843         Avoid strong references to malloc-internal symbols when linking
1844         statically, to support statically interposed mallocs.
1845         * include/libc-symbols.h (call_function_static_weak): New macro.
1846         * malloc/Makefile (tests): Add tst-interpose-nothread,
1847         tst-interpose-thread, tst-interpose-static-nothread,
1848         tst-interpose-static-thread.
1849         (tests-static): Add tst-interpose-static-nothread,
1850         tst-interpose-static-thread.
1851         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1852         tst-interpose-aux-thread.o.
1853         (test-extras): Add tst-interpose-aux-nothread,
1854         tst-interpose-aux-thread.
1855         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1856         tst-interpose-aux-nothread.o.
1857         (tst-interpose-thread, tst-interpose-static-thread): Link with
1858         tst-interpose-aux-thread.o and libthread.
1859         * malloc/tst-interpose-aux-nothread.c: New file.
1860         * malloc/tst-interpose-aux-thread.c: Likewise.
1861         * malloc/tst-interpose-aux.c: Likewise.
1862         * malloc/tst-interpose-aux.h: Likewise.
1863         * malloc/tst-interpose-nothread.c: Likewise.
1864         * malloc/tst-interpose-skeleton.c: Likewise.
1865         * malloc/tst-interpose-static-nothread.c: Likewise.
1866         * malloc/tst-interpose-static-thread.c: Likewise.
1867         * malloc/tst-interpose-thread.c: Likewise.
1868         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1869         * sysdeps/mach/hurd/fork.c (__fork): Only call
1870         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1871         __malloc_fork_unlock_child if defined.
1872         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1874 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1876         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1877         timespec C99 designated initialization.
1879 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1881         [BZ #19946]
1882         Avoid expected SIGALRM signals.
1883         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1884         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1885         (xpthread_create, xpthread_detach, xpthread_join)
1886         (delayed_exit_thread, delayed_exit): New functions.
1887         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1888         (tf): Use xpthread_cond_wait.
1889         (do_test): Likewise.  Replace alarm with delayed_exit.
1890         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1891         (do_test): Call delayed_exit.  Report failure.
1892         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1893         (do_test): Call delayed_exit.
1894         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1895         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1896         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1897         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1898         error.
1899         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1900         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1901         error.
1902         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1903         (do_test): Call delayed_exit.
1904         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1905         (do_test): Call delayed_exit.
1906         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1907         (do_test): Call delayed_exit instead of alarm.  Use
1908         xpthread_mutex_lock.
1909         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1910         (do_test): Call delayed_exit instead of alarm.  Use
1911         xpthread_mutex_lock.
1912         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1913         (do_test): Call delayed_exit instead of alarm.
1914         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1915         (do_test): Call delayed_exit instead of alarm.  Use
1916         xpthread_spin_lock.
1917         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1918         (do_test): Call delayed_exit instead of alarm.  Use
1919         xpthread_join.
1921 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1923         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1924         adjust CFA when allocating register save area on re-aligned
1925         stack.
1927 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1929         * string/tst-cmp.c: New test.
1930         * string/Makefile (tests): Add it.
1932 2016-08-25  Mark Wielaard  <mark@klomp.org>
1934         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1935         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1936         (check_tree_recurse): Use newly defined accessors.
1937         (check_tree): Likewise.
1938         (maybe_split_for_insert): Likewise.
1939         (__tfind): Likewise.
1940         (__tdelete): Likewise.
1941         (trecurse): Likewise.
1942         (tdestroy_recurse): Likewise.
1943         (__tsearch): Likewise. And add asserts for malloc alignment.
1944         (__twalk): Cast root to node in case CHECK_TREE is defined.
1946 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1948         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1950 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1952         * math/Makefile (libm-gen-calls): Add
1953         catan, catanh, ctan, ctanh.
1954         (libm-calls): Remove the above.
1956         * math/s_catan_template.c: Update using type-generic macros.
1957         * math/s_catanh_template.c: Likewise.
1958         * math/s_ctan_template.c: Likewise.
1959         * math/s_ctanh_template.c: Likewise.
1961         * math/s_catanf.c: Removed.
1962         * math/s_catan.c: Removed.
1963         * math/s_catanl.c: Removed.
1964         * math/s_catanhf.c: Removed.
1965         * math/s_catanh.c: Removed.
1966         * math/s_catanhl.c: Removed.
1967         * math/s_ctanf.c: Removed.
1968         * math/s_ctan.c: Removed.
1969         * math/s_ctanl.c: Removed.
1970         * math/s_ctanhf.c: Removed.
1971         * math/s_ctanh.c: Removed.
1972         * math/s_ctanhl.c: Removed.
1974         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1975         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1976         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1977         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1978         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1979         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1981         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1982         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1983         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1984         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1986 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1988         * s_catan_template.c: Copy of s_catan.c.
1989         * s_catanh_template.c: Copy of s_catanh.c.
1990         * s_ctan_template.c: Copy of s_ctan.c.
1991         * s_ctanh_template.c: Copy of s_ctanh.c.
1993 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1995         * math/Makefile (gen-libm-calls): Move
1996         casin, casinh, csin, csinh here.
1997         (libm-calls): Remove the above.
1999         * math/s_casin_template.c: Update using type-generic macros.
2000         * math/s_casinh_template.c: Likewise.
2001         * math/s_csin_template.c: Likewise.
2002         * math/s_csinh_template.c: Likewise.
2003         * math/k_casinh_template.c: Likewise.
2005         * math/s_casinf.c: Removed.
2006         * math/s_casin.c: Removed.
2007         * math/s_casinl.c: Removed.
2008         * math/s_casinh.c: Removed.
2009         * math/s_casinhf.c: Removed.
2010         * math/s_casinhl.c: Removed.
2011         * math/s_csin.c: Removed.
2012         * math/s_csinf.c: Removed.
2013         * math/s_csinl.c: Removed.
2014         * math/s_csinh.c: Removed.
2015         * math/s_csinhf.c: Removed.
2016         * math/s_csinhl.c: Removed.
2017         * math/k_casinh.c: Removed.
2018         * math/k_casinhf.c: Removed.
2019         * math/k_casinhl.c: Removed.
2021         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2022         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2023         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2024         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2026         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2027         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2028         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2029         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2030         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2031         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2032         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2033         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2035         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2036         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2037         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2038         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2040         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2041         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2042         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2043         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2045 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2047         * s_casin_template.c: Copy of s_casin.c.
2048         * s_casinh_template.c: Copy of s_casinh.c.
2049         * s_csin_template.c: Copy of s_csin.c.
2050         * s_csinh_template.c: Copy of s_csinh.c.
2051         * k_casinh_template.c: Copy of k_casinh.c.
2053 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2055         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2057 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2059         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2060         (mul_split) Remove, rename as mul_splitl, remove
2061         redundant float.h include, and include via mul_splitl.h
2063         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2064         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2065         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2066         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2067         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2069         * math/mul_splitl.h: New file.
2071         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2072         Move into mul_split.h, and remove redundant float.h include.
2074         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2075         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2076         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2077         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2079         * math/mul_split.h: New file.
2081 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2083         * math/Makefile (libm-gen-calls): Move
2084         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2085         (libm-calls): Remove above.
2087         * math/s_cacos_template.c: Update using type-generic macros.
2088         * math/s_cacosh_template.c: Likewise.
2089         * math/s_ccos_template.c: Likewise.
2090         * math/s_ccosh_template.c: Likwise.
2092         * math/s_cacosf.c: Removed.
2093         * math/s_cacos.c: Removed.
2094         * math/s_cacosl.c: Removed.
2095         * math/s_cacoshf.c: Removed.
2096         * math/s_cacosh.c: Removed.
2097         * math/s_cacoshl.c: Removed.
2098         * math/s_ccosf.c: Removed.
2099         * math/s_ccos.c: Removed.
2100         * math/s_ccosl.c: Removed.
2101         * math/s_ccoshf.c: Removed.
2102         * math/s_ccosh.c: Removed.
2103         * math/s_ccoshl.c: Removed.
2105         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2106         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2107         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2108         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2109         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2110         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2112         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2113         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2114         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2115         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2117         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2118         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2119         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2120         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2122 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2124         * s_cacos_template.c: Copy of s_cacos.c.
2125         * s_cacosh_template.c: Copy of s_cacosh.c.
2126         * s_ccos_template.c: Copy of s_ccos.c.
2127         * s_ccosh_template.c: Copy of s_ccosh.c.
2129 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2131         * stdlib/tst-strtod-round-skeleton.c:
2132         Refactored from tst-strtod-round.c.
2134         (L_): New macro to apply literal modifier.
2135         (FNPFX): New macro to select str or wcs prefix.
2136         (CHAR): New macro to choose wchar_t or char.
2137         (STRM): New macro to choose printf for tested character type.
2139         (STRTO): New macro to choose appropriate string -> real function.
2140         (FNPFXS): Stringitized version of FNPFX.
2141         (STR): Support for above macro.
2142         (STRX): Likewise.
2144         (TEST): Update with above macros.
2145         (test): Likewise.
2146         (GEN_ONE_TEST): Likewise.
2147         (test_in_one_mode): Likewise.
2149         * stdlib/tst-strtod-round.c: New file.
2150         * wcsmbs/tst-wcstod-round.c: New file.
2152         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2153         (tst-wcstod-round): Add libm depencency for fesetround.
2155 2016-08-19  Zack Weinberg  <zackw@panix.com>
2157         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2159 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2161         [BZ #20477]
2162         * resolv/res_hconf.c (do_init): Use atomic access.
2163         * resolv/res_hconf.h: Add comments.
2164         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2165         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2168 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2170         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2171         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2172         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2173         Likewise.
2175 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2177         [BZ #16907]
2178         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2179         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2180         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2181         (__attribute__): Remove definition.
2183 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2185         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2186         Remove unused sqrtl declaration.
2188 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2190         * math/Makefile: (gen-libm-templates.stmp): New rule.
2191         (libm-calls): Move carg conj cimag and cabs into ...
2192         (gen-libm-calls): New variable.
2193         (generated): Inform Make objects from gen-libm-calls
2194         may be generated.
2196         * sysdeps/generic/math-type-macros.h: New file.
2197         * sysdeps/generic/math-type-macros-float.h: Likewise.
2198         * sysdeps/generic/math-type-macros-double.h: Likewise.
2199         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2200         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2201         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2203         * math/cabs.c: Refactor into
2204         * math/cabs_template.c: new file.
2205         * math/cabsf.c: Removed.
2206         * math/cabsl.c: Removed.
2207         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2208         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2210         * math/carg.c: Refactor into
2211         * math/carg_template.c: new file.
2212         * math/cargf.c: Removed.
2213         * math/cargl.c: Removed.
2214         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2215         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2217         * math/conj.c: Refactor into
2218         * math/conj_template.c: new file.
2219         * math/conjf.c: Removed.
2220         * math/conjl.c: Removed.
2221         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2222         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2224         * math/cimag.c: Refactor into
2225         * math/cimag_template.c: new file.
2226         * math/cimagf.c: Removed.
2227         * math/cimagl.c: Removed.
2228         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2229         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2231         * math/cimag.c: Refactor into
2232         * math/cimag_template.c: new file.
2233         * math/cimagf.c: Removed.
2234         * math/cimagl.c: Removed.
2235         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2236         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2238 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2240         Reduce time to expected nptl/tst-once5 failure.
2241         * nptl/tst-once5.cc (TIMEOUT): Define.
2243 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2245         [BZ #20452]
2246         Avoid additional copies of objects in libc.a in static libraries.
2247         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2248         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2249         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2250         rt-sysdep.
2251         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2252         Add nptl-sysdep.
2253         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2254         Add ptw-sysdep.
2255         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2256         rt-sysdep.
2257         * sysdeps/unix/sysv/linux/alpha/Makefile
2258         (libpthread-shared-only-routines): Add ptw-sysdep,
2259         ptw-sigprocmask, ptw-rt_sigaction.
2260         * sysdeps/unix/sysv/linux/ia64/Makefile
2261         (librt-shared-only-routines): Add rt-sysdep.
2262         * sysdeps/unix/sysv/linux/i386/Makefile
2263         (libpthread-shared-only-routines): Add libc-do-syscall.
2264         * sysdeps/unix/sysv/linux/microblaze/Makefile
2265         (libpthread-shared-only-routines): Add sysdep.
2266         * sysdeps/unix/sysv/linux/powerpc/Makefile
2267         (librt-shared-only-routines): Add rt-sysdep.
2268         (libpthread-shared-only-routines): Add sysdep.
2269         * sysdeps/unix/sysv/linux/s390/Makefile
2270         (librt-shared-only-routines): Add rt-sysdep.
2271         * sysdeps/unix/sysv/linux/sparc/Makefile
2272         (librt-shared-only-routines): Add rt-sysdep.
2273         (libpthread-shared-only-routines): Add sysdep.
2274         * sysdeps/unix/sysv/linux/tile/Makefile
2275         (libpthread-shared-only-routines): Likewise.
2277 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2279         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2280         Mask implicit bit out of unpacked value.
2281         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2282         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2283         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2285         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2287         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2289         * sysdeps/s390/fpu/fesetexcept.c: New file.
2291         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2292         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2293         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2295         * sysdeps/mips/fpu/fesetexcept.c: New file.
2297         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2299         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2301         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2303         * sysdeps/arm/fesetexcept.c: New file.
2305         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2307         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2309         * math/fesetexcept.c: New file.
2310         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2311         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2312         * math/fenv.h: Define
2313         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2314         <bits/libc-header-start.h> instead of including <features.h>.
2315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2316         declaration.
2317         * manual/arith.texi (fesetexcept): Document function.
2318         * math/Versions (fesetexcept): New libm symbol at version
2319         GLIBC_2.25.
2320         * math/Makefile (libm-support): Add fesetexcept.
2321         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2322         * math/test-fesetexcept.c: New file.
2323         * math/test-fesetexcept-traps.c: Likewise.
2324         * sysdeps/nacl/libm.abilist: Update.
2325         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2326         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2327         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2328         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2329         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2330         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2331         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2332         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2333         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2334         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2335         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2336         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2338         Likewise.
2339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2340         Likewise.
2341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2342         Likewise.
2343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2344         Likewise.
2345         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2346         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2347         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2348         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2349         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2351         Likewise.
2352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2353         Likewise.
2354         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2355         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2356         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2358 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2360         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2361         New.
2362         (do_test): Apply default_stack_size_in_mb if not set.
2363         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2365 2016-08-15  Andreas Schwab  <schwab@suse.de>
2367         [BZ #20435]
2368         CVE-2016-6323
2369         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2370         as .cantunwind.
2372 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2374         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2375         comment from fraiseexcpt.c.
2377         * math/test-fexcept.c (feraiseexcept_exact): New function.
2378         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2379         (test_except): Likewise.
2381 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2383         [BZ #20455]
2384         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2385         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2386         to be restored.
2388         * math/test-fexcept-traps.c: New file.
2389         * math/test-fexcept.c: Likewise.
2390         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2391         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2392         macro.
2393         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2394         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2396 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2398         * include/atomic.h (atomic_fetch_and_relaxed,
2399         atomic_fetch_and_release, atomic_fetch_or_release,
2400         atomic_fetch_xor_release): New.
2402 2016-08-06  Christian Seiler  <christian@iwakd.de>
2404         [BZ #20444]
2405         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2406         MACH_PORT_NULL.
2408 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2410         * math/s_fdim.c: Avoid alias renamed.
2411         * math/s_fdimf.c: Likewise.
2412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2413         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2414         Add s_fdimf-vis3, s_fdim-vis3.
2415         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2416         (CFLAGS-s_fdim-vis3.c): Likewise.
2417         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2418         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2420 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2423         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2424         Remove s_fdimf-vis3, s_fdim-vis3.
2425         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2426         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2433         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2434         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2436 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2438         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2439         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2440         -Wa,-Av9a -mvis.
2442 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2444         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2445         LIT() to individual constants in simple expressions
2446         after splitting on spaces.
2447         (_apply_lit): Rename replaced version, and use it to
2448         apply to what appears to be a token.
2450         * math/libm-test.inc: Fix many, many issues with
2451         spacing.
2453 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2455         * math/math.h: Move comment about <bits/mathdef.h> definitions
2456         above inclusion of <bits/mathdef.h>.  Do not mention
2457         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2459 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2461         * include/atomic.h (atomic_exchange_relaxed): New.
2463 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2465         * math/e_scalb.c: Do not include <fenv.h>.
2466         (invalid_fn): Do calculation resulting in NaN instead of raising
2467         FE_INVALID and returning a NaN explicitly.
2468         * math/e_scalbf.c: Do not include <fenv.h>.
2469         (invalid_fn): Do calculation resulting in NaN instead of raising
2470         FE_INVALID and returning a NaN explicitly.
2471         * math/e_scalbl.c: Do not include <fenv.h>.
2472         (invalid_fn): Do calculation resulting in NaN instead of raising
2473         FE_INVALID and returning a NaN explicitly.
2475 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2477         * po/de.po: Updated from Translation Project.
2478         * po/fi.po: Likewise.
2479         * po/sv.po: Likewise.
2481 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2483         [BZ #20452]
2484         Use sysdep.o from libc.a in static libraries.
2485         * sysdeps/unix/sysv/linux/i386/Makefile
2486         (libpthread-shared-only-routines): Add sysdep.
2487         (librt-shared-only-routines): Likewise.
2489 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2491         * math/tgmath.h (nextdown): Define if
2492         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2493         (nextup): Likewise.
2495         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2496         macro.
2497         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2498         Document.
2499         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2500         Document macro.
2501         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2502         (exp10f): Likewise.
2503         (exp10l): Likewise.
2504         * math/bits/mathcalls.h (exp10): Declare if
2505         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2507         * manual/arith.texi (nextup): Fix typo in last change.
2509 2016-08-03  Zack Weinberg  <zackw@panix.com>
2511         [BZ #19239]
2512         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2513         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2514         define major, minor, and makedev to issue deprecation warnings on use.
2515         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2516         previously-activated deprecation warnings for these macros and prevent
2517         subsequent inclusions of this header from having any effect.
2518         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2519         including <sys/sysmacros.h>, and undefine it again afterward.
2521 2016-08-03  Zack Weinberg  <zackw@panix.com>
2523         * sysdeps/generic/sys/sysmacros.h: Delete file.
2524         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2525         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2526         * bits/sysmacros.h: ... here; this encoding is now the generic
2527         encoding.  Now defines only the following macros:
2528         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2529         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2530         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2532         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2533         bits/sysmacros.h and the above new macros to generate the
2534         public implementations of major, minor, and makedev.
2535         * misc/tst-makedev.c: New test.
2536         * include/sys/sysmacros.h: New wrapper.
2538         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2539         (routines): Add makedev.
2540         (tests): Add tst-makedev.
2541         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2542         gnu_dev_makedev.
2543         * posix/Makefile (headers): Remove sys/sysmacros.h.
2544         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2546         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2547         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2548         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2549         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2550         * sysdeps/unix/sysv/linux/arm/libc.abilist
2551         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2552         * sysdeps/unix/sysv/linux/i386/libc.abilist
2553         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2554         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2555         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2556         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2557         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2558         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2559         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2560         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2561         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2566         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2567         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2568         * sysdeps/unix/sysv/linux/sh/libc.abilist
2569         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2570         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2573         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2574         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2575         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2576         Add GLIBC_2.25.
2578         * include/features.h (__glibc_clang_prereq): New macro.
2579         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2580         (__attribute_deprecated_msg__): New macros.
2582 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2584         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2585         macro.
2586         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2587         * manual/arith.texi (issignaling): Document as ISO from TS
2588         18661-1:2014.
2589         (nextup): Likewise.
2590         (nextupf): Likewise.
2591         (nextupl): Likewise.
2592         (nextdown): Likewise.
2593         (nextdownf): Likewise.
2594         (nextdownl): Likewise.
2595         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2596         macro.
2597         * math/math.h: Define
2598         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2599         <bits/libc-header-start.h> instead of including <features.h>.
2600         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2601         [__USE_GNU].
2602         * math/bits/mathcalls.h (nextdown): Declare if
2603         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2604         (nextup): Likewise.
2605         (__issignaling): Likewise.
2607 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2609         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2610         check, and remove __glibc_likely hint
2611         from FP_INFINITE check.
2612         * s_csinhf.c (__csinhf): Likewise.
2614         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2615         hint from FP_INFINITE check.
2616         * s_csinhl.c (__csinhl): Likewise.
2618 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2620         * math/Makefile (libm-calls): Insert F placeholder into
2621         object names.  Move w_lgamma_compat* routines into
2622         (libm-compat-calls): New variable.
2623         (libm-compat-calls-ldouble-yes): New variable.
2624         (calls): Insert F placeholder.
2625         (generated): Redefine using new type-foreach macro call.
2626         (routines): Likewise.
2628         (types): New variable to hold a list of symbolic names
2629         for each type supported by the target machine.
2630         (libm-routines): Redefine using new types variable.
2631         (type-foreach): macro to replace fooF with the
2632         appropriately suffixed foo for each types.
2634         (type-ldouble-suffix): New variable.
2635         (type-ldouble-routines): Likewise.
2636         (type-ldouble-yes): Likewise.
2637         (type-double-suffix): Likewise.
2638         (type-double-routines): Likewise.
2639         (type-float-suffix): Likewise.
2640         (type-float-routines): Likewise.
2642         (dbl-only-routines): Remove.
2643         (long-c-yes): Likewise.
2644         (long-m-routines): Likewise.
2645         (long-m-support): Likewise.
2646         (long-m-yes): Likewise.
2647         (test-longdouble-yes): Likewise.
2649         (test-float.o): Simplify by increasing the scope of the
2650         recipe which adds libm-test.stmp to the vector types.
2651         (test-ifloat.o): Likewise.
2652         (test-float-finite.o): Likewise.
2653         (test-double.o): Likewise
2654         (test-idouble.o): Likewise.
2655         (test-double-finite.o): Likewise.
2656         (test-ldouble.o): Likewise
2657         (test-ildoubl.o): Likewise.
2658         (test-ldouble-finite.o): Likewise.
2660         (libm-tests): Redefine type tests using foreach and the
2661         list of types in types.
2663         (CPPFLAGS-test-ildoubl.c): Rename to
2664         (CPPFLAGS-test-ildouble.c): New variable
2666         * math/test-ildoubl.c: Rename to
2667         * math/test-ildouble.c: New file.
2669 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2671         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2672         Use fabsl instead of fabs.
2673         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2674         Likewise.
2675         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2676         Add long double suffix to constant to ensure proper
2677         promotion to long double.
2679 2016-08-03  Tom Tromey  <tom@tromey.com>
2681         [BZ #20311]
2682         * nptl_db/Makefile (headers): Add proc_service.h.
2683         * nptl_db/proc_service.h: Add include guard.  Use
2684         __BEGIN/__END_DECLS.
2685         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2686         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2687         arguments.
2690 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2692         [BZ #17730]
2693         Avoid using memalign for TCB allocations.
2694         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2695         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2696         Avoid alignment gap in the TLS_DTV_AT_TP case.
2697         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2698         determine the pointer to free.
2699         * nptl/tst-tls3-malloc.c: New test.
2700         * nptl/Makefile (tests): Add it.
2701         (tst-tls3-malloc): Link with libdl, libpthread.
2702         (LDFLAGS-tst-tls3-malloc): Set.
2703         (tst-tls3-malloc.out): Depend on DSO used in test.
2705 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2707         [BZ #17730]
2708         Avoid using memalign for TLS allocations.
2709         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2710         is_static member with to_free member.
2711         (union dtv): Use struct dtv_pointer.
2712         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2713         dtv_pointer instead of is_static.
2714         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2715         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2716         instead of val.
2717         (allocate_dtv_entry): New function.
2718         (allocate_and_init): Return struct dtv_pointer.  Call
2719         allocate_dtv_entry instead of __libc_memalign.
2720         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2721         instead of val.
2722         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2723         instead of is_static.  Adjust call to allocate_and_init.
2724         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2725         struct dtv_pointer instead of val.
2727 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2729         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2730         (MALLOC_ALIGN_MASK): Move ...
2731         * malloc/malloc-internal.h: ... to here.
2732         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2734 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2736         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2737         (UDP_ENCAP_GTP1U): Likewise.
2739         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2740         (PF_MAX): Update value.
2741         (AF_QIPCRTR): New macro.
2743 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2745         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2746         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2747         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2748         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2749         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2750         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2751         s_truncf-vis3, s_trunc-vis3.
2752         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2753         (CFLAGS-s_ceil-vis3.c): Likewise.
2754         (CFLAGS-s_floorf-vis3.c): Likewise.
2755         (CFLAGS-s_floor-vis3.c): Likewise.
2756         (CFLAGS-s_truncf-vis3.c): Likewise.
2757         (CFLAGS-s_trunc-vis3.c): Likewise.
2758         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2759         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2760         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2761         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2762         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2763         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2764         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2765         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2766         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2767         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2768         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2769         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2771 2016-08-02  David S. Miller  <davem@davemloft.net>
2773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2774         (__nearbyint_vis3): Don't check for sNaN before float register is
2775         loaded with the incoming argument.
2776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2777         (__nearbyintf_vis3): Likewise.
2778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2779         Likewise.
2780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2781         Likewise.
2783         * string/test-strncmp.c (do_test_limit): Make sure the test data
2784         stream is aligned as required for the type "CHAR".
2785         (do_test): Likewise.
2787 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2789         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2790         by beq instructions jumping to the end of the function.
2791         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2792         clobber list. Use "i" constraint instead of "X".
2793         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2794         of "X".
2796 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2798         * bits/libc-header-start.h: New file.
2799         * Makefile (headers): Add bits/libc-header-start.h.
2800         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2801         (__GLIBC_USE): New macro.
2802         * libio/stdio.h: Define
2803         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2804         <bits/libc-header-start.h> instead of including <features.h>.
2805         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2806         (open_memstream): Likewise.
2807         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2808         (__asprintf): Likewise.
2809         (asprintf): Likewise.
2810         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2811         (getdelim): Likewise.
2812         (getline): Likewise.
2813         * string/string.h: Define
2814         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2815         <bits/libc-header-start.h> instead of including <features.h>.
2816         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2817         (strndup): Likewise.
2818         * wcsmbs/wchar.h: Define
2819         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2820         <bits/libc-header-start.h> instead of including <features.h>.
2821         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2822         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2824 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2826         Support linking against compatibility symbols, for use in tests.
2827         * include/libc-symbols.h (symbol_version_reference): New macro.
2828         (symbol_version): Use it.
2829         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2830         (compat_symbol): Use compat_symbol_reference.
2831         (compat_symbol_1, compat_symbol_2): Remove.
2832         (compat_symbol_reference, compat_symbol_reference_1)
2833         (compat_symbol_reference_2): New macro.  Use
2834         symbol_version_reference.
2836 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2838         [BZ #19469]
2839         * malloc/Makefile (CPPFLAGS): Compile tests with
2840         -DTEST_NO_MALLOPT.
2841         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2843 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2845         [BZ #20033]
2846         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2847         finite version.
2848         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2849         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2850         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2851         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2852         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2853         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2854         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2855         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2856         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2857         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2858         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2859         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2860         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2861         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2862         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2863         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2864         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2865         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2866         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2867         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2868         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2869         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2870         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2871         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2872         in zero power.
2874 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2876         [BZ #20370]
2877         * malloc/arena.c (get_free_list): Update comment.  Assert that
2878         arenas on the free list have no attached threads.
2879         (remove_from_free_list): New function.
2880         (reused_arena): Call it.
2882 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2884         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2885         when it is a NaN.
2886         [_IEEE_FP_INEXACT] Remove.
2887         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2888         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2889         when it is a NaN.
2890         [_IEEE_FP_INEXACT] Remove.
2891         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2892         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2893         when it is a NaN.
2894         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2895         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2896         when its absolute value is greater than 0x1.0p52.
2897         [_IEEE_FP_INEXACT] Remove.
2898         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2899         when its absolute value is greater than 0x1.0p23.
2900         [_IEEE_FP_INEXACT] Remove.
2902 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2904         * version.h (RELEASE): Set to "development"
2905         (VERSION): Set to 2.24.90.
2906         * NEWS: Add 2.25 section.
2908         * version.h (RELEASE): Set to "stable"
2909         (VERSION): Set to 2.24.
2910         * include/features.h (__GLIBC_MINOR__): Set to 24.
2912         * NEWS: Add 2.24 fixed bugs.
2913         * po/libc.pot: Regenerate.
2915 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2918         [$(subdir) = math] (libm-sysdep_routines): Remove.
2919         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2920         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2921         s_truncf-vis3, s_trunc-vis3.
2922         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2924         file.
2925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2947         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2948         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2949         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2958         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2959         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2960         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2961         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2962         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2963         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2964         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2965         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2966         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2967         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2969 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2971         [BZ #20384]
2972         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2973         test-double-libmvec-sincos-avx-main.o,
2974         test-double-libmvec-sincos-avx2-main.o,
2975         test-double-libmvec-sincos-main.o,
2976         test-float-libmvec-sincosf-avx-main.o,
2977         test-float-libmvec-sincosf-avx2-main.o and
2978         test-float-libmvec-sincosf-main.o.
2979         test-float-libmvec-sincosf-avx512-main.o.
2980         ($(objpfx)test-double-libmvec-sincos): Also link with
2981         $(objpfx)test-double-libmvec-sincos-main.o.
2982         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2983         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2984         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2985         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2986         ($(objpfx)test-float-libmvec-sincosf): Also link with
2987         $(objpfx)test-float-libmvec-sincosf-main.o.
2988         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2989         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2990         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2991         test-double-libmvec-sincos-avx512-main.o and
2992         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2993         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2994         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2995         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2996         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2997         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2998         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2999         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3000         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3001         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3002         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3003         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3004         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3005         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3006         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3007         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3008         -DREQUIRE_AVX2.
3009         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3010         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3011         -DREQUIRE_AVX512F.
3012         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3013         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3014         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3015         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3016         file.
3017         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3018         Likewise.
3019         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3020         Likewise.
3021         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3022         Likewise.
3023         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3024         Likewise.
3025         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3026         Likewise.
3027         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3028         Likewise.
3029         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3030         Likewise.
3032 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3034         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3036 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3038         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3039         and typo in a comment about AT_HWCAP entry.
3041 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3043         * sysdeps/aarch64/libm-test-ulps: Updated.
3045 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3047         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3048         of r13 as it is not restored in mvcle case.
3050 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3052         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3053         Rename "ret" to "__ret".
3054         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3055         inline_syscall5, inline_syscall6): Likewise.
3057 2016-07-19   Will Newton  <will.newton@gmail.com>
3059         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3060         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3061         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3062         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3063         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3065 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3067         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3068         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3069         -mfpmath=387 with $(rtld-CFLAGS).
3070         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3071         $(rtld-CFLAGS).
3073 2016-07-18   Ross Burton  <ross.burton@intel.com>
3074              Khem Raj  <raj.khem@gmail.com>
3076         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3077         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3078         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3079         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3080         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3081         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3082         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3083         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3084         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3085         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3086         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3087         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3088         R_METAG_TLS_DTPOFF): New.
3090 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3091             Matt Clay  <mclay@lycos.com>
3093         [BZ #20357]
3094         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3095         to call __mpsin/__mpcos and to negate values.
3096         * math/auto-libm-test-in: Add test.
3097         * math/auto-libm-test-out: Regenerate.
3099 2016-07-18  Zack Weinberg  <zackw@panix.com>
3101         * grp/Makefile: Don't install the internal header grp-merge.h.
3103 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3105         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3107 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3109         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3111 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3113         [BZ #15368]
3114         * sysdeps/unix/sysv/linux/nptl-signals.h
3115         (__nptl_clear_internal_signals): New function.
3116         (__libc_signal_block_all): Likewise.
3117         (__libc_signal_block_app): Likewise.
3118         (__libc_signal_restore_set): Likewise.
3119         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3120         implementation.
3121         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3122         the cached pid/tid value in pthread structure.
3124 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3126         [BZ #20347]
3127         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3129 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3131         [BZ #20348]
3132         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3133         preadv64, pwrite64 and pwritev64.
3135 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3137         [BZ #20350]
3138         * posix/tst-preadwrite.c: Renamed to ...
3139         * posix/tst-preadwrite-common.c: This.
3140         (PREAD): Removed.
3141         (PWRITE): Likewise.
3142         (STRINGIFY): Likewise.
3143         (STRINGIFY2): Likewise.
3144         (do_prepare): Make it static and remove function arguments.
3145         (do_test): Likewise.
3146         (PREPARE): Updated.
3147         (TEST_FUNCTION): New.
3148         (name): Make it static.
3149         (fd): Likewise.
3150         (do_prepare): Use create_temp_file.
3151         (do_test): Renamed to ...
3152         (do_test_with_offset): This.  Make it static and accept offset.
3153         Properly check return value of PWRITE and PREAD.  Return bytes
3154         read.  Don't close fd nor unlink name.
3155         * posix/tst-preadwrite.c: Rewrite.
3156         * posix/tst-preadwrite64.c: Likewise.
3158 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3160         [BZ #20309]
3161         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3162         -mtls-dialect=gnu2 works.
3163         * configure: Regenerated.
3164         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3165         (tests): Add tst-gnu2-tls1.
3166         (modules-names): Add tst-gnu2-tls1mod.
3167         ($(objpfx)tst-gnu2-tls1): New.
3168         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3169         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3170         * elf/tst-gnu2-tls1.c: New file.
3171         * elf/tst-gnu2-tls1mod.c: Likewise.
3172         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3173         bytes for push in the PLT entry to align the stack.
3175 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3177         [BZ #20349]
3178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3180 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3182         [BZ #18707]
3183         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3184         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3186 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3188         * sysdeps/unix/sysv/linux/sysdep.h
3189         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3190         guards.
3191         * misc/tst-preadvwritev-common.c: New file.
3192         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3193         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3194         a check for files larger than 2GB.
3196         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3197         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3198         * sysdeps/unix/sysv/linux/pread.c
3199         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3200         __OFF_T_MATCHES_OFF64_T.
3201         * sysdeps/unix/sysv/linux/pread64.c
3202         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3203         * sysdeps/unix/sysv/linux/preadv.c
3204         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3205         * sysdeps/unix/sysv/linux/preadv64.c
3206         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3207         * sysdeps/unix/sysv/linux/pwrite.c
3208         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3209         * sysdeps/unix/sysv/linux/pwrite64.c
3210         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3211         * sysdeps/unix/sysv/linux/pwritev.c
3212         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3213         * sysdeps/unix/sysv/linux/pwritev64.c
3214         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3216 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3218         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3219         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3221 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3223         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3225 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3227         [BZ #20240]
3228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3229         (CFLAGS-s_modf-ppc32.c): New variable.
3230         (CFLAGS-s_modff-ppc32.c): Likewise.
3231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3232         (CFLAGS-s_modf-ppc64.c): Likewise.
3233         (CFLAGS-s_modff-ppc64.c): Likewise.
3235 2016-07-07  Andreas Schwab  <schwab@suse.de>
3237         [BZ #20263]
3238         * nptl/tst-robust10.c: New test.
3239         * nptl/Makefile (tests): Add tst-robust10.
3241 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3243         [BZ #20263]
3244         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3246 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3248         * sysdeps/s390/linkmap.h (struct link_map_machine):
3249         Remove member gotplt and add member jmprel.
3250         * sysdeps/s390/s390-32/dl-machine.h
3251         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3252         instead of gotplt with &got[3].
3253         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3254         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3256 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3258         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3260 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3262         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3263         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3264         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3265         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3266         * libio/vtables.c (_IO_vtable_check)
3267         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3268         * libio/libioP.h (IO_set_accept_foreign_vtables)
3269         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3271 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3273         [BZ #20314]
3274         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3275         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3276         $(common-objpfx)cmath.
3277         ($(common-objpfx)cstdlib): New target.
3278         ($(common-objpfx)cmath): Likewise.
3280 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3282         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3284 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3286         [BZ #20327]
3287         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3288         are not part of the string.
3290 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3292         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3293         * nptl/tst-cancel4-common.h (fifoname): New variable.
3294         (fifofd): Likewise.
3295         (cl_fifo): New function.
3296         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3297         SIGINT.
3298         (tf_open): Add early cancel test.
3300 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3302         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3304 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3306         * sysdeps/generic/ldsodefs.h
3307         (dl_symbol_visibility_binds_local_p): New inline function.
3308         * elf/dl-addr.c (determine_info): Treat hidden and internal
3309         symbols as local.
3310         * elf/dl-lookup.c (do_lookup_x): Likewise.
3311         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3313 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3315         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3316         invalid exception for a sNaN input.
3317         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3318         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3319         (__nearbyint_vis3): Likewise
3320         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3321         (__nearbyintf_vis3): Likewise
3322         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3323         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3324         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3325         Likewise.
3326         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3327         Likewise.
3329 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3331         [BZ #20139]
3332         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3333         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3334         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3335         2.24 or above.
3336         (HAVE_AVX512_ASM_SUPPORT): Removed.
3337         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3338         * sysdeps/x86_64/configure: Regenerated.
3339         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3340         check unconditional.
3341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3342         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3343         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3344         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3345         Likewise.
3346         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3347         Likewise.
3348         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3349         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3350         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3351         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3352         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3353         Likewise.
3354         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3355         Likewise.
3356         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3357         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3358         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3359         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3360         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3361         Likewise.
3362         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3363         Likewise.
3364         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3365         Likewise.
3366         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3367         Likewise.
3368         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3369         Likewise.
3370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3371         Likewise.
3372         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3373         Likewise.
3374         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3375         Likewise.
3376         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3377         Likewise.
3378         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3379         Likewise.
3380         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3381         Likewise.
3383 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3385         [BZ #20024]
3386         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3387         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3388         of this implementation of vector function.
3389         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3390         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3391         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3392         Likewise.
3393         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3394         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3395         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3396         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3397         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3398         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3399         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3400         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3401         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3402         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3403         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3404         for testing vector sincos with fixed ABI.
3405         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3406         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3407         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3408         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3409         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3410         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3411         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3412         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3413         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3414         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3415         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3416         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3417         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3418         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3419         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3420         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3422 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3424         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3426 2016-06-30  Anton Blanchard  <anton@samba.org>
3428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3429         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3430         s_sinf-ppc64.
3431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3434         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3436 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3440         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3441         e_expf-ppc64.
3442         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3443         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3444         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3445         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3447 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3449         [BZ #20277]
3450         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3451         when SHARED is defined.
3453 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3455         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3456         (index_arch_Prefer_ERMS): Likewise.
3457         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3458         __memcpy_erms for Prefer_ERMS.
3459         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3460         (__memmove_erms): Enabled for libc.a.
3461         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3462         __memmove_erms or Prefer_ERMS.
3463         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3464         __mempcpy_erms for Prefer_ERMS.
3465         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3466         __memset_erms for Prefer_ERMS.
3468 2016-06-30  Andreas Schwab  <schwab@suse.de>
3470         [BZ #20262]
3471         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3472         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3473         of memory.
3475 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3477         [BZ #18645]
3478         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3479         (test-extras): Add tst-cleanupx4aux.
3480         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3481         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3482         tst-cleanupx4aux.o.
3483         * nptl/tst-cleanupx4aux.c: New file.
3485 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3487         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3489 2016-06-29  Andreas Schwab  <schwab@suse.de>
3491         [BZ #20260]
3492         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3493         address before the beginning of the string as an integer to avoid
3494         array-bounds warning.
3496 2016-06-28  Richard Henderson  <rth@redhat.com>
3498         * elf/elf.h (EM_BPF): New.
3499         (EM_NUM): Update.
3500         (R_BPF_NONE, R_BPF_MAP_FD): New.
3502         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3503         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3504         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3505         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3506         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3507         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3508         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3509         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3510         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3511         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3512         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3513         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3514         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3515         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3516         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3517         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3518         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3519         (EM_NUM): Update.
3521 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3523         [BZ #18960]
3524         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3525         Set _nl_current_LC_CATEGORY_used to two instead of one.
3527 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3529         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3530         (do_test): ... this.
3531         (TEST_FUNCTION): New macro.
3532          Include test-skeleton.c.
3533         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3534         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3536 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3538         [BZ #15479]
3539         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3540         floating-point environment rather than just control word.
3541         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3542         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3543         floating-point environment, with "invalid" exceptions merged in,
3544         rather than just control word.
3545         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3546         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3547         "inexact" exceptions.
3549         [BZ #15479]
3550         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3551         floating-point environment rather than just control word.
3552         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3553         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3554         floating-point environment, with "invalid" exceptions merged in,
3555         rather than just control word.
3556         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3557         * math/libm-test.inc (floor_test_data): Do not allow spurious
3558         "inexact" exceptions.
3560         [BZ #15479]
3561         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3562         floating-point environment rather than just control word.
3563         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3564         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3565         floating-point environment, with "invalid" exceptions merged in,
3566         rather than just control word.
3567         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3568         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3569         "inexact" exceptions.
3571 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3573         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3574         __libc_vfork.
3575         (__vfork) [IS_IN (libc)]: Remove alias.
3576         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3577         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3578         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3580 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3582         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3583         of atomic_compare_and_exchange_bool_rel.
3584         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3585         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3586         catomic_compare_and_exchange_bool_rel): Remove.
3587         * sysdeps/aarch64/atomic-machine.h
3588         (atomic_compare_and_exchange_bool_rel): Likewise.
3589         * sysdeps/alpha/atomic-machine.h
3590         (atomic_compare_and_exchange_bool_rel): Likewise.
3591         * sysdeps/arm/atomic-machine.h
3592         (atomic_compare_and_exchange_bool_rel): Likewise.
3593         * sysdeps/mips/atomic-machine.h
3594         (atomic_compare_and_exchange_bool_rel): Likewise.
3595         * sysdeps/microblaze/atomic-machine.h
3596         ( __arch_compare_and_exchange_bool_8_rel,
3597         __arch_compare_and_exchange_bool_16_rel): Likewise.
3598         * sysdeps/powerpc/atomic-machine.h
3599         ( __arch_compare_and_exchange_bool_8_rel,
3600         __arch_compare_and_exchange_bool_16_rel): Likewise.
3601         * sysdeps/powerpc/powerpc32/atomic-machine.h
3602         ( __arch_compare_and_exchange_bool_32_rel,
3603         __arch_compare_and_exchange_bool_64_rel): Likewise.
3604         * sysdeps/powerpc/powerpc64/atomic-machine.h
3605         ( __arch_compare_and_exchange_bool_32_rel,
3606         __arch_compare_and_exchange_bool_64_rel): Likewise.
3607         * sysdeps/tile/atomic-machine.h
3608         (atomic_compare_and_exchange_bool_rel): Likewise.
3610 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3612         [BZ #20296]
3613         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3614         when either argument is a NaN.
3615         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3616         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3618         * math/libm-test.inc (snan_value_ld): New macro.
3619         (isgreater_test_data): Add sNaN tests.
3620         (isgreaterequal_test_data): Likewise.
3621         (isless_test_data): Likewise.
3622         (islessequal_test_data): Likewise.
3623         (islessgreater_test_data): Likewise.
3624         (isunordered_test_data): Likewise.
3625         (nextafter_test_data): Likewise.
3626         (nexttoward_test_data): Likewise.
3627         (remainder_test_data): Likewise.
3628         (remquo_test_data): Likewise.
3629         (significand_test_data): Likewise.
3630         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3632 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3634         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3635         environment macros are defined.
3636         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3638 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3640         [BZ #20191]
3641         Implement vtable verification in libio.
3642         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3643         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3644         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3645         _IO_new_file_init_internal instead of _IO_file_init.
3646         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3647         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3648         * libio/Makefile (routines): Add vtables.
3649         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3650         (_IO_init): Remove, not for internal use.
3651         (_IO_init_internal): Declare, internal replacement for _IO_init.
3652         (_IO_file_init): Remove, not for internal use.
3653         (_IO_new_file_init): Remove, not for internal use.
3654         (_IO_new_file_init_internal): Declare, internal replacement for
3655         _IO_new_file_init.
3656         (_IO_old_file_init): Remove, not for internal use.
3657         (_IO_old_file_init_internal): Declare, internal replacement for
3658         _IO_old_file_init.
3659         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3660         internal use.
3661         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3662         Declare.
3663         (libio_vtable): New macro.
3664         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3665         functions.
3666         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3667         _IO_new_file_init.
3668         (_IO_new_file_init): New externally visible wrapper which disables
3669         vtable verification.
3670         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3671         Define as vtables.
3672         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3673         (_IO_init): New externally visible wrapper which disables
3674         vtable verification.
3675         * libio/iofdopen.c (_IO_new_fdopen): Call
3676         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3677         comment.
3678         * libio/iofopen.c (__fopen_internal): Call
3679         _IO_new_file_init_internal instead of _IO_file_init.
3680         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3681         Define as vtables.
3682         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3683         _IO_new_file_init_internal instead of _IO_file_init.
3684         * libio/iopopen.c (_IO_new_popen): Likewise.
3685         (_IO_proc_jumps): Define as vtable.
3686         * libio/iovdprintf.c (_IO_vdprintf): Call
3687         _IO_new_file_init_internal instead of _IO_file_init.
3688         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3689         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3690         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3691         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3692         _IO_old_file_init.
3693         (_IO_old_file_init): New externally visible wrapper which disables
3694         vtable verification.
3695         (_IO_old_file_jumps): Define as vtable.
3696         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3697         _IO_old_file_init_internal instead of _IO_old_file_init.
3698         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3699         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3700         (_IO_old_proc_jumps): Define as vtable.
3701         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3702         Define as vtables.
3703         * libio/vtables.c: New file.
3704         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3705         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3706         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3707         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3708         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3709         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3710         instead of _IO_init.
3712 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3714         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3716 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3718         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3719         potentially unused.
3721 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3723         * test-skeleton.c (write_message): New function.
3724         * malloc/tst-mallocfork2.c (write_message): Remove.
3725         * debug/tst-longjmp_chk2.c (write_indented): New function.
3726         (write_message): Remove.
3727         (stackoverflow_handler): Call write_indented.
3729 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3731         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3732         "inexact" exceptions after fnstenv.
3733         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3734         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3735         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3737 2015-06-22  Zack Weinberg  <zackw@panix.com>
3739         * sysdeps/generic/bits/hwcap.h: Moved to ...
3740         * bits/hwcap.h: Here.
3742 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3744         * sysdeps/aarch64/memcpy.S (memcpy):
3745         Further tuning for performance.
3747 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3749         [BZ #20284]
3750         * malloc/arena.c (reused_arena): Do not return NULL if we start
3751         out with a non-corrupted arena.
3753 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3755         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3756         * misc/tst-preadvwritev.c: New file.
3757         * misc/tst-preadvwritev64.c: Likewise.
3758         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3759         usage.
3760         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3761         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3762         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3763         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3765 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3767         [BZ #19654]
3768         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3769         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3770         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3771         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3772         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3773         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3774         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3775         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3776         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3777         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3778         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3779         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3780         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3781         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3782         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3783         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3784         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3785         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3786         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3787         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3788         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3789         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3790         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3791         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3792         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3793         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3795 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3797         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3798         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3800 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3802         * sysdeps/aarch64/memcpy.S (memcpy):
3803         Rewrite of optimized memcpy and memmove.
3804         * sysdeps/aarch64/memmove.S (memmove): Remove
3805         memmove code (merged into memcpy.S).
3807 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3809         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3810         * sysdeps/generic/dl-dtv.h: New file.
3811         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3812         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3813         (dtv_t): Remove.
3814         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3815         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3816         (dtv_t): Remove.
3817         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3818         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3819         (dtv_t): Remove.
3820         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3821         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3822         (dtv_t): Remove.
3823         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3824         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3825         (dtv_t): Remove.
3826         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3827         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3828         (dtv_t): Remove.
3829         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3830         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3831         (dtv_t): Remove.
3832         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3833         (dtv_t): Remove.
3834         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3835         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3836         (dtv_t): Remove.
3837         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3838         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3839         (dtv_t): Remove.
3840         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3841         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3842         (dtv_t): Remove.
3843         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3844         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3845         (dtv_t): Remove.
3846         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3847         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3848         (dtv_t): Remove.
3849         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3850         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3851         (dtv_t): Remove.
3852         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3853         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3854         (dtv_t): Remove.
3855         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3856         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3857         (dtv_t): Remove.
3859 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3861         Revert symbol poisoning of  __malloc_initialize_hook.
3862         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3863         poisoning.
3864         * malloc/Makefile: Remove un-poisoning.
3865         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3866         instead of old__malloc_initialize_hook.
3867         * malloc/malloc-hooks.h: Likewise.
3868         * malloc/malloc.c: Likewise.
3869         * malloc/mcheck-init.c: Likewise.
3871 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3873         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3875 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3877         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3878         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3879         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3880         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3882 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3884         * NEWS: Mention addition of nextup and nextdown.
3885         * manual/arith.texi: Document nextup and nextdown.
3886         * manual/libm-err-tab.pl: Add nextup and nextdown.
3887         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3888         * math/Versions (libm): Add GLIBC_2.24.
3889         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3890         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3891         Add new test.
3892         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3893         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3894         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3895         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3896         (nextup_test_data): Likewise.
3897         (nextdown_test_data): Likewise.
3898         * math/s_nextdown.c: New file.
3899         * math/s_nextdownf.c: Likewise.
3900         * math/s_nextdownl.c: Likewise.
3901         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3902         F(nextup): New function.
3903         F(nextdown): Likewise.
3904         * math/tgmath.h: Add nextup and nextdown.
3905         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3906         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3907         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3908         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3909         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3910         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3911         Add nextup and nextdown.
3912         (CFLAGS-nldbl-nextup.c): New variable.
3913         (CFLAGS-nldbl-nextdown.c): Likewise.
3914         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3915         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3916         * sysdeps/nacl/libm.abilist: Update.
3917         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3918         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3919         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3920         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3921         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3922         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3923         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3924         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3925         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3926         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3927         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3928         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3931         Likewise.
3932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3934         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3935         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3936         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3937         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3938         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3941         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3942         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3943         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3944         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3946 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3948         * manual/pattern.texi: Fix typos & grammar errors.
3950 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3952         * manual/search.texi: Fix typos & grammar errors.
3954 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3956         * manual/message.texi: Fix typos & grammar errors.
3958 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3960         * manual/contrib.texi: Fix spelling typos.
3961         * manual/crypt.texi: Likewise.
3962         * manual/filesys.texi: Likewise.
3963         * manual/locale.texi: Likewise.
3964         * manual/message.texi: Likewise.
3965         * manual/nss.texi: Likewise.
3966         * manual/string.texi: Likewise.
3968 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3970         * manual/locale.texi: Fix typos & grammar errors.
3972 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3974         * manual/charset.texi: Fix typos & grammar errors.
3976 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3978         * manual/string.texi: Fix typos.
3980 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3982         * manual/ctype.texi: Fix typos.
3984 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3986         * manual/memory.texi: Fix various typos & grammar errors.
3988 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3990         [BZ #20255]
3991         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3992         * math/libm-test.inc (fdim_test_data): Add another test.
3994         [BZ #6796]
3995         [BZ #20255]
3996         [BZ #20256]
3997         * math/s_fdim.c: Include <math_private.h>.
3998         (__fdim): Use math_narrow_eval on result.
3999         * math/s_fdimf.c: Include <math_private.h>.
4000         (__fdimf): Use math_narrow_eval on result.
4001         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4002         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4003         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4004         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4005         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4006         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4007         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4008         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4009         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4010         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4011         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4012         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4013         overflow.  Add sNaN tests.
4015         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4016         fpclassify.
4017         * math/s_fdimf.c (__fdimf): Likewise.
4018         * math/s_fdiml.c (__fdiml): Likewise.
4020 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4022         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4023         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4025         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4026         ifunc'ed strcasecmp/strncasecmp.
4027         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4028         [EALIGN]: Removed.
4029         [END]: Likewise.
4030         [__strcasecmp]: Define instead of the above to control symbol name.
4031         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4032         for __strcasecmp_power8.
4033         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4034         for __strncasecmp_power8.
4035         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4036         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4037         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4038         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4039         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4040         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4042 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4044         [BZ #20252]
4045         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4046         arguments when second argument is a NaN.
4047         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4048         qNaN tests.
4050         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4051         (conj_test_data): Likewise.
4052         (copysign_test_data): Likewise.
4053         (creal_test_data): Likewise.
4054         (fma_test_data): Likewise.
4055         (fmod_test_data): Likewise.
4057         [BZ #20250]
4058         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4059         itself.
4060         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4061         zero input to itself.
4062         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4063         Likewise.
4064         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4065         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4066         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4067         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4068         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4070 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4072         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4073         * nptl/tst-cancel4-common.c: New file.
4074         * nptl/tst-cancel4-common.h: Likewise.
4075         * nptl/tst-cancel4.c: Move common definitions to
4076         tst-cancel4-common.{c,h} file.
4077         * nptl/tst-cancel4_1.c: New test.
4078         * nptl/tst-cancel4_2.c: New test.
4080 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4082         [BZ #20248]
4083         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4084         (write_message): New function.
4085         (stackoverflow_handler): Call it instead of printf, to avoid
4086         excessive stack usage by printf.
4087         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4089 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4091         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4092         (prio_inherit_missing): Remove define.
4093         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4094         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4095         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4096         Likewise.
4097         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4098         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4099         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4100         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4101         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4102         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4104 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4106         [BZ #19670]
4107         [BZ #19672]
4109         * io/test-lfs.c (do_prepare): Use xmalloc.
4110         * io/tst-fcntl.c (do_prepare): Likewise.
4111         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4112         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4113         * login/tst-utmp.c (do_prepare): Likewise.
4114         * posix/tst-exec.c (do_prepare): Likewise.
4115         * posix/tst-pathconf.c (prepare): Likewise.
4116         * posix/tst-spawn.c (do_prepare): Likewise.
4117         * posix/tst-truncate.c (do_prepare): Likewise.
4118         * rt/tst-aio.c (do_prepare): Likewise.
4119         * rt/tst-aio64.c (do_prepare): Likewise.
4121 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4123         [BZ #20237]
4124         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4125         (get*ent): Set entidx to NULL during initialization.  If entidx is
4126         NULL, start iteration from the beginning.
4128 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4130         * malloc/malloc.c (musable): Return correct size for dumped fake
4131         mmapped chunk.
4133 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4135         [BZ #20222]
4136         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4137         (_IO_cookie_write): Likewise.
4138         (_IO_cookie_seek): Likewise.
4139         (_IO_cookie_close): Likewise.
4140         (_IO_old_cookie_seek): Likewise.
4141         (set_callbacks): New function.
4142         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4144 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4146         * locale/programs/localedef.c (oldstyle_tables): Remove.
4147         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4149 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4151         [BZ #20240]
4152         * math/Makefile (CFLAGS-s_modf.c): New variable.
4153         (CFLAGS-s_modff.c): Likewise.
4154         (CFLAGS-s_modfl.c): Likewise.
4155         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4157 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4159         [BZ #20215]
4160         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4161         [!__GNUC_PREREQ (3,2)]: Likewise.
4163 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4165         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4166         (msghdr.msg_controllen): Likewise.
4167         (cmsghdr.cmsg_len): Likewise.
4168         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4169         ptw-oldsendmsg.
4170         (CFLAGS-oldrecvmsg.c): Remove rule.
4171         (CFLAGS-oldsendmsg.c): Likewise.
4172         (CFLAGS-recvmsg.c): Add rule.
4173         (CFLAGS-sendmsg.c): Likewise.
4174         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4175         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4176         (CFLAGS-recvmsg.c): Remove rule.
4177         (CFLAGS-sendmsg.c): Likewise.
4178         (CFLAGS-oldrecvmsg.c): Likewise.
4179         (CFLAGS-oldsendmsg.c): Likewise.
4180         (CFLAGS-recvmmsg.c): Likewise.
4181         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4182         to kernel defined interfaces.
4183         (msghdr.msg_controllen): Likewise.
4184         (cmsghdr.cmsg_len): Likewise.
4185         (msghdr.__glibc_reserved1): Remove member.
4186         (msghdr.__glibc_reserved2): Likewise.
4187         (cmsghdr.__glibc_reserved1): Likewise.
4188         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4189         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4190         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4191         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4192         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4193         version.
4194         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4195         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4196         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4197         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4198         Remove recvmsg and sendmsg.
4199         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4200         Likewise.
4201         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4202         Likewise.
4203         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4204         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4205         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4206         Likewise.
4207         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4208         Likewise.
4209         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4210         [libc] (GLIBC_2.24): Likewise.
4211         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4212         Likewise.
4213         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4214         Likewise.
4215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4216         [libc] (GLIBC_2.24): Likewise.
4217         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4218         Likewise.
4219         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4220         Likewise.
4221         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4222         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4223         Likewise.
4224         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4225         Likewise.
4226         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4227         Likewise.
4228         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4229         Likewise.
4230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4231         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4232         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4233         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4234         version for {recv,send,recm,sendm}msg.
4235         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4236         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4237         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4238         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4239         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4240         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4241         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4242         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4243         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4244         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4245         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4246         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4248         Likewise.
4249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4250         Likewise.
4251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4253         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4254         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4255         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4256         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4257         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4258         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4261         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4262         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4263         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4265 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4267         [BZ #19564]
4268         Remove __malloc_initialize_hook from the API.
4269         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4270         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4271         #pragma GCC poison.
4272         * malloc/malloc-hooks.h: New file.
4273         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4274         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4275         (old__malloc_initialize_hook): Rename from
4276         __malloc_initialize_hook to evade poisoning.  Turn into compat
4277         symbol.
4278         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4279         __malloc_initialize_hook.
4280         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4281         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4282         * manual/memory.texi (Hooks for Malloc): Remove
4283         __malloc_initialize_hook.  Adjust hook example.
4285 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4287         [BZ #20235]
4288         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4289         itself.
4290         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4291         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4293         [BZ #20234]
4294         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4295         infinity or NaN input to itself.
4297         [BZ #20233]
4298         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4299         to itself.
4301         [BZ #20232]
4302         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4303         itself.
4305 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4307         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4308         __libc_start_main via GOT.
4310 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4312         * sysdeps/x86_64/memcopy.h: New file.
4313         * sysdeps/x86_64/wordcopy.c: Likewise.
4315 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4317         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4318         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4319         <cstdlib>.
4320         (optimization_barrier): New.
4321         (do_test): Use it.  Call quick_exit in the global namespace.
4322         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4323         instead of <cstdlib>, <thread>.
4324         (optimization_barrier): New.
4325         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4326         Call quick_exit in the global namespace.
4327         (do_test): Call optimization_barrier.  Use pthread_create,
4328         pthread_join instead of std::thread.
4330 2016-06-09  Andreas Schwab  <schwab@suse.de>
4332         [BZ #19755]
4333         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4334         new entries in auto-propagate mode.
4335         * nscd/grpcache.c (cache_addgr): Likewise.
4337 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4339         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4340         New functions.
4341         (add_temp_file): Use them.
4343 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4345         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4347 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4349         [BZ #20229]
4350         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4351         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4352         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4354         [BZ #20228]
4355         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4356         itself.
4357         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4358         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4360         [BZ #20227]
4361         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4362         itself.
4363         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4364         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4365         * math/libm-test.inc (log_test_data): Add sNaN tests.
4367         [BZ #20226]
4368         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4369         itself.
4370         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4371         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4372         (exp10_test_data): Likewise.
4373         (expm1_test_data): Likewise.
4375         [BZ #20225]
4376         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4377         itself.
4378         * math/s_ldexpf.c (__ldexpf): Likewise.
4379         * math/s_ldexpl.c (__ldexpl): Likewise.
4380         * math/w_scalbln.c (__w_scalbln): Likewise.
4381         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4382         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4383         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4384         (scalbln_test_data): Likewise.
4386         [BZ #20224]
4387         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4388         argument to itself.
4389         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4391 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4393         [BZ #19776]
4394         * sysdeps/x86_64/memcpy.S: Make it dummy.
4395         * sysdeps/x86_64/mempcpy.S: Likewise.
4396         * sysdeps/x86_64/memmove.S: New file.
4397         * sysdeps/x86_64/memmove_chk.S: Likewise.
4398         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4399         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4400         * sysdeps/x86_64/memmove.c: Removed.
4401         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4402         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4403         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4404         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4405         Likewise.
4406         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4407         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4409         memcpy-sse2-unaligned, memmove-avx-unaligned,
4410         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4411         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4412         (__libc_ifunc_impl_list): Replace
4413         __memmove_chk_avx512_unaligned_2 with
4414         __memmove_chk_avx512_unaligned.  Remove
4415         __memmove_chk_avx_unaligned_2.  Replace
4416         __memmove_chk_sse2_unaligned_2 with
4417         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4418         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4419         with __memmove_avx512_unaligned.  Replace
4420         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4421         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4422         with __memcpy_chk_avx512_unaligned.  Remove
4423         __memcpy_chk_avx_unaligned_2.  Replace
4424         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4425         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4426         Replace __memcpy_avx512_unaligned_2 with
4427         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4428         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4429         with __mempcpy_chk_avx512_unaligned.  Remove
4430         __mempcpy_chk_avx_unaligned_2.  Replace
4431         __mempcpy_chk_sse2_unaligned_2 with
4432         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4433         Replace __mempcpy_avx512_unaligned_2 with
4434         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4435         Replace __mempcpy_sse2_unaligned_2 with
4436         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4437         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4438         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4439         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4440         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4441         (ENTRY): Removed.
4442         (END): Likewise.
4443         (ENTRY_CHK): Likewise.
4444         (libc_hidden_builtin_def): Likewise.
4445         Don't include ../memcpy.S.
4446         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4447         __memcpy_chk_avx512_unaligned_erms and
4448         __memcpy_chk_avx512_unaligned.  Use
4449         __memcpy_chk_avx_unaligned_erms and
4450         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4451         Default to __memcpy_chk_sse2_unaligned.
4452         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4453         Change function suffix from unaligned_2 to unaligned.
4454         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4455         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4456         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4457         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4458         (ENTRY): Removed.
4459         (END): Likewise.
4460         (ENTRY_CHK): Likewise.
4461         (libc_hidden_builtin_def): Likewise.
4462         Don't include ../mempcpy.S.
4463         (mempcpy): New.  Add a weak alias.
4464         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4465         __mempcpy_chk_avx512_unaligned_erms and
4466         __mempcpy_chk_avx512_unaligned.  Use
4467         __mempcpy_chk_avx_unaligned_erms and
4468         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4469         Default to __mempcpy_chk_sse2_unaligned.
4471 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4473         [BZ #19881]
4474         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4475         into ...
4476         * sysdeps/x86_64/memset.S: This.
4477         (__bzero): Removed.
4478         (__memset_tail): Likewise.
4479         (__memset_chk): Likewise.
4480         (memset): Likewise.
4481         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4482         defined.
4483         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4484         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4485         (__memset_zero_constant_len_parameter): Check SHARED instead of
4486         PIC.
4487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4488         memset-avx2 and memset-sse2-unaligned-erms.
4489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4490         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4491         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4492         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4493         (__bzero): Enabled.
4494         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4495         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4496         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4497         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4498         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4499         (memset): Removed.
4500         (__memset_chk): Likewise.
4501         (MEMSET_SYMBOL): New.
4502         (libc_hidden_builtin_def): Replace __memset_sse2 with
4503         __memset_sse2_unaligned.
4504         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4505         __memset_chk_sse2 and __memset_chk_avx2 with
4506         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4507         Use __memset_chk_sse2_unaligned_erms or
4508         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4509         __memset_chk_avx512_unaligned_erms and
4510         __memset_chk_avx512_unaligned.
4512 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4514         * math/gen-auto-libm-test.c (fp_format_desc): remove
4515         suffix member.
4516         (output_generic_value): Remove usage of suffix member,
4517         and the resulting unuse of the fp_format argument.
4518         (output_for_one_input_case): Remove unused fp_format
4519         parameter.
4521         * math/auto-libm-test-out: Regenerate.
4523         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4524         usage with TEST_COND_ibm128.
4525         (TEST_COND_flt_32): Remove.
4526         (TEST_COND_dbl_64): Remove.
4527         (TEST_COND_ldbl_96_intel): Remove.
4528         (TEST_COND_ldbl_96_m68k): Remove.
4529         (TEST_COND_ldbl_128): Remove.
4531 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4533         * auto-libm-test-in:
4534         Replace flt-32 usage with binary32.
4535         Replace dbl-64 usage with binary64.
4536         Replace ldbl-intel-96 usage with intel96.
4537         Replace ldbl-m68k-96 usage with m68k96.
4538         Replace ldbl-128ibm usage with ibm128.
4539         Replace ldbl-128 usage with binary128.
4541         * auto-libm-test-out: Regenerate.
4543 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4545         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4546         (parse_ulps): Dynamically generate type name matching
4547         string from all_floats.
4548         (get_ulps): Generate the ulps as an array instead.
4549         (output_ulps): Dynamically compose the type based
4550         on the number of supported formats, and print
4551         the indices as type specific helper macros.
4553         * math/libm-test.inc: Remove comment about CHOOSE.
4554         (ulp_data): Generate the type in libm-test-ulps.h.
4555         (ULP_IDX): New macro.
4556         (find_ulps): Update usage of max_ulp.
4558         * math/test-double-vlen2.h (CHOOSE): Remove.
4559         * math/test-double-vlen4.h (CHOOSE): Likewise.
4560         * math/test-double-vlen8.h (CHOOSE): Likewise.
4561         * math/test-float.c (CHOOSE): Likewise.
4562         * math/test-float-finite.c (CHOOSE): Likewise.
4563         * math/test-double.c (CHOOSE): Likewise.
4564         * math/test-double-finite.c (CHOOSE): Likewise.
4565         * math/test-idouble.c (CHOOSE): Likewise.
4566         * math/test-ifloat.c (CHOOSE): Likewise.
4567         * math/test-ildoubl.c (CHOOSE): Likewise.
4568         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4569         * math/test-ldouble.c (CHOOSE): Likewise.
4571         * math/test-float.h (TEST_FLOAT): Remove.
4572         * math/test-double.h (TEST_DOUBLE): Likewise.
4573         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4575 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4577         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4578         (parse_args): Strip C suffix from floating point literals
4579         typed with 'f' and wrap them with LIT().
4581         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4582         (test_ff_f_data_nexttoward): Rename to
4583         (test_fj_f_data): New struct.
4584         (nexttoward_test_data): Relabel tests as
4585         TEST_fj_f instead of TEST_ff_f.
4587 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4589         Emacs bug 23726.
4590         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4591         (__libc_realloc): Correct size computation for dumped fake mmapped
4592         chunks.
4594 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4596         [BZ #20219]
4597         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4598         to itself.
4599         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4601         [BZ #20218]
4602         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4603         to itself.
4604         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4606 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4608         [BZ #20195]
4609         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4610         check to ...
4611         (init_cpu_features): Here.
4613 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4615         [BZ #20214]
4616         * sysdeps/unix/sysv/linux/bits/in.h
4617         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4618          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4619         Define to 1.
4620         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4621          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4622         Define to 0.
4623         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4624         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4626 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4628         [BZ #20198]
4629         * stdlib/Makefile (tests): Add tst-quick_exit, and
4630         tst-thread-quick_exit.
4631         [ifeq ($(have-cxx-thread_local),yes)]
4632         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4633         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4634         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4635         (LDLIBS-tst-thread-quick_exit): Likewise.
4636         [ifneq ($(have-cxx-thread_local),yes)]
4637         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4638         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4639         If run_dtors is true call __call_tls_dtors.
4640         (exit): Call __run_exit_handlers with run_dtors set to true.
4641         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4642         definition.
4643         * stdlib/quick_exit.c (quick_exit): Remove function.
4644         (__new_quick_exit): New function.
4645         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4646         function.
4647         * stdlib/tst-quick_exit.cc: New file.
4648         * stdlib/tst-thread-quick_exit.cc: New file.
4649         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4650         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4651         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4652         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4653         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4654         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4655         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4656         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4657         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4658         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4659         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4660         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4661         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4662         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4663         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4664         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4669         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4670         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4671         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4672         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4673         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4676         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4677         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4678         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4680 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4682         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4683         a typo in comments.
4685 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4687         [BZ #20213]
4688         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4689         argument to itself.
4690         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4692 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4694         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4695         required flags.
4696         (CFLAGS-pwritev64.c): Likewise.
4697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4698         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4699         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4700         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4701         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4702         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4703         syscall from auto-generation.
4704         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4705         [WORDSIZE == 64] (pwritev64): Remove macro.
4706         [!PWRITEV] (PWRITEV): Likewise.
4707         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4708         [!PWRITEV] (PWRITE): Likewise.
4709         [!PWRITEV] (OFF_T): Likewise.
4710         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4711         (LO_HI_LONG): Remove macro.
4712         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4713         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4714         (PWRITEV): Remove macro.
4715         (PWRITEV_REPLACEMENTE): Likewise.
4716         (PWRITE): Likewise.
4717         (OFF_T): Likewise.
4718         (pwritev64): New function.
4719         * nptl/tst-cancel4.c (tf_writev): Add test.
4721         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4722         required flags.
4723         (CFLAGS-preadv64.c): Likewise.
4724         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4725         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4726         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4727         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4728         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4729         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4730         syscall from auto-generation.
4731         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4732         [WORDSIZE == 64] (preadv64): Remove macro.
4733         [!PREADV] (PREADV): Likewise.
4734         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4735         [!PREADV] (PREAD): Likewise.
4736         [!PREADV] (OFF_T): Likewise.
4737         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4738         (LO_HI_LONG): Remove macro.
4739         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4740         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4741         (PREADV): Remove macro.
4742         (PREADV_REPLACEMENTE): Likewise.
4743         (PREAD): Likewise.
4744         (OFF_T): Likewise.
4745         (preadv64): New function.
4746         * nptl/tst-cancel4.c (tf_preadv): Add test.
4748 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4750         [BZ #20212]
4751         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4752         argument to itself.
4753         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4755 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4757         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4758         New symbol defined as libc_hidden_def.
4759         (strcasestr): Became a weak alias to __strcasestr.
4760         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4761         according to multi-arch support.  Move __stpncpy hidden
4762         definition from here to...
4763         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4764         symbol stpncpy.
4765         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4766         libc_hidden_builtin_def.
4767         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4768         memset symbol to use when multi-arch support is available.
4770 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4772         * dlfcn/tst-rec-dlopen.c: Include string.h.
4774 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4776         * manual/install.texi: Remove mention of --without-tls
4777         * INSTALL: Regenerate.
4779 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4781         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4782         Remove.
4783         (call_function, interposed_malloc_called): New variables.
4784         (malloc): New function.
4785         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4786         and clear call_function as needed.
4788 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4790         * include/wchar.h (__wmemset): Use __typeof.
4792 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4794         * include/wchar.h (__wmemset): Declare function without typeof.
4796 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4798         [BZ #20205]
4799         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4800         exponent when incrementing negative subnormal with low mantissa
4801         word zero.
4802         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4803         Add another test.
4805 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4807         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4808         __wmemset instead of wmemset.
4810 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4812         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4813         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4814         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4815         __USE_KERNEL_IPV6_DEFS to 0.
4816         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4817         Update comment.
4819 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4821         [BZ #19861]
4822         Do not use IFUNC resolver with potentially unrelocated symbol.
4823         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4824         (DEFINE_FORK): Remove macro and inline definition.
4825         (fork_alias): Renamed from fork_ifunc.
4826         (__fork_alias): Renamed from __fork_ifunc.
4828 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4830         [BZ 19653]
4831         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4832         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4834 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4836         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4837         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4838         i386-linux-gnu).
4839         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4840         Set to no.
4841         * sysdeps/mach/hurd/configure: Refresh.
4843 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4845         [BZ #20178]
4846         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4847         on failure instead of exit.
4849 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4851         [BZ #3629]
4852         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4853         of POSIX.1-2008.
4855 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4857         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4858           Use PLT entry for calling _hurd_self_sigstate.
4860 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4862         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4863         available logical processors with SMT level type sharing L2
4864         cache for Intel processors.
4866 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4868         [BZ #20160]
4869         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4870         argument to itself before returning the result.
4871         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4872         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4873         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4874         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4875         Likewise.
4876         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4877         Likewise.
4878         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4879         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4880         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4881         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4882         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4883         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4885         [BZ #20160]
4886         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4887         argument to itself before returning the result.
4888         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4889         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4890         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4891         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4892         Likewise.
4893         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4894         Likewise.
4895         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4896         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4897         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4898         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4899         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4900         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4902 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4904         * libm-test.inc: Replace usage of M_El with
4905         (lit_e): New macro.
4907 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4909         * libm-test.inc: Replace usage of M_PI_4l with
4910         (lit_pi_4_d): New macro.
4912 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4914         * libm-test.inc: Replace usage of M_PIl with
4915         (lit_pi): New macro.
4917 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4919         * libm-test.inc: Replace usage of M_PI2l with
4920         (lit_pi_2_d): New macro.
4922         * math/test-double.h (LITM): New macro.
4923         * math/test-float.h (LITM): Likewise.
4924         * math/test-ldouble.h (LITM): Likewise.
4926 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4928         * libm-test.inc (M_PI_34l): Rename to
4929         (lit_pi_3_m_4_d): New Macro.
4930         (M_PI_34_LOG10El): Rename to
4931         (lit_pi_3_m_4_ln10_m_d): New Macro.
4932         (M_PI2_LOG10El): Rename to
4933         (lit_pi_2_ln10_m_d):  New Macro.
4934         (M_PI4_LOG10El): Rename to
4935         (lit_pi_4_ln10_m_d):  New Macro.
4936         (M_PI_LOG10El): Rename to
4937         (lit_pi_ln10_d):  New Macro.
4939 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4941         [BZ #20157]
4942         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4943         determine whether to negate low half if [_ARCH_PPCGR], and integer
4944         comparison otherwise.
4945         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4946         determine whether to negate low half.
4948         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4949         (NO_TEST_INLINE_DOUBLE): Likewise.
4950         (TEST_COND_x86_64): Likewise.
4951         (TEST_COND_x86): Likewise.
4952         (M_PI_6l): Likewise.
4954 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4956         * math/libm-test.inc:
4957         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4958         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4959         (TEST_LDOUBLE): Update usage to evaluate as true if
4960         the guarded tests match the property being tested.
4961         (LDBL_MAX_EXP): Change to MAX_EXP.
4962         (LDBL_MIN_EXP): Change to MIN_EXP.
4963         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4964         nexttoward tests.
4966 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4968         * math/libm-test.inc:
4969         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4970         (TYPE_MIN): Likewise.
4971         (TYPE_TRUE_MIN): Likewise.
4972         (TYPE_MAX): Likewise.
4973         (MIN_EXP): Likewise.
4974         (MAX_EXP): Likewise.
4975         (MANT_DIG): Likewise.
4977         (FSTR_MAX): New macro.
4978         (__CONCATX): Likewise.
4979         (QTYPE_STR): Likewise.
4980         (TEST_COND_binary32): Likewise.
4981         (TEST_COND_binary64): Likewise.
4982         (TEST_COND_binary128): Likewise.
4983         (TEST_COND_ibm128): Likewise.
4984         (TEST_COND_intel96): Likewise.
4985         (TEST_COND_m68k96): Likewise.
4987         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4988         (TEST_COND_dbl_64): Likewise.
4989         (TEST_COND_ldbl_96_intel): Likewise.
4990         (TEST_COND_ldbl_96_m68k): Likewise.
4991         (TEST_COND_ldbl_128): Likewise.
4992         (TEST_COND_ldbl_128ibm): Likewise.
4994         (plus_zero): Redefine using LIT macro.
4995         (minus_zero): Likewise.
4996         (plus_infty): Redefine as (INF).
4997         (minux_infty): Redefine as (-INF).
4998         (max_value): Redefine as TYPE_MAX.
4999         (min_value): Redefine as TYPE_MIN.
5000         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5002         (print_float): Refactor to use snprintf to convert FLOAT values
5003         to string. This brings it closer to dropin replacement of strtof
5004         for the TS 18661 defined types.
5005         (update_stats): Likewise.
5006         (print_complex_function_ulps): Likewise.
5007         (print_max_error): Likewise.
5008         (print_complex_max_error): Likewise.
5009         (check_float_internal): Likewise.
5011         * math/test-float.h (PREFIX): New macro.
5012         (LIT): Likewise.
5013         (TYPE_STR): Likewise.
5014         (FTOSTR): Likewise.
5016         * math/test-double.h (PREFIX): New macro.
5017         (LIT): Likewise.
5018         (TYPE_STR): Likewise.
5019         (FTOSTR): Likewise.
5021         * math/test-ldouble.h (PREFIX): New macro.
5022         (LIT): Likewise.
5023         (TYPE_STR): Likewise.
5024         (FTOSTR): Likewise.
5026 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5028         [BZ #20156]
5029         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5030         to itself when zero or not finite.
5031         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5032         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5033         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5034         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5036 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5038         [BZ #20153]
5039         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5040         x * x + x for infinities and NaNs.
5042         [BZ #20151]
5043         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5044         argument to itself before returning result.
5045         (__ieee754_y0l): Likewise.
5046         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5047         (__ieee754_y1l).
5049         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5050         (atan_test_data): Likewise.
5051         (ceil_test_data): Likewise.
5052         (cos_test_data): Likewise.
5053         (cosh_test_data): Likewise.
5054         (erf_test_data): Likewise.
5055         (exp2_test_data): Likewise.
5056         (fabs_test_data): Likewise.
5057         (floor_test_data): Likewise.
5058         (ilogb_test_data): Likewise.
5059         (j0_test_data): Likewise.
5060         (j1_test_data): Likewise.
5061         (jn_test_data): Likewise.
5062         (lgamma_test_data): Likewise.
5063         (lrint_test_data): Likewise.
5064         (llrint_test_data): Likewise.
5065         (logb_test_data): Likewise.
5066         (lround_test_data): Likewise.
5067         (llround_test_data): Likewise.
5068         (nearbyint_test_data): Likewise.
5069         (rint_test_data): Likewise.
5070         (round_test_data): Likewise.
5071         (sin_test_data): Likewise.
5072         (sincos_test_data): Likewise.
5073         (sinh_test_data): Likewise.
5074         (sqrt_test_data): Likewise.
5075         (tan_test_data): Likewise.
5076         (tanh_test_data): Likewise.
5077         (tgamma_test_data): Likewise.
5078         (trunc_test_data): Likewise.
5079         (y0_test_data): Likewise.
5080         (y1_test_data): Likewise.
5081         (yn_test_data): Likewise.
5083         * math/libm-test.inc: Update comment about NaN testing.
5084         (TEST_SNAN): New macro.
5085         (snan_value): Likewise.
5086         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5087         (fpclassify_test_data): Add sNaN tests.
5088         (isfinite_test_data): Likewise.
5089         (isinf_test_data): Likewise.
5090         (isnan_test_data): Likewise.
5091         (isnormal_test_data): Likewise.
5092         (issignaling_test_data): Likewise.
5093         (signbit_test_data): Likewise.
5094         * math/gen-libm-test.pl (%beautify): Add snan_value.
5095         (show_exceptions): Add argument $test_snan.
5096         (parse_args): Handle snan_value as non-finite.  Update call to
5097         show_exceptions.
5098         * math/Makefile (libm-test-no-inline-cflags): Add
5099         -fsignaling-nans.
5101 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5103         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5104         (CFLAGS-oldsendmsg.c): Add rule.
5105         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5106         Correct recvmsg symbol name.
5107         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5108         Likewise.
5110 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5112         * sysdeps/unix/sysv/linux/Makefile
5113         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5114         oldsendmmsg.
5115         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5116         sendmmsg.
5117         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5118         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5119         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5120         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5122         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5123         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5125         Likewise.
5126         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5127         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5128         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5129         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5130         iovlen and controllen fields to adjust to POSIX specification.
5131         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5133         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5134         and change to correct expected type.
5135         (msghdr.msg_controllen): Likewise.
5136         (cmsghdr.cmsg_len): Likewise.
5137         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5138         expected POSIX assumption about the size.
5139         (msghdr.msg_controllen): Likewise.
5140         (msghdr.__glibc_reserved1): Likewise.
5141         (msghdr.__glibc_reserved2): Likewise.
5142         (cmsghdr.cmsg_len): Likewise.
5143         (cmsghdr.__glibc_reserved1): Likewise.
5144         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5145         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5146         (CFLAGS-sendmsg.c): Remove rule.
5147         (CFLAGS-recvmsg.c): Likewise.
5148         (CFLAGS-oldsendmsg.c): Add rule.
5149         (CFLAGS-oldrecvmsg.c): Likewise.
5150         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5151         recvmsg and sendmsg.
5152         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5153         Likewise.
5154         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5155         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5156         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5157         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5158         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5159         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5160         Likewise.
5161         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5162         Likewise.
5163         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5164         Likewise.
5165         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5166         Likewise.
5167         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5168         Likewise.
5169         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5170         Likewise.
5171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5172         (GLIBC_2.24): Likewise.
5173         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5174         Likewise.
5175         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5176         Likewise.
5177         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5178         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5179         Likewise.
5180         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5181         Likewise.
5182         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5183         Likewise.
5184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5185         (GLIBC_2.24): Likewise.
5186         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5187         Likewise.
5188         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5189         Likewise.
5190         * sysdeps/unix/sysv/linux/Makefile
5191         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5192         (CFLAGS-sendmsg.c): Add rule.
5193         (CFLAGS-recvmsg.c): Likewise.
5194         (CFLAGS-oldsendmsg.c): Likewise.
5195         (CFLAGS-oldrecvmsg.c): Likewise.
5196         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5197         initialization.
5198         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5199         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5200         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5201         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5202         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5203         iovlen and controllen fields to adjust to POSIX specification.
5204         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5205         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5206         added recvmsg and sendmsg.
5207         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5208         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5209         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5210         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5211         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5212         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5213         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5214         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5215         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5216         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5217         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5218         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5220         Likewise.
5221         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5223         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5224         Likewise.
5225         Likewise.
5226         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5227         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5228         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5229         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5230         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5231         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5233         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5235         Likewise.
5236         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5237         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5239         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5240         from auto-generation.
5241         (sendmsg): Likewise.
5242         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5243         (sendmsg): Likewise.
5244         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5245         (sendmsg): Likewise.
5246         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5247         (sendmsg): Likewise.
5248         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5249         (sendmsg): Likewise.
5250         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5251         (sendmsg): Likewise.
5252         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5253         Likewise.
5254         (sendmsg): Likewise.
5255         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5256         (sendmsg): Likewise.
5257         * sysdeps/unix/sysv/linux/i386/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/kernel-features.h
5267         (__ASSUME_SENDMSG_SYSCALL): Define.
5268         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5269         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5270         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5271         Remove.
5272         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5273         Likewise.
5274         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5275         Undefine.
5276         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5277         Likewise.
5278         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5279         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5280         Remove.
5281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5282         Likewise.
5283         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5284         Undefine.
5285         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5286         Likewise.
5287         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5288         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5289         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5290         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5291         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5292         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5293         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5294         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5295         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5297 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5299         * stdlib/gen-tst-strtod-round.c: Add backslash to
5300         compile command in comment.
5301         (printfp): Remove the literal suffix, and define an infinite
5302         value as INF to avoid expansion clash with INFINITY.
5303         (round_str): Remove the literal suffix.
5304         (round_for_all): Likewise, remove the now duplicate ldbl-64
5305         entry, and remove some magic constants.
5307         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5308         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5309         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5310         (_CONCAT): New macro.
5311         (CONCAT): Likewise.
5312         (CHOOSE_ld): Likewise.
5313         (CHOOSE_f): Likewise.
5314         (CHOOSE_d): Likewise.
5315         (FTYPE_MEMBER): Likewise.
5316         (BOOL_MEMBER): Likewise.
5317         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5318         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5319         (_XNTRY): Likewise.
5320         (XNTRY): Likewise.
5321         (_ENTRY): Likewise.
5322         (ENTRY): Likewise.
5323         (test_exactness): Generate members via macro.
5324         (test_results): Likewise.
5325         (test): Update members.
5326         (TEST): Redefine using new macros.
5327         (INF): New macro.
5328         (fetestmodes): New structure.
5329         (do_test): Refactor to be type generic.
5330         (test_in_one_mode): Refactor duplicate code into
5331         (GEN_ONE_TEST): New macro.
5333         * stdlib/tst-strtod-round-data.h: Regenerate.
5335         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5336         Extend to pass additional arbitrary parameters to
5337         generators.
5339 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5341         [BZ #15479]
5342         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5343         floating-point state after first floating-point operation on
5344         input.  Restore full floating-point state instead of just rounding
5345         mode.
5346         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5347         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5348         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5349         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5350         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5352         [BZ #15479]
5353         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5354         floating-point state after first floating-point operation on
5355         input.  Restore full floating-point state instead of just rounding
5356         mode.
5357         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5358         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5359         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5360         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5361         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5363 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5365         [BZ #19727]
5366         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5367         valid high surrogate.
5368         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5369         of an utf16 surrogate.
5370         * iconv/gconv_simple.c (BODY): Likewise.
5371         * iconvdata/bug-iconv12.c: New file.
5372         * iconvdata/Makefile (tests): Add bug-iconv12.
5374 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5376         [BZ #19726]
5377         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5378         outptrp in case of an illegal input.
5379         * iconv/tst-iconv6.c: New file.
5380         * iconv/Makefile (tests): Add tst-iconv6.
5382 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5384         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5385         an error in case of a value in range of an utf16 low surrogate.
5387 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5389         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5390         an error in case of a value in range of an utf16 low surrogate.
5392 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5394         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5395         Move to ...
5396         * sysdeps/s390/Makefile: ... here.
5397         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5398         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5399         (BRANCH_ON_COUNT): New define.
5400         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5401         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5402         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5403         run on s390-32, too.
5404         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5405         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5406         run on s390-32, too.
5407         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5408         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5409         run on s390-32, too.
5411 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5413         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5414         etf3eh or new vector loop-variant.
5416 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5418         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5419         etf3eh or new vector loop-variant.
5421 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5423         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5424         or new vector loop-variant.
5426 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5428         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5429         Rename to TR_LOOP and usage of tr instead of troo instruction.
5431 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5433         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5434         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5436 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5438         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5439         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5440         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5441         New override define.
5442         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5444 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5446         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5447         * sysdeps/s390/configure.ac: Add test for S390 vector register
5448         support in gcc.
5449         * sysdeps/s390/configure: Regenerated.
5451 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5453         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5454         Install file from $(objpfx)gconv-modules.
5455         ($(objpfx)gconv-modules): Concatenate architecture specific file
5456         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5457         * sysdeps/s390/gconv-modules: New file.
5458         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5459         Deleted.
5460         ($(objpfx)gconv-modules-s390): Deleted.
5461         (sysdeps-gconv-modules): New variable.
5463 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5465         [BZ #15479]
5466         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5467         of immediate operand to rounding instruction.
5468         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5469         Likewise.
5470         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5471         Likewise.
5472         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5473         Likewise.
5475 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5477         * math/libm-test.inc (MIN_EXP): Directly define as
5478         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5480 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5482         * math/libm-test.inc (MANT_DIG): Directly define as
5483         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5485 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5487         * stdlib/gen-tst-strtod-round.c (main):
5488           Change usage to more closely match the generated
5489           output.  Add usage and compilation instructions.
5490           (string_to_fp): Add and use FILE* parameter as
5491           output target.
5492           (print_fp): Likewise.
5493           (round_str): Likewise.
5494           (round_for_all): Likewise.
5495         * stdlib/tst-strtod-round.c (tests): Move into
5496         * stdlib/tst-strtod-round-data.h: New file.
5498 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5500         [BZ #15479]
5501         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5502         (__round): Do not force "inexact" exception.
5503         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5504         variable.
5505         (__round): Do not force "inexact" exception.
5506         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5507         (__roundf): Do not force "inexact" exception.
5508         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5509         (__roundl): Do not force "inexact" exception.
5510         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5511         (__roundl): Do not force "inexact" exception.
5512         * math/libm-test.inc (round_test_data): Do not allow spurious
5513         "inexact" exceptions.
5515         [BZ #15479]
5516         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5517         exception in comment.
5518         (huge): Remove variable.
5519         (__floor): Do not force "inexact" exception.
5520         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5521         "inexact" exception in comment.
5522         (huge): Remove variable.
5523         (__floor): Do not force "inexact" exception.
5524         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5525         exception in comment.
5526         (huge): Remove variable.
5527         (__floorf): Do not force "inexact" exception.
5528         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5529         exception in comment.
5530         (huge): Remove variable.
5531         (__floorl): Do not force "inexact" exception.
5533         [BZ #15479]
5534         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5535         exception in comment.
5536         (huge): Remove variable.
5537         (__ceil): Do not force "inexact" exception.
5538         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5539         "inexact" exception in comment.
5540         (huge): Remove variable.
5541         (__ceil): Do not force "inexact" exception.
5542         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5543         (__ceilf): Do not force "inexact" exception.
5544         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5545         exception in comment.
5546         (huge): Remove variable.
5547         (__ceill): Do not force "inexact" exception.
5549 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5551         * config.h.in (BIND_NOW): New.
5552         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5553         * configure: Regenerated.
5554         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5555         indirect branch via the GOT slot.
5557 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5559         [BZ #19765]
5560         * sysdeps/s390/mempcpy.S: New File.
5561         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5562         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5563         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5564         Add mempcpy variants.
5565         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5566         (memcpy): Adjust to be usable from mempcpy entry point.
5567         (__memcpy_mvcle): Likewise.
5568         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5569         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5570         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5571         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5572         (__memcpy_z10): Likewise.
5573         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5575 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5577         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5578         Remove __GI_ symbol.
5579         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5580         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5581         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5582         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5583         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5584         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5586 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5588         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5589         Use cghi instead of chi to compare 64bit value.
5591 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5593         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5594         Jump to 1MB check before executing mvc-loop.
5596 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5598         [BZ #6527]
5599         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5600         unconditionally.
5601         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5603 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5605         * stdlib/tst-strtod6.c (do_test): Use new type generic
5606         invocation of the test function.
5607         (test): Refactor into ...
5608         (TEST_STRTOD): New macro base function.
5610 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5612         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5613         (TEST_STRTOD): New macro.
5614         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5616 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5618         * stdlib/tst-strtod6.c (do_test): Use new type generic
5619         invocation of the test function.
5620         (test): Refactor into ...
5621         (TEST_STRTOD): New macro base function.
5623 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5625         CVE-2016-4429
5626         [BZ #20112]
5627         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5628         payload.
5630 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5632         [BZ #20111]
5633         * bits/sockaddr.h (_SS_SIZE): Define.
5634         * bits/socket.h (_SS_SIZE): Remove.
5635         (_SS_PADSIZE): Adjust to account for all padding.
5636         (struct sockaddr_storage): Update comment.  Avoid implicit
5637         padding.
5638         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5639         (_SS_PADSIZE): Adjust to account for all padding.
5640         (struct sockaddr_storage): Update comment.  Avoid implicit
5641         padding.
5642         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5643         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5644         (_SS_PADSIZE): Adjust to account for all padding.
5645         (struct sockaddr_storage): Update comment.  Avoid implicit
5646         padding.
5647         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5648         __SS_SIZE is 126 in this version.
5649         * inet/tst-sockaddr.c: New file.
5650         * inet/Makefile (tests): Add tst-sockaddr.c
5651         (tst-sockaddr.c): Compile with non-strict aliasing.
5653 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5655         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5656         [XPG3 || XPG4].
5657         (NL_ARGMAX): Also expect for [XPG3].
5658         (NL_LANGMAX): Likewise.
5659         (NL_MSGMAX): Likewise.
5660         (NL_NMAX): Likewise.
5661         (NL_SETMAX): Likewise.
5662         (NL_TEXTMAX): Likewise.
5663         (NZERO): Likewise.
5664         (TMP_MAX): Likewise.
5665         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5666         variable.
5668         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5669         (PF_MAX): Update value.
5670         (AF_KCM): New macro.
5671         (SOL_NETBEUI): Likewise.
5672         (SOL_LLC): Likewise.
5673         (SOL_DCCP): Likewise.
5674         (SOL_NETLINK): Likewise.
5675         (SOL_TIPC): Likewise.
5676         (SOL_RXRPC): Likewise.
5677         (SOL_PPPOL2TP): Likewise.
5678         (SOL_BLUETOOTH): Likewise.
5679         (SOL_PNPIPE): Likewise.
5680         (SOL_RDS): Likewise.
5681         (SOL_IUCV): Likewise.
5682         (SOL_CAIF): Likewise.
5683         (SOL_ALG): Likewise.
5684         (SOL_NFC): Likewise.
5685         (SOL_KCM): Likewise.
5686         (MSG_BATCH): New enum value and macro.
5688 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5690         [BZ #18185]
5691         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5692         sharing L2 cache to 2 for Knights Landing.
5694 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5696         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5697         (FTW_DP): Do not expect for [XPG3 || XPG4].
5698         (FTW_SL): Do not expect for [XPG3].
5699         (FTW_SLN): Likewise.
5700         (FTW_PHYS): Likewise.
5701         (FTW_MOUNT): Likewise.
5702         (FTW_DEPTH): Likewise.
5703         (FTW_CHDIR): Likewise.
5704         (nftw): Likewise.
5705         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5706         variable.
5708 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5710         * manual/errno.texi: Fix various typos & grammar errors.
5712 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5714         * manual/intro.texi: Fix duplicated typo.
5716 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5718         [BZ #13304]
5719         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5720         <float.h>, <math_private.h> and <stdlib.h>.
5721         (add_split): New function.
5722         (mul_split): Likewise.
5723         (ext_val): New typedef.
5724         (store_ext_val): New function.
5725         (mul_ext_val): New function.
5726         (compare): New function.
5727         (add_split_ext): New function.
5728         (__fmal): After checking for Inf, NaN and zero, compute result as
5729         an exact sum of scaled double values in round-to-nearest before
5730         adding those up and adjusting for other rounding modes.
5731         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5732         tests of fma.
5733         * math/auto-libm-test-out: Regenerated.
5735 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5737         [BZ #20119]
5738         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5739         processor level type mask for CPUID with EAX == 11.
5741 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5743         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5744         logical threads if the HTT bit is 0.
5745         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5746         (index_cpu_HTT): Likewise.
5747         (reg_HTT): Likewise.
5749 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5751         [BZ #20115]
5752         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5753         Remove alignments on jump targets.
5755 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5757         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5758         (getpwent): Likewise.
5759         (setpwent): Likewise.
5760         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5761         variable.
5763         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5764         (remque): Likewise.
5765         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5766         variable.
5768 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5770         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5771         not being tested.
5773 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5775         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5776         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5777         call.
5778         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5779         (__condvar_cleanup1): Likewise.
5781 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5783         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5784         New
5785         (__pthread_unwind): Renamed to ...
5786         (PTHREAD_UNWIND): This.
5787         (__pthread_enable_asynccancel): Replace
5788         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5790 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5792         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5793         (CLONE_NEWCGROUP): New macro.
5795         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5796         (Q_GETNEXTQUOTA): New macro.
5798 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5800         [BZ #19907]
5801         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5802         buffer updated by the previous run.
5803         * string/test-memcpy.c (do_one_test): Likewise.
5804         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5805         * string/test-memmove.c (do_one_test): Likewise.
5807 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5809         [BZ #20094]
5810         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5811         not [__USE_XOPEN].
5812         (unlockpt): Likewise.
5813         (ptsname): Likewise.
5814         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5815         variable.
5817         [BZ #20076]
5818         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5819         instead of [__USE_UNIX98].
5820         (S_ISSOCK): Likewise.
5821         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5822         variable.
5824         [BZ #20074]
5825         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5826         [__USE_POSIX].
5827         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5828         variable.
5830         [BZ #20051]
5831         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5832         (ttyslot): Do not declare.
5833         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5834         (ttyslot): New prototype.
5835         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5836         variable.
5837         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5839 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5841         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5843 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5845         Fix race condition in tst-mallocfork2, use fewer resources.
5846         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5847         to current process group.
5848         (signal_sender): Yield in the non-sleeping case.
5850 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5852         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5853         (ecvt): Likewise.
5854         (fcvt): Likewise.
5855         (gcvt): Likewise.
5856         (getsubopt): Likewise.
5857         (grantpt): Likewise.
5858         (initstate): Likewise.
5859         (l64a): Likewise.
5860         (mktemp): Likewise.
5861         (mkstemp): Likewise.
5862         (ptsname): Likewise.
5863         (random): Likewise.
5864         (realpath): Likewise.
5865         (setstate): Likewise.
5866         (srandom): Likewise.
5867         (ttyslot): Likewise.
5868         (unlockpt): Likewise.
5869         (valloc): Likewise.
5871         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5872         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5873         variable.
5875 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5877         [BZ #20072]
5878         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5879         init_cpu_features only if SHARED is defined.
5880         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5882 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5884         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5885         non-inclusive caches on Intel processors.
5887 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5889         * malloc/malloc.c (dumped_main_arena_start)
5890         (dumped_main_arena_end): New variables.
5891         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5892         (do_check_chunk): Skip dumped fake mmapped chunks.
5893         (munmap_chunk): Likewise.
5894         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5895         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5896         mmapped chunks.
5897         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5898         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5899         and dumped_main_arena_end to cover the dumped heap.
5901 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5903         * conform/data/time.h-data (getdate_err): Do not expect for
5904         [XPG3].
5905         (getdate): Likewise.
5906         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5907         variable.
5909         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5910         (F_ULOCK): Likewise.
5911         (F_TEST): Likewise.
5912         (F_TLOCK): Likewise.
5913         (useconds_t): Likewise.
5914         (intptr_t): Do not expect for [XPG3] or [XPG4].
5915         (brk): Do not expect for [XPG3]
5916         (fchown): Likewise.
5917         (fchdir): Likewise.
5918         (ftruncate): Likewise.
5919         (getdtablesize): Likewise.
5920         (gethostid): Likewise.
5921         (getpagesize): Likewise.
5922         (getpgid): Likewise.
5923         (getsid): Likewise.
5924         (getwd): Likewise.
5925         (lchown): Likewise.
5926         (lockf): Likewise.
5927         (readlink): Likewise.
5928         (sbrk): Likewise.
5929         (setpgrp): Likewise.
5930         (setregid): Likewise.
5931         (setreuid): Likewise.
5932         (symlink): Likewise.
5933         (sync): Likewise.
5934         (truncate): Likewise.
5935         (ualarm): Likewise.
5936         (usleep): Likewise.
5937         (vfork): Likewise.
5938         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5939         variable.
5941         [BZ #20054]
5942         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5943         not [__USE_UNIX98].
5944         * conform/data/unistd.h-data (gethostname): Do not expect for
5945         [XPG3].
5947         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5948         [!POSIX] (S_IFBLK): Likewise.
5949         [!POSIX] (S_IFCHR): Likewise.
5950         [!POSIX] (S_IFIFO): Likewise.
5951         [!POSIX] (S_IFREG): Likewise.
5952         [!POSIX] (S_IFDIR): Likewise.
5953         [!POSIX] (S_IFLNK): Likewise.
5954         [!POSIX] (S_IFSOCK): Likewise.
5955         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5956         variable.
5957         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5959 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5961         * sysdeps/aarch64/memset.S (__memset):
5962         Rewrite of optimized memset.
5964 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5966         [BZ #19703]
5967         Partially async-signal-safe fork for single-threaded processes.
5968         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5969         variable.  Do not acquire and reset/release malloc and libio locks
5970         in single-threaded processes.
5971         * malloc/tst-mallocfork2.c: New file.
5972         * malloc/Makefile (tests): Add it.
5974 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5976         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5977         argument.  Use scratch buffer instead of extend_alloca.
5978         (gethosts): Use scratch buffer instead of extend_alloca.
5979         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5980         extend_alloca.
5981         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5983 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5985         [BZ #20055]
5986         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5987         instead of [__USE_UNIX98].
5988         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5989         [__USE_UNIX98].
5990         * conform/data/termios.h-data (tcgetsid): Do not expect for
5991         [XPG3].
5992         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5993         variable.
5994         (test-xfail-XPG4/termios.h/conform): Likewise.
5996 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5998         Do not use mcheck in localedef.
5999         * locale/programs/localedef.c (turn_on_mcheck)
6000         (__malloc_initialize_hook): Remove.
6002 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6004         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6005         * sysdeps/s390/s390-64/Makefile: Likewise.
6007 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6009         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6010         Remove ifunc-defines.sym.
6011         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6012         Likewise.
6013         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6014         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6015         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6016         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6017         rtld-global-offsets.sym.
6018         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6019         * sysdeps/x86/cpu-features-offsets.sym: This.
6020         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6021         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6023 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6025         [BZ #20073]
6026         * io/sys/stat.h (fchmod): Declare for
6027         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6028         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6029         variable.
6031         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6032         [XPG3] (S_IFSOCK): Likewise.
6033         [XPG3] (S_ISVTX): Likewise.
6034         [XPG3] (S_ISLNK): Likewise.
6035         [XPG3] (S_ISSOCK): Likewise.
6036         [XPG3] (fchmod): Likewise.
6037         [XPG3] (lstat): Likewise.
6038         [XPG3] (mknod): Likewise.
6040         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6041         [XPG3].  Expect type long and XFAIL for [XPG4].
6042         (st_blocks): Likewise.
6044         [BZ #20044]
6045         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6046         (pthread_atfork): New prototype.
6047         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6048         variable.
6050         [BZ #20043]
6051         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6052         prototype.
6054 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6056         [BZ #20017]
6057         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6058         gmtime.
6060 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6062         [BZ #19994]
6063         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6064         flag in _res.options.
6066 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6068         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6069         [XPG3 || XPG4].
6070         (blksize_t): Likewise.
6071         (clockid_t): Likewise.
6072         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6073         variable.
6074         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6076 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6078         * sysdeps/unix/sysv/linux/s390/init-first.c:
6079         Add VDSO_SYMBOL(getcpu).
6080         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6081         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6082         Add VDSO_SYMBOL(getcpu).
6083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6084         New define HAVE_GETCPU_VSYSCALL.
6085         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6087 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6089         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6090         instead of <sysdeps/x86_64/cacheinfo.c>.
6091         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6092         * sysdeps/x86/cacheinfo.c: Here.
6094 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6096         * malloc/malloc-internal.h: Adjust header file guard.
6098 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6100         [BZ #19787]
6101         * inet/getnameinfo.c (check_sprintf_result): New function.
6102         (CHECKED_SNPRINTF): New macro.
6103         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6104         to the host buffer.
6105         (gni_host_local): Use checked_copy to copy the host name.
6106         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6107         (gni_serv_local): Use checked_copy to copy the service name.
6108         (getnameinfo): Remove unnecessary truncation of result buffers.
6110 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6112         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6113         in case of inet_ntop failure.
6115 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6117         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6118         avoid long lines.
6119         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6120         variables.
6121         (gni_host_inet, gni_host_local): Add comment.
6122         (gni_host): Add comment.  Use temporary to avoid long lines.
6124 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6126         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6127         registers specifiers where general purpose registers specifiers should
6128         have been used.
6130 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6132         [BZ #19779]
6133         CVE-2016-1234
6134         Avoid copying names of directory entries.
6135         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6136         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6137         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6138         (struct readdir_result): New type.
6139         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6140         (GL_READDIR): New macros.
6141         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6142         (convert_dirent, convert_dirent64): New functions.
6143         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6144         convert_dirent64.  Adjust references to the readdir result.
6145         * sysdeps/unix/sysv/linux/i386/glob64.c:
6146         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6147         * posix/bug-glob2.c (LONG_NAME): Define.
6148         (filesystem): Add LONG_NAME.
6149         (my_DIR): Increase the size of room_for_dirent.
6151 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6153         [BZ #20041]
6154         * misc/sys/select.h (__need_timespec): Only define if
6155         [__USE_XOPEN2K].
6156         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6157         variable.
6158         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6159         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6160         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6162 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6163             Segher Boessenkool  <segher@gcc.gnu.org>
6165         [BZ #20004]
6166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6167         (__novec_swapcontext): Add missing load.
6169 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6171         [BZ #20023]
6172         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6173         <time.h>.
6174         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6175         variable.
6176         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6178 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6181         flags CLONE_VM compare.
6183 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6185         [BZ #20031]
6186         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6187         completely empty.
6189 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6191         [BZ #19573]
6192         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6193         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6194         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6195         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6196         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6197         (hesiod_free_list): Mark as hidden.
6198         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6199         res_set, res_get.
6200         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6201         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6202         (hesiod_init): Remove obsolete res_ninit call.
6203         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6204         (hesiod_bind): Do not call init.
6205         (get_txt_records): Use res_mkquery, res_send instead of
6206         res_nmkquery, res_nsend.
6207         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6208         instead of _nss_hesiod_init.
6209         (_nss_hesiod_initgroups_dyn): Likewise.
6210         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6211         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6212         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6214 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6216         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6217         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6219 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6221         * hesiod/hesiod.h: Remove RCS keyword.
6222         * hesiod/hesiod_p.h: Likewise.
6224         * hesiod/hesiod.c: Likewise.
6226 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6228         [BZ #12450]
6229         * locale/iso-639.def: Add Samogitian/sgs.
6231 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6233         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6235         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6237 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6238             Carlos O'Donell  <carlos@redhat.com>
6240         [BZ #19072]
6241         * grp/Makefile (headers): Add grp-merge.h
6242         (routines): Add grp-merge.
6243         * grp/getgrgid_r.c: Include grp-merge.h.
6244         (DEEPCOPY_FN): Define.
6245         (MERGE_FN): Define.
6246         * grp/getgrname_r.c: Include grp-merge.h.
6247         (DEEPCOPY_FN): Define.
6248         (MERGE_FN): Define.
6249         * grp/grp-merge.c: New file.
6250         * grp/grp-merge.h: New file.
6251         * include/grp-merge.h: New file.
6252         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6253         __copy_grp@GLIBC_PRIVATE.
6254         * manual/nss.texi (Actions in the NSS configuration): Describe
6255         return, continue, and merge.
6256         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6257         (DEEPCOPY_FN): Define.
6258         (MERGE_FN): Define.
6259         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6260         (DEEPCOPY_FN): Define.
6261         (MERGE_FN): Define.
6262         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6263         [!MERGE_FN]: Define __merge_einval.
6264         (CHECK_MERGE): Define.
6265         (REENTRANT_NAME): Process merge if do_merge is true.
6266         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6267         (__nss_getent_r): Likewise.
6268         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6269         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6271 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6273         [BZ #20012]
6274         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6275         length to calculate the buffer to read.
6276         (fmemopen_write): Set the buffer position based on bytes written.
6277         (fmemopen_seek): Return EINVAL for invalid whence modes.
6279         [BZ #19957]
6280         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6281         tst-getpid2.
6282         (test): Add tst-clone2.
6283         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6284         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6285         pid/tid fields for CLONE_VM.
6286         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6287         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6288         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6289         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6290         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6291         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6292         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6293         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6295         Likewise.
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6297         Likewise.
6298         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6299         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6300         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6301         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6302         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6303         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6304         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6305         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6307 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6309         [BZ #19642]
6310         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6311         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6312         (gni_serv_local, gni_serv): New functions extracted from
6313         getnameinfo.
6314         (getnameinfo): Call gni_host and gni_serv to perform the
6315         processing.  Always free scratch buffer.
6317 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6319         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6320         remaining bytes in the dest string, with zeros.
6322 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6324         [BZ #20010]
6325         CVE-2016-3706
6326         * sysdeps/posix/getaddrinfo.c
6327         (convert_hostent_to_gaih_addrtuple): New function.
6328         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6329         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6330         AF_INET data.
6332 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6334         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6335         callback function gl_readdir.
6336         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6337         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6338         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6339         memcpy to copy the name.
6340         * manual/pattern.texi (Calling Glob): Document requirements for
6341         implementations of the gl_readdir callback function.
6342         * manual/examples/mkdirent.c: New example.
6343         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6344         per the manual guidance.
6345         * posix/tst-gnuglob.c (my_readdir): Likewise.
6347 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6349         [BZ #20014]
6350         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6351         not [__USE_POSIX].
6352         (getchar_unlocked): Likewise.
6353         (putc_unlocked): Likewise.
6354         (putchar_unlocked): Likewise.
6355         (flockfile): Likewise.
6356         (ftrylockfile): Likewise.
6357         (funlockfile): Likewise.
6358         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6359         variable.
6360         (test-xfail-XPG4/stdio.h/conform): Likewise.
6362         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6363         Expect constant.
6364         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6365         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6366         variable.
6367         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6368         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6370         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6371         [__USE_LARGEFILE64] (off64_t): Likewise.
6372         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6373         variable.
6375 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6377         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6379 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6381         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6382         * resolv/res_init.c: Likewise.
6383         * resolv/res_mkquery.c: Likewise.
6385 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6387         * resolv/res_init.c (isascii): Do not define.  Use definition in
6388         <ctype.h>.
6389         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6390         (LOG_AUTH): Remove.
6391         (SPRINTF): Remove, adjust caller.
6392         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6394 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6396         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6397         SUNSECURITY conditional.
6398         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6400 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6402         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6403         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6404         Remove BSD-related preprocessor conditionals.
6405         * conf/portability.h: Remove.
6407 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6409         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6410         * resolv/res_data.c: Likewise.
6412 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6414         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6415         * resolv/res_data.c: Remove code conditional on ultrix.
6417 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6419         * resolv/res_init.c (RFC1535): Do not define.  Remove
6420         RFC1535 preprocessor conditionals.
6421         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6422         because there configuration options which make the resolver
6423         behavior different.
6425 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6427         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6428         RESOLVSORT preprocessor conditionals.
6429         * resolv/nss_dns/dns-host.c: Likewise.
6430         * resolv/res_init.c: Likewise.
6432 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6434         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6435         is never defined.
6437 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6439         * inet/inet_lnaof.c: Remove SCSS keyword.
6440         * inet/inet_mkadr.c: Likewise.
6441         * inet/inet_net.c: Likewise.
6442         * inet/inet_netof.c: Likewise.
6443         * inet/rcmd.c: Likewise.
6444         * inet/rexec.c: Likewise.
6445         * inet/ruserpass.c: Likewise.
6447 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6449         * resolv/inet_addr.c: Remove _LIBC conditionals.
6450         * resolv/res_data.c: Likewise.
6451         * resolv/res_init.c: Likewise.
6452         * resolv/res_mkquery.c: Likewise.
6453         * resolv/res_libc.c: Update comment.
6454         * resolv/README: Update.
6456 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6458         * resolv/gethnamaddr.c: Remove SCSS keyword.
6459         * resolv/herror.c: Likewise.
6460         * resolv/inet_addr.c: Likewise.
6461         * resolv/inet_net_ntop.c: Likewise.
6462         * resolv/inet_net_pton.c: Likewise.
6463         * resolv/inet_neta.c: Likewise.
6464         * resolv/inet_ntop.c: Likewise.
6465         * resolv/inet_pton.c: Likewise.
6466         * resolv/ns_date.c: Remove RCS keyword.
6467         * resolv/ns_name.c: Likewise.
6468         * resolv/ns_netint.c: Likewise.
6469         * resolv/ns_parse.c: Likewise.
6470         * resolv/ns_print.c: Likewise.
6471         * resolv/ns_samedomain.c: Likewise.
6472         * resolv/ns_ttl.c: Likewise.
6473         * resolv/nsap_addr.c: Likewise.
6474         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6475         * resolv/res_data.c: Remove RCS keyword.
6476         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6477         * resolv/res_init.c: Likewise.
6478         * resolv/res_mkquery.c: Likewise.
6479         * resolv/res_query.c: Likewise.
6480         * resolv/res_send.c: Likewise.
6482 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6484         * conform/data/stdio.h-data (fdopen): Expect also for
6485         [XPG3 || XPG4].
6487         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6488         (fseeko): Likewise.
6489         (ftello): Likewise.
6490         (ftrylockfile): Likewise.
6491         (funlockfile): Likewise.
6492         (getc_unlocked): Likewise.
6493         (getchar_unlocked): Likewise.
6494         (putc_unlocked): Likewise.
6495         (putchar_unlocked): Likewise.
6497 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6499         [BZ #19868]
6500         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6501         DNS packet syntax checks (which were not needed before).  Skip
6502         over non-PTR records.
6504 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6506         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6507         definition.  Include <stddef.h> instead.
6509 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6511         [BZ #19831]
6512         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6513         function.
6514         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6515         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6517 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6519         [BZ #19862]
6520         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6521         (getanswer_r): Do not call syslog.
6522         (gaih_getanswer_slice): Likewise.
6523         * resolv/gethnamaddr.c (AskedForGot): Remove.
6524         (getanswer): Do not call syslog.
6525         (gethostbyaddr): Likewise.
6527 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6529         * conform/data/signal.h-data (union sigval): Expect also if
6530         [XOPEN2K].
6531         (struct sigevent): Likewise.
6532         (SIGEV_NONE): Likewise.
6533         (SIGEV_SIGNAL): Likewise.
6534         (SIGEV_THREAD): Likewise.
6535         (SIGRTMIN): Likewise.
6536         (SIGRTMAX): Likewise.
6537         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6538         variable.
6539         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6541 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6543         [BZ #19830]
6544         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6545         (gaih_getanswer_slice): Likewise.
6546         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6547         Also check for availability of RR metadata.
6549 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6551         [BZ #19825]
6552         * resolv/res_send.c (send_vc): Remove early *resplen2
6553         initialization.  Set *resplen2 on socket error.  Call
6554         close_and_return_error for other errors.
6556 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6558         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6559         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6560         (SCM_IUCV_TRGCLS): New define.
6562 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6564         [BZ #20005]
6565         * libio/fmemopen.c (fmemopen_write): Update internal position after
6566         write.
6567         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6568         * stdio-common/tst-fmemopen4.c: New file..
6570 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6572         [BZ #19996]
6573         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6574         not [__USE_XOPEN2K].
6575         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6576         variable.
6578         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6579         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6580         variable.
6582         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6583         [__USE_XOPEN2K8].
6584         [__USE_LARGEFILE64] (off64_t): Likewise.
6585         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6586         variable.
6588 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6590         [BZ #19989]
6591         * libio/stdio.h (cuserid): Do not declare if
6592         [__USE_XOPEN2K && !__USE_GNU].
6593         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6594         variable.
6596 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6598         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6599         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6601         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6602         ifunc'ed strcspn.
6603         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6604         [EALIGN]: Removed.
6605         [END]: Likewise
6606         [STRSPN]: Define instead of the above to control symbol name.
6607         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6608         New file.
6609         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6610         Likewise.
6611         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6612         Likewise.
6613         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6614         Likewise.
6615         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6616         [INITIAL_MASK]: New macro.
6617         [STRCSPN]: Likewise.
6618         [UPDATE_MASK]: Likewise.
6619         [USE_AS_STRCSPN]: Lisewise.
6621 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6623         [BZ #19931]
6624         * stdio-common/tst-vfprintf-width-prec.c: New file.
6625         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6626         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6627         (generated): Add mtrace-related files.
6628         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6629         (tst-%-mem.out): New pattern rule, replaces
6630         tst-printf-bz18872-mem.out.
6631         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6632         specifier, deallocate any previously allocated work buffer.
6634 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6636         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6637         Add nop before __startcontext, add explaining comments.
6639 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6641         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6642         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6643         completely different API.
6645         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6646         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6647         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6648         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6649         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6650         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6651         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6652         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6653         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6654         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6656 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6658         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6660 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6662         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6663         when it is the default of 0.
6665 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6667         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6668         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6669         (sysdep_routines): Add new strcasestr targets.
6670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6671         (__libc_ifunc_impl_list): Likewise.
6672         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6673         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6674         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6675         * sysdeps/powerpc/powerpc64/power8/Makefile:
6676         New file to add strcasestr-ppc64 to sysdep_routines.
6677         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6678         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6680 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6682         * benchtests/Makefile (wcsmbs-benchset): Include only for
6683         native builds and runs.
6684         (LOCALES): Likewise.
6685         (bench-build): Build timing-type here instead of the bench
6686         target.  Generate locale only for native builds.
6687         * benchtests/README: Add note for cross-building.
6689         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6691         * benchtests/README: Update README to include instructions on
6692         using bench-build.
6694         * Makefile.in (bench-build): New target.
6695         * Rules (PHONY): Add bench-build target.
6696         * benchtests/Makefile (bench): Depend on bench-build.
6697         (bench-build): New target.
6699 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6701         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6702         profil_reply_port.
6703         (profile_waiter): Do not initialize profil_reply_port.
6704         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6705         frequency instead of tick length in us.
6707 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6709         [BZ #18712]
6710         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6711         (__old_mempcpy_small): Likewise.
6712         (__old_strcpy_small): Likewise.
6713         (__old_stpcpy_small): Likewise.
6714         (__old_strpbrk_c2): Fix compat symbol name.
6715         (__old_strpbrk_c3): Likewise.
6716         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6717         (__mempcpy_small): Remove.
6718         (__strcpy_small): Remove.
6719         (__stpcpy_small): Remove.
6721 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6723         [BZ #19400]
6724         * locale/iso-639.def: Add the Talossan/tzl language.
6726 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6728         [BZ #16983]
6729         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6730         comment.  Add "ln" to strchr check on postal_fmt.
6732 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6734         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6735         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6736         tel_dom_fmt.
6738 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6740         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6741         (sysdep_routines): Added __strlen_power8.
6742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6743         __strlen_power8 entry.
6744         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6745         Implementation for POWER8.
6746         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6747         for __strlen_power8.
6748         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6749         Implementation for POWER8.
6751 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6753         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6755 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6757         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6758         Goldmont and Airmont processors.
6760 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6762         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6763         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6764         (__STRING2_SMALL_GET32): Remove.
6765         (memset): Remove.
6766         (__memset_1): Remove.
6767         (__memset_gc): Remove.
6768         (__mempcpy): Remove.
6769         (mempcpy): Remove.
6770         (__mempcpy_args): Remove.
6771         (strchr): Remove.
6772         (strcpy): Remove.
6773         (strcpy_args): Remove.
6774         (__stpcpy_args): Remove.
6775         (__strcmp_cc): Remove.
6776         (__strcmp_gc): Remove.
6777         (strstr): Remove.
6779 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6781         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6782         * nis/nis_call.c (nis_server_cache_add): Likewise.
6784 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6786         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6788 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6790         * malloc/arena.c (__malloc_fork_lock_parent)
6791         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6792         internal_function attribute.
6794 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6796         * stdio-common/printf_fp.c (__printf_fp_l):
6797         Rename ___printf_fp_l to __printf_fp_l and
6798         remove strong alias. Use libc_hidden_def instead
6799         of ldbl_hidden_def macro.
6801 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6803         Remove malloc hooks from fork handler.  They are no longer needed
6804         because malloc runs right before fork, and no malloc calls from
6805         other fork handlers are not possible anymore.
6806         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6807         declarations.
6808         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6809         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6810         (atfork_recursive_cntr): Remove.
6811         (__malloc_fork_lock_parent): Do not override malloc hooks and
6812         thread_arena.
6813         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6814         thread_arena.
6815         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6816         thread_arena instead of save_arena.
6818 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6820         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6821         (thread_atfork, thread_atfork_static): Remove.
6822         * sysdeps/mach/hurd/malloc-machine.h:
6823         (thread_atfork, thread_atfork_static): Remove.
6825 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6827         [BZ #19431]
6828         Run the malloc fork handler as late as possible to avoid deadlocks.
6829         * malloc/malloc-internal.h: New file.
6830         * malloc/malloc.c: Include it.
6831         * malloc/arena.c (ATFORK_MEM): Remove.
6832         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6833         Update comment.
6834         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6835         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6836         Remove outdated comment.
6837         (ptmalloc_init): Do not call thread_atfork.  Remove
6838         thread_atfork_static.
6839         * malloc/tst-malloc-fork-deadlock.c: New file.
6840         * Makefile (tests): Add tst-malloc-fork-deadlock.
6841         (tst-malloc-fork-deadlock): Link against libpthread.
6842         * manual/memory.texi (Aligned Memory Blocks): Update safety
6843         annotation comments.
6844         * sysdeps/nptl/fork.c (__libc_fork): Call
6845         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6846         __malloc_fork_unlock_child.
6847         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6849 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6851         [BZ #19613]
6852         Remove union wait.
6853         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6854         (w_stopsig, w_stopval): Remove.
6855         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6856         stat_loc argument.
6857         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6858         (__WAIT_STATUS_DEFN): Remove.
6859         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6860         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6861         (wait, wait3, wait4): Use int * for the stat_loc argument.
6862         * posix/wait.c (__wait): Likewise.
6863         * posix/wait3.c (__wait3): Likewise.
6864         * posix/wait4.c (__wait4): Likewise.
6865         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6866         (__WAIT_STATUS_DEFN): Remove.
6867         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6868         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6869         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6870         argument.
6871         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6872         * sysdeps/posix/wait3.c (__wait3): Likewise.
6873         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6874         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6875         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6876         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6877         stat_loc argument.
6878         * manual/process.texi (BSD Wait Functions): Remove union wait.
6880 2016-04-13  Andreas Schwab  <schwab@suse.de>
6882         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6883         (test-extras): Add tst-tlsalign-vars.
6884         * math/Makefile: Wrap long lines.
6885         (libm-vec-test-wrappers): Define.
6886         (test-extras): Add $(libm-vec-test-wrappers).
6887         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6888         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6889         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6890         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6891         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6892         (extra-test-objs): Add corresponding objects.
6894 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6896         [BZ #19928]
6897         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6898         New.
6899         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6900         times of shared cache size.
6901         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6902         (VMOVNT): New.
6903         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6904         (VMOVNT): Likewise.
6905         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6906         (VMOVNT): Likewise.
6907         (VMOVU): Changed to movups for smaller code sizes.
6908         (VMOVA): Changed to movaps for smaller code sizes.
6909         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6910         comments.
6911         (PREFETCH): New.
6912         (PREFETCH_SIZE): Likewise.
6913         (PREFETCHED_LOAD_SIZE): Likewise.
6914         (PREFETCH_ONE_SET): Likewise.
6915         Rewrite to use forward and backward loops, which move 4 vector
6916         registers at a time, to support overlapping addresses and use
6917         non temporal store if size is above the threshold and there is
6918         no overlap between destination and source.
6920 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6922         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6923         Include dl-vdso.
6924         * sysdeps/unix/sysv/linux/mips/Versions: Add
6925         __vdso_clock_gettime.
6926         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6927         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6928         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6929         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6930         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6931         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6932         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6933         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6934         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6936 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6938         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6939         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6940         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6941         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6942         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6943         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6946         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6947         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6948         syscalls generation.
6949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6950         [__NR_pwrite64] (__NR_write): Remove define.
6951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6952         [__NR_pwrite64] (__NR_write): Remove define.
6953         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6954         Remove define.
6955         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6956         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6957         Remove define.
6958         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6959         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6960         Linux implementation as base.
6961         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6963         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6964         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6965         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6966         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6969         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6970         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6971         syscall generation.
6972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6973         [__NR_pread64] (__NR_pread): Remove define.
6974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6975         [__NR_pread64] (__NR_pread): Likewise.
6976         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6977         define.
6978         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6979         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6980         Remove define.
6981         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6982         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6983         Linux implementation as base.
6984         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6985         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6986         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6988         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6989         definition.
6990         (__ALIGNMENT_COUNT): Likewise.
6991         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6992         (__ALIGNMENT_COUNT): Likewise.
6993         (SYSCALL_LL): New define.
6994         (SYSCALL_LL64): Likewise.
6995         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6996         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6997         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6998         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7000         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7001         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7002         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7003         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7004         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7005         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7007 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7009         [BZ #19865]
7010         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7011         original buffer before retry.
7013 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7015         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7016         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7017         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7018         GLRO(dl_auxv) list.
7019         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7020         including <ldsodefs.h>.
7021         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7023 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7025         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7026         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7027         $(CPPFLAGS).
7029 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7031         [BZ #17950]
7032         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7033         Add -mfpmath=387.
7035 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7037         * sysdeps/i386/configure.ac: Change == to = when calling test.
7038         * sysdeps/x86_64/configure.ac: Likewise.
7039         * sysdeps/i386/configure: Regenerated.
7040         * sysdeps/x86_64/configure: Likewise.
7042 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7044         [BZ #16137]
7045         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7046         * benchtests/bench-strcoll.c (input_files): Likewise.
7047         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7048         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7049         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7051 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7053         [BZ #19929]
7054         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7055         [__USE_XOPEN2K8 && !__USE_GNU].
7056         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7057         variable.
7059         [BZ #19925]
7060         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7061         define if [!__USE_MISC && __USE_XOPEN2K].
7062         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7063         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7064         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7065         Likewise.
7066         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7067         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7068         variable.
7069         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7071 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7073         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7074         (sysdep_routines): Add new strspn targets.
7075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7076         (__libc_ifunc_impl_list): Add strspn.
7077         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7078         New file.
7079         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7080         Likewise.
7081         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7082         Likewise.
7083         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7084         Likewise.
7086 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7088         * misc/hsearch_r.c: Include <limits.h>.
7090 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7092         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7094 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7096         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7097         (MEMCPY_SYMBOL): New.
7098         (MEMPCPY_SYMBOL): Likewise.
7099         (MEMMOVE_CHK_SYMBOL): Likewise.
7100         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7101         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7102         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7103         Provide alias for memcpy in libc.a and ld.so.
7105 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7107         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7108         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7109         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7110         Disabled fro now.
7111         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7112         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7114 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7116         * benchtests/Makefile (string-benchset): Add memcpy-large,
7117         memmove-large and memset-large.
7118         * benchtests/bench-memcpy-large.c: New file.
7119         * benchtests/bench-memmove-large.c: Likewise.
7120         * benchtests/bench-memmove-large.c: Likewise.
7121         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7123 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7125         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7126         32-bit displacement to avoid long nop between instructions.
7128 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7130         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7131         a comment on VMOVU and VMOVA.
7133 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7135         [BZ #19633]
7136         Use specified locale for number formatting in strfmon_l.
7137         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7138         (__nl_lookup_word): New inline functions.
7139         * include/printf.h (__print_fp_l): Declare.
7140         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7141         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7142         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7143         (___printf_fp): New function.
7144         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7145         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7146         * stdlib/tst-strfmon_l.c (do_test): New test.
7147         * stdlib/Makefile (tests): Add kt.
7148         (LOCALES): Build additional locales.
7149         (tst-strfmon_l.out): Require locales.
7151 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7153         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7154         if not in libc.
7155         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7156         Likewise.
7157         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7158         Likewise.
7159         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7160         Likewise.
7162 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7164         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7165         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7166         with unaligned_erms.
7167         (__memmove_erms): Skip if source == destination.
7168         (__memmove_unaligned_erms): Don't check source == destination
7169         first.
7171 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7173         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7174         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7176 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7178         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7179         * string/strspn.c (strspn): Likewise.
7181 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7183         * benchtests/bench-memset.c (do_test): Support 64-byte
7184         alignment.
7185         (test_main): Test 64-byte alignment.
7187 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7189         * benchtests/bench-memmove.c (test_main): Test 64-byte
7190         alignment.
7192 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7194         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7196 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7198         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7199         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7200         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7202         * string/strpbrk.c (strpbrk): Rewrite function.
7203         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7204         (__strpbrk_c2): Likewise.
7205         (__strpbrk_c3): Likewise.
7206         * string/string-inlines.c
7207         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7208         Likewise.
7209         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7210         Likewise.
7212         * string/strspn.c (strcspn): Rewrite function.
7213         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7214         (__strspn_c1): Remove inline function.
7215         (__strspn_c2): Likewise.
7216         (__strspn_c3): Likewise.
7217         * string/string-inlines.c
7218         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7219         compatibility symbol.
7220         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7221         Likewise.
7222         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7223         Likewise.
7224         * string/string-inlines.c: Include generic version.
7226 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7227             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7229         * string/Version (libc): Add GLIBC_2.24.
7230         * string/strcspn.c (strcspn): Rewrite function.
7231         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7232         (__strcspn_c1): Remove inline function.
7233         (__strcspn_c2): Likewise.
7234         (__strcspn_c3): Likewise.
7235         * string/string-inline.c
7236         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7237         compatibility symbol.
7238         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7239         Likewise.
7240         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7241         Likewise.
7242         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7244 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7246         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7247         Use ahi instead of aghi to adjust stack pointer.
7249 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7251         [BZ #19853]
7252         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7253         TEST to take significant digits as second parameter.
7254         [TEST]: Redefine in terms of TEST_N taking 30
7255         significant digits.
7256         (do_test): Add test case to demonstrate precision
7257         failure in the ldbl-128ibm printf.
7258         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7259         (__mpn_extract_long_double): Carry 7 extra intermediate
7260         bits of precision to aide computing difference when
7261         signs differ.
7263 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7265         [BZ #19881]
7266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7267         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7268         memset-avx512-unaligned-erms.
7269         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7270         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7271         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7272         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7273         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7274         __memset_sse2_unaligned_erms, __memset_erms,
7275         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7276         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7277         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7278         file.
7279         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7280         Likewise.
7281         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7282         Likewise.
7283         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7284         Likewise.
7286 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7288         [BZ #19776]
7289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7290         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7291         memmove-avx512-unaligned-erms.
7292         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7293         (__libc_ifunc_impl_list): Test
7294         __memmove_chk_avx512_unaligned_2,
7295         __memmove_chk_avx512_unaligned_erms,
7296         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7297         __memmove_chk_sse2_unaligned_2,
7298         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7299         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7300         __memmove_avx512_unaligned_erms, __memmove_erms,
7301         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7302         __memcpy_chk_avx512_unaligned_2,
7303         __memcpy_chk_avx512_unaligned_erms,
7304         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7305         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7306         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7307         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7308         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7309         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7310         __mempcpy_chk_avx512_unaligned_erms,
7311         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7312         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7313         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7314         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7315         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7316         __mempcpy_erms.
7317         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7318         file.
7319         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7320         Likwise.
7321         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7322         Likwise.
7323         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7324         Likwise.
7326 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7328         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7329         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7330         (La_s390_64_regs): Likewise.
7331         (La_s390_32_retval): Append vector register lrv_v24.
7332         (La_s390_64_retval): Likeweise.
7333         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7334         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7335         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7336         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7338 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7340         [BZ #19916]
7341         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7342         to create a non-vector/vector version for _dl_runtime_resolve and
7343         _dl_runtime_profile. Move implementation to ...
7344         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7345         (_dl_runtime_resolve) Save and restore fpr/vrs.
7346         (_dl_runtime_profile) Save and restore vrs and fix some issues
7347         if _dl_call_pltexit is called.
7348         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7349         Choose the correct resolver function if running on a machine with vx.
7350         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7351         to create a non-vector/vector version for _dl_runtime_resolve and
7352         _dl_runtime_profile. Move implementation to ...
7353         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7354         (_dl_runtime_resolve) Save and restore fpr/vrs.
7355         (_dl_runtime_profile) Save and restore vrs and fix some issues
7356         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7357         Choose the correct resolver function if running on a machine with vx.
7359 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7361         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7363 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7365         [BZ #19509]
7366         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7367         skip_map != NULL.
7368         * elf/tst-dlsym-error.c: New file.
7369         * elf/Makefile (tests): Add tst-dlsym-error.
7370         (tst-dlsym-error): Link against libdl.
7372 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7374         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7375         (__ASSUME_FUTIMESAT): Remove macro.
7376         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7378 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7380         [BZ #19879]
7381         CVE-2016-3075
7382         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7383         copy name.
7385 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7387         [BZ #19837]
7388         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7389         error if parse_line fails.
7391 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7393         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7394         (index_cpu_ERMS): Likewise.
7395         (reg_ERMS): Likewise.
7397 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7399         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7400         PER_LINUX_FDPIC): Add.
7402 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7405         memcpy-avx512-no-vzeroupper.
7406         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7407         to ...
7408         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7409         (MEMCPY): Don't define.
7410         (MEMCPY_CHK): Likewise.
7411         (MEMPCPY): Likewise.
7412         (MEMPCPY_CHK): Likewise.
7413         (MEMPCPY_CHK): Renamed to ...
7414         (__mempcpy_chk_avx512_no_vzeroupper): This.
7415         (MEMPCPY_CHK): Renamed to ...
7416         (__mempcpy_chk_avx512_no_vzeroupper): This.
7417         (MEMCPY_CHK): Renamed to ...
7418         (__memmove_chk_avx512_no_vzeroupper): This.
7419         (MEMCPY): Renamed to ...
7420         (__memmove_avx512_no_vzeroupper): This.
7421         (__memcpy_avx512_no_vzeroupper): New alias.
7422         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7424 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7426         [BZ #18858]
7427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7428         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7429         and mempcpy-avx512-no-vzeroupper.
7430         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7431         New.
7432         (MEMPCPY): Likewise.
7433         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7434         (MEMPCPY_CHK): New.
7435         (MEMPCPY): Likewise.
7436         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7437         (MEMPCPY): Likewise.
7438         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7439         (MEMPCPY): Likewise.
7440         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7441         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7442         Likewise.
7443         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7444         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7446 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7447              Amit Pawar  <Amit.Pawar@amd.com>
7449         [BZ #19583]
7450         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7451         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7452         processors.  Set Fast_Copy_Backward for AMD Excavator
7453         processors.
7454         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7455         New.
7456         (index_arch_Fast_Unaligned_Copy): Likewise.
7457         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7458         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7460 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7462         [BZ #19791]
7463         * resolv/res_send.c (close_and_return_error): New function.
7464         (send_dg): Initialize *resplen2 after reopen failure.  Call
7465         close_and_return_error for error returns.  On error paths without
7466         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7467         successful return.
7469 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7471         [BZ# 19860]
7472         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7473         zero if the compiler does not provide the AVX512F bit.
7475 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7477         [BZ #19848]
7478         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7479         from 8 to 4.
7480         (__ieee754_powl): Compare integer exponent against 4 not 8.
7481         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7482         from 8 to 4.
7483         (__ieee754_powl): Compare integer exponent against 4 not 8.
7484         * math/auto-libm-test-in: Add more tests of pow.
7485         * math/auto-libm-test-out: Regenerated.
7486         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7489 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7491         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7492         Make code unconditional.
7493         [!__NR_utimensat]: Remove conditional code.
7494         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7495         Make code unconditional.
7496         [!__NR_utimensat]: Remove conditional code.
7497         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7498         Make code unconditional.
7499         [!__NR_utimensat]: Remove conditional code.
7501 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7503         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7504         Make code unconditional.
7506 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7508         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7509         call-clobbered %eax on retry path.
7510         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7512 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7514         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7515         Don't set %rcx twice before "rep movsb".
7517 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7519         [BZ #19583]
7520         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7521         inline.  Check family before setting family, model and
7522         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7523         bits here.
7524         (init_cpu_features): Replace HAS_CPU_FEATURE and
7525         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7526         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7527         for Intel processors with usable AVX2.  Call get_common_indeces
7528         for other processors with family == NULL.
7529         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7530         (CPU_FEATURES_ARCH_P): Likewise.
7531         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7532         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7534 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7536         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7537         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7538         $(shared-thread-library) instead of hardcoding the path to libpthread.
7540 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7542         * sysdeps/unix/sysv/linux/kernel-features.h
7543         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7544         * sysdeps/unix/sysv/linux/getdents.c
7545         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7546         [!have_no_getdents64_defined]: Likewise.
7547         (__GETDENTS): Remove __have_no_getdents64 conditional.
7549 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7551         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7552         Remove macro.
7553         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7554         <kernel-features.h>.
7555         (signalfd) [__NR_signalfd4]: Make code unconditional.
7556         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7558 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7560         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7561         style.
7563 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7565         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7566         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7567         __pthread_unwind.
7568         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7569         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7570         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7571         (__condvar_cleanup1): Likewise.
7573 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7575         [BZ #19822]
7576         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7577         move it to the final $@ location.
7579 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7581         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7582         access where posix_spawn success and pid argument is null.
7583         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7584         success case.
7586 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7588         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7590         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7592         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7593         and __fcntl.
7594         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7595         __fcntl only.
7596         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7597         adding attribute_hidden to __open and __fcntl.
7599         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7600         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7601         depend on libc-modules.h,
7602         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7604 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7606         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7607         Remove macro.
7608         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7609         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7610         entry.
7612         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7613         Remove macro.
7614         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7615         include <kernel-features.h>.
7616         [!__ASSUME_FALLOCATE]: Remove conditional code.
7617         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7619 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7621         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7622         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7623         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7624         (_ZGVdN4v_cos_avx2): Likewise.
7625         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7626         (_ZGVdN4v_cos): Likewise.
7627         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7628         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7629         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7630         (_ZGVdN4v_exp_avx2): Likewise.
7631         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7632         (_ZGVdN4v_exp): Likewise.
7633         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7634         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7635         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7636         (_ZGVdN4v_log_avx2): Likewise.
7637         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7638         (_ZGVdN4v_log): Likewise.
7639         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7640         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7641         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7642         (_ZGVdN4vv_pow_avx2): Likewise.
7643         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7644         (_ZGVdN4vv_pow): Likewise.
7645         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7646         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7647         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7648         (_ZGVdN4v_sin_avx2): Likewise.
7649         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7650         (_ZGVdN4v_sin): Likewise.
7651         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7652         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7653         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7654         (_ZGVdN4vvv_sincos_avx2): Likewise.
7655         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7656         (_ZGVdN4vvv_sincos): Likewise.
7657         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7658         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7659         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7660         (_ZGVbN4v_cosf_sse4): Likewise.
7661         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7662         (_ZGVdN8v_cosf_avx2): Likewise.
7663         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7664         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7665         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7666         (_ZGVbN4v_expf_sse4): Likewise.
7667         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7668         (_ZGVdN8v_expf_avx2): Likewise.
7669         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7670         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7671         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7672         (_ZGVbN4v_logf_sse4): Likewise.
7673         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7674         (_ZGVdN8v_logf_avx2): Likewise.
7675         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7676         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7677         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7678         (_ZGVbN4vv_powf_sse4): Likewise.
7679         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7680         (_ZGVdN8vv_powf_avx2): Likewise.
7681         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7682         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7683         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7684         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7685         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7686         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7687         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7688         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7689         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7690         (_ZGVbN4v_sinf_sse4): Likewise.
7691         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7692         (_ZGVdN8v_sinf_avx2): Likewise.
7693         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7694         Use JUMPTARGET to call callee.
7695         (WRAPPER_IMPL_SSE2_ff): Likewise.
7696         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7697         (WRAPPER_IMPL_AVX): Likewise.
7698         (WRAPPER_IMPL_AVX_ff): Likewise.
7699         (WRAPPER_IMPL_AVX_fFF): Likewise.
7700         (WRAPPER_IMPL_AVX512): Likewise.
7701         (WRAPPER_IMPL_AVX512_ff): Likewise.
7702         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7703         Likewise.
7704         (WRAPPER_IMPL_SSE2_ff): Likewise.
7705         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7706         (WRAPPER_IMPL_AVX): Likewise.
7707         (WRAPPER_IMPL_AVX_ff): Likewise.
7708         (WRAPPER_IMPL_AVX_fFF): Likewise.
7709         (WRAPPER_IMPL_AVX512): Likewise.
7710         (WRAPPER_IMPL_AVX512_ff): Likewise.
7711         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7713 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7715         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7716         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7717         qualifier.
7718         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7719         internal_function qualifiers.
7721 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7723         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7724         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7725         * math/atest-exp.c (exp_mpn): Mark chk unused.
7726         * math/atest-exp2.c (exp_mpn): Likwise.
7727         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7728         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7730 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7732         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7733         Remove macro.
7734         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7735         <kernel-features.h>.
7736         [__NR_ppoll]: Make code unconditional.
7737         [!__ASSUME_PPOLL]: Remove conditional code.
7739         * sysdeps/unix/sysv/linux/kernel-features.h
7740         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7741         (__ASSUME_ACCEPT4): Likewise.
7742         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7743         Define.
7744         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7745         Likewise.
7746         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7747         Likewise.
7748         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7749         Likewise.
7750         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7751         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7752         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7753         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7754         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7755         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7756         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7757         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7758         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7759         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7760         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7761         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7762         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7763         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7764         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7765         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7766         Likewise.
7767         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7768         Likewise.
7769         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7770         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7771         0x040300].
7772         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7773         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7774         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7775         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7776         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7777         0x030300].
7778         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7779         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7780         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7781         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7782         0x040300].
7783         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7784         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7785         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7786         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7787         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7788         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7789         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7790         0x030300].
7791         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7792         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7793         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7794         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7795         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7796         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7797         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7798         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7799         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7800         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7801         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7802         0x040300].
7803         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7804         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7805         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7806         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7807         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7808         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7809         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7810         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7811         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7812         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7813         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7814         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7815         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7816         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7817         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7818         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7819         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7820         Likewise.
7821         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7822         Likewise.
7824 2016-03-15  Andreas Schwab  <schwab@suse.de>
7826         [BZ #19257]
7827         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7828         statp->_u._ext.nscount as loop count.
7830 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7832         * math/test-signgam-finite-c99.c: Also #undef
7833         __LIBC_INTERNAL_MATH_INLINES.
7834         * math/test-signgam-main.c: Likewise.
7836 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7838         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7839         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7840         (MADV_FREE): Likewise.
7841         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7842         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7843         EPOLLEXCLUSIVE.
7845 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7847         * timezone/README: Remove mention of checktab.awk. Mention wiki
7848         SharedSourceFiles.
7850 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7852         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7853         WUNTRACED.
7855 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7857         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7858         order to match the type of p when calling atomic_exchange_acq().
7860 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7862         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7863         cfi_offset calls.
7864         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7865         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7866         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7867         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7868         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7870 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7872         * timezone/checktab.awk: Removed.
7874 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7876         * manual/math.texi (Errors in Math Functions): Document relaxed
7877         accuracy goals for IBM long double.
7878         * math/libm-test.inc (test_exceptions): Always allow spurious
7879         "underflow" and "inexact" exceptions for IBM long double.
7881 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7883         [BZ #19762]
7884         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7885         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7886         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7887         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7888         (bit_arch_*): This for feature array.
7889         (bit_*): Renamed to ...
7890         (bit_cpu_*): This for cpu array.
7891         (index_*): Renamed to ...
7892         (index_arch_*): This for feature array.
7893         (index_*): Renamed to ...
7894         (index_cpu_*): This for cpu array.
7895         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7896         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7897         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7898         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7899         bit_##name with index_cpu_##name and bit_cpu_##name.
7900         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7901         bit_##name with index_arch_##name and bit_arch_##name.
7903 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7905         [BZ #19792]
7906         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7907         Terminate FDE before return label.
7909 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7911         [BZ #19790]
7912         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7913         (rintl): Define as macro.
7914         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7915         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7916         of fesetround.  Ensure results are evaluated before end of scope.
7917         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7918         USE_AS_NEARBYINTL and include s_rintl.c.
7919         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7920         Disable exception traps in new environment.
7921         (libc_feholdsetround_ppc_ctx): Likewise.
7923 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7925         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7926         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7927         (tst_audit10_aux) [__AVX512F__]: ... here.
7929 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7931         * include/sys/auxv.h: New file.
7933 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7935         [BZ #19759]
7936         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7938 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7940         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7941         operand modifier.
7942         (feclearexcept): Likewise.
7944 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7946         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7947         to reflect the entire 32-bit HWCAP.
7948         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7949         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7951 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7953         [BZ #19783]
7954         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7955         $(test-via-rtld-prefix).
7956         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7958 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7960         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7961         union wait.  Report any non-zero exit status as error.
7963 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7965         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7966         configured with --enable-hardcoded-path-in-tests.
7968 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7970         [BZ #19677]
7971         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7972         (__ieee754_remainderl): Put zero low parts in canonical form.
7973         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7974         file.  Based on
7975         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7976         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7977         with wrapper round test-fmodrem-ldbl-128ibm.c.
7978         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7979         file.
7980         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7981         Likewise.
7982         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7983         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7985 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7987         [BZ #19610]
7988         * elf/ldconfig.c (opt_link): Update comment.
7989         (options): Update help string for option -X.
7990         (search_dir): Unlink stale symbolic link only if updating symbolic
7991         links.
7992         * elf/tst-ldconfig-X.sh: New file.
7993         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7994         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7996 2016-03-07  Andreas Schwab  <schwab@suse.de>
7998         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7999         needed arguments.
8001 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8003         [BZ #15333]
8004         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8005         to lstat64.
8007 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8009         * libio/filedoalloc.c (isatty): Remove.
8010         (local_isatty): Add comment.  Call __isatty directly.
8011         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8012         * libio/wfiledoalloc.c (isatty): Remove.
8013         (_IO_wfile_doallocate): Update comment.
8015 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8017         [BZ #19269]
8018         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8019         tst-audit4-aux.o.
8020         (tst-audit10): Depend on tst-audit10-aux.o.
8021         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8022         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8023         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8024         instead of inline AVX code.
8025         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8026         instead of inline AVX512 code.
8027         * sysdeps/x86_64/tst-audit4-aux.c: New file
8028         * sysdeps/x86_64/tst-audit10-aux.c: New file
8030         [BZ #19648]
8031         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8033 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8035         [BZ #14750]
8036         [BZ #10354]
8037         [BZ #18433]
8038         * include/sched.h (__clone): Add hidden prototype.
8039         (__clone2): Likewise.
8040         * include/unistd.h (__dup): Likewise.
8041         * posix/Makefile (tests): Add tst-spawn2.
8042         * posix/tst-spawn2.c: New file.
8043         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8044         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8045         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8046         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8047         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8048         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8049         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8050         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8051         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8052         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8053         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8055         Likewise.
8056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8057         Likewise.
8058         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8059         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8060         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8061         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8062         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8063         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8064         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8065         * sysdeps/unix/sysv/linux/nptl-signals.h
8066         (____nptl_is_internal_signal): New function.
8067         * sysdeps/unix/sysv/linux/spawni.c: New file.
8069         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8070         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8071         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8072         * posix/tst-execvp2.c (do_test): Likewise.
8073         * posix/tst-execvp3.c (do_test): Likewise.
8074         * posix/tst-execvp4.c (do_test): Likewise.
8075         * posix/tst-execvpe1.c: New file.
8076         * posix/tst-execvpe2.c: Likewise.
8077         * posix/tst-execvpe3.c: Likewise.
8078         * posix/tst-execvpe4.c: Likewise.
8079         * posix/tst-execvpe5.c: Likewise.
8080         * posix/tst-execvpe6.c: Likewise.
8082         [BZ #19534]
8083         * posix/execl.c (execl): Remove dynamic memory allocation.
8084         * posix/execle.c (execle): Likewise.
8085         * posix/execlp.c (execlp): Likewise.
8087 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8089         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8090         Replace .text with .text.avx512.
8091         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8092         Likewise.
8094 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8096         * sysdeps/generic/libnsl.abilist: New file.
8097         * sysdeps/generic/libutil.abilist: New file.
8099 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8101         [BZ #19762]
8102         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8103         HAS_ARCH_FEATURE with Fast_Rep_String.
8104         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8105         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8106         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8107         Likewise.
8108         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8109         Likewise.
8110         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8111         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8112         Likewise.
8113         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8114         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8115         Likewise.
8117 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8119         [BZ #19745]
8120         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8121         with *%rax in call.
8123 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8125         [BZ #19745]
8126         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8127         with *__libc_start_main@GOTPCREL(%rip) in call.
8129 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8131         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8132         inside conditional for nonempty $(CXX).
8134         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8135         nonempty.
8137         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8138         to test for empty $(CXX) rather than $(CXX) of "no".
8140 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8142         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8144 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8145             H.J. Lu  <hongjiu.lu@intel.com>
8147         [BZ #18880]
8148         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8149         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8150         enable __memcpy_ssse3_back.
8152 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8154         [BZ #19758]
8155         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8156         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8158 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8160         [BZ #19490]
8161         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8162         (__fentry__): Likewise.
8164 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8166         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8167         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8169 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8171         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8172         __mcount_internal directly.
8173         (C_LABEL(__fentry__)): Likewise.
8174         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8175         directly.
8177 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8179         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8180         (__start_context): Call __setcontext directly.
8182 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8184         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8185         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8186         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8187         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8188         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8189         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8190         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8191         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8192         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8193         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8194         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8195         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8196         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8197         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8198         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8199         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8200         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8201         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8202         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8203         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8204         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8205         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8206         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8207         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8208         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8209         Remove conditional code.
8210         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8211         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8212         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8213         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8214         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8215         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8216         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8217         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8218         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8219         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8220         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8221         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8223 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8225         * NEWS (2.23): Fix typo in bug 19048 text.
8227 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8229         [BZ #14259]
8230         * Makeconfig: Rename msgcatdir to localedir.
8231         Rename inst_msgcatdir to inst_localedir.
8232         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8233         * config.make.in: Add localedir.
8234         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8235         (ldd-rewrite): Likewise.
8236         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8237         (install-others): Use inst_localedir.
8238         (CPPFLAGS): Use localedir.
8239         * locale/Makefile (locale-CPPFLAGS): Likewise.
8240         * po/Makefile (mo-installed): Use inst_localedir.
8242         [BZ #19575]
8243         * localedata/charmaps/GB18030: Update comments regarding PAU to
8244         non-PUA mappings.
8246 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8248         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8249         test for header.
8250         * sysdeps/unix/sysv/linux/configure: Regenerated.
8251         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8252         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8253         Remove conditional code.
8254         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8256         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8257         Define to 3.2.0.
8258         (arch_minimum_kernel): Likewise.
8259         * sysdeps/unix/sysv/linux/configure: Regenerated.
8260         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8261         Define to 2.6.32.
8262         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8263         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8264         (arch_minimum_kernel): Define to 2.6.32.
8265         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8266         * README: Document Linux 3.2 requirement.
8267         * manual/install.texi (Linux): Document Linux 3.2 headers
8268         requirement.
8269         * INSTALL: Regenerated.
8271 2016-02-24  Andreas Schwab  <schwab@suse.de>
8273         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8274         if !NO_LONG_DOUBLE.
8276 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8278         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8279         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8281 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8283         [BZ #19512]
8284         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8286 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8288         * posix/tst-dir.c: Include libc-internal.h.
8290 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8292         [BZ #19056]
8293         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8294         * manual/filesys.texi (Reading/Closing Directory): Mention
8295         deprecaion.
8296         * posix/tst-dir.c (main): Disable deprecation warning in test.
8298 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8300         [BZ #19679]
8301         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8302         Renamed to ...
8303         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8304         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8305         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8306         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8307         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8308         * sysdeps/x86_64/dl-trampoline.h
8309         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8310         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8312 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8314         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8316 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8318         * elf/elf.h (R_386_GOT32X): New.
8319         (R_386_NUM): Update.
8320         (R_X86_64_GOTPCRELX: New.
8321         (R_X86_64_REX_GOTPCRELX): New.
8322         (R_X86_64_NUM): Update.
8324 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8326         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8328 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8330         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8331         assign attr->stackaddr to it, and adjust it down when
8332         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8333         [_STACK_GROWS_UP]: Delete assert.
8334         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8335         Implement stack grows up logic.
8336         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8337         stack grows up logic.
8339 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8341         * NEWS: Update with 2.24 template.
8343 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8345         [BZ #19678]
8346         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8347         Ensure +0.0 is returned when taking the next value below the least
8348         positive value.
8350 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8352         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8353         available.  Do not define NO_THREADS.
8354         * malloc/malloc.c: Do not check NO_THREADS.
8355         * malloc/arena.c: Likewise.
8357 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8359         * malloc/malloc.c (__libc_mallinfo): Update comment.
8360         (struct malloc_par): Remove max_total_mem member, it was always 0.
8361         (int_mallinfo): Store 0 into usmblks (no functional change).
8362         * malloc/hooks.c (struct malloc_state): Document that
8363         max_total_mem is always 0.
8364         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8365         always 0.
8366         * manual/memory.texi (Statistics of Malloc): Likewise.
8368 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8370         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8371         * malloc/arena.c (arena_max): Remove.
8372         (heap_trim, _int_new_arena): Do not update arena_max.
8374 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8376         * resolv/res_init.c (res_ninit): Update comment.
8378 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8380         [BZ #19505]
8381         * posix/spawn_int.h: Add headers and include guard.
8382         (__spawn_valid_fd): New function.
8383         * posix/spawn_faction_addopen.c
8384         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8385         * posix/spawn_faction_addclose.c
8386         (posix_spawn_file_actions_addclose): Likewise.
8387         * posix/spawn_faction_adddup2.c
8388         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8389         second file descriptor.
8390         * posix/spawn_valid_fd.c: New file.
8391         * posix/tst-posix_spawn-fd.c: New file.
8392         * posix/Makefile (routines): Add spawn_valid_fd.
8393         (tests): Add tst-posix_spawn-fd.
8395 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8397         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8398         (do_test): Limit the number of arenas, so that we can use fewer
8399         outer threads.  Limit timeout to 3 seconds, in preparation for a
8400         larger TIMEOUT value.
8402 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8404         [BZ #19674]
8405         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8406         sign in overflowing and underflowing results when overflow or
8407         underflow is detected early.  Include sign in result before rather
8408         than after scaling.
8410         [BZ #19603]
8411         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8412         (__ieee754_remainderl): Adjust sign of integer version of low part
8413         when taking absolute value of high part.
8414         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8415         * math/libm-test.inc (remainder_test_data): Add another test.
8416         (remquo_test_data): Likewise.
8418 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8420         [BZ #19602]
8421         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8422         equal high parts and both low parts zero specially.
8423         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8424         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8425         Add test-fmodl-ldbl-128ibm.
8427         [BZ #19595]
8428         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8429         common logic for all cases of shifting subnormal results.  Do not
8430         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8431         exponent to ldbl_insert_mantissa in subnormal case.
8433         [BZ #19594]
8434         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8435         on high and low parts then adjust result and use
8436         ldbl_canonicalize_int if needed.
8438         [BZ #19593]
8439         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8440         on high part and __floor or __ceil on low part then use
8441         ldbl_canonicalize_int if needed.
8443         [BZ #19592]
8444         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8445         high and low parts then use ldbl_canonicalize_int if needed.
8447         [BZ #17899]
8448         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8449         New function.
8450         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8451         on high and low parts then use ldbl_canonicalize_int if needed.
8453 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8455         * configure: Regenerated.
8457         * po/libc.pot: Regenerated.
8459         * po/be.po: Updated translation.
8460         * po/bg.po: Likewise.
8461         * po/ca.po: Likewise.
8462         * po/cs.po: Likewise.
8463         * po/da.po: Likewise.
8464         * po/el.po: Likewise.
8465         * po/eo.po: Likewise.
8466         * po/es.po: Likewise.
8467         * po/fi.po: Likewise.
8468         * po/fr.po: Likewise.
8469         * po/gl.po: Likewise.
8470         * po/hr.po: Likewise.
8471         * po/hu.po: Likewise.
8472         * po/ia.po: Likewise.
8473         * po/id.po: Likewise.
8474         * po/it.po: Likewise.
8475         * po/ja.po: Likewise.
8476         * po/lt.po: Likewise.
8477         * po/nb.po: Likewise.
8478         * po/nl.po: Likewise.
8479         * po/pt_BR.po: Likewise.
8480         * po/rw.po: Likewise.
8481         * po/sk.po: Likewise.
8482         * po/sl.po: Likewise.
8483         * po/sv.po: Likewise.
8484         * po/tr.po: Likewise.
8485         * po/zh_CN.po: Likewise.
8486         * po/zh_TW.po: Likewise.
8488         * version.h (RELEAES): Set to "development".
8489         (VERSION): Set to 2.23.90.
8491         * version.h (RELEASE): Set to "stable".
8492         (VERSION): Set to 2.23.
8493         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8495         * NEWS: Updated fixed bugs.
8497 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8498             Wilco Dijkstra  <wdijkstr@arm.com>
8500         [BZ #19462]
8501         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8502         (_STRING_INLINE_unaligned): This.
8503         * include/string.h: Include <string_private.h>.
8504         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8505         _STRING_INLINE_unaligned.
8506         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8507         (_STRING_INLINE_unaligned): New.
8508         * sysdeps/aarch64/string_private.h: New file.
8509         * sysdeps/generic/string_private.h: Likewise.
8510         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8511         * sysdeps/s390/string_private.h: Likewise.
8512         * sysdeps/x86/string_private.h: Likewise.
8513         * sysdeps/m68k/m680x0/m68020/bits/string.h
8514         (_STRING_ARCH_unaligned): Renamed to ...
8515         (_STRING_INLINE_unaligned): This.
8516         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8517         to ...
8518         (_STRING_INLINE_unaligned): This.
8519         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8520         to ...
8521         (_STRING_INLINE_unaligned): This.
8522         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8523         to ...
8524         (_STRING_INLINE_unaligned): This.
8526 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8527             H.J. Lu  <hongjiu.lu@intel.com>
8529         [BZ #19590]
8530         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8531         relocation.
8533 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8535         [BZ #18665]
8536         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8537         *herrno_p.
8538         (gaih_getanswer): Document functional behviour. Return tryagain
8539         if any result is tryagain.
8540         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8541         when freed.
8542         * resolv/res_send.c: Add copyright text.
8543         (__libc_res_nsend): Document that MAXPACKET is expected.
8544         (send_vc): Document. Remove buffer reuse.
8545         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8546         size of the buffer. Add Dprint for truncated UDP buffer.
8548 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8550         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8551         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8552         * INSTALL: Regenerate.
8554 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8555             Jonathan Wakely  <jwakely@redhat.com>
8556             Carlos O'Donell  <carlos@redhat.com>
8558         [BZ 19439]
8559         * math/Makefile (tests): Add test-math-isinff.
8560         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8561         * math/bits/mathcalls.h [__USE_MISC]: Use
8562         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8563         functions not in C++11 and which don't conflict e.g. isinff,
8564         isinfl etc.
8565         * math/test-math-isinff.cc: New file.
8567 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8569         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8571 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8573         [BZ #19529]
8574         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8576 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8578         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8580 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8582         [BZ #19550]
8583         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8584         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8585         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8586         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8587         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8588         New syscall entry.
8589         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8590         New syscall entry.
8591         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8592         syscall entry.
8594 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8596         [BZ #18240]
8597         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8598         unsigned int wraparound.
8600 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8602         [BZ #18240]
8603         * misc/bug18240.c: New test.
8604         * misc/Makefile (tests): Add it.
8606 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8607             Joseph Myers  <joseph@codesourcery.com>
8609         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8610         load in branch delay slot when less than a word of input left.
8612 2016-01-27  Andreas Schwab  <schwab@suse.de>
8614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8615         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8616         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8617         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8619 2016-01-26  David S. Miller  <davem@davemloft.net>
8621         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8623 2016-01-25  David S. Miller  <davem@davemloft.net>
8625         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8626         __sqrtl_finite.
8627         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8628         instead using versioned_symbol.
8629         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8630         of entries.
8632         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8633         __sqrtl_finite to GLIBC_2.23
8635 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8637         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8639 2016-01-25  Andreas Schwab  <schwab@suse.de>
8641         [BZ #17514]
8642         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8643         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8644         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8645         * nptl/tst-mutex-errorcheck.c: New file.
8647 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8649         [BZ #18560]
8650         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8651         (IPCOP_semop): Likewise.
8652         (IPCOP_semget): Likewise.
8653         (IPCOP_semctl): Likewise.
8654         (IPCOP_msgsnd): Likewise.
8655         (IPCOP_msgrcv): Likewise.
8656         (IPCOP_msgget): Likewise.
8657         (IPCOP_msgctl): Likewise.
8658         (IPCOP_shmat): Likewise.
8659         (IPCOP_shmdt): Likewise.
8660         (IPCOP_shmget): Likewise.
8661         (IPCOP_shmctl): Likewise.
8663 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8665         * string/tst-endian.c: Include <libc-internal.h>.
8666         (do_test): Ignore tautological-compare warnings around
8667         "htobeXX (beXXtoh (i)) != i" and
8668         "htoleXX (leXXtoh (i)) != i" if-statements.
8670 2016-01-24  David S. Miller  <davem@davemloft.net>
8672         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8673         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8674         alias.
8675         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8676         __sqrtl_finite.
8678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8680 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8682         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8683         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8684         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8686 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8688         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8689         (thread_func): Use new function to simplify barrier check.
8690         (do_test): Use new function to simplify checking barrier exit
8691         code, and actually join the child thread.
8693 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8695         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8696         semicolon.
8697         (__libc_tend): Likewise.
8698         (__libc_tabort): Likewise.
8700 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8702         * sysdeps/nios2/libm-test-ulps: Update.
8703         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8704         (__gtsf2): Likewise.
8705         (__unorddf2): Likewise.
8706         (__unordsf2): Likewise.
8707         (__ledf2): Likewise.
8709 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8711         * nis/nis_table.c (__follow_path): Disable diagnostic for
8712         uninitialized variable that is a false positive for gcc 4.7.
8713         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8715 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8717         * sysdeps/nacl/lowlevellock-futex.h
8718         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8719         Always evaluate PRIVATE argument.
8721 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8723         [BZ #19490]
8724         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8725         (pthread_cond_broadcast): Use ENTRY/END
8726         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8727         (pthread_cond_signal): Likewise.
8728         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8729         Likewise.
8730         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8731         Likewise.
8732         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8733         Likewise.
8735 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8737         * sysdeps/ieee754/dbl-64/s_finite.c
8738         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8739         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8740         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8741         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8742         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8745         (__gtsf2): Add as optional for libc.so.
8746         (__unordsf2): Likewise.
8747         (__signbit): Remove for libc.so.
8748         (__signbitl): Likewise.
8750 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8752         * iconvdata/bug-iconv11.c (test_ibm93x):
8753         Use %zu printf format specifier for size_t argument.
8755 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8757         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8758         already-recorded ulps.
8759         * sysdeps/arm/libm-test-ulps: Regenerated.
8760         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8761         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8762         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8764 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8765             Paul Pluzhnikov  <ppluzhnikov@google.com>
8767         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8768         assembler not supporting AVX-512.
8770 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8772         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8774 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8776         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8777         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8779         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8781         * sysdeps/arm/libm-test-ulps: Regenerated.
8783 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8785         [BZ #19451]
8786         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8788 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8790         [BZ #19486]
8791         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8792         * sysdeps/generic/fix-fp-int-convert-overflow.h
8793         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8794         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8795         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8796         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8797         Likewise.
8798         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8799         Avoid conversions to long int where inexact exceptions
8800         could be raised.
8801         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8802         Likewise.
8803         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8804         Avoid conversions to long long int where inexact exceptions
8805         could be raised.
8806         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8807         Likewise.
8809 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8811         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8812         * configure: Regenerated.
8814 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8816         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8818 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8820         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8821         outside of comment.
8823 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8825         * nptl/tst-barrier1.c: Add description on first line.
8826         * nptl/tst-barrier2.c: Likewise.
8827         * nptl/tst-barrier3.c: Likewise.
8828         * nptl/tst-barrier4.c: Likewise.
8829         * nptl/tst-barrier5.c: Likewise.
8831 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8833         [BZ #18868]
8834         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8836 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8840         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8841         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8842         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8843         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8844         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8845         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8846         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8847         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8848         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8850 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8852         [BZ #13065]
8853         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8854         new implementation.
8855         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8856         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8857         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8858         (BARRIER_IN_THRESHOLD): New macro.
8859         * nptl/pthread_barrierattr_setpshared.c
8860         (pthread_barrierattr_setpshared): Clean up.
8861         * nptl/tst-barrier4.c: Correct comment.
8862         * nptl/tst-barrier5.c: New file.
8863         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8864         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8865         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8866         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8867         * nptl/lowlevelbarrier.sym: Remove.
8868         * nptl/DESIGN-barrier.txt: Remove.
8869         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8870         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8871         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8872         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8873         error.
8874         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8875         implementation.
8877 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8879         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8880         (do_child): Mask SIGRTMIN while thr is running.
8882 2016-01-15  Martin Sebor  <msebor@redhat.com>
8884         [BZ #19432]
8885         * iconvdata/Makefile: Add bug-iconv11.
8886         * iconvdata/bug-iconv11.c: New test.
8887         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8888         * iconvdata/ibm933.c: Same.
8889         * iconvdata/ibm935.c: Same.
8890         * iconvdata/ibm937.c: Same.
8891         * iconvdata/ibm939.c: Same.
8893 2016-01-15  Martin Sebor  <msebor@redhat.com>
8895         [BZ #19443]
8896         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8897         [DEBUG] (_ufc_set_bits): Declare used.
8898         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8899         [DEBUG] (print_all): Declare used.
8900         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8901         operands of the ternary ?: expression to target type.
8902         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8903         calling the undeclared abort.
8904         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8906 2016-01-15  Martin Sebor  <msebor@redhat.com>
8908         [BZ #18755]
8909         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8910         warnings.
8911         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8912         (__gai_create_helper_thread): Same.
8913         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8914         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8915         to suppress -Wmaybe-uninitialized warnings.
8917 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8919         [BZ #19465]
8920         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8921         inside if.
8922         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8923         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8924         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8926 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8928         [BZ #19466]
8929         * time/tst-mktime2.c (time_t_max): Removed.
8930         (time_t_min): Likewise.
8931         (TYPE_SIGNED): New.
8932         (TYPE_MINIMUM): Likewise.
8933         (TYPE_MAXIMUM): Likewise.
8934         (TIME_T_MIN): Likewise.
8935         (TIME_T_MAX): Likewise.
8936         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8937         and TIME_T_MIN.
8938         (do_test): Likewise.
8940 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8942         [BZ #19467]
8943         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8944         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8946 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8948         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8950 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8952         * benchtests/Makefile (PYTHON): Define.
8953         (bench-func): Use $(PYTHON) to run python scripts.
8954         ($(objpfx)bench-%.c): Likewise.
8956 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8958         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8959         leading slash when `file_name' is "/".
8961 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8963         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8964         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8965         Likewise.
8966         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8967         Likewise.
8968         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8969         Likewise.
8970         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8971         enum constant and macro.
8972         (PTRACE_SETSIGMASK): Likewise.
8973         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8974         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8975         (PTRACE_GETSIGMASK): Likewise.
8976         (PTRACE_SETSIGMASK): Likewise.
8977         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8978         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8979         Likewise.
8980         (PTRACE_SETSIGMASK): Likewise.
8981         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8982         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8983         (PTRACE_GETSIGMASK): Likewise.
8984         (PTRACE_SETSIGMASK): Likewise.
8985         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8986         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8987         Likewise.
8988         (PTRACE_SETSIGMASK): Likewise.
8989         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8990         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8991         Likewise.
8992         (PTRACE_SETSIGMASK): Likewise.
8993         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8994         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8995         Likewise.
8996         (PTRACE_SETSIGMASK): Likewise.
8997         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8999 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9000             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9002         [BZ #19439]
9003         * math/bits/mathcalls.h
9004         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9005         prototype.
9006         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9008 2016-01-11  Andreas Schwab  <schwab@suse.de>
9010         [BZ #19253]
9011         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9012         cache when TZDEFRULES was used.
9013         * time/tst-tzname.c: New file.
9014         * time/Makefile (test): Add tst-tzname.
9015         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9016         * timezone/Makefile (test-zones): Add $(posixrules-file).
9017         ($(testdata)/$(posixrules-file)): New rule.
9019 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9021         Fix doc quoting problems with Texinfo 5
9022         Without this change, in the info file output, Texinfo 5 quotes code
9023         in text with undirected single quotes 'like this' and generates
9024         code examples that with many PDF readers cannot be cut out of PDFs
9025         and pasted into code.
9026         * manual/libc.texinfo: Configure the libc manual like the GNU
9027         Emacs manual, by using @documentencoding and setting
9028         txicodequoteundirected and txicodequotebacktick.  This way,
9029         Texinfo 5 quotes code in text with directed single quotes ‘like
9030         this’ and produces examples that can be cut out of PDFs.  This
9031         change causes Texinfo 5 to generate info files that contain UTF-8
9032         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9033         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9035 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9037         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9038         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9039         barriers to their respective compiler built-ins.
9040         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9041         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9042         * sysdeps/powerpc/sysdep.h: Likewise.
9043         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9044         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9045         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9047 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9049         * scripts/config.guess: Revert previous shebang change.
9050         * scripts/config.sub: Likewise.
9051         * scripts/mkinstalldirs: Likewise.
9053 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9055         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9056         PPC_FEATURE2_HAS_IEEE128.
9057         * sysdeps/powerpc/dl-procinfo.c:
9058         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9060 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9062         [BZ #19415]
9063         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9064         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9065         (_dl_lookup_address): Rewrite using function resolver trampoline.
9066         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9067         two bits in address.
9069 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9071         * longlong.h: Change !__SHMEDIA__ to
9072         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9073         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9075 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9076             Joseph Myers  <joseph@codesourcery.com>
9077             Mark Shinwell  <shinwell@codesourcery.com>
9078             Andrew Stubbs  <ams@codesourcery.com>
9079             Rich Felker <dalias@libc.org>
9081         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9083 2016-01-07  Richard Henderson  <rth@redhat.com>
9085         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9087 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9089         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9090         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9091         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9092         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9093         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9095 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9096             Joseph Myers  <joseph@codesourcery.com>
9098         * timezone/private.h: Update from tzcode 2015g.
9099         * timezone/tzfile.h: Likewise.
9100         * timezone/tzselect.ksh: Likewise.
9101         * timezone/zdump.c: Likewise.
9102         * timezone/zic.c: Likewise.
9103         * timezone/ialloc.c: Remove file.
9104         * timezone/scheck.c: Likewise.
9105         * timezone/Makefile (extra-objs): Remove variable.
9106         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9107         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9108         -Wno-maybe-uninitialized.
9109         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9110         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9111         (CFLAGS-ialloc.c): Remove variable.
9112         (CFLAGS-scheck.c): Likewise.
9113         * timezone/README: Update list of files from tzcode.
9115 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9117         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9118         instead of __fxprintf when _LIBC is undefined.
9120 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9122         * catgets/test-gencat.sh: Remove space after shebang.
9123         * conform/GlibcConform.pm: Likewise.
9124         * conform/check-header-lists.sh: Likewise.
9125         * conform/conformtest.pl: Likewise.
9126         * conform/linknamespace.pl: Likewise.
9127         * conform/list-header-symbols.pl: Likewise.
9128         * debug/catchsegv.sh: Likewise.
9129         * elf/genrtldtbl.awk: Likewise.
9130         * elf/tst-pathopt.sh: Likewise.
9131         * elf/tst-rtld-load-self.sh: Likewise.
9132         * grp/tst_fgetgrent.sh: Likewise.
9133         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9134         * iconvdata/gen-8bit-gap.sh: Likewise.
9135         * iconvdata/gen-8bit.sh: Likewise.
9136         * iconvdata/run-iconv-test.sh: Likewise.
9137         * intl/tst-gettext.sh: Likewise.
9138         * intl/tst-gettext2.sh: Likewise.
9139         * intl/tst-gettext4.sh: Likewise.
9140         * intl/tst-gettext6.sh: Likewise.
9141         * intl/tst-translit.sh: Likewise.
9142         * io/ftwtest-sh: Likewise.
9143         * libio/test-freopen.sh: Likewise.
9144         * locale/gen-translit.pl: Likewise.
9145         * malloc/tst-mtrace.sh: Likewise.
9146         * manual/check-safety.sh: Likewise.
9147         * manual/libc-texinfo.sh: Likewise.
9148         * manual/tsort.awk: Likewise.
9149         * manual/xtract-typefun.awk: Likewise.
9150         * nptl/tst-cancel-wrappers.sh: Likewise.
9151         * nptl/tst-tls6.sh: Likewise.
9152         * posix/globtest.sh: Likewise.
9153         * posix/tst-getconf.sh: Likewise.
9154         * posix/wordexp-tst.sh: Likewise.
9155         * scripts/check-c++-types.sh: Likewise.
9156         * scripts/check-local-headers.sh: Likewise.
9157         * scripts/config.guess: Likewise.
9158         * scripts/config.sub: Likewise.
9159         * scripts/cpp: Likewise.
9160         * scripts/cross-test-ssh.sh: Likewise.
9161         * scripts/documented.sh: Likewise.
9162         * scripts/evaluate-test.sh: Likewise.
9163         * scripts/gen-libc-abis: Likewise.
9164         * scripts/gen-sorted.awk: Likewise.
9165         * scripts/list-fixed-bugs.py: Likewise.
9166         * scripts/merge-test-results.sh: Likewise.
9167         * scripts/mkinstalldirs: Likewise.
9168         * scripts/rellns-sh: Likewise.
9169         * scripts/test-installation.pl: Likewise.
9170         * scripts/update-copyrights: Likewise.
9171         * stdio-common/tst-printf.sh: Likewise.
9172         * stdio-common/tst-unbputc.sh: Likewise.
9173         * stdlib/tst-fmtmsg.sh: Likewise.
9174         * stdlib/tst-setcontext3.sh: Likewise.
9175         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9176         * sysdeps/unix/make-syscalls.sh: Likewise.
9178 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9180         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9181         asm stw with atomic_exchange_rel.  Add explanatory comment.
9182         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9183         Likewise.
9185 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9187         [BZ #19122]
9188         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9189         * sysdeps/generic/dl-unistd.h: New file.
9190         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9192 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9194          [BZ #19122]
9195          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9196          * sysdeps/generic/dl-mman.h: New file.
9197          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9199 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9201         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9202         trailing whitespace removed.
9203         * scripts/config.guess: Update to version 2016-01-01.
9204         * scripts/config.sub: Update to version 2016-01-01.
9205         * scripts/move-if-change: Update from gnulib.
9207 2016-01-04  Anton Blanchard  <anton@samba.org>
9209         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9210         for array indices.
9211         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9213 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9215         * NEWS: Update copyright dates.
9216         * catgets/gencat.c (print_version): Likewise.
9217         * csu/version.c (banner): Likewise.
9218         * debug/catchsegv.sh: Likewise.
9219         * debug/pcprofiledump.c (print_version): Likewise.
9220         * debug/xtrace.sh (do_version): Likewise.
9221         * elf/ldconfig.c (print_version): Likewise.
9222         * elf/ldd.bash.in: Likewise.
9223         * elf/pldd.c (print_version): Likewise.
9224         * elf/sotruss.sh: Likewise.
9225         * elf/sprof.c (print_version): Likewise.
9226         * iconv/iconv_prog.c (print_version): Likewise.
9227         * iconv/iconvconfig.c (print_version): Likewise.
9228         * locale/programs/locale.c (print_version): Likewise.
9229         * locale/programs/localedef.c (print_version): Likewise.
9230         * login/programs/pt_chown.c (print_version): Likewise.
9231         * malloc/memusage.sh (do_version): Likewise.
9232         * malloc/memusagestat.c (print_version): Likewise.
9233         * malloc/mtrace.pl: Likewise.
9234         * manual/libc.texinfo: Likewise.
9235         * nptl/version.c (banner): Likewise.
9236         * nscd/nscd.c (print_version): Likewise.
9237         * nss/getent.c (print_version): Likewise.
9238         * nss/makedb.c (print_version): Likewise.
9239         * posix/getconf.c (main): Likewise.
9240         * scripts/test-installation.pl: Likewise.
9241         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9243         * All files with FSF copyright notices: Update copyright dates
9244         using scripts/update-copyrights.
9245         * intl/plural.c: Regenerated.
9246         * locale/programs/charmap-kw.h: Likewise.
9247         * locale/programs/locfile-kw.h: Likewise.
9249 2016-01-02  Helge Deller  <deller@gmx.de>
9251         [BZ #19285]
9252         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9253         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9254         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9255         (MADV_xxK_PAGES): Remove.
9257 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9259         [BZ #15421]
9260         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9261         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9262         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9263         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9265 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9267         [BZ #19408]
9268         * sysdeps/unix/sysv/linux/personality.c: New file.
9269         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9270         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9271         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9272         (sysdep_routines): Add personality.
9273         (tests): Add tst-personality.
9274         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9275         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9276         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9277         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9278         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9279         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9280         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9281         Likewise.
9282         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9283         Likewise.
9284         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9285         Likewise.
9286         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9287         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9288         Likewise.
9290 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9292         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9293         (PATH_ARM_SYSTYPE): Remove.
9294         (PATH_CPUINFO): Likewise.
9295         (IO_BASE_FOOTBRIDGE): Likewise.
9296         (IO_SHIFT_FOOTBRIDGE): Likewise.
9297         (struct platform): Likewise.
9298         (init_iosys): Remove compatibility code for 2.4 kernels.
9299         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9301 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9303         * malloc/tst-malloc-thread-fail.c: New file.
9304         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9305         (tst-malloc-thread-fail): Link against libpthread.
9307 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9309         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9310         (get_parser): New function.
9311         (main): New function.
9313 2015-12-29  Rob Wu  <rob@robwu.nl>
9315         [BZ #19369]
9316         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9318 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9320         [BZ #19270]
9321         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9323 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9325         [BZ #15421]
9326         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9328 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9330         [BZ #13690]
9331         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9332         after releasing it.
9333         (__lll_robust_unlock): Likewise.
9334         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9335         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9336         (lll_robust_unlock): Likewise.
9337         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9338         Prevent warnings in callers.
9340 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9342         * malloc/arena.c (list_lock): Update comment.
9344 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9346         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9347         __parse_hwcap_and_convert_at_platform to libc.a.
9349 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9351         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9352         platform and feature support for POWER9.
9353         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9354         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9355         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9356         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9357         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9358         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9359         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9360         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9362 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9364         Harmonize generic stdio-lock support with nptl
9366         This fixes build when _IO_funlockfile is a macro, fixes build where
9367         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9368         stack unwind.
9370         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9371         _IO_release_lock ): Use cleanup attribute on new
9372         _IO_acquire_lock_file variable instead of assuming that
9373         _IO_release_lock will be called.
9374         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9375         _IO_acquire_lock_needs_exceptions_enabled.
9376         (_IO_acquire_lock_clear_flags2): New macro.
9378 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9380         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9382 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9384         [BZ #19182]
9385         * malloc/arena.c (list_lock): Document lock ordering requirements.
9386         (free_list_lock): New lock.
9387         (ptmalloc_lock_all): Comment on free_list_lock.
9388         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9389         (detach_arena): Update comment.  free_list_lock is now needed.
9390         (_int_new_arena): Use free_list_lock around detach_arena call.
9391         Acquire arena lock after list_lock.  Add comment, including FIXME
9392         about incorrect synchronization.
9393         (get_free_list): Switch to free_list_lock.
9394         (reused_arena): Acquire free_list_lock around detach_arena call
9395         and attached threads counter update.  Add two FIXMEs about
9396         incorrect synchronization.
9397         (arena_thread_freeres): Switch to free_list_lock.
9398         * malloc/malloc.c (struct malloc_state): Update comments to
9399         mention free_list_lock.
9401 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9403         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9404         Remove functions.
9405         (sloww, sloww1): Accept argument to offset quadrant.
9406         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9407         quadrant.
9408         (__sin, __cos): Consolidate common code into new functions.
9409         (reduce_sincos_1, do_sincos_1): New functions.
9410         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9412         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9413         code to new functions.
9414         (reduce_sincos_2, do_sincos_2): New functions.
9415         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9417         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9418         common code for sincos.
9419         (__cos) [!IN_SINCOS]: Likewise.
9420         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9421         New function.
9422         (__sincos): Use it.
9424 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9426         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9427         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9428         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9430 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9432         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9433         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9435         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9436         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9437         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9438         index_Prefer_No_VZEROUPPER): New feature.
9439         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9440         Prefer_No_VZEROUPPER for Knights Landing.
9442 015-12-18  Torvald Riegel  <triegel@redhat.com>
9444         * math/atest-exp2.c (mp_exp_m1): Remove.
9446 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9448         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9449         syscalls.
9450         (__SYSCALL0): New macro.
9451         (__SYSCALL1): Likewise.
9452         (__SYSCALL2): Likewise.
9453         (__SYSCALL3): Likewise.
9454         (__SYSCALL4): Likewise.
9455         (__SYSCALL5): Likewise.
9456         (__SYSCALL6): Likewise.
9457         (__SYSCALL_CONCAT_X): Likewise.
9458         (__SYSCALL_CONCAT): Likewise.
9459         (__SYSCALL_DIST): Likewise.
9460         (__SYSCALL_CALL): Likewise.
9462 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9464         [BZ #19363]
9465         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9467 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9469         [BZ #19375]
9470         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9471         negative subnormals.
9473 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9476         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9477         (INTERNAL_SYSCALL_NCS): Use it.
9478         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9480 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9482         [BZ #19243]
9483         * malloc/arena.c (get_free_list): Remove assert and adjust
9484         reference count handling.  Add comment about reused_arena
9485         interaction.
9486         (reused_arena): Add comments abount get_free_list interaction.
9487         * malloc/tst-malloc-thread-exit.c: New file.
9488         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9489         (tst-malloc-thread-exit): Link against libpthread.
9491 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9493         [BZ #19367]
9494         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9495         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9496         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9497         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9498         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9500 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9502         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9503         Silvermont optimizations for Knights Landing.
9505 2015-12-15  Andreas Schwab  <schwab@suse.de>
9507         [BZ #17197]
9508         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9509         immediately after emitting SI.
9510         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9511         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9512         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9513         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9514         * iconvdata/bug-iconv10.c: New file.
9515         * iconvdata/Makefile (tests): Add bug-iconv10.
9516         ($(objpfx)bug-iconv10.out): New rule.
9518 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9520         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9521         aliasing violation.
9523 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9525         [BZ #18472]
9526         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9527         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9528         conditionals for them.
9529         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9530         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9531         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9532         sys/kdaemon.h.
9533         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9534         compat-only syscall, obsoleted in glibc 2.23.
9535         (create_module): Likewise.
9536         (get_kernel_syms): Likewise.
9537         (query_module): Likewise.
9538         (uselib): Likewise.
9539         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9541 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9543         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9544         <linux/version.h>.
9545         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9546         conditional code.
9547         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9548         and ioshift_name initialization.
9550 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9552         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9553         Fix indentation.
9555 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9557         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9559 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9561         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9563 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9564             Jakub Wilk  <jwilk@debian.org>
9566         [BZ #19347]
9567         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9568         to change the group of the device to the tty group.
9570 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9572         Split large string section; add truncation advice
9573         * manual/examples/strncat.c: Remove.
9574         This example was misleading, as the code would have undefined
9575         behavior if "hello" was longer than SIZE.  Anyway, the manual
9576         shouldn't encourage strncpy+strncat for this sort of thing.
9577         * manual/string.texi (Copying Strings and Arrays): Split into
9578         three sections Copying Strings and Arrays, Concatenating Strings,
9579         and Truncating Strings, as this section was way too long.  All
9580         cross-referenced changed.  Add advice about string-truncation
9581         functions.  Remove misleading strncat example.
9583 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9585         * manual/nss.texi (NSS Modules Interface): Document
9586         NSS_STATUS_NOTFOUND and SUCCESS.
9588 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9590         [BZ 18568]
9591         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9592         201505L, for Unicode 8.
9594 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9596         * locale/C-translit.h: Regenerate.
9598 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9600         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9601         and U+0153.
9603 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9605         [BZ #19351]
9606         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9607         expanding log(1+z), compare z rather than its square with epsilon
9608         to determine when to avoid evaluating the expansion.
9610         [BZ #19350]
9611         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9612         Increase overflow threshold.
9614         [BZ #19349]
9615         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9616         when small.
9618         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9619         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9620         New macro.
9621         [__LINUX_KERNEL_VERSION >= 0x040300]
9622         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9623         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9624         Likewise.
9625         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9626         Likewise.
9627         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9628         Likewise.
9629         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9630         Likewise.
9631         [__LINUX_KERNEL_VERSION >= 0x040300]
9632         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9633         [__LINUX_KERNEL_VERSION >= 0x040300]
9634         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9635         [__LINUX_KERNEL_VERSION >= 0x040300]
9636         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9637         [__LINUX_KERNEL_VERSION >= 0x040300]
9638         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9639         [__LINUX_KERNEL_VERSION >= 0x040300]
9640         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9641         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9642         Likewise.
9643         [__LINUX_KERNEL_VERSION >= 0x040300]
9644         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9645         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9646         Likewise.
9647         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9648         Likewise.
9649         [__LINUX_KERNEL_VERSION >= 0x040300]
9650         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9651         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9652         Likewise.
9653         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9654         Likewise.
9655         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9656         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9657         Likewise.
9658         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9659         Likewise.
9660         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9661         Likewise.
9662         [__LINUX_KERNEL_VERSION >= 0x040300]
9663         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9665         Likewise.
9666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9667         Likewise.
9668         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9669         Likewise.
9670         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9671         Likewise.
9672         [__LINUX_KERNEL_VERSION >= 0x040300]
9673         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9674         [__LINUX_KERNEL_VERSION >= 0x040300]
9675         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9676         [__LINUX_KERNEL_VERSION >= 0x040300]
9677         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9678         [__LINUX_KERNEL_VERSION >= 0x040300]
9679         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9680         [__LINUX_KERNEL_VERSION >= 0x040300]
9681         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9682         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9683         Likewise.
9684         [__LINUX_KERNEL_VERSION >= 0x040300]
9685         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9686         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9687         Likewise.
9688         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9689         Likewise.
9690         [__LINUX_KERNEL_VERSION >= 0x040300]
9691         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9692         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9693         Likewise.
9694         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9695         Likewise.
9696         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9697         (__ASSUME_SOCKET_SYSCALL): Likewise.
9698         (__ASSUME_BIND_SYSCALL): Likewise.
9699         (__ASSUME_CONNECT_SYSCALL): Likewise.
9700         (__ASSUME_LISTEN_SYSCALL): Likewise.
9701         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9702         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9703         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9704         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9705         (__ASSUME_SEND_SYSCALL): Likewise.
9706         (__ASSUME_SENDTO_SYSCALL): Likewise.
9707         (__ASSUME_RECV_SYSCALL): Likewise.
9708         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9709         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9710         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9711         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9712         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9713         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9714         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9715         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9716         Likewise.
9717         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9718         Likewise.
9719         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9720         Likewise.
9721         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9722         Likewise.
9723         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9724         Likewise.
9725         [__LINUX_KERNEL_VERSION >= 0x020625]
9726         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9727         [__LINUX_KERNEL_VERSION >= 0x020625]
9728         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9729         [__LINUX_KERNEL_VERSION >= 0x020625]
9730         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9731         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9732         Likewise.
9733         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9734         Likewise.
9735         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9736         Likewise.
9737         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9738         Likewise.
9739         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9740         Likewise.
9741         [__LINUX_KERNEL_VERSION >= 0x020625]
9742         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9743         [__LINUX_KERNEL_VERSION >= 0x020625]
9744         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9745         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9746         Likewise.
9747         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9748         Likewise.
9750 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9752         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9753         record the current if the current ABI and CPU support the FP64
9754         extension.
9755         (has-modd-spreg): Define to record the current if the current ABI and
9756         CPU support 32-bit floating point values in odd FPU registers.
9757         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9758         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9759         $(has-modd-spreg) equals yes.
9760         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9761         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9762         $(has-modd-spreg) equal yes.
9764 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9766         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9767         basename.
9769 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9771         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9772         (bench-string): ... here.
9773         (bench): Add bench-string.
9774         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9775         to *-benchset to reflect what they are.
9776         (benchset): Adjust.
9778         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9779         cos-inputs.
9781 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9783         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9784         __attribute__ ((__simd__)) for vector math function declarations.
9786 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9788         Fix typo in strncat, wcsncat manual entries
9789         * manual/string.texi (Copying and Concatenation): Fix typos in
9790         sample implementations of strncat and wcsncat, by having them use
9791         the old value of the destination length, not the new one.
9793 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9795         [BZ #16961]
9796         [BZ #16962]
9797         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9798         string on the stack for strtod.
9799         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9800         a string on the stack for strtof.
9801         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9802         constructing a string on the stack for strtold.
9803         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9804         __strtold_nan to GLIBC_PRIVATE.
9805         * math/test-nan-overflow.c: New file.
9806         * math/test-nan-payload.c: Likewise.
9807         * math/Makefile (tests): Add test-nan-overflow and
9808         test-nan-payload.
9810 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9812         Consistency about byte vs character in string.texi
9813         * manual/string.texi (String and Array Utilities):
9814         Distinguish more carefully among bytes, multibyte characters,
9815         and wide characters.  Use "byte" when talking about C 'char',
9816         to distinguish it more clearly from multibyte characters.
9817         Say "wide character" or "multibyte character" instead of
9818         "character", when a wide or multibyte character is intended.
9819         Similarly for "multibyte string" versus "string".
9820         Define these terms more carefully.
9822 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9824         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9825         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9826         Likewise.
9827         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9828         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9829         * sysdeps/sh/math_private.h: New file.
9830         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9831         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9832         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9833         long double function name.
9834         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9835         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9836         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9837         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9840         Remove __finitel, __isinfl, and __isnanl.
9841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9842         Likewise.
9843         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9845         Remove __finitel.
9846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9847         Likewise.
9848         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9850 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9852         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9853         installed libmvec_nonshared.a.
9855 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9857         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9858         (sysdep_routines): Likewise.
9859         (sysdep-rtld-routines): Likewise.
9860         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9861         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9862         * sysdeps/powerpc/Versions: Added new
9863         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9864         * sysdeps/powerpc/hwcapinfo.c: New file.
9865         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9866         and parse hwcap, hwcap2 and platform number information.
9867         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9868         to store HWCAP+HWCAP2 and platform number.
9869         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9870         for HWCAP+HWCAP2 and platform number in the TCB.
9871         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9872         the HWCAP, HWCAP2 and platform number in the TCB.
9873         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9874         (TLS_INIT_TP): Included calls to add the hwcap and
9875         at_platform values in the TCB in TP initialization.
9876         (TLS_DEFINE_INIT_TP): Likewise.
9877         (THREAD_GET_HWCAP): New macro.
9878         (THREAD_SET_HWCAP): Likewise.
9879         (THREAD_GET_AT_PLATFORM): Likewise.
9880         (THREAD_SET_AT_PLATFORM): Likewise.
9881         * sysdeps/powerpc/powerpc32/dl-machine.h:
9882         (dl_platform_init): New function that calls
9883         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9884         powerpc32.
9885         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9886         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9887         this functionality, static linking case.
9888         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9889         linking case.
9890         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9891         __parse_hwcap_and_convert_at_platform for the static linking case.
9892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9893         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9894         ABI list for GLIBC 2.23.
9895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9896         Likewise.
9897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9898         Likewise.
9900 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9902         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9903         * configure: Regenerate.
9904         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9905         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9907 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9909         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9910         * iconvdata/ibm933.c: Likewise.
9911         * iconvdata/ibm935.c: Likewise.
9912         * iconvdata/ibm937.c: Likewise.
9913         * iconvdata/ibm939.c: Likewise.
9915 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9917         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9918         pthread_join.
9919         * nptl/tst-cancel21.c (tf): Likewise.
9921 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9923         [BZ #19313]
9924         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9925         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9926         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9927         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9928         Likewise.
9929         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9930         Likewise.
9931         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9932         Likewise.
9933         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9934         Likewise.
9935         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9936         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9937         unsigned long int with __CPU_MASK_TYPE.
9939 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9941         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9943 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9945         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9946         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9947         t512.x.
9948         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9950 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9952         [BZ #19214]
9953         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9954         argument to return extended model.  Update family and model
9955         with extended family and model when family == 0x0f.
9956         (init_cpu_features): Updated.
9958 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9960         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9961         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9963         * sysdeps/mach/hurd/mmap64.c: New file.
9965 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9967         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9968         rights for its main user thread in NEWTASK.
9970 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9972         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9973         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9975 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9977         [BZ #14259]
9978         * Makeconfig: Rename localedir to complocaledir.
9979         Rename inst_localedir to inst_complocaledir.
9980         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9981         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9982         * configure.ac: Use libc_cv_complocaledir.
9983         * configure: Regenerate.
9984         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9985         -DCOMPLOCALEDIR.
9986         * locale/findlocale.c: Use COMPLOCALEDIR.
9987         * locale/loadarchive.c: Likewise.
9988         * locale/programs/locale.c: Likewise.
9989         * locale/programs/localedef.c: Likewise.
9990         * locale/programs/locarchive.c: Likewise.
9991         * localedata/Makefile: Use inst_complocaledir.
9992         * sysdeps/gnu/configure: Regenerate.
9993         * sysdeps/hppa/configure: Regenerate.
9994         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9995         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9997         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9998         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9999         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10000         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10002 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10004         [BZ #19058]
10005         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10006         AS_NEEDED.
10007         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10008         workaround.
10009         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10010         libmvec-static-only-routines): Added new file.
10011         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10013 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10015         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10016         of interrupted RPC instead of restoring it.
10018         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10019         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10020         libc_hidden_def.
10021         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10022         into initialized data instead of common. Define rtld_hidden_data_def.
10023         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10024         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10025         libc_hidden_def.
10026         (if_freenameindex): Add libc_hidden_weak.
10027         (if_nameindex): Add libc_hidden_weak.
10028         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10029         __open64.
10030         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10031         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10032         * sysdeps/mach/nanosleep.c: Include <time.h>
10033         (__nanosleep): Rename to __libc_nanosleep.
10034         (__nanosleep): Add weak_alias.
10035         (nanosleep): Update alias.
10037 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10039         * stdlib/strtod_nan.c: New file.
10040         * stdlib/strtod_nan_double.h: Likewise.
10041         * stdlib/strtod_nan_float.h: Likewise.
10042         * stdlib/strtod_nan_main.c: Likewise.
10043         * stdlib/strtod_nan_narrow.h: Likewise.
10044         * stdlib/strtod_nan_wide.h: Likewise.
10045         * stdlib/strtof_nan.c: Likewise.
10046         * stdlib/strtold_nan.c: Likewise.
10047         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10048         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10049         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10050         * wcsmbs/wcstod_nan.c: Likewise.
10051         * wcsmbs/wcstof_nan.c: Likewise.
10052         * wcsmbs/wcstold_nan.c: Likewise.
10053         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10054         strtold_nan.
10055         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10056         wcstof_nan.
10057         * include/stdlib.h (__strtof_nan): Declare and use
10058         libc_hidden_proto.
10059         (__strtod_nan): Likewise.
10060         (__strtold_nan): Likewise.
10061         (__wcstof_nan): Likewise.
10062         (__wcstod_nan): Likewise.
10063         (__wcstold_nan): Likewise.
10064         * include/wchar.h (____wcstoull_l_internal): Declare.
10065         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10066         (____strtoull_l_internal): Remove declaration.
10067         (STRTOF_NAN): Define macro.
10068         (SET_MANTISSA): Remove macro.
10069         (STRTOULL): Likewise.
10070         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10071         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10072         (STRTOF_NAN): Define macro.
10073         (SET_MANTISSA): Remove macro.
10074         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10075         (SET_MANTISSA): Remove macro.
10076         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10077         macro.
10078         (SET_MANTISSA): Remove macro.
10079         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10080         macro.
10081         (SET_MANTISSA): Remove macro.
10082         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10083         (SET_MANTISSA): Remove macro.
10084         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10085         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10086         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10088         [BZ #19266]
10089         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10090         upper case and lower case letters inside NAN(), not using TOLOWER.
10091         * stdlib/tst-strtod-nan-locale-main.c: New file.
10092         * stdlib/tst-strtod-nan-locale.c: Likewise.
10093         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10094         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10095         Depend on $(gen-locales).
10096         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10097         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10098         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10099         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10100         Depend on $(gen-locales).
10101         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10103 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10105         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10107         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10109         __finitel, __isinfl, and __isnanl.
10110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10111         Likewise.
10112         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10114         __finitel.
10115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10116         Likewise.
10117         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10119 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10121         * malloc/memusage.c (me): Remove redundant getenv call.
10123 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10125         [BZ #19143]
10126         [BZ #19164]
10127         * nptl/check-cpuset.h: Remove.
10128         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10129         Remove CPU set size check.
10130         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10131         Likewise.
10132         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10133         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10134         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10135         (__pthread_setaffinity_new): Remove CPU set size check.
10136         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10137         (__kernel_cpumask_size): Remove.
10138         (__sched_setaffinity_new): Remove CPU set size check.
10139         * manual/threads.texi (Default Thread Attributes): Remove stale
10140         reference to check_cpuset_attr, determine_cpumask_size in comment.
10141         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10142         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10143         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10144         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10145         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10146         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10147         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10148         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10149         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10150         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10151         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10152         skeleton test file.
10153         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10154         tst-affinity-pid.
10156 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10158         * scripts/update-abilist.sh: New file.
10159         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10160         * Makerules (update-all-abi-%, update-all-abi)
10161         (subdir_update-all-abi): New targets.
10162         * elf/Makefile (update-all-abi): New target.
10164 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10166         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10167         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10168         (__libc_lock_define_initialized): Use it.
10169         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10170         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10171         * malloc/malloc.c (main_arena): Likewise.
10172         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10173         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10175 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10177         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10178         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10179         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10180         (PTRACE_O_MASK): Update value.
10181         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10182         New value in enum __ptrace_setoptions.
10183         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10184         (PTRACE_O_MASK): Update value.
10185         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10186         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10187         (PTRACE_O_MASK): Update value.
10188         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10189         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10190         (PTRACE_O_MASK): Update value.
10191         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10192         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10193         (PTRACE_O_MASK): Update value.
10194         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10195         New value in enum __ptrace_setoptions.
10196         (PTRACE_O_MASK): Update value.
10197         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10198         New value in enum __ptrace_setoptions.
10199         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10200         (PTRACE_O_MASK): Update value.
10202         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10203         New macro.
10204         (PACKET_AUXDATA): Likewise.
10205         (PACKET_ORIGDEV): Likewise.
10206         (PACKET_VERSION): Likewise.
10207         (PACKET_HDRLEN): Likewise.
10208         (PACKET_RESERVE): Likewise.
10209         (PACKET_TX_RING): Likewise.
10210         (PACKET_LOSS): Likewise.
10211         (PACKET_VNET_HDR): Likewise.
10212         (PACKET_TX_TIMESTAMP): Likewise.
10213         (PACKET_TIMESTAMP): Likewise.
10214         (PACKET_FANOUT): Likewise.
10215         (PACKET_TX_HAS_OFF): Likewise.
10216         (PACKET_QDISC_BYPASS): Likewise.
10217         (PACKET_ROLLOVER_STATS): Likewise.
10218         (PACKET_FANOUT_DATA): Likewise.
10219         (PACKET_MR_UNICAST): Likewise.
10221         [BZ #19242]
10222         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10223         (TOUPPER): Likewise.
10224         * stdlib/tst-strtol-locale-main.c: New file.
10225         * stdlib/tst-strtol-locale.c: Likewise.
10226         * stdlib/Makefile (tests): Add tst-strtol-locale.
10227         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10228         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10229         Depend on $(gen-locales).
10230         * wcsmbs/tst-wcstol-locale.c: New file.
10231         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10232         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10233         tr_TR.ISO-8859-9.
10234         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10235         Depend on $(gen-locales).
10237 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10239         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10240         __glibc_likely instead of __builtin_expect.  After falling back to
10241         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10242         system interface to register the code pages as occupied.
10244 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10246         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10247         [!ARM_MATH_PRIVATE_H].
10248         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10249         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10250         [!HPPA_MATH_PRIVATE_H].
10251         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10252         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10253         to [!I386_MATH_PRIVATE_H].
10254         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10255         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10256         Change guard to [!M68K_MATH_PRIVATE_H].
10257         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10258         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10259         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10260         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10261         macro.
10262         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10263         [!MIPS_MATH_PRIVATE_H].
10264         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10265         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10266         [!NIO2_MATH_PRIVATE_H].
10267         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10268         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10269         [!TILE_MATH_PRIVATE_H].
10270         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10272         [BZ #15421]
10273         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10274         initialize with 0 and define as weak alias of __signgam.
10275         * include/math.h [!_ISOMAC] (__signgam): Declare.
10276         * math/Makefile (libm-calls): Add w_lgamma_compat.
10277         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10278         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10279         test-signgam-ullong-init.
10280         (tests-static): Add test-signgam-uchar-static,
10281         test-signgam-uchar-init-static, test-signgam-uint-static,
10282         test-signgam-uint-init-static, test-signgam-ullong-static and
10283         test-signgam-ullong-init-static.
10284         (CFLAGS-test-signgam-uchar.c): New variable.
10285         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10286         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10287         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10288         (CFLAGS-test-signgam-uint.c): Likewise.
10289         (CFLAGS-test-signgam-uint-init.c): Likewise.
10290         (CFLAGS-test-signgam-uint-static.c): Likewise.
10291         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10292         (CFLAGS-test-signgam-ullong.c): Likewise.
10293         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10294         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10295         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10296         * math/Versions (libm): Add GLIBC_2.23.
10297         * math/lgamma-compat.h: New file.
10298         * math/test-signgam-main.c: Likewise.
10299         * math/test-signgam-uchar-init-static.c: Likewise.
10300         * math/test-signgam-uchar-init.c: Likewise.
10301         * math/test-signgam-uchar-static.c: Likewise.
10302         * math/test-signgam-uchar.c: Likewise.
10303         * math/test-signgam-uint-init-static.c: Likewise.
10304         * math/test-signgam-uint-init.c: Likewise.
10305         * math/test-signgam-uint-static.c: Likewise.
10306         * math/test-signgam-uint.c: Likewise.
10307         * math/test-signgam-ullong-init-static.c: Likewise.
10308         * math/test-signgam-ullong-init.c: Likewise.
10309         * math/test-signgam-ullong-static.c: Likewise.
10310         * math/test-signgam-ullong.c: Likewise.
10311         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10312         wrapper of w_lgamma_main.c.
10313         * math/w_lgamma_compat.c: New file.
10314         * math/w_lgamma_compatf.c: Likewise.
10315         * math/w_lgamma_compatl.c: Likewise.
10316         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10317         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10318         defining compatibility symbols.
10319         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10320         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10321         wrapper of w_lgammaf_main.c.
10322         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10323         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10324         defining compatibility symbols.
10325         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10326         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10327         wrapper of w_lgammal_main.c.
10328         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10329         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10330         defining compatibility symbols.
10331         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10332         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10333         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10334         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10335         <lgamma-compat.h>.
10336         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10337         (__ieee754_gamma): Define as alias.
10338         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10339         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10340         <lgamma-compat.h>.
10341         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10342         (__ieee754_gammaf): Define as alias.
10343         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10344         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10345         <lgamma-compat.h>.
10346         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10347         (__ieee754_gammal): Define as alias.
10348         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10349         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10350         <math/w_lgamma_compat.c>.
10351         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10352         Define as alias of __lgamma_compat and use in defining lgammal.
10353         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10354         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10355         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10356         (USE_AS_COMPAT): New macro.
10357         (LGAMMA_OLD_VER): Undefine and redefine.
10358         (lgammal): Do not define here.
10359         (gammal): Only define here if [GAMMA_ALIAS].
10360         * conform/linknamespace.pl (@whitelist): Remove signgam.
10361         * sysdeps/nacl/libm.abilist: Update.
10362         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10363         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10364         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10365         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10366         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10367         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10368         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10369         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10370         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10371         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10372         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10373         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10375         Likewise.
10376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10377         Likewise.
10378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10379         Likewise.
10380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10381         Likewise.
10382         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10383         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10384         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10385         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10386         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10388         Likewise.
10389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10390         Likewise.
10391         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10392         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10393         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10395 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10397         [BZ #16364]
10398         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10399         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10401 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10403         * sysdeps/s390/fpu/bits/mathinline.h:
10404         Use __asm__ [__volatile__] instead of asm [volatile].
10405         * sysdeps/s390/abort-instr.h: Likewise.
10406         * sysdeps/s390/atomic-machine.h: Likewise.
10407         * sysdeps/s390/bits/string.h: Likewise.
10408         * sysdeps/s390/dl-tls.h: Likewise.
10409         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10410         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10411         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10412         * sysdeps/s390/fpu/fesetround.c: Likewise.
10413         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10414         * sysdeps/s390/fpu/s_fma.c: Likewise.
10415         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10416         * sysdeps/s390/memusage.h: Likewise.
10417         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10418         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10419         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10420         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10421         * sysdeps/s390/nptl/tls.h: Likewise.
10422         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10423         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10424         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10425         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10426         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10427         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10428         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10429         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10430         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10431         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10432         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10433         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10434         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10435         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10436         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10437         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10438         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10439         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10440         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10441         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10442         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10443         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10444         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10446 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10447             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10449         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10450         Add lwarx hint, and use macro for acquire instruction.
10451         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10452         Likewise.
10453         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10454         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10455         update to use new atomic macros.
10457 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10459         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10460         (__lll_trylock_elision): Fix setting of adapt_count.
10461         * sysdeps/unix/sysv/linux/powerpc/htm.h
10462         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10463         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10464         (_ABORT_SYSCALL): Renumber, and clarify definition.
10465         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10467 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10469         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10470         after system headers to prevent MIN/MAX redefinition.  Define
10471         HAVE_ALLOCA to preserve builtin alloca usage.
10473 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10475         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10476         static and don't set or restore rounding.
10477         (__cos)[IN_SINCOS]: Likewise.
10478         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10479         (__sincos): Set and restore rounding mode.  Remove check for infinite
10480         or NaN input.
10482         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10484         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10485         as used.
10487 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10489         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10491 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10493         * config.make.in (have-glob-dat-reloc): New.
10494         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10495         target supports GLOB_DAT relocaton. AC_SUBST.
10496         * configure: Regenerated.
10497         * elf/Makefile (tests): Add tst-prelink.
10498         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10499         (tst-prelink-ENV): New.
10500         ($(objpfx)tst-prelink-conflict.out): Likewise.
10501         ($(objpfx)tst-prelink-cmp.out): Likewise.
10502         * sysdeps/x86/tst-prelink.c: Moved to ...
10503         * elf/tst-prelink.c: Here.
10504         * sysdeps/x86/tst-prelink.exp: Moved to ...
10505         * elf/tst-prelink.exp: Here.
10506         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10507         (tst-prelink-ENV): Removed.
10508         ($(objpfx)tst-prelink-conflict.out): Likewise.
10509         ($(objpfx)tst-prelink-cmp.out): Likewise.
10510         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10512 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10514         [BZ #14551]
10515         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10516         (__mpn_construct_long_double): If high part overflows to infinity,
10517         set errno and recompute overflowed result of the correct sign.
10518         * sysdeps/ieee754/ldbl-128ibm/Makefile
10519         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10520         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10521         $(libm).
10522         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10524 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10526         [BZ #15479]
10527         [BZ #19238]
10528         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10529         floating-point state after first operation on input.  Restore full
10530         state rather than just rounding mode.
10531         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10532         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10533         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10535         [BZ #19235]
10536         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10537         add 0.5 to integer arguments.
10538         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10539         Likewise.
10540         (.LC2): New object.
10542 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10544         * scripts/pylintrc (reports): Set to no.
10546 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10548         * elf/dl-load.c (open_verify): Take new argument FD.
10549         Skip __open call if passed FD is not -1.
10550         (_dl_map_object, open_path): Update callers.
10551         * elf/dl-sysdep-open.h: New file.
10552         * elf/dl-load.c: Include it.
10553         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10554         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10555         * sysdeps/nacl/dl-sysdep-open.h: New file.
10556         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10557         from libc to rtld.
10559 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10561         [BZ #19228]
10562         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10563         and restore full floating-point state.
10564         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10565         Likewise.
10566         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10567         Likewise.
10568         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10569         Likewise.
10570         * math/test-nearbyint-except-2.c: New file.
10571         * math/Makefile (tests): Add test-nearbyint-except-2.
10573 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10575         [BZ #19178]
10576         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10577         (tst-prelink-ENV): New.
10578         ($(objpfx)tst-prelink-conflict.out): Likewise.
10579         ($(objpfx)tst-prelink-cmp.out): Likewise.
10580         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10581         * sysdeps/x86/tst-prelink.c: New file.
10582         * sysdeps/x86/tst-prelink.exp: Likewise.
10584 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10586         * math/auto-libm-test-in: Add another test of pow.
10587         * math/auto-libm-test-out: Regenerated.
10588         * math/libm-test.inc (pow_test_data): Add another test.
10590 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10592         [BZ #19219]
10593         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10594         weak_alias to nearbyintl.
10596 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10598         * sysdeps/aarch64/bits/string.h: New file.
10599         (_STRING_ARCH_unaligned): Define.
10601 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10603         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10604         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10605         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10606         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10609 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10611         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10612         for original name of the DSO.  Add it to the name list of the DSO
10613         if it is actually given.
10614         (_dl_map_object): Keep track of whether an audit module rewrote
10615         the file name.  If yes, pass the original name to
10616         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10617         debugging is enabled, log the change of the file name.
10618         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10619         _dl_map_object_from_fd.
10620         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10621         * elf/tst-audit11.c: New file
10622         * elf/tst-auditmod11.c: New file.
10623         * elf/tst-audit11mod1.c: New file.
10624         * elf/tst-audit11mod2.c: New file.
10625         * elf/tst-audit11mod2.map: New file.
10626         * elf/tst-audit12.c: New file
10627         * elf/tst-auditmod12.c: New file.
10628         * elf/tst-audit12mod1.c: New file.
10629         * elf/tst-audit12mod2.c: New file.
10630         * elf/tst-audit12mod2.map: New file.
10631         * elf/tst-audit12mod3.c: New file.
10633 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10635         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10636         Don't create weak aliases,
10637         because versioned symbols are created later.
10638         * sysdeps/s390/s390-32/setjmp.S
10639         (setjmp, _setjmp): Remove weak and rename to an unique name
10640         in SHARED case due to existing versioned symbols.
10641         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10642         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10643         (getcontext): Create weak alias only in non SHARED case.
10644         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10646 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10648         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10649         (__ASSUME_*_SYSCALL) Define new macros.
10650         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10651         Remove socketcall syscalls.
10652         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10653         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10654         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10655         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10656         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10657         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10659 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10661         [BZ #12926]
10662         Terminate process on invalid netlink response.
10663         * sysdeps/unix/sysv/linux/netlinkaccess.h
10664         (__netlink_assert_response): Declare.
10665         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10666         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10667         (sysdep_routines): Add netlink_assert_response.
10668         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10669         __netlink_assert_response.
10670         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10671         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10672         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10673         __netlink_assert_response.
10675 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10677         [BZ #19178]
10678         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10679         (RTYPE_CLASS_PLT): Likewise.
10680         (RTYPE_CLASS_COPY): Likewise.
10681         (RTYPE_CLASS_TLS): Likewise.
10682         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10683         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10684         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10685         DL_DEBUG_PRELINK.
10687 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10689         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10690         calls with argument -0.5.
10691         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10693         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10694         (libc_cv_z_nodlopen): Likewise.
10695         (libc_cv_z_initfirst): Likewise.
10696         * configure: Regenerated.
10698 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10700         Simplify abilist format to be line-based.
10701         * scripts/abilist.awk: Collect descriptors in the descs variable.
10702         (emit): Write descs variable and sort it
10703         externally, with sort.
10704         * sysdeps/**/*.abilist: Convert to new format.
10706 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10708         [BZ #11460]
10709         * io/Makefile (routines): Add fts64.
10710         (tests): Add tst-fts and tst-fts-lfs.
10711         (CFLAGS-fts64.c): New.
10712         * io/Versions (GLIBC_2.23): New.
10713         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10714         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10715         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10716         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10717         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10718         (FTSENT64): Likewise.
10719         (fts64_children): Likewise.
10720         (fts64_close): Likewise.
10721         (fts64_open): Likewise.
10722         (fts64_read): Likewise.
10723         (fts64_set): Likewise.
10724         * io/fts64.c: New file.
10725         * io/tst-fts.c: New test.
10726         * io/tst-fts-lfs.c: Likewise.
10727         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10728         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10729         fts64_set.
10730         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10731         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10732         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10733         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10734         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10735         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10736         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10737         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10738         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10739         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10740         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10741         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10742         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10744         Likewise.
10745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10746         Likewise.
10747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10749         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10750         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10751         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10752         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10753         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10756         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10757         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10758         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10759         * sysdeps/wordsize-64/fts.c: New file.
10760         * sysdeps/wordsize-64/fts64.c: Likewise.
10761         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10762         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10763         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10764         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10766 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10768         * math/libm-test.inc (NON_FINITE): New macro.
10769         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10770         * math/gen-libm-test.pl (show_exceptions): Add argument
10771         $non_finite.
10772         (parse_args): Update call to show_exceptions.
10773         * math/test-math-finite.h: New file.
10774         * math/test-math-no-finite.h: Likewise.
10775         * math/test-double-finite.c: Likewise.
10776         * math/test-float-finite.c: Likewise.
10777         * math/test-ldouble-finite.c: Likewise.
10778         * math/test-double.c: Include "test-math-no-finite.h".
10779         * math/test-float.c: Include "test-math-no-finite.h".
10780         * math/test-ldouble.c: Include "test-math-no-finite.h".
10781         * math/test-math-inline.h (TEST_FINITE): New macro.
10782         * math/test-math-vector.h (TEST_FINITE): Likewise.
10783         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10784         (libm-tests): Add test-float-finite and test-double-finite.
10785         ($(objpfx)test-float-finite.o): New dependency on
10786         $(objpfx)libm-test.stmp.
10787         ($(objpfx)test-double-finite.o): Likewise.
10788         ($(objpfx)test-ldouble-finite.o): Likewise.
10789         (libm-test-no-inline-cflags): New variable.
10790         (libm-test-finite-cflags): Likewise.
10791         (CFLAGS-test-float-finite.c): Likewise.
10792         (CFLAGS-test-double-finite.c): Likewise.
10793         (CFLAGS-test-ldouble-finite.c): Likewise.
10794         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10795         (CFLAGS-test-double.c): Likewise.
10796         (CFLAGS-test-ldouble.c): Likewise.
10798 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10800         * io/fcntl.c (__fcntl): Add ... to prototype.
10801         * misc/ioctl.c (__ioctl): Likewise.
10802         * misc/syscall.c (syscall): Likewise.
10804 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10806         * scripts/list-fixed-bugs.py: New file.
10808         [BZ #19213]
10809         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10810         returned for argument 1.
10811         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10812         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10813         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10814         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10815         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10816         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10818         [BZ #19211]
10819         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10820         __USE_XOPEN], not if [!__USE_ISOC99].
10821         (lgammaf): Likewise.
10822         (lgammal): Likewise.
10823         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10824         (gammaf): Likewise.
10825         (gammal): Likewise.
10826         * math/test-signgam-finite-c11.c: New file.
10827         * math/test-signgam-finite-c99.c: Likewise.
10828         * math/test-signgam-finite.c: Likewise.
10829         * math/Makefile (tests): Add test-signgam-finite,
10830         test-signgam-finite-c99 and test-signgam-finite-c11.
10831         (CFLAGS-test-signgam-finite.c): New variable.
10832         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10833         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10835         [BZ #19212]
10836         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10837         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10838         500].
10839         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10840         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10841         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10842         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10843         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10844         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10845         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10846         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10847         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10848         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10850         [BZ #19209]
10851         * math/bits/math-finite.h (ldexp): Remove declaration.
10852         (ldexpf): Likewise.
10853         (ldexpl): Likewise.
10855         [BZ #19205]
10856         * math/bits/math-finite.h (acosf): Condition declaration on
10857         [__USE_ISOC99].
10858         (acosl): Likewise.
10859         (acoshf): Likewise.
10860         (acoshl): Likewise.
10861         (asinf): Likewise.
10862         (asinl): Likewise.
10863         (atan2f): Likewise.
10864         (atan2l): Likewise.
10865         (atanhf): Likewise.
10866         (atanhl): Likewise.
10867         (coshf): Likewise.
10868         (coshl): Likewise.
10869         (expf): Likewise.
10870         (expl): Likewise.
10871         (fmodf): Likewise.
10872         (fmodl): Likewise.
10873         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10874         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10875         (j0l): Likewise.
10876         (y0f): Likewise.
10877         (y0l): Likewise.
10878         (j1f): Likewise.
10879         (j1l): Likewise.
10880         (y1f): Likewise.
10881         (y1l): Likewise.
10882         (jnf): Likewise.
10883         (jnl): Likewise.
10884         (ynf): Likewise.
10885         (ynl): Likewise.
10886         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10887         (lgammal_r): Likewise.
10888         (__lgamma_r_finite): New declaration.
10889         (__lgammaf_r_finite): Likewise.
10890         (__lgammal_r_finite): Likewise.
10891         (lgamma): Use __lgamma_r_finite.
10892         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10893         __lgammaf_r_finite.
10894         (lgammal): Condition definition on [__USE_ISOC99].  Use
10895         __lgammal_r_finite.
10896         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10897         __lgamma_r_finite.
10898         (gammaf): Condition definition on [__USE_ISOC99].  Use
10899         __lgammaf_r_finite.
10900         (gammal): Condition definition on [__USE_ISOC99].  Use
10901         __lgammal_r_finite.
10902         (logf): Condition declaration on [__USE_ISOC99].
10903         (logl): Likewise.
10904         (log10f): Likewise.
10905         (log10l): Likewise.
10906         (ldexpf): Likewise.
10907         (ldexpl): Likewise.
10908         (powf): Likewise.
10909         (powl): Likewise.
10910         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10911         __USE_ISOC99].
10912         (remainderf): Condition declaration on [__USE_ISOC99].
10913         (remainderl): Likewise.
10914         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10915         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10916         (scalbl): Likewise.
10917         (sinhf): Condition declaration on [__USE_ISOC99].
10918         (sinhl): Likewise.
10919         (sqrtf): Likewise.
10920         (sqrtl): Likewise.
10922 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10924         * sysdeps/arm/atomic-machine.h
10925         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10926         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10927         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10928         Remove conditional code.
10929         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10930         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10931         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10932         Change conditional to [__ASSEMBLER__].
10933         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10934         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10935         [!__ASSEMBLER__].
10936         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10937         code.
10938         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10939         conditional macro definitions.
10940         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10941         (__arch_compare_and_exchange_val_16_acq): Likewise.
10942         (__arch_compare_and_exchange_val_32_acq): Likewise.
10943         (atomic_exchange_and_add): Likewise.
10944         (atomic_add): Likewise.
10945         (atomic_add_negative): Likewise.
10946         (atomic_add_zero): Likewise.
10947         (atomic_bit_set): Likewise.
10948         (atomic_bit_test_set): Likewise.
10949         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10950         code unconditional.
10951         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10953         * math/test-math-errno.h: New file.
10954         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10955         empty.
10956         (TEST_ERRNO): New macro.
10957         (TEST_EXCEPTIONS): Likewise.
10958         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10959         (TEST_EXCEPTIONS): Likewise.
10960         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10961         * math/test-double.c: Include "test-math-errno.h".
10962         * math/test-float.c: Likewise.
10963         * math/test-ldouble.c: Likewise.
10964         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10965         code unconditional.
10966         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10967         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10968         unconditional.
10969         (test_errno): Only run code if TEST_ERRNO.
10970         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10972 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10974         * nptl/tst-once5.cc: Remove attribution.
10976 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10978         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10979         sqrt, tan, tanh, y0, y1 and yn.
10980         * math/auto-libm-test-out: Regenerated.
10981         * math/libm-test.inc (scalb_test_data): Add more tests.
10982         (scalbn_test_data): Likewise.
10983         (scalbln_test_data): Likewise.
10984         (signbit_test_data): Likewise.
10985         (sin_test_data): Likewise.
10986         (sincos_test_data): Likewise.
10987         (sinh_test_data): Likewise.
10988         (sqrt_test_data): Likewise.
10989         (tan_test_data): Likewise.
10990         (tanh_test_data): Likewise.
10991         (tgamma_test_data): Likewise.
10992         (y0_test_data): Likewise.
10993         (y1_test_data): Likewise.
10994         (yn_test_data): Likewise.
10995         (significand_test_data): Likewise.
10996         * sysdeps/i386/fpu/libm-test-ulps: Update.
10998 2015-11-03  David Kastrup  <dak@gnu.org>
11000         [BZ #18604]
11001         * assert/assert.h (assert): Don't macro-expand failed assertion
11002         expression in error message.
11003         * malloc/malloc.c (assert): Likewise.
11005 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11007         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11008         test.
11009         * configure: Regenerated.
11011 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11013         * math/libm-test.inc (modf_test_data): Add more tests.
11014         (nearbyint_test_data): Likewise.
11015         (nextafter_test_data): Likewise.
11016         (nexttoward_test_data): Likewise.
11017         (pow_test_data): Likewise.
11018         (remainder_test_data): Likewise.
11019         (remquo_test_data): Likewise.
11020         (rint_test_data): Likewise.
11022         [BZ #19201]
11023         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11024         Check for zero remainder in case of large exponents and ensure
11025         correct sign of result in that case.
11026         * math/libm-test.inc (remainder_test_data): Add more tests.
11028         [BZ #6799]
11029         * math/s_nextafter.c: Include <errno.h>.
11030         (__nextafter): Set errno on overflow and underflow.
11031         * math/s_nexttowardf.c: Include <errno.h>.
11032         (__nexttowardf): Set errno on overflow and underflow.
11033         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11034         (__nextafterl): Set errno on overflow and underflow.
11035         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11036         (__nexttoward): Set errno on overflow and underflow.
11037         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11038         (__nexttowardf): Set errno on overflow and underflow.
11039         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11040         (__nextafterf): Set errno on overflow and underflow.
11041         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11042         (__nextafterl): Set errno on overflow and underflow.
11043         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11044         (__nexttoward): Set errno on overflow and underflow.
11045         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11046         (__nexttowardf): Set errno on overflow and underflow.
11047         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11048         (__nextafterl): Set errno on overflow and underflow.
11049         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11050         (__nexttoward): Set errno on overflow and underflow.
11051         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11052         (__nexttowardf): Set errno on overflow and underflow.
11053         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11054         (__nexttoward): Set errno on overflow and underflow.
11055         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11056         (__nexttowardf): Set errno on overflow and underflow.
11057         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11058         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11059         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11060         (__nextafterl): Set errno on overflow and underflow.
11061         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11062         setting to be missing on overflow.  Add more tests.
11063         (nexttoward_test_data): Likewise.
11065         * configure.ac (libc_cv_initfini_array): Remove configure test.
11066         * configure: Regenerated.
11068 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11070         [BZ #19189]
11071         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11072         non-finite argument handle arguments with negative sign.
11074         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11075         result from infinite argument.
11076         (j1_test_data): Likewise.
11077         (jn_test_data): Likewise.
11078         (y0_test_data): Likewise.
11079         (y1_test_data): Likewise.
11080         (yn_test_data): Likewise.
11082         [BZ #16171]
11083         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11084         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11085         * math/w_remainderf.c (dremf): Define as weak alias of
11086         __remainderf.
11087         * math/w_remainderl.c (dreml): Define as weak alias of
11088         __remainderl.
11089         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11090         __remainder.
11091         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11092         __remainderf.
11093         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11094         __remainderl.
11095         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11096         weak alias of remainderl.
11097         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11098         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11099         alias of __remainder.
11100         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11101         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11102         strong alias of __remainderl.
11103         (dreml): Use long_double_symbol.
11104         * math/Makefile (libm-calls): Remove w_drem.
11105         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11106         (CFLAGS-nldbl-drem.c): Remove variable.
11107         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11108         * math/w_drem.c: Remove file.
11109         * math/w_dremf.c: Likewise.
11110         * math/w_dreml.c: Likewise.
11111         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11112         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11113         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11115         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11116         * sysdeps/i386/configure: Regenerated.
11117         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11118         * sysdeps/x86_64/configure: Regenerated.
11120         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11121         test.
11122         (libc_cv_visibility_attribute): Likewise.
11123         (libc_cv_protected_data): Test unconditionally.
11124         (libc_cv_broken_visibility_attribute): Remove configure test.
11125         (libc_cv_have_sdata_section): Test unconditionally.
11126         * configure: Regenerated.
11128         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11129         * include/scratch_buffer.h: Include <stddef.h> instead of
11130         <libc-internal.h>.
11131         (struct scratch_buffer): Use max_align_t instead of
11132         libc_max_align_t.
11134 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11136         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11137         instead of extend_alloca.  Change control flow to avoid a goto.
11138         Remove assert which is trivially always true.
11140 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11142         [BZ #16068]
11143         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11144         (FE_ALL_EXCEPT_X86): New macro.
11145         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11146         FE_ALL_EXCEPT.  Ensure precision control is included in
11147         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11148         handle "denormal operand exception" and clear FZ and DAZ bits.
11149         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11150         (FE_ALL_EXCEPT_X86): New macro.
11151         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11152         FE_ALL_EXCEPT.  Ensure precision control is included in
11153         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11154         handle "denormal operand exception" and clear FZ and DAZ bits.
11155         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11156         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11157         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11158         test-fenv-x87 and test-fenv-sse-2.
11159         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11161         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11162         * math/test-double.h (BUILD_COMPLEX): New macro.
11163         * math/test-float.h (BUILD_COMPLEX): Likewise.
11164         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11166         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11167         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11168         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11170         instead of DBL_DENORM_MIN in comment.
11171         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11172         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11173         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11174         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11175         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11176         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11178 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11180         [BZ# 19048]
11181         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11182         attached_threads member.
11183         (main_arena): Initialize attached_threads.
11184         * malloc/arena.c (list_lock): Update comment.
11185         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11186         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11187         (deattach_arena): New function.
11188         (_int_new_arena): Initialize arena reference count and deattach
11189         replaced arena.
11190         (get_free_list, reused_arena): Update reference count and deattach
11191         replaced arena.
11192         (arena_thread_freeres): Update arena reference count and only put
11193         unreferenced arenas on the free list.
11195 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11197         [BZ #19181]
11198         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11199         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11200         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11201         * math/test-fenv-clear-main.c: New file.
11202         * math/test-fenv-clear.c: Likewise.
11203         * math/Makefile (tests): Add test-fenv-clear.
11204         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11205         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11206         test-fenv-clear-sse.
11207         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11209         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11210         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11211         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11213 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11215         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11216         static libc.
11218 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11220         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11221         test.
11222         * sysdeps/i386/configure: Regenerated.
11223         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11224         test.
11225         * sysdeps/x86_64/configure: Regenerated.
11226         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11228         memset-avx2 unconditionally instead of conditionally on
11229         [$(config-cflags-avx2) = yes].
11230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11231         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11232         unconditional.
11233         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11234         * sysdeps/x86_64/multiarch/memset_chk.S
11235         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11236         to [IS_IN (libc) && SHARED].
11238 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11240         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11241         configure test.
11242         * sysdeps/arm/configure: Regenerated.
11243         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11244         Define variable if not already defined.
11246         [BZ #17404]
11247         * sysdeps/mips/atomic-machine.h
11248         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11249         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11250         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11252         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11253         unconditional.
11254         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11255         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11256         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11257         unconditional.
11258         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11259         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11260         unconditional.
11261         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11262         * stdlib/setenv.c
11263         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11264         code unconditional.
11265         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11266         Remove conditional code.
11267         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11268         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11269         unconditional.
11270         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11271         code.
11272         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11273         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11274         unconditional.
11275         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11276         code.
11277         * sysdeps/ieee754/ldbl-128/k_tanl.c
11278         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11279         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11280         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11281         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11282         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11283         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11284         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11285         unconditional.
11286         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11287         code.
11288         * sysdeps/ieee754/ldbl-96/k_tanl.c
11289         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11290         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11292         * nptl/tst-initializers1-c11.c: New file.
11293         * nptl/tst-initializers1-gnu11.c: Likewise.
11294         * nptl/Makefile (tests): Add these new tests.
11295         (CFLAGS-tst-initializers1-c11.c): New variable.
11296         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11298         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11299         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11300         instead of -std=gnu99.
11301         * configure.ac (systemtap): Test with -std=gnu11 instead of
11302         -std=gnu99.
11303         * configure: Regenerated.
11304         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11305         in compilation command in comment.
11307         * sysdeps/nptl/configure.ac: Remove file.
11308         * sysdeps/nptl/configure: Remove generated file.
11309         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11310         * configure: Regenerated.
11311         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11312         * config.make.in (have-forced-unwind): Remove variable.
11313         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11314         unconditional.
11315         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11316         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11317         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11318         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11319         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11320         unconditional.
11322 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11324         [BZ #19174]
11325         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11326         .skip_lock_out_of_tbegin_retries.
11327         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11328         (__lll_lock_elision): Likewise, and respect a value of
11329         try_tbegin <= 0.
11331 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11333         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11334         statement.
11336 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11338         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11339         variable.
11340         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11341         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11343         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11344         of -std=c1x -D_ISOC11_SOURCE.
11346         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11347         * configure: Regenerated.
11348         * manual/install.texi (Tools for Compilation): Document
11349         requirement for GCC 4.7 or later.
11350         * INSTALL: Regenerated.
11352 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11354         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11355         on CNT to a conditional jump to 'puntdata'.
11357 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11359         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11360         (libc_cv_gcc_tls_model_attr): Likewise.
11361         * configure: Regenerated.
11363         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11364         * configure: Regenerated.
11365         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11367 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11369         * configure.ac (old_glibc_headers): Remove configure test.
11370         * configure: Regenerated.
11371         * config.make.in (old-glibc-headers): Remove variable.
11372         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11373         (install): Remove dependency on remove-old-headers.
11374         (headers2_0): Remove variable.
11375         (remove-old-headers): Remove rule.
11377         * configure.ac (libc_cv_dot_text): Remove configure test.
11378         (libc_cv_asm_set_directive): Use .text instead of
11379         ${libc_cv_dot_text} in configure test.
11380         * configure: Regenerated.
11382 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11384         [BZ #19168]
11385         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11387 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11389         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11390         not support static linking.
11391         * configure: Regenerate.
11393 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11395         * math/libm-test.inc (check_float_internal): Do not special-case
11396         errors up to 0.5 ulp.
11398         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11399         log2.
11400         * math/auto-libm-test-out: Regenerated.
11401         * math/libm-test.inc (MAX_EXP): New macro.
11402         (ilogb_test_data): Add more tests.
11403         (isfinite_test_data): Likewise.
11404         (isgreater_test_data): Likewise.
11405         (isgreaterequal_test_data): Likewise.
11406         (isinf_test_data): Likewise.
11407         (isless_test_data): Likewise.
11408         (islessequal_test_data): Likewise.
11409         (islessgreater_test_data): Likewise.
11410         (isnan_test_data): Likewise.
11411         (isnormal_test_data): Likewise.
11412         (issignaling_test_data): Likewise.
11413         (isunordered_test_data): Likewise.
11414         (j0_test_data): Likewise.
11415         (j1_test_data): Likewise.
11416         (jn_test_data): Likewise.
11417         (lgamma_test_data): Likewise.
11418         (log_test_data): Likewise.
11419         (log10_test_data): Likewise.
11420         (log1p_test_data): Likewise.
11421         (log2_test_data): Likewise.
11422         (logb_test_data): Likewise.
11423         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11425         [BZ #18611]
11426         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11427         avoid excess range and precision on underflow.
11428         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11429         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11430         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11431         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11432         underflow.
11433         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11434         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11435         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11436         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11437         * math/auto-libm-test-in: Do not allow missing errno setting for
11438         tests of j1 and jn.
11439         * math/auto-libm-test-out: Regenerated.
11441 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11443         [BZ #15491]
11444         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11445         floating-point environment instead of clearing all exceptions.
11446         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11447         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11448         merging in "invalid" exceptions from frndint.
11449         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11450         * math/test-nearbyint-except.c: New file.
11451         * math/Makefile (tests): Add test-nearbyint-except.
11453 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11455         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11457         * sysdeps/tile/libm-test-ulps: Regenerated.
11459 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11462         (__NR_sync_file_range2): Assume it is always defined.
11463         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11464         (__NR_sync_file_range): Assume it is always defined.
11466 2015-10-22  Andreas Schwab  <schwab@suse.de>
11468         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11469         INTERNAL_SYSCALL_ERRNO.
11470         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11471         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11472         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11473         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11474         Likewise.
11475         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11477 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11479         * io/tst-fcntl.c (fd): New static variable.
11480         (do_prepare): Open temporary file here....
11481         (do_test): ...not here.
11483         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11485 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11487         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11488         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11489         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11490         Moved before "#ifdef __ASSEMBLER__".
11492 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11494         [BZ #19156]
11495         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11496         arguments very close to 0.
11498 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11500         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11501         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11503 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11505         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11506         New.  Defined for GCC 5 and above when not compiling for
11507         profiling.
11508         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11510         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11511         Renamed to ...
11512         (CFLAGS-epoll_pwait.o): This.
11513         (CFLAGS-mmap.c): Renamed to ...
11514         (CFLAGS-mmap.o): This.
11515         (CFLAGS-mmap64.c): Renamed to ...
11516         (CFLAGS-mmap64.o): This.
11517         (CFLAGS-epoll_pwait.os): New.
11518         (CFLAGS-mmap.os): Likewise.
11519         (CFLAGS-mmap64.os): Likewise.
11520         (CFLAGS-semtimedop.os): Likewise.
11521         (CFLAGS-semtimedop.c): Renamed to ...
11522         (CFLAGS-semtimedop.o): This.
11524 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11526         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11527         warning message.
11529 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11531         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11532         * Makefile ($(objpfx)c++-types-check.out): Filter out
11533         $(+gccwarn-c) instead of -Wstrict-prototypes.
11535         * io/fts.c (fts_open): Convert to prototype-style function
11536         definition.
11537         * malloc/mcheck.c (mcheck): Likewise.
11538         (mcheck_pedantic): Likewise.
11539         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11540         internal_function.
11541         (re_search_internal): Likewise.
11542         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11543         prototype-style function definition.
11544         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11545         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11546         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11547         (xdr_utmpptr): Likewise.
11548         (xdr_utmparr): Likewise.
11549         (xdr_utmpidle): Likewise.
11550         (xdr_utmpidleptr): Likewise.
11551         (xdr_utmpidlearr): Likewise.
11553         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11554         log, log10 and log2.
11555         * math/auto-libm-test-out: Regenerated.
11556         * math/libm-test.inc (fmod_test_data): Add more tests.
11557         (fpclassify_test_data): Likewise.
11558         (frexp_test_data): Likewise.
11559         (hypot_test_data): Likewise.
11560         (ilogb_test_data): Likewise.
11562 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11564         * debug/fortify_fail.c (__fortify_fail): Convert to
11565         prototype-style function definition.  Use internal_function.
11566         * libio/genops.c (save_for_backup): Convert to prototype-style
11567         function definition.
11568         * libio/wgenops.c (save_for_wbackup): Likewise.
11569         * login/grantpt.c (grantpt): Likewise.
11570         * login/ptsname.c (ptsname): Likewise.
11571         (__ptsname_r): Likewise.
11572         * login/unlockpt.c (unlockpt): Likewise.
11573         * mach/msgserver.c (__mach_msg_server): Likewise.
11574         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11575         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11576         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11577         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11578         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11579         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11580         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11581         Likewise.
11582         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11583         internal_function.
11584         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11585         prototype-style function definition.
11586         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11587         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11588         (__pthread_create_2_0): Likewise.
11589         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11590         * nptl/register-atfork.c (__register_atfork): Likewise.
11591         * posix/glob.c (glob): Likewise.
11592         * posix/regcomp.c (re_comp): Likewise.
11593         * posix/regexec.c (re_exec): Likewise.
11594         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11595         [!__STDC__]: Remove conditional code.
11596         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11597         [!__STDC__]: Remove conditional code.
11598         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11599         [!__STDC__]: Remove conditional code.
11600         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11601         [!__STDC__]: Remove conditional code.
11602         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11603         [!__STDC__]: Remove conditional code.
11604         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11605         [!__STDC__]: Remove conditional code.
11606         * stdlib/mul.c [__STDC__]: Make code unconditional.
11607         [!__STDC__]: Remove conditional code.
11608         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11609         [!__STDC__]: Remove conditional code.
11610         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11611         [!__STDC__]: Remove conditional code.
11612         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11613         function definition.
11614         (STRTOF): Likewise.
11615         * stdlib/strtod_l.c (__STRTOF): Likewise.
11616         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11617         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11618         (__strtol_l): Likewise.
11619         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11620         [!__STDC__]: Remove conditional code.
11621         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11622         definition.
11623         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11624         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11625         type.
11626         (__strcasecmp): Convert to prototype-style function definition.
11627         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11628         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11629         type.
11630         (__strncasecmp): Convert to prototype-style function definition.
11631         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11632         * sunrpc/xdr.c (xdr_union): Likewise.
11633         * sunrpc/xdr_array.c (xdr_array): Likewise.
11634         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11635         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11636         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11637         Likewise.
11638         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11639         Likewise.
11640         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11641         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11642         Likewise.
11643         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11644         (LOCALE_PARAM_PROTO): Likewise.
11645         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11646         argument type.
11647         (ut_argument_spec): Remove macro.
11648         (ut_argument_spec_iso): Rename to ut_argument_spec.
11649         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11650         prototype-style function definition.
11651         (memcpy_uppcase): Likewise.
11652         (__strftime_internal): Likewise.
11653         (my_strftime): Likewise.
11654         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11655         (LOCALE_PARAM_DECL): Likewise.
11656         [_LIBC] (LOCALE_PARAM): Include argument type.
11657         (__strptime_internal): Convert to prototype-style function
11658         definition.
11659         (strptime): Likewise.
11660         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11661         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11662         type.
11663         (__wcscasecmp): Convert to prototype-style function definition.
11664         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11665         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11666         type.
11667         (__wcsncasecmp): Convert to prototype-style function definition.
11669         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11670         function definition.
11671         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11672         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11673         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11674         * elf/dl-minimal.c (_itoa): Likewise.
11675         * hurd/hurdmalloc.c (malloc): Likewise.
11676         (free): Likewise.
11677         (realloc): Likewise.
11678         * inet/inet6_option.c (inet6_option_space): Likewise.
11679         (inet6_option_init): Likewise.
11680         (inet6_option_append): Likewise.
11681         (inet6_option_alloc): Likewise.
11682         (inet6_option_next): Likewise.
11683         (inet6_option_find): Likewise.
11684         * io/ftw.c (FTW_NAME): Likewise.
11685         (NFTW_NAME): Likewise.
11686         (NFTW_NEW_NAME): Likewise.
11687         (NFTW_OLD_NAME): Likewise.
11688         * libio/iofwide.c (_IO_fwide): Likewise.
11689         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11690         (_IO_str_init_static): Likewise.
11691         (_IO_str_init_readonly): Likewise.
11692         (_IO_str_overflow): Likewise.
11693         (_IO_str_underflow): Likewise.
11694         (_IO_str_count): Likewise.
11695         (_IO_str_seekoff): Likewise.
11696         (_IO_str_pbackfail): Likewise.
11697         (_IO_str_finish): Likewise.
11698         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11699         (_IO_wstr_overflow): Likewise.
11700         (_IO_wstr_underflow): Likewise.
11701         (_IO_wstr_count): Likewise.
11702         (_IO_wstr_seekoff): Likewise.
11703         (_IO_wstr_pbackfail): Likewise.
11704         (_IO_wstr_finish): Likewise.
11705         * locale/programs/localedef.c (normalize_codeset): Likewise.
11706         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11707         (add_locales_to_archive): Likewise.
11708         (delete_locales_from_archive): Likewise.
11709         * malloc/malloc.c (__libc_mallinfo): Likewise.
11710         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11711         * misc/tsearch.c (__tfind): Likewise.
11712         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11713         * nptl/pthread_attr_getdetachstate.c
11714         (__pthread_attr_getdetachstate): Likewise.
11715         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11716         Likewise.
11717         * nptl/pthread_attr_getinheritsched.c
11718         (__pthread_attr_getinheritsched): Likewise.
11719         * nptl/pthread_attr_getschedparam.c
11720         (__pthread_attr_getschedparam): Likewise.
11721         * nptl/pthread_attr_getschedpolicy.c
11722         (__pthread_attr_getschedpolicy): Likewise.
11723         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11724         Likewise.
11725         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11726         Likewise.
11727         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11728         Likewise.
11729         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11730         Likewise.
11731         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11732         (__pthread_attr_init_2_0): Likewise.
11733         * nptl/pthread_attr_setdetachstate.c
11734         (__pthread_attr_setdetachstate): Likewise.
11735         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11736         Likewise.
11737         * nptl/pthread_attr_setinheritsched.c
11738         (__pthread_attr_setinheritsched): Likewise.
11739         * nptl/pthread_attr_setschedparam.c
11740         (__pthread_attr_setschedparam): Likewise.
11741         * nptl/pthread_attr_setschedpolicy.c
11742         (__pthread_attr_setschedpolicy): Likewise.
11743         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11744         Likewise.
11745         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11746         Likewise.
11747         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11748         Likewise.
11749         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11750         Likewise.
11751         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11752         Likewise.
11753         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11754         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11755         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11756         use internal_function.
11757         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11758         prototype-style function definition.
11759         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11760         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11761         internal_function.
11762         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11763         Convert to prototype-style function definition.
11764         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11765         Likewise.
11766         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11767         Likewise.
11768         (__pthread_mutex_unlock): Likewise.
11769         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11770         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11771         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11772         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11773         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11774         * nss/makedb.c (process_input): Likewise.
11775         * posix/fnmatch.c (__strchrnul): Likewise.
11776         (__wcschrnul): Likewise.
11777         (fnmatch): Likewise.
11778         * posix/fnmatch_loop.c (FCT): Likewise.
11779         * posix/glob.c (globfree): Likewise.
11780         (__glob_pattern_type): Likewise.
11781         (__glob_pattern_p): Likewise.
11782         * posix/regcomp.c (re_compile_pattern): Likewise.
11783         (re_set_syntax): Likewise.
11784         (re_compile_fastmap): Likewise.
11785         (regcomp): Likewise.
11786         (regerror): Likewise.
11787         (regfree): Likewise.
11788         * posix/regexec.c (regexec): Likewise.
11789         (re_match): Likewise.
11790         (re_search): Likewise.
11791         (re_match_2): Likewise.
11792         (re_search_2): Likewise.
11793         (re_search_stub): Likewise.  Use internal_function
11794         (re_copy_regs): Likewise.
11795         (re_set_registers): Convert to prototype-style function
11796         definition.
11797         (prune_impossible_nodes): Likewise.  Use internal_function.
11798         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11799         prototype-style function definition.
11800         (inet_net_pton_ipv4): Likewise.
11801         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11802         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11803         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11804         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11805         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11806         Make variadic.
11807         * time/strptime_l.c (localtime_r): Convert to prototype-style
11808         function definition.
11809         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11810         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11811         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11812         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11814         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11815         definition.
11816         (_ufc_doit_r): Likewise.
11817         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11818         (_ufc_output_conversion_r): Likewise.
11819         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11820         * inet/rcmd.c (rcmd_af): Likewise.
11821         (rcmd): Likewise.
11822         (ruserok_af): Likewise.
11823         (ruserok): Likewise.
11824         (ruserok2_sa): Likewise.
11825         (ruserok_sa): Likewise.
11826         (iruserok_af): Likewise.
11827         (iruserok): Likewise.
11828         (__ivaliduser): Likewise.
11829         (__validuser2_sa): Likewise.
11830         * inet/rexec.c (rexec_af): Likewise.
11831         (rexec): Likewise.
11832         * inet/ruserpass.c (ruserpass): Likewise.
11833         * locale/programs/xmalloc.c (xcalloc): Likewise.
11834         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11835         * math/w_drem.c (__drem): Likewise.
11836         * math/w_dremf.c (__dremf): Likewise.
11837         * math/w_dreml.c (__dreml): Likewise.
11838         * misc/daemon.c (daemon): Likewise.
11839         * resolv/res_debug.c (p_fqnname): Likewise.
11840         * stdlib/div.c (div): Likewise.
11841         * string/memcmp.c (memcmp_bytes): Likewise.
11842         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11843         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11845         * crypt/cert.c (main): Convert to prototype-style function
11846         definition.
11847         * io/pipe.c (__pipe): Likewise.
11848         * io/pipe2.c (__pipe2): Likewise.
11849         * misc/futimesat.c (futimesat): Likewise.
11850         * misc/utimes.c (__utimes): Likewise.
11851         * posix/execve.c (__execve): Likewise.
11852         * posix/execvp.c (execvp): Likewise.
11853         * posix/execvpe.c (__execvpe): Likewise.
11854         * posix/fexecve.c (fexecve): Likewise.
11855         * socket/socketpair.c (socketpair): Likewise.
11856         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11857         * stdlib/erand48.c (erand48): Likewise.
11858         * stdlib/erand48_r.c (__erand48_r): Likewise.
11859         * stdlib/jrand48.c (jrand48): Likewise.
11860         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11861         * stdlib/lcong48.c (lcong48): Likewise.
11862         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11863         * stdlib/nrand48.c (nrand48): Likewise.
11864         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11865         * stdlib/seed48.c (seed48): Likewise.
11866         * stdlib/seed48_r.c (__seed48_r): Likewise.
11867         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11868         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11869         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11871 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11873         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11874         * configure: Regenerated.
11875         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11876         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11877         unconditional.
11878         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11879         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11880         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11881         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11882         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11883         unconditional.
11884         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11886         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11887         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11889         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11890         function definition.
11891         * crypt/crypt_util.c (__encrypt_r): Likewise.
11892         * libio/genops.c (_IO_no_init): Likewise.
11893         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11894         (_IO_old_fopencookie): Likewise.
11895         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11896         * libio/iogetline.c (_IO_getline): Likewise.
11897         (_IO_getline_info): Likewise.
11898         * libio/iogetwline.c (_IO_getwline): Likewise.
11899         (_IO_getwline_info): Likewise.
11900         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11901         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11902         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11903         (find_entry): Likewise.
11904         (iterate_table): Likewise.
11905         (lookup): Likewise.
11906         * login/forkpty.c (forkpty): Likewise.
11907         * misc/hsearch_r.c (__hsearch_r): Likewise.
11908         * misc/select.c (__select): Likewise.
11909         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11910         Likewise.
11911         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11912         Likewise.
11913         * nptl/old_pthread_cond_timedwait.c
11914         (__pthread_cond_timedwait_2_0): Likewise.
11915         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11916         * nptl/pthread_barrierattr_getpshared.c
11917         (pthread_barrierattr_getpshared): Likewise.
11918         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11919         Likewise.
11920         * nptl/pthread_mutex_setprioceiling.c
11921         (pthread_mutex_setprioceiling): Likewise.
11922         * nptl/pthread_mutexattr_getprioceiling.c
11923         (pthread_mutexattr_getprioceiling): Likewise.
11924         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11925         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11926         Likewise.
11927         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11928         Likewise.
11929         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11930         Likewise.
11931         * socket/recvfrom.c (__recvfrom): Likewise.
11932         * socket/sendto.c (__sendto): Likewise.
11933         * socket/setsockopt.c (__setsockopt): Likewise.
11934         * stdio-common/_itoa.c (_itoa): Likewise.
11935         * stdio-common/_itowa.c (_itowa): Likewise.
11936         * stdio-common/reg-printf.c (__register_printf_specifier):
11937         Likewise.
11938         (__register_printf_function): Likewise.
11939         * stdio-common/tempname.c (__path_search): Likewise.
11940         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11941         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11942         * stdlib/random_r.c (__initstate_r): Likewise.
11943         * stdlib/setenv.c (__add_to_environ): Likewise.
11944         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11945         * streams/getpmsg.c (getpmsg): Likewise.
11946         * streams/putmsg.c (putmsg): Likewise.
11947         * streams/putpmsg.c (putpmsg): Likewise.
11948         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11949         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11950         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11951         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11952         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11953         * sunrpc/svc_udp.c (cache_get): Likewise.
11954         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11955         * sysdeps/mach/hurd/getcwd.c
11956         (__canonicalize_directory_name_internal): Likewise.
11957         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11958         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11959         * sysdeps/mach/hurd/select.c (__select): Likewise.
11960         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11961         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11962         * sysdeps/sparc/nptl/pthread_barrier_init.c
11963         (__pthread_barrier_init): Likewise.
11964         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11965         (__pthread_cond_timedwait): Likewise.
11966         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11967         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11968         Likewise.
11969         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11970         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11971         Likewise.
11972         * sysvipc/semtimedop.c (semtimedop): Likewise.
11973         * time/setitimer.c (__setitimer): Likewise.
11974         * time/strftime_l.c (emacs_strftime): Likewise.
11976 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11978         * config.make.in (have-ssp): Delete.
11979         (stack-protector): New variable.
11980         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11981         cache test for -fstack-protector-strong.  Export stack_protector to
11982         the best ssp flag.
11983         * configure: Regenerated.
11984         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11985         * nscd/Makefile (CFLAGS-nscd): Likewise.
11986         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11988 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11990         [BZ #19122]
11991         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11992         attribute_hidden.
11994 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11996         [BZ #18743]
11997         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11998         code to...
11999         (ELIDE_LOCK): ...here.
12000         (__get_new_count): New function with part of the code from
12001         __elide_lock that updates the value of adapt_count after a
12002         transaction abort.
12003         (__elided_trylock): Moved this code to...
12004         (ELIDE_TRYLOCK): ...here.
12006 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12008         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12009         * configure: Regenerate.
12010         * INSTALL: Regenerate.
12011         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12012         and tweak grammar.
12014 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12016         * login/programs/pt_chown.c: Include signal.h
12017         (main): Clear any signal mask from the parent process.
12019 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12021         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12022         * configure: Regenerated.
12023         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12024         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12025         $(gnu89-inline-CFLAGS).
12027         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12028         test.
12029         (libc_cv_asm_weakext_directive): Likewise.
12030         * configure: Regenerated.
12031         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12032         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12033         * include/libc-symbols.h
12034         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12035         #error.
12036         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12037         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12039         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12040         prototype-style function definition.
12041         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12042         * sysdeps/i386/ffs.c (__ffs): Likewise.
12043         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12044         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12045         Likewise.
12046         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12047         Likewise.
12048         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12049         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12050         Likewise.
12051         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12052         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12053         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12054         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12055         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12056         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12057         * sysdeps/mach/hurd/access.c (__access): Likewise.
12058         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12059         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12060         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12061         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12062         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12063         (cthread_getspecific): Likewise.
12064         (cthread_setspecific): Likewise.
12065         (__libc_getspecific): Likewise.
12066         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12067         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12068         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12069         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12070         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12071         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12072         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12073         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12074         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12075         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12076         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12077         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12078         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12079         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12080         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12081         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12082         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12083         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12084         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12085         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12086         * sysdeps/mach/hurd/link.c (__link): Likewise.
12087         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12088         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12089         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12090         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12091         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12092         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12093         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12094         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12095         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12096         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12097         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12098         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12099         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12100         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12101         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12102         * sysdeps/mach/hurd/send.c (__send): Likewise.
12103         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12104         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12105         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12106         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12107         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12108         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12109         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12110         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12111         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12112         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12113         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12114         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12115         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12116         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12117         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12118         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12119         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12120         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12121         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12122         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12123         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12124         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12125         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12126         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12127         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12128         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12129         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12130         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12131         * sysdeps/posix/alarm.c (alarm): Likewise.
12132         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12133         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12134         * sysdeps/posix/dup.c (__dup): Likewise.
12135         * sysdeps/posix/dup2.c (__dup2): Likewise.
12136         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12137         (main): Likewise.
12138         * sysdeps/posix/flock.c (__flock): Likewise.
12139         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12140         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12141         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12142         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12143         * sysdeps/posix/isatty.c (__isatty): Likewise.
12144         * sysdeps/posix/killpg.c (killpg): Likewise.
12145         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12146         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12147         * sysdeps/posix/raise.c (raise): Likewise.
12148         * sysdeps/posix/remove.c (remove): Likewise.
12149         * sysdeps/posix/rename.c (rename): Likewise.
12150         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12151         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12152         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12153         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12154         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12155         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12156         * sysdeps/posix/sigset.c (sigset): Likewise.
12157         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12158         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12159         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12160         * sysdeps/posix/time.c (time): Likewise.
12161         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12162         (ttyname): Likewise.
12163         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12164         * sysdeps/posix/utime.c (utime): Likewise.
12165         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12166         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12167         Likewise.
12168         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12169         (pthread_spin_trylock): Likewise.
12170         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12171         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12172         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12173         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12174         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12175         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12176         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12177         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12178         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12179         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12180         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12181         * sysdeps/s390/ffs.c (__ffs): Likewise.
12182         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12183         Likewise.
12184         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12185         Likewise.
12186         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12187         Likewise.
12188         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12189         (pthread_barrier_destroy): Likewise.
12190         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12191         (__pthread_barrier_wait): Likewise.
12192         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12193         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12194         (__pthread_barrier_wait): Likewise.
12195         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12196         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12197         (memcmp_not_common_alignment): Likewise.
12198         (MEMCMP): Likewise.
12199         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12200         (_wordcopy_fwd_dest_aligned): Likewise.
12201         (_wordcopy_bwd_aligned): Likewise.
12202         (_wordcopy_bwd_dest_aligned): Likewise.
12203         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12204         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12205         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12206         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12207         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12208         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12209         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12210         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12211         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12212         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12213         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12214         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12215         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12216         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12217         * sysdeps/unix/stime.c (stime): Likewise.
12218         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12219         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12220         Likewise.  Use internal_function.
12221         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12222         Convert to prototype-style function definition.
12223         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12224         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12225         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12226         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12227         Likewise.  Use internal_function.
12228         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12229         prototype-style function definition
12230         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12231         Likewise.
12232         (__getlogin_r): Likewise.
12233         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12234         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12235         (__pthread_cond_broadcast): Likewise.
12236         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12237         (__pthread_cond_destroy): Likewise.
12238         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12239         (__pthread_cond_init): Likewise.
12240         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12241         (__pthread_cond_signal): Likewise.
12242         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12243         (__pthread_cond_wait): Likewise.
12244         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12245         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12246         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12247         Likewise.
12248         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12249         Likewise.
12250         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12251         Likewise.
12252         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12253         Likewise.
12254         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12256         (__ftruncate64): Likewise.
12257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12258         (truncate64): Likewise.
12259         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12260         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12261         (pthread_getcpuclockid): Likewise.
12262         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12263         Likewise.
12264         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12265         Likewise.
12266         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12267         Likewise.
12268         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12269         Likewise.
12270         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12271         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12272         (__libc_sigaction): Likewise.
12273         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12274         Likewise.
12275         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12276         (__sigprocmask): Likewise.
12277         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12278         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12279         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12280         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12281         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12282         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12283         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12284         Likewise.
12285         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12286         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12287         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12288         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12289         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12290         Likewise.
12291         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12292         (__sigprocmask): Likewise.
12293         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12294         (cfgetispeed): Likewise.
12295         (cfsetospeed): Likewise.
12296         (cfsetispeed): Likewise.
12297         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12298         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12299         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12300         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12301         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12302         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12303         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12304         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12305         Likewise.
12306         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12307         Likewise.
12308         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12309         Likewise.
12310         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12311         Likewise.
12312         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12314 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12316         sunrpc: Rewrite with explicit TLS access using __thread.
12317         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12318         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12319         directly.
12320         (__rpc_thread_variables): Access thread_rpc_vars directly.
12321         Eliminate redundant assignment of the tvp variable.
12323 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12325         malloc: Rewrite with explicit TLS access using __thread.
12326         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12327         (tsd_setspecific, tsd_getspecific): Remove.
12328         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12329         (tsd_setspecific, tsd_getspecific): Likewise.
12330         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12331         (tsd_setspecific, tsd_getspecific): Likewise.
12332         * malloc/arena.c (thread_arena): New TLS variable.
12333         (arena_key): Remove variable.
12334         (arena_get): Use thread_arena.
12335         (arena_lookup): Remove macro.
12336         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12337         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12338         (_int_new_arena, get_free_list, reused_arena)
12339         (arena_thread_freeres): Use thread_arena.
12340         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12341         tsd_getspecific, tsd_setspecific from safety annotations.
12342         (Allocating Cleared Space): Remove arena_lookup from safety
12343         annotations.
12345 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12347         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12348         struct scratch_buffer instead of extend_alloca.
12350 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12352         * sysdeps/unix/sysv/linux/kernel-features.h
12353         (__ASSUME_SOCK_CLOEXEC): Remove.
12354         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12355         (__have_paccept): Remove unused macro.
12356         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12357         * misc/syslog.c (openlog_internal): Remove fallback code for
12358         !__ASSUME_SOCK_CLOEXEC.
12359         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12360         missing SOCK_CLOEXEC.
12361         * nscd/connections.c (have_sock_cloexec): Remove definition.
12362         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12363         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12364         !__ASSUME_SOCK_CLOEXEC.
12365         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12366         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12367         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12368         definition.
12369         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12370         code for !__ASSUME_SOCK_CLOEXEC.
12372 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12374         [BZ #18982]
12375         * manual/stdio.texi (Variable Arguments Output): Add portability
12376         note, explaining that vfprintf clobbers the va_list pointer.
12378 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12380         * math/libm-test.inc (fabs_test_data): Add more tests.
12381         (fdim_test_data): Likewise.
12382         (fma_test_data): Likewise.
12383         (fmax_test_data): Likewise.
12384         (fmin_test_data): Likewise.
12385         (fmod_test_data): Likewise.
12387 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12389         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12390         data.
12392 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12394         * math/libm-test.inc (ceil_test_data): Add more tests and more
12395         expectations for "inexact".
12396         (floor_test_data): Add more tests.
12397         (round_test_data): Likewise.
12398         (trunc_test_data): Likewise.
12400         * crypt/cert.c (good_bye): Convert to prototype-style function
12401         definition.
12402         (get8): Likewise.
12403         (put8): Likewise.
12404         * crypt/crypt-entry.c (crypt): Likewise.
12405         (__fcrypt): Likewise.
12406         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12407         (_ufc_set_bits): Likewise.
12408         (_ufc_clearmem): Likewise.
12409         (__init_des_r): Likewise.
12410         (shuffle_sb): Likewise.
12411         (shuffle_sb): Likewise.
12412         (_ufc_setup_salt_r): Likewise.
12413         (_ufc_mk_keytab_r): Likewise.
12414         (_ufc_dofinalperm_r): Likewise.
12415         (encrypt): Likewise.
12416         (__setkey_r): Likewise.
12417         (setkey): Likewise.
12418         * crypt/md5.c (md5_init_ctx): Likewise.
12419         (md5_read_ctx): Likewise.
12420         (md5_finish_ctx): Likewise.
12421         (md5_stream): Likewise.
12422         (md5_buffer): Likewise.
12423         (md5_process_bytes): Likewise.
12424         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12425         (__sha256_finish_ctx): Likewise.
12426         (__sha256_process_bytes): Likewise.
12427         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12428         (__sha512_finish_ctx): Likewise.
12429         (__sha512_process_bytes): Likewise.
12430         * ctype/isctype.c (__isctype): Likewise.
12431         * debug/backtrace.c (__backtrace): Likewise.
12432         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12433         * debug/fgets_chk.c (__fgets_chk): Likewise.
12434         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12435         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12436         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12437         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12438         * debug/memset_chk.c (__memset_chk): Likewise.
12439         * debug/strcat_chk.c (__strcat_chk): Likewise.
12440         * debug/strncat_chk.c (__strncat_chk): Likewise.
12441         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12442         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12443         * dirent/dirfd.c (dirfd): Likewise.
12444         * dirent/getdents.c (__getdirentries): Likewise.
12445         * dirent/getdents64.c (getdirentries64): Likewise.
12446         * dirent/rewinddir.c (__rewinddir): Likewise.
12447         * dirent/seekdir.c (seekdir): Likewise.
12448         * dirent/telldir.c (telldir): Likewise.
12449         * elf/sln.c (makesymlinks): Likewise.
12450         (makesymlink): Likewise.
12451         * gmon/gmon.c (__moncontrol): Likewise.
12452         (__monstartup): Likewise.
12453         (write_hist): Likewise.
12454         (write_call_graph): Likewise.
12455         (write_bb_counts): Likewise.
12456         * grp/setgroups.c (setgroups): Likewise.
12457         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12458         * inet/inet_net.c (inet_network): Likewise.
12459         * inet/inet_netof.c (inet_netof): Likewise.
12460         * inet/rcmd.c (rresvport_af): Likewise.
12461         (rresvport): Likewise.
12462         * io/access.c (__access): Likewise.
12463         * io/chdir.c (__chdir): Likewise.
12464         * io/chmod.c (__chmod): Likewise.
12465         * io/chown.c (__chown): Likewise.
12466         * io/close.c (__close): Likewise.
12467         * io/creat.c (creat): Likewise.
12468         * io/creat64.c (creat64): Likewise.
12469         * io/dup.c (__dup): Likewise.
12470         * io/dup2.c (__dup2): Likewise.
12471         * io/dup3.c (__dup3): Likewise.
12472         * io/euidaccess.c (__euidaccess): Likewise.
12473         * io/faccessat.c (faccessat): Likewise.
12474         * io/fchmod.c (__fchmod): Likewise.
12475         * io/fchmodat.c (fchmodat): Likewise.
12476         * io/fchown.c (__fchown): Likewise.
12477         * io/fchownat.c (fchownat): Likewise.
12478         * io/fcntl.c (__fcntl): Likewise.
12479         * io/flock.c (__flock): Likewise.
12480         * io/fts.c (fts_load): Likewise.
12481         (fts_close): Likewise.
12482         (fts_read): Likewise.
12483         (fts_set): Likewise.
12484         (fts_children): Likewise.
12485         (fts_build): Likewise.
12486         (fts_stat): Likewise.
12487         (fts_sort): Likewise.
12488         (fts_alloc): Likewise.
12489         (fts_lfree): Likewise.
12490         (fts_palloc): Likewise.
12491         (fts_padjust): Likewise.
12492         (fts_maxarglen): Likewise.
12493         (fts_safe_changedir): Likewise.
12494         * io/getwd.c (getwd): Likewise.
12495         * io/isatty.c (__isatty): Likewise.
12496         * io/lchown.c (__lchown): Likewise.
12497         * io/link.c (__link): Likewise.
12498         * io/linkat.c (linkat): Likewise.
12499         * io/lseek.c (__libc_lseek): Likewise.
12500         * io/mkdir.c (__mkdir): Likewise.
12501         * io/mkdirat.c (mkdirat): Likewise.
12502         * io/mkfifo.c (mkfifo): Likewise.
12503         * io/mkfifoat.c (mkfifoat): Likewise.
12504         * io/open.c (__libc_open): Likewise.
12505         * io/open64.c (__libc_open64): Likewise.
12506         * io/readlink.c (__readlink): Likewise.
12507         * io/readlinkat.c (readlinkat): Likewise.
12508         * io/rmdir.c (__rmdir): Likewise.
12509         * io/symlink.c (__symlink): Likewise.
12510         * io/symlinkat.c (symlinkat): Likewise.
12511         * io/ttyname.c (ttyname): Likewise.
12512         * io/ttyname_r.c (__ttyname_r): Likewise.
12513         * io/umask.c (__umask): Likewise.
12514         * io/unlink.c (__unlink): Likewise.
12515         * io/unlinkat.c (unlinkat): Likewise.
12516         * io/utime.c (utime): Likewise.
12517         * libio/clearerr.c (clearerr): Likewise.
12518         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12519         * libio/feof.c (_IO_feof): Likewise.
12520         * libio/feof_u.c (feof_unlocked): Likewise.
12521         * libio/ferror.c (_IO_ferror): Likewise.
12522         * libio/ferror_u.c (ferror_unlocked): Likewise.
12523         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12524         * libio/fileno.c (__fileno): Likewise.
12525         * libio/fputc.c (fputc): Likewise.
12526         * libio/fputc_u.c (fputc_unlocked): Likewise.
12527         * libio/fputwc.c (fputwc): Likewise.
12528         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12529         * libio/freopen.c (freopen): Likewise.
12530         * libio/freopen64.c (freopen64): Likewise.
12531         * libio/fseek.c (fseek): Likewise.
12532         * libio/fseeko.c (fseeko): Likewise.
12533         * libio/fseeko64.c (fseeko64): Likewise.
12534         * libio/ftello.c (__ftello): Likewise.
12535         * libio/ftello64.c (ftello64): Likewise.
12536         * libio/fwide.c (fwide): Likewise.
12537         * libio/genops.c (_IO_un_link): Likewise.
12538         (_IO_link_in): Likewise.
12539         (_IO_least_marker): Likewise.
12540         (_IO_switch_to_main_get_area): Likewise.
12541         (_IO_switch_to_backup_area): Likewise.
12542         (_IO_switch_to_get_mode): Likewise.
12543         (_IO_free_backup_area): Likewise.
12544         (_IO_switch_to_put_mode): Likewise.
12545         (__overflow): Likewise.
12546         (__underflow): Likewise.
12547         (__uflow): Likewise.
12548         (_IO_setb): Likewise.
12549         (_IO_doallocbuf): Likewise.
12550         (_IO_default_underflow): Likewise.
12551         (_IO_default_uflow): Likewise.
12552         (_IO_default_xsputn): Likewise.
12553         (_IO_sgetn): Likewise.
12554         (_IO_default_xsgetn): Likewise.
12555         (_IO_sync): Likewise.
12556         (_IO_default_setbuf): Likewise.
12557         (_IO_default_seekpos): Likewise.
12558         (_IO_default_doallocate): Likewise.
12559         (_IO_init): Likewise.
12560         (_IO_old_init): Likewise.
12561         (_IO_default_sync): Likewise.
12562         (_IO_default_finish): Likewise.
12563         (_IO_default_seekoff): Likewise.
12564         (_IO_sputbackc): Likewise.
12565         (_IO_sungetc): Likewise.
12566         (_IO_set_column): Likewise.
12567         (_IO_set_column): Likewise.
12568         (_IO_adjust_column): Likewise.
12569         (_IO_get_column): Likewise.
12570         (_IO_init_marker): Likewise.
12571         (_IO_remove_marker): Likewise.
12572         (_IO_marker_difference): Likewise.
12573         (_IO_marker_delta): Likewise.
12574         (_IO_seekmark): Likewise.
12575         (_IO_unsave_markers): Likewise.
12576         (_IO_nobackup_pbackfail): Likewise.
12577         (_IO_default_pbackfail): Likewise.
12578         (_IO_default_seek): Likewise.
12579         (_IO_default_stat): Likewise.
12580         (_IO_default_read): Likewise.
12581         (_IO_default_write): Likewise.
12582         (_IO_default_showmanyc): Likewise.
12583         (_IO_default_imbue): Likewise.
12584         (_IO_iter_next): Likewise.
12585         (_IO_iter_file): Likewise.
12586         * libio/getc.c (_IO_getc): Likewise.
12587         * libio/getwc.c (_IO_getwc): Likewise.
12588         * libio/iofclose.c (_IO_new_fclose): Likewise.
12589         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12590         * libio/iofflush.c (_IO_fflush): Likewise.
12591         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12592         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12593         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12594         * libio/iofgets.c (_IO_fgets): Likewise.
12595         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12596         * libio/iofgetws.c (fgetws): Likewise.
12597         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12598         * libio/iofopen64.c (_IO_fopen64): Likewise.
12599         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12600         (_IO_cookie_write): Likewise.
12601         (_IO_cookie_seek): Likewise.
12602         (_IO_cookie_close): Likewise.
12603         (_IO_cookie_seekoff): Likewise.
12604         (_IO_old_cookie_seek): Likewise.
12605         * libio/iofputs.c (_IO_fputs): Likewise.
12606         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12607         * libio/iofputws.c (fputws): Likewise.
12608         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12609         * libio/iofread.c (_IO_fread): Likewise.
12610         * libio/iofread_u.c (__fread_unlocked): Likewise.
12611         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12612         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12613         * libio/ioftell.c (_IO_ftell): Likewise.
12614         * libio/iofwrite.c (_IO_fwrite): Likewise.
12615         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12616         * libio/iogets.c (_IO_gets): Likewise.
12617         * libio/iopadn.c (_IO_padn): Likewise.
12618         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12619         (_IO_new_popen): Likewise.
12620         (_IO_new_proc_close): Likewise.
12621         * libio/ioputs.c (_IO_puts): Likewise.
12622         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12623         (_IO_seekoff): Likewise.
12624         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12625         (_IO_seekpos): Likewise.
12626         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12627         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12628         * libio/ioungetc.c (_IO_ungetc): Likewise.
12629         * libio/ioungetwc.c (ungetwc): Likewise.
12630         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12631         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12632         * libio/iowpadn.c (_IO_wpadn): Likewise.
12633         * libio/libc_fatal.c (__libc_fatal): Likewise.
12634         * libio/memstream.c (__open_memstream): Likewise.
12635         (_IO_mem_sync): Likewise.
12636         (_IO_mem_finish): Likewise.
12637         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12638         (_IO_old_file_close_it): Likewise.
12639         (_IO_old_file_finish): Likewise.
12640         (_IO_old_file_fopen): Likewise.
12641         (_IO_old_file_attach): Likewise.
12642         (_IO_old_file_setbuf): Likewise.
12643         (_IO_old_do_write): Likewise.
12644         (old_do_write): Likewise.
12645         (_IO_old_file_underflow): Likewise.
12646         (_IO_old_file_overflow): Likewise.
12647         (_IO_old_file_sync): Likewise.
12648         (_IO_old_file_seekoff): Likewise.
12649         (_IO_old_file_write): Likewise.
12650         (_IO_old_file_xsputn): Likewise.
12651         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12652         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12653         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12654         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12655         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12656         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12657         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12658         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12659         (_IO_old_popen): Likewise.
12660         (_IO_old_proc_close): Likewise.
12661         * libio/oldpclose.c (__old_pclose): Likewise.
12662         * libio/pclose.c (__new_pclose): Likewise.
12663         * libio/peekc.c (_IO_peekc_locked): Likewise.
12664         * libio/putc.c (_IO_putc): Likewise.
12665         * libio/putc_u.c (putc_unlocked): Likewise.
12666         * libio/putchar.c (putchar): Likewise.
12667         * libio/putchar_u.c (putchar_unlocked): Likewise.
12668         * libio/putwc.c (putwc): Likewise.
12669         * libio/putwc_u.c (putwc_unlocked): Likewise.
12670         * libio/putwchar.c (putwchar): Likewise.
12671         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12672         * libio/rewind.c (rewind): Likewise.
12673         * libio/setbuf.c (setbuf): Likewise.
12674         * libio/setlinebuf.c (setlinebuf): Likewise.
12675         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12676         * libio/vscanf.c (_IO_vscanf): Likewise.
12677         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12678         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12679         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12680         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12681         (_IO_switch_to_main_wget_area): Likewise.
12682         (_IO_switch_to_wbackup_area): Likewise.
12683         (_IO_wsetb): Likewise.
12684         (_IO_wdefault_pbackfail): Likewise.
12685         (_IO_wdefault_finish): Likewise.
12686         (_IO_wdefault_uflow): Likewise.
12687         (__woverflow): Likewise.
12688         (__wuflow): Likewise.
12689         (__wunderflow): Likewise.
12690         (_IO_wdefault_xsputn): Likewise.
12691         (_IO_wdefault_xsgetn): Likewise.
12692         (_IO_wdoallocbuf): Likewise.
12693         (_IO_wdefault_doallocate): Likewise.
12694         (_IO_switch_to_wget_mode): Likewise.
12695         (_IO_free_wbackup_area): Likewise.
12696         (_IO_switch_to_wput_mode): Likewise.
12697         (_IO_sputbackwc): Likewise.
12698         (_IO_sungetwc): Likewise.
12699         (_IO_adjust_wcolumn): Likewise.
12700         (_IO_init_wmarker): Likewise.
12701         (_IO_wmarker_delta): Likewise.
12702         (_IO_seekwmark): Likewise.
12703         (_IO_unsave_wmarkers): Likewise.
12704         * libio/wmemstream.c (open_wmemstream): Likewise.
12705         (_IO_wmem_sync): Likewise.
12706         (_IO_wmem_finish): Likewise.
12707         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12708         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12709         * locale/programs/simple-hash.c (init_hash): Likewise.
12710         (delete_hash): Likewise.
12711         (insert_entry): Likewise.
12712         (set_entry): Likewise.
12713         (next_prime): Likewise.
12714         (is_prime): Likewise.
12715         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12716         (xmalloc): Likewise.
12717         (xrealloc): Likewise.
12718         * locale/programs/xstrdup.c (xstrdup): Likewise.
12719         * localedata/collate-test.c (xstrcoll): Likewise.
12720         * localedata/xfrm-test.c (xstrcmp): Likewise.
12721         * login/getlogin_r.c (__getlogin_r): Likewise.
12722         * login/getpt.c (__posix_openpt): Likewise.
12723         * login/login_tty.c (login_tty): Likewise.
12724         * login/setlogin.c (setlogin): Likewise.
12725         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12726         (mach_msg_destroy_port): Likewise.
12727         (mach_msg_destroy_memory): Likewise.
12728         * malloc/mcheck.c (flood): Likewise.
12729         * misc/acct.c (acct): Likewise.
12730         * misc/brk.c (__brk): Likewise.
12731         * misc/chflags.c (chflags): Likewise.
12732         * misc/chroot.c (chroot): Likewise.
12733         * misc/fchflags.c (fchflags): Likewise.
12734         * misc/fstab.c (getfsspec): Likewise.
12735         (getfsfile): Likewise.
12736         * misc/fsync.c (fsync): Likewise.
12737         * misc/ftruncate.c (__ftruncate): Likewise.
12738         * misc/ftruncate64.c (__ftruncate64): Likewise.
12739         * misc/getdomain.c (getdomainname): Likewise.
12740         (getdomainname): Likewise.
12741         * misc/gethostname.c (__gethostname): Likewise.
12742         * misc/getpass.c (getpass): Likewise.
12743         * misc/getttyent.c (skip): Likewise.
12744         (value): Likewise.
12745         * misc/gtty.c (gtty): Likewise.
12746         * misc/hsearch.c (hsearch): Likewise.
12747         (hcreate): Likewise.
12748         * misc/hsearch_r.c (__hcreate_r): Likewise.
12749         (__hdestroy_r): Likewise.
12750         * misc/ioctl.c (__ioctl): Likewise.
12751         * misc/mkdtemp.c (mkdtemp): Likewise.
12752         * misc/mkostemp.c (mkostemp): Likewise.
12753         * misc/mkostemp64.c (mkostemp64): Likewise.
12754         * misc/mkostemps.c (mkostemps): Likewise.
12755         * misc/mkostemps64.c (mkostemps64): Likewise.
12756         * misc/mkstemp.c (mkstemp): Likewise.
12757         * misc/mkstemp64.c (mkstemp64): Likewise.
12758         * misc/mkstemps.c (mkstemps): Likewise.
12759         * misc/mkstemps64.c (mkstemps64): Likewise.
12760         * misc/mktemp.c (__mktemp): Likewise.
12761         * misc/preadv.c (preadv): Likewise.
12762         * misc/preadv64.c (preadv64): Likewise.
12763         * misc/pwritev.c (pwritev): Likewise.
12764         * misc/pwritev64.c (pwritev64): Likewise.
12765         * misc/readv.c (__readv): Likewise.
12766         * misc/revoke.c (revoke): Likewise.
12767         * misc/setdomain.c (setdomainname): Likewise.
12768         * misc/setegid.c (setegid): Likewise.
12769         * misc/seteuid.c (seteuid): Likewise.
12770         * misc/sethostid.c (sethostid): Likewise.
12771         * misc/sethostname.c (sethostname): Likewise.
12772         * misc/setregid.c (__setregid): Likewise.
12773         * misc/setreuid.c (__setreuid): Likewise.
12774         * misc/sstk.c (sstk): Likewise.
12775         * misc/stty.c (stty): Likewise.
12776         * misc/syscall.c (syscall): Likewise.
12777         * misc/syslog.c (setlogmask): Likewise.
12778         * misc/truncate.c (__truncate): Likewise.
12779         * misc/truncate64.c (truncate64): Likewise.
12780         * misc/ualarm.c (ualarm): Likewise.
12781         * misc/usleep.c (usleep): Likewise.
12782         * misc/ustat.c (ustat): Likewise.
12783         * misc/writev.c (__writev): Likewise.
12784         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12785         * nptl/old_pthread_cond_broadcast.c
12786         (__pthread_cond_broadcast_2_0): Likewise.
12787         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12788         Likewise.
12789         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12790         Likewise.
12791         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12792         Likewise.
12793         * nptl/pt-raise.c (raise): Likewise.
12794         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12795         Likewise.
12796         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12797         * nptl/pthread_barrierattr_destroy.c
12798         (pthread_barrierattr_destroy): Likewise.
12799         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12800         Likewise.
12801         * nptl/pthread_barrierattr_setpshared.c
12802         (pthread_barrierattr_setpshared): Likewise.
12803         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12804         Likewise.
12805         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12806         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12807         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12808         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12809         Likewise.
12810         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12811         Likewise.
12812         * nptl/pthread_condattr_getpshared.c
12813         (pthread_condattr_getpshared): Likewise.
12814         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12815         Likewise.
12816         * nptl/pthread_condattr_setpshared.c
12817         (pthread_condattr_setpshared): Likewise.
12818         * nptl/pthread_detach.c (pthread_detach): Likewise.
12819         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12820         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12821         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12822         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12823         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12824         Likewise.
12825         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12826         Likewise.
12827         * nptl/pthread_mutex_getprioceiling.c
12828         (pthread_mutex_getprioceiling): Likewise.
12829         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12830         Likewise.
12831         * nptl/pthread_mutexattr_getprotocol.c
12832         (pthread_mutexattr_getprotocol): Likewise.
12833         * nptl/pthread_mutexattr_getpshared.c
12834         (pthread_mutexattr_getpshared): Likewise.
12835         * nptl/pthread_mutexattr_getrobust.c
12836         (pthread_mutexattr_getrobust): Likewise.
12837         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12838         Likewise.
12839         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12840         Likewise.
12841         * nptl/pthread_mutexattr_setprioceiling.c
12842         (pthread_mutexattr_setprioceiling): Likewise.
12843         * nptl/pthread_mutexattr_setprotocol.c
12844         (pthread_mutexattr_setprotocol): Likewise.
12845         * nptl/pthread_mutexattr_setpshared.c
12846         (pthread_mutexattr_setpshared): Likewise.
12847         * nptl/pthread_mutexattr_setrobust.c
12848         (pthread_mutexattr_setrobust): Likewise.
12849         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12850         Likewise.
12851         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12852         Likewise.
12853         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12854         Likewise.
12855         * nptl/pthread_rwlockattr_getkind_np.c
12856         (pthread_rwlockattr_getkind_np): Likewise.
12857         * nptl/pthread_rwlockattr_getpshared.c
12858         (pthread_rwlockattr_getpshared): Likewise.
12859         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12860         Likewise.
12861         * nptl/pthread_rwlockattr_setkind_np.c
12862         (pthread_rwlockattr_setkind_np): Likewise.
12863         * nptl/pthread_rwlockattr_setpshared.c
12864         (pthread_rwlockattr_setpshared): Likewise.
12865         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12866         Likewise.
12867         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12868         Likewise.
12869         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12870         Likewise.
12871         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12872         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12873         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12874         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12875         * nptl/sem_close.c (sem_close): Likewise.
12876         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12877         * nptl/sem_init.c (__old_sem_init): Likewise.
12878         * nptl/sigaction.c (__sigaction): Likewise.
12879         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12880         * posix/_exit.c (_exit): Likewise.
12881         * posix/alarm.c (alarm): Likewise.
12882         * posix/confstr.c (confstr): Likewise.
12883         * posix/fpathconf.c (__fpathconf): Likewise.
12884         * posix/getgroups.c (__getgroups): Likewise.
12885         * posix/getpgid.c (__getpgid): Likewise.
12886         * posix/group_member.c (__group_member): Likewise.
12887         * posix/pathconf.c (__pathconf): Likewise.
12888         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12889         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12890         * posix/setgid.c (__setgid): Likewise.
12891         * posix/setpgid.c (__setpgid): Likewise.
12892         * posix/setuid.c (__setuid): Likewise.
12893         * posix/sleep.c (__sleep): Likewise.
12894         * posix/sysconf.c (__sysconf): Likewise.
12895         * posix/times.c (__times): Likewise.
12896         * posix/uname.c (__uname): Likewise.
12897         * posix/waitid.c (__waitid): Likewise.
12898         * pwd/getpw.c (__getpw): Likewise.
12899         * resolv/base64.c (b64_pton): Likewise.
12900         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12901         * resolv/gethnamaddr.c (Dprintf): Likewise.
12902         (gethostbyname): Likewise.
12903         (gethostbyname2): Likewise.
12904         (gethostbyaddr): Likewise.
12905         (_sethtent): Likewise.
12906         (_gethtbyname): Likewise.
12907         (_gethtbyname2): Likewise.
12908         (_gethtbyaddr): Likewise.
12909         (map_v4v6_address): Likewise.
12910         (map_v4v6_hostent): Likewise.
12911         (addrsort): Likewise.
12912         (ht_sethostent): Likewise.
12913         (ht_gethostbyname): Likewise.
12914         (ht_gethostbyaddr): Likewise.
12915         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12916         (inet_net_ntop_ipv4): Likewise.
12917         * resolv/inet_neta.c (inet_neta): Likewise.
12918         * resolv/inet_ntop.c (inet_ntop): Likewise.
12919         (inet_ntop4): Likewise.
12920         (inet_ntop6): Likewise.
12921         * resolv/inet_pton.c (__inet_pton): Likewise.
12922         (inet_pton4): Likewise.
12923         (inet_pton6): Likewise.
12924         * resolv/res_debug.c (loc_aton): Likewise.
12925         (loc_ntoa): Likewise.
12926         * resource/getpriority.c (__getpriority): Likewise.
12927         * resource/getrusage.c (__getrusage): Likewise.
12928         * resource/nice.c (nice): Likewise.
12929         * resource/setpriority.c (__setpriority): Likewise.
12930         * resource/setrlimit64.c (setrlimit64): Likewise.
12931         * resource/vlimit.c (vlimit): Likewise.
12932         * resource/vtimes.c (vtimes): Likewise.
12933         * rt/aio_error.c (aio_error): Likewise.
12934         * rt/aio_return.c (aio_return): Likewise.
12935         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12936         * signal/kill.c (__kill): Likewise.
12937         * signal/killpg.c (killpg): Likewise.
12938         * signal/raise.c (raise): Likewise.
12939         * signal/sigaction.c (__sigaction): Likewise.
12940         * signal/sigaddset.c (sigaddset): Likewise.
12941         * signal/sigaltstack.c (sigaltstack): Likewise.
12942         * signal/sigandset.c (sigandset): Likewise.
12943         * signal/sigblock.c (__sigblock): Likewise.
12944         * signal/sigdelset.c (sigdelset): Likewise.
12945         * signal/sigempty.c (sigemptyset): Likewise.
12946         * signal/sigfillset.c (sigfillset): Likewise.
12947         * signal/sighold.c (sighold): Likewise.
12948         * signal/sigignore.c (sigignore): Likewise.
12949         * signal/sigintr.c (siginterrupt): Likewise.
12950         * signal/sigisempty.c (sigisemptyset): Likewise.
12951         * signal/sigismem.c (sigismember): Likewise.
12952         * signal/signal.c (signal): Likewise.
12953         * signal/sigorset.c (sigorset): Likewise.
12954         * signal/sigpause.c (__sigpause): Likewise.
12955         * signal/sigpending.c (sigpending): Likewise.
12956         * signal/sigprocmask.c (__sigprocmask): Likewise.
12957         * signal/sigrelse.c (sigrelse): Likewise.
12958         * signal/sigreturn.c (__sigreturn): Likewise.
12959         * signal/sigset.c (sigset): Likewise.
12960         * signal/sigsetmask.c (__sigsetmask): Likewise.
12961         * signal/sigstack.c (sigstack): Likewise.
12962         * signal/sigsuspend.c (__sigsuspend): Likewise.
12963         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12964         * signal/sysv_signal.c (__sysv_signal): Likewise.
12965         * socket/accept.c (accept): Likewise.
12966         * socket/accept4.c (__libc_accept4): Likewise.
12967         * socket/bind.c (__bind): Likewise.
12968         * socket/connect.c (__connect): Likewise.
12969         * socket/getpeername.c (getpeername): Likewise.
12970         * socket/getsockname.c (__getsockname): Likewise.
12971         * socket/getsockopt.c (getsockopt): Likewise.
12972         * socket/listen.c (__listen): Likewise.
12973         * socket/recv.c (__recv): Likewise.
12974         * socket/recvmsg.c (__recvmsg): Likewise.
12975         * socket/send.c (__send): Likewise.
12976         * socket/sendmsg.c (__sendmsg): Likewise.
12977         * socket/shutdown.c (shutdown): Likewise.
12978         * socket/sockatmark.c (sockatmark): Likewise.
12979         * socket/socket.c (__socket): Likewise.
12980         * stdio-common/ctermid.c (ctermid): Likewise.
12981         * stdio-common/cuserid.c (cuserid): Likewise.
12982         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12983         * stdio-common/remove.c (remove): Likewise.
12984         * stdio-common/rename.c (rename): Likewise.
12985         * stdio-common/renameat.c (renameat): Likewise.
12986         * stdio-common/tempname.c (__gen_tempname): Likewise.
12987         * stdio-common/xbug.c (InitBuffer): Likewise.
12988         (AppendToBuffer): Likewise.
12989         (ReadFile): Likewise.
12990         * stdlib/a64l.c (a64l): Likewise.
12991         * stdlib/drand48_r.c (drand48_r): Likewise.
12992         * stdlib/getcontext.c (getcontext): Likewise.
12993         * stdlib/getenv.c (getenv): Likewise.
12994         * stdlib/l64a.c (l64a): Likewise.
12995         * stdlib/llabs.c (llabs): Likewise.
12996         * stdlib/lldiv.c (lldiv): Likewise.
12997         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12998         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12999         * stdlib/putenv.c (putenv): Likewise.
13000         * stdlib/random.c (__srandom): Likewise.
13001         (__initstate): Likewise.
13002         (__setstate): Likewise.
13003         * stdlib/random_r.c (__srandom_r): Likewise.
13004         (__setstate_r): Likewise.
13005         (__random_r): Likewise.
13006         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13007         * stdlib/setcontext.c (setcontext): Likewise.
13008         * stdlib/setenv.c (setenv): Likewise.
13009         (unsetenv): Likewise.
13010         * stdlib/srand48.c (srand48): Likewise.
13011         * stdlib/srand48_r.c (__srand48_r): Likewise.
13012         * stdlib/swapcontext.c (swapcontext): Likewise.
13013         * stdlib/system.c (__libc_system): Likewise.
13014         * stdlib/tst-strtod.c (expand): Likewise.
13015         * stdlib/tst-strtol.c (expand): Likewise.
13016         * stdlib/tst-strtoll.c (expand): Likewise.
13017         * streams/fattach.c (fattach): Likewise.
13018         * streams/fdetach.c (fdetach): Likewise.
13019         * streams/getmsg.c (getmsg): Likewise.
13020         * streams/isastream.c (isastream): Likewise.
13021         * string/ffs.c (__ffs): Likewise.
13022         * string/ffsll.c (ffsll): Likewise.
13023         * string/memcmp.c (memcmp_common_alignment): Likewise.
13024         (memcmp_not_common_alignment): Likewise.
13025         (MEMCMP): Likewise.
13026         * string/memcpy.c (memcpy): Likewise.
13027         * string/memmove.c (MEMMOVE): Likewise.
13028         * string/memset.c (memset): Likewise.
13029         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13030         * string/strchrnul.c (STRCHRNUL): Likewise.
13031         * string/strerror.c (strerror): Likewise.
13032         * string/strndup.c (__strndup): Likewise.
13033         * string/strverscmp.c (__strverscmp): Likewise.
13034         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13035         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13036         (clnttcp_freeres): Likewise.
13037         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13038         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13039         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13040         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13041         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13042         (xdr_callhdr): Likewise.
13043         * sunrpc/rpcinfo.c (udpping): Likewise.
13044         (tcpping): Likewise.
13045         (pstatus): Likewise.
13046         (pmapdump): Likewise.
13047         (brdcst): Likewise.
13048         (deletereg): Likewise.
13049         (getprognum): Likewise.
13050         (getvers): Likewise.
13051         (get_inet_address): Likewise.
13052         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13053         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13054         (svcudp_stat): Likewise.
13055         (svcudp_recv): Likewise.
13056         (svcudp_reply): Likewise.
13057         (svcudp_getargs): Likewise.
13058         (svcudp_freeargs): Likewise.
13059         (svcudp_destroy): Likewise.
13060         * sunrpc/xdr.c (xdr_bytes): Likewise.
13061         (xdr_netobj): Likewise.
13062         (xdr_string): Likewise.
13063         (xdr_wrapstring): Likewise.
13064         * sunrpc/xdr_float.c (xdr_float): Likewise.
13065         (xdr_double): Likewise.
13066         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13067         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13068         * sysvipc/ftok.c (ftok): Likewise.
13069         * sysvipc/msgctl.c (msgctl): Likewise.
13070         * sysvipc/msgget.c (msgget): Likewise.
13071         * sysvipc/msgrcv.c (msgrcv): Likewise.
13072         * sysvipc/msgsnd.c (msgsnd): Likewise.
13073         * sysvipc/semget.c (semget): Likewise.
13074         * sysvipc/semop.c (semop): Likewise.
13075         * sysvipc/shmat.c (shmat): Likewise.
13076         * sysvipc/shmctl.c (shmctl): Likewise.
13077         * sysvipc/shmdt.c (shmdt): Likewise.
13078         * sysvipc/shmget.c (shmget): Likewise.
13079         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13080         * termios/speed.c (cfgetospeed): Likewise.
13081         (cfgetispeed): Likewise.
13082         (cfsetospeed): Likewise.
13083         (cfsetispeed): Likewise.
13084         * termios/tcflow.c (tcflow): Likewise.
13085         * termios/tcflush.c (tcflush): Likewise.
13086         * termios/tcgetattr.c (__tcgetattr): Likewise.
13087         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13088         * termios/tcgetsid.c (tcgetsid): Likewise.
13089         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13090         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13091         * time/adjtime.c (__adjtime): Likewise.
13092         * time/dysize.c (dysize): Likewise.
13093         * time/ftime.c (ftime): Likewise.
13094         * time/getitimer.c (__getitimer): Likewise.
13095         * time/gettimeofday.c (__gettimeofday): Likewise.
13096         * time/gmtime.c (__gmtime_r): Likewise.
13097         (gmtime): Likewise.
13098         * time/localtime.c (__localtime_r): Likewise.
13099         (localtime): Likewise.
13100         * time/offtime.c (__offtime): Likewise.
13101         * time/settimeofday.c (__settimeofday): Likewise.
13102         * time/stime.c (stime): Likewise.
13103         * time/strftime_l.c (tm_diff): Likewise.
13104         (iso_week_days): Likewise.
13105         * time/strptime.c (strptime): Likewise.
13106         * time/time.c (time): Likewise.
13107         * time/timespec_get.c (timespec_get): Likewise.
13108         * time/tzset.c (tzset_internal): Likewise.
13109         (compute_change): Likewise.
13110         (__tz_compute): Likewise.
13111         * wcsmbs/btowc.c (__btowc): Likewise.
13112         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13113         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13114         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13115         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13116         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13117         * wcsmbs/wcscat.c (__wcscat): Likewise.
13118         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13119         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13120         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13121         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13122         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13123         * wcsmbs/wcslen.c (__wcslen): Likewise.
13124         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13125         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13126         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13127         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13128         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13129         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13130         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13131         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13132         * wcsmbs/wcstok.c (wcstok): Likewise.
13133         * wcsmbs/wctob.c (wctob): Likewise.
13134         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13135         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13136         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13137         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13138         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13139         * wcsmbs/wmemset.c (__wmemset): Likewise.
13140         * wctype/wcfuncs.c (__towlower): Likewise.
13141         (__towupper): Likewise.
13143         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13144         (lll_unlock_elision): Add adapt_count parameter.
13146 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13148         * sysdeps/nptl/configure.ac: Do not give errors based on the
13149         results of top-level configure tests.
13150         * sysdeps/nptl/configure: Regenerated.
13152         * configure.ac (libc_cv_Bgroup): Remove configure test.
13153         * configure: Regenerated.
13154         * config.make.in (have-Bgroup): Remove variable.
13156         * configure.ac (sizeof_long_double): Remove configure test.
13157         * configure: Regenerated.
13158         * config.make.in (sizeof-long-double): Remove variable.
13160         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13161         * configure: Regenerated.
13162         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13163         variable.
13164         (exceptions): Likewise.
13165         * sysdeps/arm/configure: Regenerated.
13166         * config.make.in (exceptions): Remove variable.
13167         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13168         $(exceptions).
13169         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13170         (CFLAGS-vdprintf_chk.c): Likewise.
13171         (CFLAGS-printf_chk.c): Likewise.
13172         (CFLAGS-fprintf_chk.c): Likewise.
13173         (CFLAGS-vprintf_chk.c): Likewise.
13174         (CFLAGS-vfprintf_chk.c): Likewise.
13175         (CFLAGS-gets_chk.c): Likewise.
13176         (CFLAGS-fgets_chk.c): Likewise.
13177         (CFLAGS-fgets_u_chk.c): Likewise.
13178         (CFLAGS-fread_chk.c): Likewise.
13179         (CFLAGS-fread_u_chk.c): Likewise.
13180         (CFLAGS-wprintf_chk.c): Likewise.
13181         (CFLAGS-fwprintf_chk.c): Likewise.
13182         (CFLAGS-vwprintf_chk.c): Likewise.
13183         (CFLAGS-vfwprintf_chk.c): Likewise.
13184         (CFLAGS-fgetws_chk.c): Likewise.
13185         (CFLAGS-fgetws_u_chk.c): Likewise.
13186         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13187         (CFLAGS-fputc.c): Likewise.
13188         (CFLAGS-fputwc.c): Likewise.
13189         (CFLAGS-freopen64.c): Likewise.
13190         (CFLAGS-freopen.c): Likewise.
13191         (CFLAGS-fseek.c): Likewise.
13192         (CFLAGS-fseeko64.c): Likewise.
13193         (CFLAGS-fseeko.c): Likewise.
13194         (CFLAGS-ftello64.c): Likewise.
13195         (CFLAGS-ftello.c): Likewise.
13196         (CFLAGS-fwide.c): Likewise.
13197         (CFLAGS-genops.c): Likewise.
13198         (CFLAGS-getc.c): Likewise.
13199         (CFLAGS-getchar.c): Likewise.
13200         (CFLAGS-getwc.c): Likewise.
13201         (CFLAGS-getwchar.c): Likewise.
13202         (CFLAGS-iofclose.c): Likewise.
13203         (CFLAGS-iofflush.c): Likewise.
13204         (CFLAGS-iofgetpos64.c): Likewise.
13205         (CFLAGS-iofgetpos.c): Likewise.
13206         (CFLAGS-iofgets.c): Likewise.
13207         (CFLAGS-iofgetws.c): Likewise.
13208         (CFLAGS-iofputs.c): Likewise.
13209         (CFLAGS-iofputws.c): Likewise.
13210         (CFLAGS-iofread.c): Likewise.
13211         (CFLAGS-iofsetpos64.c): Likewise.
13212         (CFLAGS-iofsetpos.c): Likewise.
13213         (CFLAGS-ioftell.c): Likewise.
13214         (CFLAGS-iofwrite.c): Likewise.
13215         (CFLAGS-iogetdelim.c): Likewise.
13216         (CFLAGS-iogetline.c): Likewise.
13217         (CFLAGS-iogets.c): Likewise.
13218         (CFLAGS-iogetwline.c): Likewise.
13219         (CFLAGS-ioputs.c): Likewise.
13220         (CFLAGS-ioseekoff.c): Likewise.
13221         (CFLAGS-ioseekpos.c): Likewise.
13222         (CFLAGS-iosetbuffer.c): Likewise.
13223         (CFLAGS-iosetvbuf.c): Likewise.
13224         (CFLAGS-ioungetc.c): Likewise.
13225         (CFLAGS-ioungetwc.c): Likewise.
13226         (CFLAGS-oldfileops.c): Likewise.
13227         (CFLAGS-oldiofclose.c): Likewise.
13228         (CFLAGS-oldiofgetpos64.c): Likewise.
13229         (CFLAGS-oldiofgetpos.c): Likewise.
13230         (CFLAGS-oldiofsetpos64.c): Likewise.
13231         (CFLAGS-oldiofsetpos.c): Likewise.
13232         (CFLAGS-peekc.c): Likewise.
13233         (CFLAGS-putc.c): Likewise.
13234         (CFLAGS-putchar.c): Likewise.
13235         (CFLAGS-putwc.c): Likewise.
13236         (CFLAGS-putwchar.c): Likewise.
13237         (CFLAGS-rewind.c): Likewise.
13238         (CFLAGS-wfileops.c): Likewise.
13239         (CFLAGS-wgenops.c): Likewise.
13240         (CFLAGS-oldiofopen.c): Likewise.
13241         (CFLAGS-iofopen.c): Likewise.
13242         (CFLAGS-iofopen64.c): Likewise.
13243         (CFLAGS-oldtmpfile.c): Likewise.
13244         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13245         (CFLAGS-fprintf.c): Likewise.
13246         (CFLAGS-printf.c): Likewise.
13247         (CFLAGS-vfwprintf.c): Likewise.
13248         (CFLAGS-vfscanf.c): Likewise.
13249         (CFLAGS-vfwscanf.c): Likewise.
13250         (CFLAGS-fscanf.c): Likewise.
13251         (CFLAGS-scanf.c): Likewise.
13252         (CFLAGS-isoc99_vfscanf.c): Likewise.
13253         (CFLAGS-isoc99_vscanf.c): Likewise.
13254         (CFLAGS-isoc99_fscanf.c): Likewise.
13255         (CFLAGS-isoc99_scanf.c): Likewise.
13256         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13257         (CFLAGS-isoc99_fwscanf.c): Likewise.
13258         (CFLAGS-isoc99_vwscanf.c): Likewise.
13259         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13261         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13262         after mkstemp64.
13263         * login/tst-utmp.c (do_prepare): Likewise.
13264         * rt/tst-aio.c (do_prepare): Likewise.
13265         * rt/tst-aio64.c (do_prepare): Likewise.
13267 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13269         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13270         (__lll_lock_elision): Remove adapt_count decrement...
13271         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13272         (__lll_trylock_elision): Likewise.
13273         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13274         (__lll_unlock_elision): ... to here. And utilize
13275         new adapt_count parameter.
13276         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13277         (__lll_unlock_elision): Update to include adapt_count
13278         parameter.
13279         (lll_unlock_elision): Pass pointer to adapt_count
13280         variable.
13282 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13284         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13285         Add elision adapt_count parameter to list of arguments.
13286         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13287         (lll_unlock_elision): Update with new parameter list
13288         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13289         (lll_unlock_elision): Likewise.
13290         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13291         (lll_unlock_elision): Likewise.
13293 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13295         [BZ #19122]
13296         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13297         attribute_hidden.
13299         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13300         attribute_hidden.
13301         [IS_IN (rtld)] (__strdup): Likewise.
13302         [IS_IN (rtld)] (__strerror_r): Likewise.
13303         [IS_IN (rtld)] (__strsep_g): Likewise.
13304         [IS_IN (rtld)] (memchr): Likewise.
13305         [IS_IN (rtld)] (memcmp): Likewise.
13306         [IS_IN (rtld)] (memcpy): Likewise.
13307         [IS_IN (rtld)] (memmove): Likewise.
13308         [IS_IN (rtld)] (memset): Likewise.
13309         [IS_IN (rtld)] (rawmemchr): Likewise.
13310         [IS_IN (rtld)] (stpcpy): Likewise.
13311         [IS_IN (rtld)] (strchr): Likewise.
13312         [IS_IN (rtld)] (strcmp): Likewise.
13313         [IS_IN (rtld)] (strlen): Likewise.
13314         [IS_IN (rtld)] (strnlen): Likewise.
13315         [IS_IN (rtld)] (strsep): Likewise.
13317         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13318         attribute_hidden.
13319         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13321         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13322         attribute_hidden.
13323         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13325         * include/setjmp.h (__longjmp): Add attribute_hidden.
13326         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13328         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13329         Add attribute_hidden.
13331         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13332         [IS_IN (rtld)] (__open): Likewise.
13333         [IS_IN (rtld)] (__fcntl): Likewise.
13335         * include/dirent.h (__opendirat): Add attribute_hidden.
13336         (__getdents): Likewise.
13337         (__getdents64): Likewise.
13338         (__alloc_dir): Likewise.
13339         [IS_IN (rtld)] (__closedir): Likewise.
13340         [IS_IN (rtld)] (__fdopendir): Likewise.
13341         [IS_IN (rtld)] (__readdir): Likewise.
13342         [IS_IN (rtld)] (__readdir64): Likewise.
13343         [IS_IN (rtld)] (__rewinddir): Likewise.
13345         * include/dlfcn.h (_dl_catch_error): Moved to ...
13346         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13347         attribute_hidden.
13349         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13350         (_itoa_word): Likewise.
13352         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13353         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13354         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13355         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13356         (_dl_higher_prime_number): Likewise.
13357         (_dl_debug_printf_c): Likewise.
13358         (_dl_signal_cerror): Likewise.
13359         (_dl_receive_error): Likewise.
13360         (_dl_reloc_bad_type): Likewise.
13361         (_dl_resolve_conflicts): Likewise.
13362         (_dl_check_all_versions): Likewise.
13363         (_dl_check_map_versions): Likewise.
13364         (_dl_sort_fini): Likewise.
13365         (_dl_debug_initialize): Likewise.
13366         (_dl_init_paths): Likewise.
13367         (_dl_show_auxv): Likewise.
13368         (_dl_next_ld_env_entry): Likewise.
13369         (_dl_important_hwcaps): Likewise.
13370         (_dl_load_cache_lookup): Likewise.
13371         (_dl_update_slotinfo): Likewise.
13372         (_dl_show_scope): Likewise.
13374         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13375         attribute_hidden.
13376         (_wordcopy_fwd_dest_aligned): Likewise.
13377         (_wordcopy_bwd_aligned): Likewise.
13378         (_wordcopy_bwd_dest_aligned): Likewise.
13380         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13381         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13382         Likewise.
13383         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13384         Likewise.
13385         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13387 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13389         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13390         GCC 5 requirement.
13392 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13394         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13395         test.
13396         * sysdeps/i386/configure: Regenerated.
13397         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13398         code unconditional.
13400         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13401         test.
13402         (libc_cv_asm_popsection_directive): Likewise.
13403         * configure: Regenerated.
13404         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13405         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13406         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13407         (__make_section_unallocated): Make definition unconditional.
13408         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13409         Remove conditional definition.
13410         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13411         (__make_section_unallocated): Likewise.
13413         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13414         * configure: Regenerated.
13415         * config.make.in (static-libgcc): Remove variable.
13416         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13417         $(static-libgcc).
13418         (build-module-helper): Likewise.
13420         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13421         * configure: Regenerated.
13423 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13425         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13426         (struct char_buffer): New type.
13427         (char_buffer_start, char_buffer_size, char_buffer_error)
13428         (char_buffer_rewind, char_buffer_add): New functions.
13429         (ADDW): Remove macro, replaced by the char_buffer_add function.
13430         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13431         of extend_alloca.  Make control flow more explicit.
13433 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13435         [BZ #19137]
13436         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13437         Add -fomit-frame-pointer.
13438         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13440 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13442         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13443         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13444         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13445         only if !__GNUC_PREREQ (5,0).
13446         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13447         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13448         (INTERNAL_SYSCALL_NCS): Likewise.
13449         (LOADREGS_0): New macro for GCC 5.
13450         (ASMARGS_0): Likewise.
13451         (LOADREGS_1): Likewise.
13452         (ASMARGS_1): Likewise.
13453         (LOADREGS_2): Likewise.
13454         (ASMARGS_2): Likewise.
13455         (LOADREGS_3): Likewise.
13456         (ASMARGS_3): Likewise.
13457         (LOADREGS_4): Likewise.
13458         (ASMARGS_4): Likewise.
13459         (LOADREGS_5): Likewise.
13460         (ASMARGS_5): Likewise.
13461         (LOADREGS_6): Likewise.
13462         (ASMARGS_6): Likewise.
13464 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13466         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13467         -fomit-frame-pointer.
13468         (CFLAGS-mmap64.c): Likewise.
13469         (CFLAGS-semtimedop.c): Likewise.
13470         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13471         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13472         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13473         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13475 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13477         [BZ #18928]
13478         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13479         _dl_pointer_guard member.
13480         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13481         initializer.
13482         (security_init): Always set up pointer guard.
13483         (process_envvars): Do not process LD_POINTER_GUARD.
13485 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13487         [BZ #19134]
13488         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13489         (.LC2): Likewise.
13490         (.LC3): Likewise.
13491         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13493 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13495         [BZ #19129]
13496         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13497         r0 and r1.
13499 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13501         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13503 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13505         * include/stap-probe.h: Fix macro definition formatting.
13507 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13509         [BZ #19074]
13510         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13511         load and store num_ifs.
13513 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13515         [BZ #18822]
13516         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13517         (__sched_getaffinity_new): Add libc_hidden_proto and
13518         libc_hidden_def.
13520 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13522         [BZ #19007]
13523         * scripts/localplt.awk: Also allow GOT references.
13524         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13525         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13526         with "+ REL R_386_GLOB_DAT".
13527         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13528         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13530 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13532         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13533         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13534         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13535         Likewise.
13536         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13537         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13538         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13539         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13540         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13541         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13542         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13543         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13544         Likewise.
13545         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13547 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13549         [BZ #19125]
13550         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13551         <math_private.h> and <stdint.h>.
13552         (__llround): Avoid conversions to and from long long int, and
13553         subtractions, where those might raise spurious exceptions.
13554         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13555         <math_private.h> and <stdint.h>.
13556         (__llroundf): Avoid conversions to and from long long int, and
13557         subtractions, where those might raise spurious exceptions.
13559 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13561         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13562         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13563         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13564         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13565         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13566         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13567         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13568         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13569         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13570         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13571         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13572         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13573         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13574         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13575         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13576         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13577         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13578         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13579         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13580         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13581         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13582         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13583         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13584         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13585         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13586         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13587         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13588         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13589         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13590         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13591         (__xstat64_conv): Likewise.
13592         (__xstat32_conv): Likewise.
13594 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13596         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13597         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13598         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13599         <sysdeps/unix/sysv/linux/sysdep.h>.
13600         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13601         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13602         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13603         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13604         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13605         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13606         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13607         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13608         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13611         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13613         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13614         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13615         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13616         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13617         (sysdep-dl-routines): Add sysdep.
13618         [$(subdir) == nptl] (libpthread-routines): Likewise.
13619         [$(subdir) == rt] (librt-routines): Likewise.
13620         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13621         PIC when branching to SYSCALL_ERROR_LABEL.
13622         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13623         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13624         <sysdeps/unix/sysv/linux/sysdep.h>.
13625         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13626         (SYSCALL_ERROR_ERRNO): Removed.
13627         (SYSCALL_ERROR_HANDLER): Changed to empty.
13628         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13629         (__syscall_error): New prototype.
13630         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13631         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13633 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13635         [BZ #19124]
13636         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13637         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13638         _dl_runtime_resolve_avx.
13639         (_dl_runtime_profile_avx512): Make it a hidden alias of
13640         _dl_runtime_profile_avx.
13642 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13644         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13645         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13646         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13647         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13649         [BZ #16422]
13650         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13651         New configure test.
13652         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13653         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13654         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13655         <math_private.h> and <stdint.h>.
13656         (__llrint): Avoid conversions to long long int where those might
13657         raise spurious exceptions.
13658         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13659         <math_private.h> and <stdint.h>.
13660         (__llrintf): Avoid conversions to long long int where those might
13661         raise spurious exceptions.
13663 2015-10-12  Andreas Schwab  <schwab@suse.de>
13665         [BZ #18969]
13666         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13667         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13668         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13669         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13670         $(gen-locales).
13671         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13672         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13673         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13674         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13675         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13676         $(gen-locales).
13677         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13678         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13679         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13680         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13681         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13682         ($(objpfx)tst-ftell-active-handler.out)
13683         ($(objpfx)tst-ftell-append.out)
13684         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13685         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13686         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13687         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13688         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13689         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13690         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13691         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13692         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13693         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13694         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13695         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13696         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13697         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13698         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13699         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13700         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13701         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13702         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13703         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13704         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13705         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13706         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13707         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13708         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13709         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13710         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13711         $(gen-locales).
13712         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13713         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13714         $(gen-locales).
13715         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13716         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13717         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13718         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13719         $(gen-locales).
13720         * libio/tst_wprintf2.c (main): Use explicit locale.
13721         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13723 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13725         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13726         __msg_sig_post.
13727         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13729 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13731         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13732         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13734         * sysdeps/arm/libm-test-ulps: Regenerated.
13736         [BZ #15470]
13737         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13739         [BZ #16399]
13740         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13741         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13742         and <fix-fp-int-convert-overflow.h>.
13743         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13744         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13745         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13746         and <fix-fp-int-convert-overflow.h>.
13747         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13748         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13749         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13750         <fix-fp-int-convert-overflow.h>.
13751         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13752         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13753         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13754         <fix-fp-int-convert-overflow.h>.
13755         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13756         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13757         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13758         and <fix-fp-int-convert-overflow.h>.
13759         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13760         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13761         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13762         <limits.h> and <fix-fp-int-convert-overflow.h>.
13763         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13764         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13765         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13766         and <fix-fp-int-convert-overflow.h>.
13767         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13768         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13769         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13770         and <fix-fp-int-convert-overflow.h>.
13771         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13772         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13773         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13775 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13777         [BZ #18589]
13778         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13779         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13780         $(gen-locales).
13782 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13783             Phil Blundell <pb@pbcl.net>
13785         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13786         * nptl/tst-cancel26.c: New file.
13787         * nptl/tst-cancel27.c: Likewise.
13789 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13791         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13792         __ILP32__ isn't defined.
13793         (lrint): Likewise.
13794         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13795         (lrintf): Likewise.
13796         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13797         (lrintl): Likewise.
13798         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13799         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13800         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13802 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13804         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13805         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13807         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13808         file.
13809         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13810         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13812 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13814         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13815         configure test.
13816         * sysdeps/i386/configure: Regenerated.
13817         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13818         configure test.
13819         * sysdeps/x86_64/configure: Regenerated.
13820         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13821         Make code unconditional.
13823         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13824         test.
13825         * sysdeps/i386/configure: Regenerated.
13826         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13827         test.
13828         * sysdeps/x86_64/configure: Regenerated.
13829         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13830         Make code unconditional.
13831         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13832         Likewise.
13833         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13834         Likewise.
13835         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13836         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13837         code unconditional.
13838         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13839         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13840         code unconditional.
13841         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13842         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13843         code unconditional.
13844         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13845         code unconditional.
13846         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13847         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13848         code unconditional.
13849         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13850         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13851         code unconditional.
13852         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13853         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13854         code unconditional.
13855         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13856         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13857         code unconditional.
13858         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13859         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13861         [BZ #19095]
13862         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13863         mantissa to long int before shifting left.
13865 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13867         [BZ #19094]
13868         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13869         <limits.h>.
13870         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13871         when result overflows but exception would not result from cast.
13872         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13873         <limits.h>.
13874         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13875         when result overflows but exception would not result from cast.
13876         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13877         <limits.h>.
13878         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13879         when result overflows but exception would not result from cast.
13880         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13881         <limits.h>.
13882         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13883         when result overflows but exception would not result from cast.
13884         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13885         <limits.h>.
13886         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13887         when result overflows but exception would not result from cast.
13888         * math/libm-test.inc (lrint_test_data): Add more tests.
13889         (llrint_test_data): Likewise.
13891 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13893         [BZ #18872]
13894         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13895         Move out from under [$(run-built-tests) = yes] conditional.
13896         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13897         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13899 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13901         [BZ #18589]
13902         * string/Makefile (tests): Add bug-strcoll2.
13903         (LOCALES): Add cs_CZ.UTF-8.
13904         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13906         [BZ #18589]
13907         * string/bug-strcoll2.c: New file.
13908         * locale/categories.def: Revert commit
13909         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13910         * locale/langinfo.h: Likewise.
13911         * locale/localeinfo.h: Likewise.
13912         * locale/C-collate.c: Likewise.
13913         * locale/programs/ld-collate.c (collate_output): Likewise.
13914         * string/strcoll_l.c (STRDIFF): Likewise.
13915         (STRCOLL): Likewise.
13916         * wcsmbs/wcscoll_l.c: Likewise.
13918 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13920         * math/libm-test.inc (lround_test_data): Do not expect the absence
13921         of "inexact" for some tests with non-integer arguments.
13922         (llround_test_data): Likewise.
13924         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13925         test.
13926         (libc_cv_cc_sse2avx): Likewise.
13927         * sysdeps/i386/configure: Regenerated.
13928         * sysdeps/i386/i686/multiarch/Makefile
13929         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13930         [$(subdir) = math].
13931         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13932         code unconditional.
13933         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13934         Likewise.
13935         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13936         Likewise.
13937         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13938         Likewise.
13939         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13940         test.
13941         (libc_cv_cc_sse2avx): Likewise.
13942         * sysdeps/x86_64/configure: Regenerated.
13943         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13944         unconditional.
13945         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13946         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13947         unconditional.
13948         (_dl_runtime_profile)
13949         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13950         conditional code.
13951         * sysdeps/x86_64/fpu/multiarch/Makefile
13952         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13953         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13954         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13955         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13956         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13957         * sysdeps/x86_64/fpu/multiarch/e_log.c
13958         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13959         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13960         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13961         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13962         Likewise.
13963         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13964         Likewise.
13965         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13966         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13967         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13968         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13969         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13970         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13971         (HAVE_SSE2AVX_SUPPORT): Likewise.
13973 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13975         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13976         instead of #pragma optimize.
13978 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13980         [BZ #17195]
13981         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13982         as is similarly done in systrim and _int_free already.
13984 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13986         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13988 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13990         [BZ #19088]
13991         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13992         <limits.h>.
13993         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13994         overflows but exception would not result from cast.
13995         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13996         and <limits.h>.
13997         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13998         overflows but exception would not result from cast.
13999         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14000         <limits.h>.
14001         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14002         overflows but exception would not result from cast.
14003         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14004         <limits.h>.
14005         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14006         overflows but exception would not result from cast.
14007         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14008         <limits.h>.
14009         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14010         overflows but exception would not result from cast.
14011         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14012         <limits.h>.
14013         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14014         overflows but exception would not result from cast.
14015         * math/libm-test.inc (lround_test_data): Add more tests.
14016         (llround_test_data): Likewise.
14018 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14020         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14021         (CFLAGS-ialloc.c): Ditto.
14022         (CFLAGS-scheck.c): Ditto.
14024 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14026         [BZ #19086]
14027         * manual/filesys.texi (Storage Allocation): Fix argument order for
14028         posix_fallocate64.
14030 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14032         [BZ #19085]
14033         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14034         exponent below 48 inside case for non-overflowing exponent.
14035         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14037 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14039         * iconvdata/cp737.h (from_idx): Add const.
14040         * iconvdata/cp775.h (from_idx): Likewise.
14042 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14044         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14045         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14046         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14048         [BZ #19079]
14049         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14050         file, conditioned on [!_LP64].
14051         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14052         [!_LP64] (__lround): Do not define as function or alias.
14053         [!_LP64] (lround): Likewise.
14054         [!_LP64] (__lroundl): Likewise.
14055         [!_LP64] (lroundl): Likewise.
14056         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14057         macro.
14058         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14059         Likewise.
14061 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14063         * math/libm-test.inc (lrint_test_data): Add more tests.
14064         (llrint_test_data): Likewise.
14065         (lround_test_data): Likewise.
14066         (llround_test_data): Likewise.
14068         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14069         (llrint_test_data): Add tests used for lrint.
14071         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14072         test.
14073         * sysdeps/i386/configure: Regenerated.
14074         * sysdeps/i386/i686/multiarch/Makefile
14075         [$(config-cflags-sse4) = yes]: Make code unconditional.
14076         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14077         Likewise.
14078         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14079         Likewise.
14080         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14081         test.
14082         * sysdeps/x86_64/configure: Regenerated.
14083         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14084         Make code unconditional.
14085         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14086         Likewise.
14087         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14088         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14090         * scripts/rpm2dynsym.sh: Remove file.
14092 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14094         * configure.ac (libc_cv_cxx_thread_local): Define.
14095         * configure: Regenerate.
14096         * config.make.in (have-cxx-thread_local): Define.
14097         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14098         (LDLIBS-tst-thread_local1): Define.
14099         (tests): Add tst-thread_local1.
14100         [have-cxx-thread_local != yes] (tests-unsupported): Add
14101         tst-thread_local1.
14102         * nptl/tst-thread_local1.cc: New file.
14104 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14106         [BZ #19078]
14107         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14108         (u_thres): Likewise.
14109         (__expl): Determine whether to call __kernel_standard_l based on
14110         value of result, not argument.
14112         * math/libm-test.inc (scalb_test_data): Add more expectations for
14113         the "inexact" exception.
14115         [BZ #19077]
14116         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14117         0.0L for argument 1.0L.
14119         [BZ #19076]
14120         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14121         constant 0.0L when computing infinite result.
14123 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14125         [BZ #10432]
14126         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14127         malloc_usable_size.
14129 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14131         [BZ #19018]
14132         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14133         Mangle function pointer before storing it.
14134         (__call_tls_dtors): Demangle function pointer before calling it.
14136 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14138         [BZ #19012]
14139         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14140         Clean up on failure.
14142 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14144         [BZ #19071]
14145         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14146         long int variable to store possibly incremented high part of
14147         mantissa.
14148         * math/libm-test.inc (lround_test_data): Add tests used for
14149         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14150         for tests requiring 64-bit long.  Do not condition tests on
14151         [TEST_FLOAT] unnecessarily.
14152         (llround_test_data): Add tests used for lround.  Add another
14153         expectation for the "inexact" exception.  Do not condition tests
14154         on [TEST_FLOAT] unnecessarily.
14156         [BZ #887]
14157         [BZ #19049]
14158         [BZ #19050]
14159         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14160         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14161         <fix-int-fp-convert-zero.h>.
14162         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14163         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14164         <fix-int-fp-convert-zero.h>.
14165         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14166         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14167         <fix-int-fp-convert-zero.h>.
14168         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14169         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14170         <fix-int-fp-convert-zero.h>.
14171         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14172         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14173         <fix-int-fp-convert-zero.h>.
14174         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14175         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14176         <fix-int-fp-convert-zero.h>.
14177         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14178         * sysdeps/ieee754/flt-32/s_erff.c: Include
14179         <fix-int-fp-convert-zero.h>.
14180         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14181         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14182         <fix-int-fp-convert-zero.h>.
14183         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14185         <fix-int-fp-convert-zero.h>.
14186         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14187         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14188         <fix-int-fp-convert-zero.h>.
14189         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14190         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14191         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14192         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14193         file.
14194         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14196 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14198         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14200 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14202         [BZ #19059]
14203         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14204         overflowing computation.
14205         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14206         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14207         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14208         Likewise.
14209         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14210         Likewise.
14211         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14212         Likewise.
14213         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14214         Likewise.
14215         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14216         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14217         Likewise.
14218         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14219         Likewise.
14220         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14222         * nss/rewrite_field.c (__nss_rewrite_field): Use
14223         internal_function.
14224         * nss/valid_field.c (__nss_valid_field): Likewise.
14225         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14227 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14229         [BZ #18724]
14230         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14231         (__nss_invalid_field_characters, __nss_valid_field)
14232         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14233         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14234         tst-field.c: New file.
14235         * nss/Makefile (routines): Add valid_field, rewrite_field.
14236         (tests-static): Define unconditionally.
14237         (tests): Include tests-static.
14238         [build-static-nss] (tests-static): Use append.
14239         [build-static-nss] (tests): Remove modification.
14240         * nss/getent.c (print_group): Call putgrent.  Report error.
14241         (print_gshadow): Call putsgent.  Report error.
14242         (print_passwd): Call putpwent.  Report error.
14243         (print_shadow): Call putspent.  Report error.
14244         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14245         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14246         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14247         name, password, directory, shell fields for valid syntax.  Rewrite
14248         GECOS field to match syntax.
14249         * pwd/Makefile (tests): Add tst-putpwent.
14250         * pwd/tst-putpwent.c: New file.
14251         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14252         Check grName, grpasswd, gr_mem fields for valid syntax.
14253         Change loop variable i to size_t.
14254         * grp/Makefile (tests): Add tst-putgrent.
14255         * grp/tst-putgrent.c: New file.
14256         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14257         valid syntax.
14258         * shadow/Makefile (tests): Add tst-putspent.
14259         * shadow/tst-putspent.c: New file.
14260         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14261         sg_mem fields for valid syntax.
14262         * gshadow/Makefile (tests): Add tst-putsgent.
14263         * gshadow/tst-putsgent.c: New file.
14265 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14267         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14268         assembly instructions.
14270 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14272         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14273         prefix from operands.
14275 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14277         [BZ #16347]
14278         [BZ #19046]
14279         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14280         <libc-internal.h>.
14281         (MAXLGM): Do not use diagnostic control macros.
14282         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14283         threshold for ldbl-128ibm.
14284         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14285         instead of multiplying by log then subtracting.
14286         * math/auto-libm-test-in: Add more tests of lgamma.
14287         * math/auto-libm-test-out: Regenerated.
14289         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14290         (TYPE_HEX_DIG): Likewise.
14291         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14292         precisions when printing floating-point numbers.
14293         (check_float_internal): Likewise.
14295 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14297         [BZ #16620]
14298         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14299         of log (10) rounded downward to 48 bits.
14300         (log10_low): Use corresponding low part of log (10).
14302         [BZ #19032]
14303         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14304         compute result as (x - x) / (x - x) not as 0 / 0.
14305         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14306         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14308         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14309         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14310         and expm1.
14311         * math/auto-libm-test-out: Regenerated.
14312         * math/libm-test.inc (acos_test_data): Add more tests.
14313         (asin_test_data): Likewise.
14314         (asinh_test_data): Likewise.
14315         (atan_test_data): Likewise.
14316         (atanh_test_data): Likewise.
14317         (atan2_test_data): Likewise.
14318         (cbrt_test_data): Likewise.
14319         (ceil_test_data): Likewise.
14320         (copysign_test_data): Likewise.
14321         (cos_test_data): Likewise.
14322         (cosh_test_data): Likewise.
14323         (erf_test_data): Likewise.
14324         (erfc_test_data): Likewise.
14325         (exp_test_data): Likewise.
14326         (exp10_test_data): Likewise.
14327         (exp2_test_data): Likewise.
14328         (expm1_test_data): Likewise.
14329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14331 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14333         [BZ #19006]
14334         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14335         to ...
14336         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14337         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14338         to ...
14339         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14340         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14341         to ...
14342         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14343         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14344         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14345         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14346         to ...
14347         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14348         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14349         Moved to ...
14350         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14351         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14352         Moved to ...
14353         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14354         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14355         to ...
14356         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14357         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14358         Moved to ...
14359         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14360         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14361         to ...
14362         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14363         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14364         Removed.
14365         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14366         Likewise.
14367         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14368         Likewise.
14369         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14370         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14371         Likewise.
14372         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14373         Likewise.
14374         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14375         Likewise.
14376         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14377         Likewise.
14378         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14379         Likewise.
14380         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14381         Likewise.
14382         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14383         Likewise.
14384         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14385         Likewise.
14386         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14387         Likewise.
14388         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14389         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14390         Likewise.
14391         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14392         Likewise.
14393         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14394         Likewise.
14395         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14396         Likewise.
14397         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14398         Likewise.
14399         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14400         Replace ../i486/pthread_cond_timedwait.S with
14401         ../pthread_cond_timedwait.S.
14403 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14405         * math/libm-test.inc (acos_test_data): Refine expectations for
14406         errno and "inexact" exceptions.
14407         (acosh_test_data): Likewise.
14408         (asin_test_data): Likewise.
14409         (asinh_test_data): Likewise.
14410         (atan_test_data): Likewise.
14411         (atanh_test_data): Likewise.
14412         (atan2_test_data): Likewise.
14413         (cbrt_test_data): Likewise.
14414         (ceil_test_data): Likewise.
14415         (copysign_test_data): Likewise.
14416         (cosh_test_data): Likewise.
14417         (erf_test_data): Likewise.
14418         (erfc_test_data): Likewise.
14419         (exp_test_data): Likewise.
14420         (exp10_test_data): Likewise.
14421         (exp2_test_data): Likewise.
14422         (expm1_test_data): Likewise.
14423         (fabs_test_data): Likewise.
14424         (floor_test_data): Likewise.
14425         (fma_test_data): Likewise.
14426         (fmax_test_data): Likewise.
14427         (fmin_test_data): Likewise.
14428         (fmod_test_data): Likewise.
14429         (fpclassify_test_data): Likewise.
14430         (frexp_test_data): Likewise.
14431         (hypot_test_data): Likewise.
14432         (ilogb_test_data): Likewise.
14433         (isgreater_test_data): Likewise.
14434         (isgreaterequal_test_data): Likewise.
14435         (isinf_test_data): Likewise.
14436         (isless_test_data): Likewise.
14437         (islessequal_test_data): Likewise.
14438         (islessgreater_test_data): Likewise.
14439         (isnan_test_data): Likewise.
14440         (isnormal_test_data): Likewise.
14441         (issignaling_test_data): Likewise.
14442         (isunordered_test_data): Likewise.
14443         (j0_test_data): Likewise.
14444         (j1_test_data): Likewise.
14445         (jn_test_data): Likewise.
14446         (lgamma_test_data): Likewise.
14447         (lrint_test_data): Likewise.
14448         (llrint_test_data): Likewise.
14449         (log_test_data): Likewise.
14450         (log10_test_data): Likewise.
14451         (log1p_test_data): Likewise.
14452         (log2_test_data): Likewise.
14453         (logb_test_data): Likewise.
14454         (lround_test_data): Likewise.
14455         (llround_test_data): Likewise.
14456         (modf_test_data): Likewise.
14457         (nearbyint_test_data): Likewise.
14458         (nextafter_test_data): Likewise.
14459         (nexttoward_test_data): Likewise.
14460         (pow_test_data): Likewise.
14461         (remainder_test_data): Likewise.
14462         (remquo_test_data): Likewise.
14463         (rint_test_data): Likewise.
14464         (round_test_data): Likewise.
14465         (signbit_test_data): Likewise.
14466         (sinh_test_data): Likewise.
14467         (sqrt_test_data): Likewise.
14468         (tanh_test_data): Likewise.
14469         (tgamma_test_data): Likewise.
14470         (trunc_test_data): Likewise.
14471         (y0_test_data): Likewise.
14472         (y1_test_data): Likewise.
14473         (yn_test_data): Likewise.
14474         (significand_test_data): Likewise.
14476 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14478         * manual/filesys.texi (Storage Allocation): Document that
14479         posix_fallocate emulation fails when fd is open with O_WRONLY.
14481 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14483         [BZ #19016]
14484         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14485         allow more cases with X^2 + Y^2 >= 0.5.
14486         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14487         normal element in sum instead of special-casing based on values of
14488         arguments.
14489         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14490         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14491         -1 as normal element in sum instead of special-casing based on
14492         values of arguments.
14493         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14494         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14495         (__x2y2m1): Update comment.
14496         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14497         as normal element in sum instead of special-casing based on values
14498         of arguments.
14499         * math/s_clog.c (__clog): Handle more cases using log1p without
14500         hypot.
14501         * math/s_clog10.c (__clog10): Likewise.
14502         * math/s_clog10f.c (__clog10f): Likewise.
14503         * math/s_clog10l.c (__clog10l): Likewise.
14504         * math/s_clogf.c (__clogf): Likewise.
14505         * math/s_clogl.c (__clogl): Likewise.
14506         * math/auto-libm-test-in: Add more tests of clog and clog10.
14507         * math/auto-libm-test-out: Regenerated.
14508         * sysdeps/i386/fpu/libm-test-ulps: Update.
14509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14511 2015-09-28  Martin Sebor  <msebor@redhat.com>
14513         [BZ #18969]
14514         * string/Makefile (LOCALES): Define.
14515         (gen-locales.mk): Include.
14516         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14517         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14518         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14519         on setlocale failure.
14521 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14523         [BZ #18985]
14524         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14525         (__strftime_internal): Likewise.
14526         * time/tst-strftime.c (do_bz18985): New test.
14527         (do_test): Call it.
14529 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14531         [BZ #18956]
14532         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14533         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14534         extracting high part.
14535         * math/auto-libm-test-in: Add another test of pow.
14536         * math/auto-libm-test-out: Regenerated.
14537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14539 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14541         [BZ #18825]
14542         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14543         New macro.
14544         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14545         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14546         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14547         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14548         DBL_NARROW_EVAL, reloading the PIC register as needed.
14549         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14550         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14551         FLT_NARROW_EVAL.  Use separate return path for case when first
14552         argument is NaN.
14553         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14554         DEFINE_LDBL_MIN.
14555         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14556         PIC register.
14557         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14558         math_check_force_underflow_nonneg.
14559         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14560         underflow for subnormal result.
14561         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14562         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14563         math_check_force_underflow_nonneg.
14564         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14565         math_check_force_underflow.
14566         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14567         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14568         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14569         DEFINE_LDBL_MIN.
14570         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14571         * math/auto-libm-test-in: Add more tests of pow.
14572         * math/auto-libm-test-out: Regenerated.
14574 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14576         * nss/bug17079.c (init_test_items): Add diagnostic for
14577         inconsistent entries.
14578         (test_buffer_size): Skip inconsistent entries.
14580 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14582         [BZ #13304]
14583         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14584         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14585         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14587         [BZ #13304]
14588         * sysdeps/microblaze/s_fma.c: New file.
14589         * sysdeps/microblaze/s_fmaf.c: Likewise.
14590         * sysdeps/microblaze/sfp-machine.h: Likewise.
14592 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14594         [BZ #17250]
14595         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14596         member.
14598 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14600         [BZ #18803]
14601         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14602         (MO): New macro.
14603         (__ieee754_hypot) [PIC]: Load PIC register.
14604         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14605         DBL_NARROW_EVAL.
14606         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14607         math_check_force_underflow_nonneg in case where result might be
14608         tiny.
14609         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14610         Likewise.
14611         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14612         Likewise.
14613         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14614         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14615         * math/auto-libm-test-in: Add more tests of hypot.
14616         * math/auto-libm-test-out: Regenerated.
14618 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14620         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14622 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14624         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14625         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14626         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14627         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14628         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14629         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14630         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14632         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14633         LOAD_PIC_REG.
14635         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14636         (FLT_CHECK_FORCE_UFLOW): Likewise.
14637         (DBL_CHECK_FORCE_UFLOW): Likewise.
14638         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14639         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14640         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14641         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14642         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14643         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14644         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14645         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14646         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14647         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14648         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14649         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14650         (flt_min): Replace with use of DEFINE_FLT_MIN.
14651         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14652         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14653         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14654         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14655         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14656         (flt_min): Replace with use of DEFINE_FLT_MIN.
14657         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14658         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14659         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14660         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14661         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14662         (flt_min): Replace with use of DEFINE_FLT_MIN.
14663         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14664         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14665         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14666         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14667         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14668         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14669         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14670         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14671         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14672         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14673         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14674         (flt_min): Replace with use of DEFINE_FLT_MIN.
14675         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14676         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14677         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14678         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14679         main computation.
14680         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14681         (flt_min): Replace with use of DEFINE_FLT_MIN.
14682         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14683         main computation.
14684         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14685         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14686         (MO): New macro.
14687         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14688         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14689         (flt_min): Replace with use of DEFINE_FLT_MIN.
14690         (MO): New macro.
14691         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14692         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14693         (__log1pl): Use MO.
14695         [BZ #19003]
14696         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14697         $(config-cflags-nofma).
14699 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14701         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14703 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14705         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14706         (TWO127): Likewise.
14708         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14709         (min_of_type): Likewise.
14710         (math_check_force_underflow): Likewise.
14711         (math_check_force_underflow_nonneg): Likewise.
14712         (math_check_force_underflow_complex): Likewise.
14713         * math/e_exp2l.c (__ieee754_exp2l): Use
14714         math_check_force_underflow_nonneg.
14715         * math/k_casinh.c (__kernel_casinh): Likewise.
14716         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14717         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14718         * math/s_catan.c (__catan): Use
14719         math_check_force_underflow_complex.
14720         * math/s_catanf.c (__catanf): Likewise.
14721         * math/s_catanh.c (__catanh): Likewise.
14722         * math/s_catanhf.c (__catanhf): Likewise.
14723         * math/s_catanhl.c (__catanhl): Likewise.
14724         * math/s_catanl.c (__catanl): Likewise.
14725         * math/s_ccosh.c (__ccosh): Likewise.
14726         * math/s_ccoshf.c (__ccoshf): Likewise.
14727         * math/s_ccoshl.c (__ccoshl): Likewise.
14728         * math/s_cexp.c (__cexp): Likewise.
14729         * math/s_cexpf.c (__cexpf): Likewise.
14730         * math/s_cexpl.c (__cexpl): Likewise.
14731         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14732         * math/s_clog10.c (__clog10): Likewise.
14733         * math/s_clog10f.c (__clog10f): Likewise.
14734         * math/s_clog10l.c (__clog10l): Likewise.
14735         * math/s_clogf.c (__clogf): Likewise.
14736         * math/s_clogl.c (__clogl): Likewise.
14737         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14738         * math/s_csinf.c (__csinf): Likewise.
14739         * math/s_csinh.c (__csinh): Likewise.
14740         * math/s_csinhf.c (__csinhf): Likewise.
14741         * math/s_csinhl.c (__csinhl): Likewise.
14742         * math/s_csinl.c (__csinl): Likewise.
14743         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14744         * math/s_csqrtf.c (__csqrtf): Likewise.
14745         * math/s_csqrtl.c (__csqrtl): Likewise.
14746         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14747         * math/s_ctanf.c (__ctanf): Likewise.
14748         * math/s_ctanh.c (__ctanh): Likewise.
14749         * math/s_ctanhf.c (__ctanhf): Likewise.
14750         * math/s_ctanhl.c (__ctanhl): Likewise.
14751         * math/s_ctanl.c (__ctanl): Likewise.
14752         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14753         instead of volatile.
14754         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14755         math_check_force_underflow.
14756         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14757         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14758         volatile when forcing underflow.
14759         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14760         math_check_force_underflow_nonneg.
14761         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14762         Likewise.
14763         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14764         math_check_force_underflow.
14765         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14766         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14767         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14768         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14769         math_check_force_underflow_nonneg.
14770         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14771         math_check_force_underflow.
14772         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14774         instead of volatile.
14775         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14776         math_check_force_underflow.
14777         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14778         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14779         math_check_force_underflow_nonneg.
14780         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14781         math_check_force_underflow.
14782         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14783         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14784         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14785         math_check_force_underflow_nonneg.
14786         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14787         Likewise.
14788         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14789         math_check_force_underflow.
14790         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14791         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14792         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14793         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14794         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14795         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14796         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14797         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14798         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14799         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14800         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14801         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14802         Likewise.
14803         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14804         math_check_force_underflow_nonneg.
14805         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14806         Likewise.
14807         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14808         math_check_force_underflow.
14809         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14810         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14811         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14812         Likewise.
14813         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14814         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14815         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14816         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14817         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14818         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14819         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14820         instead of volatile.
14821         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14822         math_check_force_underflow.
14823         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14824         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14825         math_check_force_underflow.
14826         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14827         Likewise.
14828         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14829         Use math_check_force_underflow_nonneg.
14830         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14831         math_check_force_underflow.
14832         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14833         Likewise.
14834         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14835         Likewise.
14836         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14837         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14838         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14839         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14841         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14842         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14843         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14844         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14845         math_check_force_underflow_nonneg.
14846         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14847         math_check_force_underflow.
14848         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14849         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14850         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14851         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14852         math_check_force_underflow_nonneg.
14853         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14854         math_check_force_underflow.
14855         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14857         instead of volatile.
14858         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14859         math_check_force_underflow.
14861         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14862         * stdlib/strtod_l.c: Include <math_private.h>.
14863         (overflow_value): Use math_narrow_eval.
14864         (underflow_value): Likewise.
14865         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14866         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14867         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14868         (__ieee754_gamma_r): Likewise.
14869         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14870         Likewise.
14871         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14872         Likewise.
14873         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14874         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14875         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14876         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14877         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14878         (__ieee754_gammaf_r): Likewise.
14879         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14880         Likewise.
14881         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14882         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14883         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14884         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14885         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14886         volatile.
14887         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14888         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14889         math_narrow_eval.
14890         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14891         Likewise.
14892         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14893         Likewise.
14894         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14895         Likewise.
14896         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14897         volatile.
14898         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14899         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14900         math_narrow_eval.
14901         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14902         Likewise.
14903         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14904         Likewise.
14906 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14908         * nptl/Versions: Remove ignored symbols.
14910 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14912         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14913         * nss/Makefile (tests): Update.
14915 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14917         * nss/bug18287.c: New file.
14918         * nss/Makefile (tests): Add bug18287.
14920 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14922         * mach/Versions (__mach_host_self_): Add symbol.
14924 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14926         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14927         vm_page_size.
14929 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14931         Really fix sysdeps/i386/fpu/s_scalbn.S build
14933         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14934         (libc: GLIBC_2_22): Remove unused version set.
14936 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14938         * config.make.in (enable-timezone-tools): New variable.
14939         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14940         (enable_timezone_tools): Export to generated files.
14941         * configure: Regenerate.
14942         * INSTALL: Regenerate.
14943         * manual/install.texi (--disable-timezone-tools): Document new flag.
14944         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14945         ifeq ($(enable-timezone-tools),yes) check.
14947 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14949         * timezone/Makefile: Revert previous change.
14951         [BZ #18980]
14952         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14953         (DEFINE_DBL_MIN): Likewise.
14954         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14955         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14956         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14957         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14958         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14959         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14960         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14961         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14962         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14963         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14964         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14965         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14966         (flt_min): Replace with use of DEFINE_FLT_MIN.
14967         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14968         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14969         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14970         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14971         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14972         (flt_min): Replace with use of DEFINE_FLT_MIN.
14973         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14974         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14975         (flt_min): Replace with use of DEFINE_FLT_MIN.
14976         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14977         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14978         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14979         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14980         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14981         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14982         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14983         (__ieee754_pow): Use DBL_NARROW_EVAL.
14984         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14985         (__ieee754_powf): Use FLT_NARROW_EVAL.
14986         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14987         (__ieee754_expf_sse2): Convert double-precision result to single
14988         precision.
14989         * sysdeps/i386/fpu/libm-test-ulps: Update.
14991 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14993         * timezone/Makefile: Ignore unused variable errors due to private.h
14994         (time_t_min) and (time_t_max).
14995         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14996         Likewise.
14998 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15000         [BZ #18981]
15001         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15002         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15003         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15004         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15005         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15006         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15007         (__scalbn): Use DBL_NARROW_EVAL.
15008         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15009         (__scalbnf): Use FLT_NARROW_EVAL.
15011 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15013         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15014         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15015         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15016         * stdio-common/printf_fp.c (___printf_fp):
15017         Use signbit to get the sign. Use isinf macro to allow inlining.
15018         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15019         * stdio-common/printf_size.c (__printf_size): Likewise.
15021 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15023         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15025 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15027         [BZ #18980]
15028         * sysdeps/generic/math_private.h: Include <float.h>.
15029         (math_narrow_eval): New macro.
15030         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15031         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15032         math_narrow_eval on overflowing return value.
15033         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15034         Likewise.
15035         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15036         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15037         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15038         Likewise.
15039         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15041 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15043         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15044         * math/Makefile: Remove isinf_ns.c.
15045         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15046         * math/multc3.c (__multc3): Likewise.
15047         * math/s_casin.c (__casin): Likewise.
15048         * math/s_casinf.c (__casinf): Likewise.
15049         * math/s_casinl.c (__casinl): Likewise.
15050         * math/s_cproj.c (__cproj): Likewise.
15051         * math/s_cprojf.c (__cprojf): Likewise.
15052         * math/s_cprojl.c (__cprofl): Likewise.
15053         * math/s_ctan.c (__ctan): Likewise.
15054         * math/s_ctanf.c (__ctanf): Likewise.
15055         * math/s_ctanh.c (__ctanh): Likewise.
15056         * math/s_ctanhf.c (__ctanhf): Likewise.
15057         * math/s_ctanhl.c (__ctanhl): Likewise.
15058         * math/s_ctanl.c (__ctanl): Likewise.
15059         * math/w_fmod.c (__fmod): Likewise.
15060         * math/w_fmodf.c (__fmodf): Likewise.
15061         * math/w_fmodl.c (_fmodl): Likewise.
15062         * math/w_remainder.c (__remainder): Likewise.
15063         * math/w_remainderf.c (__remainderf): Likewise.
15064         * math/w_remainderl.c (__remainderl): Likewise.
15065         * math/w_scalb.c (__scalb): Likewise.
15066         * math/w_scalbf.c (__scalbf): Likewise.
15067         * math/w_scalbl.c (__scalbl): Likewise.
15068         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15069         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15070         with isinf.
15071         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15072         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15073         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15074         __isinf_nsf with isinf.
15075         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15076         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15077         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15078         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15079         with isinf.
15080         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15081         __isinf_nsl with isinf.
15082         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15083         with isinf.
15084         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15085         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15086         __isinf_nsl with isinf.
15087         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15088         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15089         with isinf.
15091 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15093         * resolv/base64.c (rcsid): Remove unused static.
15094         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15095         static.  (tqpi1): Likewise.
15096         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15097         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15098         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15099         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15100         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15101         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15102         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15103         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15104         Likewise.
15106 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15108         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15109         <nptl/pthreadP.h>.
15110         (_longjmp_unwind): Use __libc_ptf_call.
15111         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15113 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15115         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15116         * sysdeps/arm/__longjmp.S: Likewise.
15118 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15120         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15121         Use __builtin_signbit.
15122         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15123         Use __builtin_signbitf.
15124         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15125         Use __builtin_signbitl.
15126         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15127         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15129 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15131         [BZ #15367]
15132         [BZ #17441]
15134         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15135         * math/math.h (fpclassify): Use __builtin_fpclassify when
15136         available.  (signbit): Use __builtin_signbit(f/l).
15137         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15138         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15139         (isinf): Use __builtin_isinf_sign.
15141 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15143         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15144         * benchtests/bench-math-inlines.c: New benchmark.
15145         * benchtests/bench-util.h: New file.
15146         * benchtests/bench-util.c: New file.
15147         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15149 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15151         * elf/tst-dlmopen1.c: Define TEST_SO.
15152         (do_test): Use TEST_SO.
15154         * elf/dl-load.c: Include libc-internal.h.
15155         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15157 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15159         [BZ #17887]
15160         * time/strptime_l.c (__strptime_internal): Make %z accept
15161         [+-]HH:MM time zones.
15163 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15165         [BZ #17886]
15166         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15167         valid time zone.
15169 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15171         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15172         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15173         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15174         (__ASSUME_FDATASYNC): Delete.
15176 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15178         * conform/linknamespace.pl: Require weak undefined symbols to be
15179         in the standard namespace.
15180         (%strong_syms): Rename to %seen_syms.
15181         (%strong_seen): Rename to %seen_where.
15183 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15185         [BZ #18970]
15186         * misc/error.c (error): Replace pthread_setcancelstate with
15187         __pthread_setcancelstate.
15188         (error_at_line): Likewise.
15189         * posix/wordexp.c (parse_comm): Likewise.
15190         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15191         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15192         (__pthread_setcancelstate): This.
15193         (pthread_setcancelstate): Add an alias.
15194         * nptl/nptl-init.c (pthread_functions): Replace
15195         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15196         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15197         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15198         hidden_proto.
15199         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15200         it with hidden_def.
15201         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15202         (pthread_setcancelstate): Renamed to ...
15203         (__pthread_setcancelstate): This.
15204         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15205         __libc_ptf_call with __pthread_setcancelstate.
15207 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15208             Andreas Schwab  <schwab@suse.de>
15210         [BZ #17118]
15211         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15212         result when imaginary part of argument is infinite using sine and
15213         cosine.
15214         * math/s_ctanf.c (__ctanf): Likewise.
15215         * math/s_ctanl.c (__ctanl): Likewise.
15216         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15217         of result when real part of argument is infinite using sine and
15218         cosine.
15219         * math/s_ctanhf.c (__ctanhf): Likewise.
15220         * math/s_ctanhl.c (__ctanhl): Likewise.
15221         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15222         (ctanh_test_data): Add more tests of ctanh.
15224 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15226         [BZ #15384]
15227         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15228         bit-mask as in subtraction.
15229         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15230         Likewise.
15231         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15232         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15233         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15235         [BZ #18951]
15236         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15237         underflow exception for small results.
15238         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15239         Likewise.
15240         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15241         Likewise.
15242         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15243         Likewise.
15244         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15245         Likewise.
15246         * math/auto-libm-test-in: Add more tests of tgamma.
15247         * math/auto-libm-test-out: Regenerated.
15249 2015-09-17  Andreas Schwab  <schwab@suse.de>
15251         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15253 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15255         [BZ #18977]
15256         * math/bits/mathcalls.h
15257         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15258         not declare.
15259         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15260         Likewise.
15261         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15262         Likewise.
15263         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15264         Likewise.
15265         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15266         Likewise.
15267         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15268         Likewise.
15269         * conform/data/math.h-data
15270         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15271         function.
15272         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15273         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15274         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15275         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15276         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15277         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15278         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15279         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15280         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15281         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15282         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15284         [BZ #6803]
15285         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15286         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15287         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15288         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15289         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15290         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15291         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15292         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15293         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15294         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15295         Likewise.
15296         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15297         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15298         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15299         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15300         long_double_symbol calls.
15301         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15302         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15303         strong alias of __ldexpl.
15304         (scalbnl): Define using long_double_symbol.
15305         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15306         Remove alias.
15307         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15308         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15309         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15310         (scalbln_test_data): Add more errno expectations.
15312 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15314         Cache the host port like we cache the task port.  This way we do not
15315         need to call the kernel just to get the port.  Furthermore, we no
15316         longer increase the reference count on every invocation of
15317         `mach_host_self'.
15319         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15320         Protect declarations against the macro expansion.
15321         * mach/mach_init.c (__mach_host_self_): New variable.
15322         (mach_init): Initialize `__mach_host_self_'.
15323         * mach/mach_init.h (__mach_host_self_): New declaration.
15324         (__mach_host_self, mach_host_self): New macros.
15325         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15326         Release reference.
15328 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15330         [BZ #4404]
15331         * po/de.po: Update from Translation Project.
15333         [BZ #16415]
15334         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15335         (__expm1l): Remove code to handle positive infinity and overflow.
15336         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15337         variable.
15338         (__expm1l): Remove code to handle positive infinity and overflow.
15340 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15341             Paul Pluzhnikov  <ppluzhnikov@google.com>
15343         [BZ #18872]
15344         * stdio-common/Makefile (tst-printf-bz18872): New test.
15345         (tst-printf-bz18872-mem.out): Likewise.
15346         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15347         * stdio-common/vfprintf.c: Fix memory leaks.
15349 2015-09-16  Andreas Schwab  <schwab@suse.de>
15351         [BZ #17244]
15352         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15353         Remove extra va_start/va_end calls.
15355         [BZ #17243]
15356         * posix/execl.c (execl): Add missing va_end.
15357         * posix/execle.c (execle): Likewise.
15358         * posix/execlp.c (execlp): Likewise.
15360 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15362         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15363         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15365 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15367         [BZ #18967]
15368         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15369         undefine around includes of <bits/mathcalls.h>.
15370         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15371         not declare function.
15372         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15373         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15374         (scalb): Likewise.
15375         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15376         not define macro.
15377         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15378         variable.
15379         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15380         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15381         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15383         [BZ #18857]
15384         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15385         return non-finite argument without doing ordered comparisons on
15386         it.
15388         [BZ #16296]
15389         * math/fenv.h (fegetround): Use __attribute_pure__.
15390         * include/fenv.h (__fegetround): Likewise.
15392         [BZ #18595]
15393         * math/s_ctan.c (__ctan): Force underflow exception for results
15394         whose real or imaginary part has small absolute value.
15395         * math/s_ctanf.c (__ctanf): Likewise.
15396         * math/s_ctanh.c (__ctanh): Likewise.
15397         * math/s_ctanhf.c (__ctanhf): Likewise.
15398         * math/s_ctanhl.c (__ctanhl): Likewise.
15399         * math/s_ctanl.c (__ctanl): Likewise.
15400         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15401         and ctanh.  Add more tests of ctan and ctanh.
15403         [BZ #15918]
15404         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15405         handling of cases where one argument is an infinity.
15407         [BZ #18875]
15408         [BZ #18966]
15409         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15410         (MO): New macro.
15411         (__ieee754_exp10): For small results, force underflow exception
15412         and remove excess range and precision from return value.
15413         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15414         (MO): New macro.
15415         (__ieee754_exp10f): For small results, force underflow exception
15416         and remove excess range and precision from return value.
15417         * math/auto-libm-test-in: Add more tests of exp10.
15418         * math/auto-libm-test-out: Regenerated.
15420 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15422         [BZ #18875]
15423         [BZ #18961]
15424         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15425         (MO): New macro.
15426         (__ieee754_exp): For small results, force underflow exception and
15427         remove excess range and precision from return value.
15428         (__exp_finite): Likewise.
15429         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15430         (MO): New macro.
15431         (__ieee754_expf): For small results, force underflow exception and
15432         remove excess range and precision from return value.
15433         (__expf_finite): Likewise.
15434         * math/auto-libm-test-in: Add more tests of exp.
15435         * math/auto-libm-test-out: Regenerated.
15437         [BZ #16521]
15438         [BZ #18875]
15439         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15440         small results.
15441         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15442         (MO): New macro.
15443         (__ieee754_exp2): For small results, force underflow exception and
15444         remove excess range and precision from return value.
15445         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15446         (MO): New macro.
15447         (__ieee754_exp2f): For small results, force underflow exception
15448         and remove excess range and precision from return value.
15449         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15450         (MO): New macro.
15451         (__ieee754_exp2l): Force underflow exception for small results.
15452         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15453         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15454         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15455         (MO): New macro.
15456         (__ieee754_exp2l): Force underflow exception for small results.
15457         * math/auto-libm-test-in: Add more tests or exp2.
15458         * math/auto-libm-test-out: Regenerated.
15460 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15462         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15464         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15465         /dev/null.
15467 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15469         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15470         io fs process)): Drop spurious backslash.
15472 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15475         Use sysinfo system call instead of parsing /proc/meminfo.
15476         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15477         Likewise.
15479 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15481         [BZ #16985]
15482         * programs/localedef.c (main): Display argv[remaining] when
15483         output_path is NULL.
15485 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15487         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15488         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15489         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15490         tanh.
15491         * math/auto-libm-test-out: Regenerated.
15492         * sysdeps/i386/fpu/libm-test-ulps: Update.
15493         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15494         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15497 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15499         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15500         Use 'override' keyword to freeze the value here, preventing
15501         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15503 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15505         [BZ #14912]
15506         * sysdeps/aarch64/bits/atomic.h: Move to ...
15507         * sysdeps/aarch64/atomic-machine.h: ...here.
15508         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15509         _AARCH64_ATOMIC_MACHINE_H.
15510         * sysdeps/alpha/bits/atomic.h: Move to ...
15511         * sysdeps/alpha/atomic-machine.h: ...here.
15512         * sysdeps/arm/bits/atomic.h: Move to ...
15513         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15514         * bits/atomic.h: Move to ...
15515         * sysdeps/generic/atomic-machine.h: ...here.
15516         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15517         * sysdeps/i386/bits/atomic.h: Move to ...
15518         * sysdeps/i386/atomic-machine.h: ...here.
15519         * sysdeps/ia64/bits/atomic.h: Move to ...
15520         * sysdeps/ia64/atomic-machine.h: ...here.
15521         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15522         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15523         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15524         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15525         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15526         * sysdeps/microblaze/bits/atomic.h: Move to ...
15527         * sysdeps/microblaze/atomic-machine.h: ...here.
15528         * sysdeps/mips/bits/atomic.h: Move to ...
15529         * sysdeps/mips/atomic-machine.h: ...here.
15530         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15531         * sysdeps/powerpc/bits/atomic.h: Move to ...
15532         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15533         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15534         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15535         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15536         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15537         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15538         <atomic-machine.h> instead of <bits/atomic.h>.
15539         * sysdeps/s390/bits/atomic.h: Move to ...
15540         * sysdeps/s390/atomic-machine.h: ...here.
15541         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15542         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15543         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15544         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15545         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15546         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15547         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15548         * sysdeps/tile/bits/atomic.h: Move to ...
15549         * sysdeps/tile/atomic-machine.h: ...here.
15550         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15551         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15552         <sysdeps/tile/atomic-machine.h> instead of
15553         <sysdeps/tile/bits/atomic.h>.
15554         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15555         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15556         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15557         <sysdeps/tile/atomic-machine.h> instead of
15558         <sysdeps/tile/bits/atomic.h>.
15559         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15560         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15561         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15562         <sysdeps/arm/atomic-machine.h> instead of
15563         <sysdeps/arm/bits/atomic.h>.
15564         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15565         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15566         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15567         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15568         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15569         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15570         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15571         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15572         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15573         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15574         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15575         * sysdeps/x86_64/bits/atomic.h: Move to ...
15576         * sysdeps/x86_64/atomic-machine.h: ...here.
15577         * include/atomic.h: Include <atomic-machine.h> instead of
15578         <bits/atomic.h>.
15580         * sysdeps/mips/mips32/libm-test-ulps: Update.
15581         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15583         [BZ #18952]
15584         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15585         not convert non-integer negative arguments to int to determine the
15586         value of signgam.
15587         * math/auto-libm-test-in: Add more tests of lgamma.
15588         * math/auto-libm-test-out: Regenerated.
15590         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15591         cosh, csqrt, erfc, expm1 and lgamma.
15592         * math/auto-libm-test-out: Regenerated.
15593         * sysdeps/i386/fpu/libm-test-ulps: Update.
15594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15596 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15598         [BZ #2542]
15599         [BZ #2543]
15600         [BZ #2558]
15601         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15602         __lgamma_neg for arguments from -28.0 to -2.0.
15603         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15604         __lgamma_negf for arguments from -15.0 to -2.0.
15605         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15606         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15607         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15608         Call __lgamma_negl for arguments from -33.0 to -2.0.
15609         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15610         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15611         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15612         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15613         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15614         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15615         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15616         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15617         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15618         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15619         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15620         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15621         (__lgamma_neg): Likewise.
15622         (__lgamma_negl): Likewise.
15623         (__lgamma_product): Likewise.
15624         (__lgamma_productl): Likewise.
15625         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15626         * math/auto-libm-test-in: Add more tests of lgamma.
15627         * math/auto-libm-test-out: Regenerated.
15628         * sysdeps/i386/fpu/libm-test-ulps: Update.
15629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15631 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15633         [BZ #18675]
15634         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15636 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15638         [BZ #14912]
15639         * bits/libc-lock.h: Move to ...
15640         * sysdeps/generic/libc-lock.h: ...here.
15641         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15642         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15643         * sysdeps/mach/hurd/libc-lock.h: ...here.
15644         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15645         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15646         * sysdeps/mach/bits/libc-lock.h: Move to ...
15647         * sysdeps/mach/libc-lock.h: ...here.
15648         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15649         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15650         * sysdeps/nptl/libc-lock.h: ...here.
15651         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15652         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15653         * sysdeps/nptl/libc-lockP.h: ...here.
15654         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15655         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15656         <bits/libc-lock.h>.
15657         * dirent/scandir-tail.c: Likewise.
15658         * dlfcn/dlerror.c: Likewise.
15659         * elf/dl-close.c: Likewise.
15660         * elf/dl-iteratephdr.c: Likewise.
15661         * elf/dl-lookup.c: Likewise.
15662         * elf/dl-open.c: Likewise.
15663         * elf/dl-support.c: Likewise.
15664         * elf/dl-writev.h: Likewise.
15665         * elf/rtld.c: Likewise.
15666         * grp/fgetgrent.c: Likewise.
15667         * gshadow/fgetsgent.c: Likewise.
15668         * gshadow/sgetsgent.c: Likewise.
15669         * iconv/gconv_conf.c: Likewise.
15670         * iconv/gconv_db.c: Likewise.
15671         * iconv/gconv_dl.c: Likewise.
15672         * iconv/gconv_int.h: Likewise.
15673         * iconv/gconv_trans.c: Likewise.
15674         * include/link.h: Likewise.
15675         * inet/getnameinfo.c: Likewise.
15676         * inet/getnetgrent.c: Likewise.
15677         * inet/getnetgrent_r.c: Likewise.
15678         * intl/bindtextdom.c: Likewise.
15679         * intl/dcigettext.c: Likewise.
15680         * intl/finddomain.c: Likewise.
15681         * intl/gettextP.h: Likewise.
15682         * intl/loadmsgcat.c: Likewise.
15683         * intl/localealias.c: Likewise.
15684         * intl/textdomain.c: Likewise.
15685         * libidn/idn-stub.c: Likewise.
15686         * libio/libioP.h: Likewise.
15687         * locale/duplocale.c: Likewise.
15688         * locale/freelocale.c: Likewise.
15689         * locale/newlocale.c: Likewise.
15690         * locale/setlocale.c: Likewise.
15691         * login/getutent_r.c: Likewise.
15692         * login/getutid_r.c: Likewise.
15693         * login/getutline_r.c: Likewise.
15694         * login/utmp-private.h: Likewise.
15695         * login/utmpname.c: Likewise.
15696         * malloc/mtrace.c: Likewise.
15697         * misc/efgcvt.c: Likewise.
15698         * misc/error.c: Likewise.
15699         * misc/fstab.c: Likewise.
15700         * misc/getpass.c: Likewise.
15701         * misc/mntent.c: Likewise.
15702         * misc/syslog.c: Likewise.
15703         * nis/nis_call.c: Likewise.
15704         * nis/nis_callback.c: Likewise.
15705         * nis/nss-default.c: Likewise.
15706         * nis/nss_compat/compat-grp.c: Likewise.
15707         * nis/nss_compat/compat-initgroups.c: Likewise.
15708         * nis/nss_compat/compat-pwd.c: Likewise.
15709         * nis/nss_compat/compat-spwd.c: Likewise.
15710         * nis/nss_nis/nis-alias.c: Likewise.
15711         * nis/nss_nis/nis-ethers.c: Likewise.
15712         * nis/nss_nis/nis-grp.c: Likewise.
15713         * nis/nss_nis/nis-hosts.c: Likewise.
15714         * nis/nss_nis/nis-network.c: Likewise.
15715         * nis/nss_nis/nis-proto.c: Likewise.
15716         * nis/nss_nis/nis-pwd.c: Likewise.
15717         * nis/nss_nis/nis-rpc.c: Likewise.
15718         * nis/nss_nis/nis-service.c: Likewise.
15719         * nis/nss_nis/nis-spwd.c: Likewise.
15720         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15721         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15722         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15723         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15724         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15725         * nis/nss_nisplus/nisplus-network.c: Likewise.
15726         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15727         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15728         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15729         * nis/nss_nisplus/nisplus-service.c: Likewise.
15730         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15731         * nis/ypclnt.c: Likewise.
15732         * nptl/libc_pthread_init.c: Likewise.
15733         * nss/getXXbyYY.c: Likewise.
15734         * nss/getXXent.c: Likewise.
15735         * nss/getXXent_r.c: Likewise.
15736         * nss/nss_db/db-XXX.c: Likewise.
15737         * nss/nss_db/db-netgrp.c: Likewise.
15738         * nss/nss_db/nss_db.h: Likewise.
15739         * nss/nss_files/files-XXX.c: Likewise.
15740         * nss/nss_files/files-alias.c: Likewise.
15741         * nss/nsswitch.c: Likewise.
15742         * posix/regex_internal.h: Likewise.
15743         * posix/wordexp.c: Likewise.
15744         * pwd/fgetpwent.c: Likewise.
15745         * resolv/res_hconf.c: Likewise.
15746         * resolv/res_libc.c: Likewise.
15747         * shadow/fgetspent.c: Likewise.
15748         * shadow/lckpwdf.c: Likewise.
15749         * shadow/sgetspent.c: Likewise.
15750         * socket/opensock.c: Likewise.
15751         * stdio-common/reg-modifier.c: Likewise.
15752         * stdio-common/reg-printf.c: Likewise.
15753         * stdio-common/reg-type.c: Likewise.
15754         * stdio-common/vfprintf.c: Likewise.
15755         * stdio-common/vfscanf.c: Likewise.
15756         * stdlib/abort.c: Likewise.
15757         * stdlib/cxa_atexit.c: Likewise.
15758         * stdlib/fmtmsg.c: Likewise.
15759         * stdlib/random.c: Likewise.
15760         * stdlib/setenv.c: Likewise.
15761         * string/strsignal.c: Likewise.
15762         * sunrpc/auth_none.c: Likewise.
15763         * sunrpc/bindrsvprt.c: Likewise.
15764         * sunrpc/create_xid.c: Likewise.
15765         * sunrpc/key_call.c: Likewise.
15766         * sunrpc/rpc_thread.c: Likewise.
15767         * sysdeps/arm/backtrace.c: Likewise.
15768         * sysdeps/generic/ldsodefs.h: Likewise.
15769         * sysdeps/generic/stdio-lock.h: Likewise.
15770         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15771         * sysdeps/i386/backtrace.c: Likewise.
15772         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15773         * sysdeps/m68k/backtrace.c: Likewise.
15774         * sysdeps/mach/hurd/cthreads.c: Likewise.
15775         * sysdeps/mach/hurd/dirstream.h: Likewise.
15776         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15777         * sysdeps/nptl/malloc-machine.h: Likewise.
15778         * sysdeps/nptl/stdio-lock.h: Likewise.
15779         * sysdeps/posix/dirstream.h: Likewise.
15780         * sysdeps/posix/getaddrinfo.c: Likewise.
15781         * sysdeps/posix/system.c: Likewise.
15782         * sysdeps/pthread/aio_suspend.c: Likewise.
15783         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15784         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15785         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15786         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15787         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15788         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15789         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15790         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15791         * sysdeps/unix/sysv/linux/system.c: Likewise.
15792         * sysdeps/x86_64/backtrace.c: Likewise.
15793         * time/alt_digit.c: Likewise.
15794         * time/era.c: Likewise.
15795         * time/tzset.c: Likewise.
15796         * wcsmbs/wcsmbsload.c: Likewise.
15797         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15798         instead of <bits/libc-lock.h> in comment.
15800 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15802         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15803         Only use .set mips2 if the current ISA is below mips2.
15804         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15805         Likewise.
15806         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15807         mips32r2 if the current ISA is below mips32r2.
15808         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15809         (TLS_IE): Updated to use the TLD_RDHWR macro.
15810         (TLS_LE): Likewise.
15811         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15812         __ASSEMBLER__ condition.
15814 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15816         Fix parallel build of before-compile targets.
15818         * sysdeps/mach/Makefile ($(patsubst
15819         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15820         mach-before-compile target.
15821         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15822         io fs process)): Move rule to dedicated hurd-before-compile target.
15824 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15826         Fix rules generating headers in hurd/ and mach/ when initial make call
15827         has subdir= explicitly set.
15829         * sysdeps/mach/Makefile ($(patsubst
15830         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15831         calling $(MAKE).
15832         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15833         io fs process)): Force subdir to hurd when calling $(MAKE).
15834         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15835         subdir to mach when calling $(MAKE).
15837 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15839         Check sysheaders when looking for Mach and Hurd headers
15841         * sysdeps/mach/configure.ac: Add sysheaders check.
15842         * sysdeps/mach/configure: Regenerate.
15843         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15844         * sysdeps/mach/hurd/configure: Regenerate.
15846 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15848         [BZ #18921]
15849         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15850         Fix inverted sense of test of 'o_directory_works' value.
15851         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15852         Bernhard Voelker <mail@bernhard-voelker.de>.
15854 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15856         [BZ #14912]
15857         * bits/linkmap.h: Move to ...
15858         * sysdeps/generic/linkmap.h: ...here.
15859         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15860         * sysdeps/aarch64/linkmap.h: ...here.
15861         * sysdeps/arm/bits/linkmap.h: Move to ...
15862         * sysdeps/arm/linkmap.h: ...here.
15863         * sysdeps/hppa/bits/linkmap.h: Move to ...
15864         * sysdeps/hppa/linkmap.h: ...here.
15865         * sysdeps/ia64/bits/linkmap.h: Move to ...
15866         * sysdeps/ia64/linkmap.h: ...here.
15867         * sysdeps/mips/bits/linkmap.h: Move to ...
15868         * sysdeps/mips/linkmap.h: ...here.
15869         * sysdeps/s390/bits/linkmap.h: Move to ...
15870         * sysdeps/s390/linkmap.h: ...here.
15871         * sysdeps/sh/bits/linkmap.h: Move to ...
15872         * sysdeps/sh/linkmap.h: ...here.
15873         * sysdeps/x86/bits/linkmap.h: Move to ...
15874         * sysdeps/x86/linkmap.h: ...here.
15875         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15877 2015-09-04  Andreas Schwab  <schwab@suse.de>
15879         [BZ #18635]
15880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15881         (__makecontext): Terminate FDE before return label.
15882         (__novec_makecontext): Likewise.
15884 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15886         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15887         first member of struct sv in syscall macro.
15889 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15891         [BZ #14912]
15892         * bits/stdio-lock.h: Move to ...
15893         * sysdeps/generic/stdio-lock.h: ...here.
15894         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15895         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15896         * sysdeps/nptl/stdio-lock.h: ...here.
15897         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15898         * include/libio.h: Include <stdio-lock.h> instead of
15899         <bits/stdio-lock.h>.
15900         * sysdeps/nptl/fork.c: Likewise.
15901         * sysdeps/pthread/flockfile.c: Likewise.
15902         * sysdeps/pthread/ftrylockfile.c: Likewise.
15903         * sysdeps/pthread/funlockfile.c: Likewise.
15905         [BZ #14912]
15906         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15907         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15908         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15909         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15910         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15911         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15912         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15914 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15916         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15917         (test-xfail-tst-protected1b): New variable.
15919 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15921         [BZ #14912]
15922         * bits/libc-tsd.h: Move to ...
15923         * sysdeps/generic/libc-tsd.h: ...here.
15924         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15925         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15926         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15927         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15928         * include/ctype.h: Include <libc-tsd.h> instead of
15929         <bits/libc-tsd.h>.
15930         * include/rpc/rpc.h: Likewise.
15931         * locale/localeinfo.h: Likewise.
15932         * sunrpc/rpc_thread.c: Likewise.
15933         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15934         * sysdeps/nptl/malloc-machine.h: Likewise.
15936         * Makefile (headers): Remove bits/libc-lock.h.
15937         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15939         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15940         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15941         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15942         <bits/stdio-lock.h>.
15943         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15944         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15946 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15948         [BZ #18757]
15949         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15950         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15951         BZ #18757.
15953 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15955         * malloc/mtrace.pl: Filter out NULL entries.
15957 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15959         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15960         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15961         macro.
15963         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15964         (TCP_CC_INFO): Likewise.
15965         (TCP_SAVE_SYN): Likewise.
15966         (TCP_SAVED_SYN): Likewise.
15968 2015-08-31  Brett Neumeier <brett@neumeier.us>
15970         [BZ #18870]
15971         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15973 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15975         [BZ #18873]
15976         Fix broken overflow check in posix_fallocate
15977         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15978         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15979         Fix parenthesization typo.
15981 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15983         [BZ #18887]
15984         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15985         tst-mntent-blank-passno.
15986         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15987         * misc/tst-mntent-blank-corrupt.c: New test.
15988         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15989         * misc/tst-mntent.c (do_test): ... here.
15991 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15993         [BZ #4404]
15994         * po/de.po: Fix SIGALRM typo.
15996 2015-08-28  James Perkins  <james@loowit.net>
15998         * time/tst-strptime2.c (tests): Replace short list of test
15999         strings for strptime %z specifier with code which exhaustively
16000         tests every combination of sign and 0 to 5 digits. Tests for
16001         rejection of invalid strings.
16003 2015-08-28  James Perkins  <james@loowit.net>
16005         [BZ #16141]
16006         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16007         calculation, removing incorrect decimal time rounding, so that
16008         all minute values result in a valid seconds value.
16009         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16010         offset range limits to UTC-99:59 through UTC+99:59 to parse
16011         current and historical use cases.
16012         * time/tst-strptime2.c (tests): Modify and add tests for the
16013         strptime %z input field descriptor, specifically conversion of
16014         minutes to seconds and validating an offset range of -9959 to
16015         +9959.
16017 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16018             Dmitry V. Levin  <ldv@altlinux.org>
16020         [BZ #18877]
16021         * posix/Makefile (tests): Add tst-mmap-offset.
16022         * posix/tst-mmap.c: New file.
16023         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16024         offset calculation for negative values.
16026 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16028         * sysdeps/i386/init-arch.h: New file.
16029         * sysdeps/i386/i586/init-arch.h: Likewise.
16030         * sysdeps/i386/i686/init-arch.h: Likewise.
16031         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16032         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16033         * sysdeps/x86/cpu-features.h (bit_I586): New.
16034         (bit_I686): Likewise.
16035         (bit_CX8): Likewise.
16036         (bit_CMOV): Likewise.
16037         (index_CX8): Likewise.
16038         (index_CMOV): Likewise.
16039         (index_I586): Likewise.
16040         (index_I686): Likewise.
16041         (reg_CX8): Likewise.
16042         (reg_CMOV): Likewise.
16043         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16044         available at compile-time.
16045         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16046         available at compile-time.
16047         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16048         (USE_I686): Likewise.
16050 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16052         * sysdeps/i386/bcopy.S: New file.
16053         * sysdeps/i386/bzero.S: Likewise.
16054         * sysdeps/i386/memcpy.S: Likewise.
16055         * sysdeps/i386/memmove.S: Likewise.
16056         * sysdeps/i386/mempcpy.S: Likewise.
16057         * sysdeps/i386/memset.S: Likewise.
16058         * sysdeps/i386/bzero.c: Removed.
16059         * sysdeps/i386/memset.c: Likewise.
16060         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16061         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16062         * sysdeps/i386/i586/memset_chk.S: Likewise.
16063         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16064         * sysdeps/i386/memcpy_chk.S: Here.
16065         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16066         * sysdeps/i386/memmove_chk.S: Here.
16067         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16068         * sysdeps/i386/mempcpy_chk.S: Likewise.
16069         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16070         * sysdeps/i386/memset_chk.S: Likewise.
16072 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16074         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16075         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16076         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16077         * soft-fp/fmadf4.c: Ditto.
16078         * soft-fp/fmatf4.c: Ditto.
16080 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16082         * sysdeps/i386/i586/Implies: Removed.
16083         * sysdeps/i386/i686/Implies: Likewise.
16085 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16087         * sysdeps/i386/i486/strlen.S: Moved to ...
16088         * sysdeps/i386/strlen.S: Here.
16090 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16092         * sysdeps/i386/i486/strcat.S: Moved to ...
16093         * sysdeps/i386/strcat.S: Here.
16095 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16097         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16098         * sysdeps/i386/pthread_spin_trylock.S: Here.
16099         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16100         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16102 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16104         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16105         * sysdeps/i386/string-inlines.c: Here.
16107 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16109         * sysdeps/i386/i486/htonl.S: Moved ...
16110         * sysdeps/i386/htonl.S: here.
16112 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16114         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16115         * sysdeps/i386/bits/atomic.h: Here.
16117 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16119         * sysdeps/i386/i486/Versions: Removed.
16121 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16123         [BZ #2898]
16124         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16125         Based on patch by Aurelien Jarno.
16127 2015-08-26  Stan Shebs  <stanshebs@google.com>
16129         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16130         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16132 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16134         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16135         * sysdeps/powerpc/dl-procinfo.c:
16136         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16137         feature so it shows when LD_SHOW_AUXV=1.
16139 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16141         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16142         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16143         definition.  ISA 2.07B no longer requires full sync.
16145 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16147         [BZ #18863]
16148         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16149         (si_call_addr): Define.
16150         (si_syscall): Define.
16151         (si_arch): Define.
16153 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16155         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16156         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16157         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16158         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16159         (__memset_zero_constant_len_parameter): New.
16160         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16161         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16162         (__memset_zero_constant_len_parameter): Don't define if
16163         __memset_chk or USE_AS_BZERO are defined.
16165         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16166         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16167         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16169         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16170         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16171         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16172         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16173         comments.
16174         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16175         -mno-mmx for $(all-rtld-routines).
16176         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16177         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16178         i386.
16180 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16182         * sysdeps/generic/unwind.h
16183         (_Unwind_Word): Use __mode__(__unwind_word__)
16184         instead of __mode__(__word__).
16185         (_Unwind_Sword): Likewise.
16187         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16188         (MAX_NEEDED_INPUT): New define.
16189         (MAX_NEEDED_OUTPUT): New define.
16191         * NEWS: New item for IBM z13 string optimizations.
16193         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16194         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16195         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16196         * sysdeps/s390/multiarch/Makefile
16197         (sysdep_routines): Add memrchr functions.
16198         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16199         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16201         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16202         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16203         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16204         * sysdeps/s390/multiarch/Makefile
16205         (sysdep_routines): Add wmemcmp functions.
16206         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16207         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16208         * benchtests/bench-wmemcmp.c: New File.
16209         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16211         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16212         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16213         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16214         * sysdeps/s390/multiarch/Makefile
16215         (sysdep_routines): Add wmemset functions.
16216         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16217         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16218         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16219         * string/test-memset.c: Add wmemset support.
16220         * wcsmbs/test-wmemset.c: New File.
16221         * wcsmbs/Makefile (strop-tests): Add wmemset.
16222         * benchtests/bench-memset.c: Add wmemset support.
16223         * benchtests/bench-wmemset.c: New File.
16224         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16226         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16227         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16228         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16229         * sysdeps/s390/multiarch/Makefile
16230         (sysdep_routines): Add memccpy functions.
16231         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16232         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16233         * string/memccpy.c: Use MEMCCPY if defined.
16235         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16236         * sysdeps/s390/multiarch/memchr.c: Likewise.
16237         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16238         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16239         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16240         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16241         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16242         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16243         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16244         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16245         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16246         and rawmemchr functions.
16247         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16248         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16249         and wmemchr.
16250         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16251         * string/test-memchr.c: Add wmemchr support.
16252         * wcsmbs/test-wmemchr.c: New File.
16253         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16254         * benchtests/bench-memchr.c: Add wmemchr support.
16255         * benchtests/bench-wmemchr.c: New File.
16256         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16258         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16259         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16260         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16261         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16262         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16263         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16265         wcscspn functions.
16266         * sysdeps/s390/multiarch/ifunc-impl-list.c
16267         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16268         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16269         * string/test-strcspn.c: Add wcscspn support.
16270         * wcsmbs/test-wcscspn.c: New File.
16271         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16272         * benchtests/bench-strcspn.c: Add wcscspn support.
16273         * benchtests/bench-wcscspn.c: New File.
16274         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16276         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16277         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16278         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16279         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16280         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16281         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16283         wcspbrk functions.
16284         * sysdeps/s390/multiarch/ifunc-impl-list.c
16285         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16286         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16287         * string/test-strpbrk.c: Add wcspbrk support.
16288         * wcsmbs/test-wcspbrk.c: New File.
16289         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16290         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16291         * benchtests/bench-wcspbrk.c: New File.
16292         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16294         * sysdeps/s390/multiarch/strspn-c.c: New File.
16295         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16296         * sysdeps/s390/multiarch/strspn.c: Likewise.
16297         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16298         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16299         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16300         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16302         wcsspn functions.
16303         * sysdeps/s390/multiarch/ifunc-impl-list.c
16304         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16305         * string/test-strspn.c: Add wcsspn support.
16306         * wcsmbs/test-wcsspn.c: New File.
16307         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16308         * benchtests/bench-strspn.c: Add wcsspn support.
16309         * benchtests/bench-wcsspn.c: New File.
16310         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16312         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16313         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16314         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16315         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16316         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16317         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16318         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16319         wcsrchr functions.
16320         * sysdeps/s390/multiarch/ifunc-impl-list.c
16321         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16322         * benchtests/bench-wcsrchr.c: New File.
16323         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16325         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16326         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16327         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16328         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16329         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16330         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16331         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16332         wcschrnul functions.
16333         * sysdeps/s390/multiarch/ifunc-impl-list.c
16334         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16335         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16336         * string/test-strchr.c: Add wcschrnul support.
16337         * wcsmbs/test-wcschrnul.c: New File.
16338         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16339         * benchtests/bench-strchr.c: Add wcschrnul support.
16340         * benchtests/bench-wcschrnul.c: New File.
16341         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16343         * sysdeps/s390/multiarch/strchr-c.c: New File.
16344         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16345         * sysdeps/s390/multiarch/strchr.c: Likewise.
16346         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16347         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16348         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16349         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16350         wcschr functions.
16351         * sysdeps/s390/multiarch/ifunc-impl-list.c
16352         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16353         * string/strchr.c (STRCHR): Define and use macro.
16354         * benchtests/bench-wcschr.c: New File.
16355         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16357         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16358         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16359         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16360         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16361         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16362         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16363         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16364         wcsncmp functions.
16365         * sysdeps/s390/multiarch/ifunc-impl-list.c
16366         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16367         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16368         * benchtests/bench-strncmp.c: Add wcsncmp support.
16369         * benchtests/bench-wcsncmp.c: New File.
16370         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16372         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16373         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16374         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16375         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16376         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16377         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16378         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16379         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16380         wcscmp functions.
16381         * sysdeps/s390/multiarch/ifunc-impl-list.c
16382         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16383         * string/strcmp.c (STRCMP): Define and use macro.
16384         * benchtests/bench-wcscmp.c: New File.
16385         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16386         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16387         instead of _HAVE_STRING_ARCH_memchr.
16389         * sysdeps/s390/multiarch/strncat-c.c: New File.
16390         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16391         * sysdeps/s390/multiarch/strncat.c: Likewise.
16392         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16393         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16394         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16395         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16396         wcsncat functions.
16397         * sysdeps/s390/multiarch/ifunc-impl-list.c
16398         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16399         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16400         * string/test-strncat.c: Add wcsncat support.
16401         * wcsmbs/test-wcsncat.c: New File.
16402         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16403         * benchtests/bench-strncat.c: Add wcsncat support.
16404         * benchtests/bench-wcsncat.c: New File.
16405         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16407         * sysdeps/s390/multiarch/strcat-c.c: New File.
16408         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16409         * sysdeps/s390/multiarch/strcat.c: Likewise.
16410         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16411         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16412         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16413         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16414         wcscat functions.
16415         * sysdeps/s390/multiarch/ifunc-impl-list.c
16416         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16417         * string/strcat.c (STRCAT): Define and use macro.
16418         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16419         * string/test-strcat.c: Add wcscat support.
16420         * wcsmbs/test-wcscat.c: New File.
16421         * wcsmbs/Makefile (strop-tests): Add wcscat.
16422         * benchtests/bench-strcat.c: Add wcscat support.
16423         * benchtests/bench-wcscat.c: New File.
16424         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16426         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16427         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16428         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16429         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16430         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16431         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16432         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16433         wcpncpy functions.
16434         * sysdeps/s390/multiarch/ifunc-impl-list.c
16435         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16436         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16437         * string/test-stpncpy.c: Add wcpncpy support.
16438         * wcsmbs/test-wcpncpy.c: New File.
16439         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16440         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16441         * benchtests/bench-wcpncpy.c: New File.
16442         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16444         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16445         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16446         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16447         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16448         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16449         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16450         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16451         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16452         wcsncpy functions.
16453         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16454         * sysdeps/s390/multiarch/ifunc-impl-list.c
16455         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16456         * string/test-strncpy.c: Add wcsncpy support.
16457         * wcsmbs/test-wcsncpy.c: New File.
16458         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16459         * benchtests/bench-strncpy.c: Add wcsncpy support.
16460         * benchtests/bench-wcsncpy.c: New File.
16461         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16463         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16464         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16465         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16466         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16467         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16468         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16469         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16470         wcpcpy functions.
16471         * string/stpcpy.c: Use STPCPY if defined.
16472         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16473         * sysdeps/s390/multiarch/ifunc-impl-list.c
16474         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16475         * string/test-stpcpy.c: Add wcpcpy support.
16476         * wcsmbs/test-wcpcpy.c: New File.
16477         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16478         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16479         * benchtests/bench-wcpcpy.c: New File.
16480         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16482         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16483         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16484         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16485         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16486         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16487         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16488         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16489         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16490         wcscpy functions.
16491         * sysdeps/s390/multiarch/ifunc-impl-list.c
16492         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16493         * benchtests/bench-wcscpy.c: New File.
16494         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16496         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16497         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16498         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16499         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16500         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16501         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16503         wcsnlen functions.
16504         * sysdeps/s390/multiarch/ifunc-impl-list.c
16505         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16506         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16507         * string/test-strnlen.c: Add wcsnlen support.
16508         * wcsmbs/test-wcsnlen.c: New File.
16509         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16510         * benchtests/bench-strnlen.c: Add wcsnlen support.
16511         * benchtests/bench-wcsnlen.c: New File.
16512         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16514         * sysdeps/s390/multiarch/Makefile: New File.
16515         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16516         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16517         * sysdeps/s390/multiarch/strlen.c: Likewise.
16518         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16519         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16520         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16521         * string/strlen.c (STRLEN): Define and use macro.
16522         * sysdeps/s390/multiarch/ifunc-impl-list.c
16523         (IFUNC_VX_IMPL): New macro function.
16524         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16525         * benchtests/Makefile (wcsmbs-bench): New variable.
16526         (string-bench-all): Added wcsmbs-bench.
16527         * benchtests/bench-wcslen.c: New File.
16529         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16530         s390_vx_libc_ifunc2): New macro function.
16532         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16533         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16534         assembler support.
16535         * sysdeps/s390/configure: Regenerated.
16537         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16538         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16540         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16541         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16542         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16544         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16545         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16546         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16547         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16548         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16549         (memcmp, bcmp): Use __memcmp_default as alias source.
16550         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16551         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16552         Rename to __memcmp_default.
16553         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16554         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16555         (memcpy): Use __memcpy_default as alias source.
16556         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16557         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16558         Rename to __memcpy_default.
16559         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16560         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16561         (memset): Use __memset_default as alias source.
16562         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16563         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16564         Rename to __memset_default.
16565         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16566         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16567         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16568         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16569         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16570         (memcmp, bcmp): Use __memcmp_default as alias source.
16571         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16572         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16573         Rename to __memcmp_default.
16574         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16575         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16576         (memcpy): Use __memcpy_default as alias source.
16577         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16578         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16579         Rename to __memcpy_default.
16580         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16581         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16582         (memset): Use __memset_default as alias source.
16583         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16584         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16585         Rename to __memset_default.
16586         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16587         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16589         [BZ #18610]
16590         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16591         __ieee_instruction_pointer to __unused.
16592         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16593         __ieee_instruction_pointer.
16594         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16595         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16596         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16597         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16598         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16599         Mark dxc-field as reserved.
16601 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16603         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16604         if the weak reference is not null.
16606 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16608         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16610         [BZ #11214]
16611         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16613 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16615         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16616         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16617         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16618         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16619         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16620         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16621         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16622         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16623         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16624         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16625         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16626         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16627         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16628         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16629         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16630         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16631         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16632         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16634 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16636         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16637         register other than r0 for tabort, it has special meaning.
16638         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16639         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16640         transaction before starting syscall.
16642 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16644         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16646 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16648         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16650         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16651         * sysdeps/x86_64/rtld-memset.S: Likewise.
16652         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16653         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16654         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16655         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16657         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16659 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16661         * debug/strcpy_chk.c: Improve performance.
16662         * debug/stpcpy_chk.c: Likewise.
16663         * sysdeps/x86_64/strcpy_chk.S: Remove.
16664         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16666         [BZ #18240]
16667         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16669 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16671         [BZ #15128]
16672         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16673         ifuncmain8.
16674         (modules-names): Add ifuncmod8.
16675         ($(objpfx)ifuncmain8): New rule.
16676         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16677         <cpuid.h>.
16678         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16679         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16680         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16681         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16682         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16683         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16684         * sysdeps/x86_64/ifuncmain8.c: New file.
16685         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16686         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16687         Removed.
16688         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16689         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16690         Change rtld_savespace_sse to __glibc_unused2.
16691         (RTLD_CHECK_FOREIGN_CALL): Removed.
16692         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16693         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16694         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16696 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16698         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16700 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16702         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16703         Unconditionally set __fpcr to avoid uninialized warning.
16704         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16706 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16708         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16709         is corrupt.
16711         * malloc/arena.c (arena_get2): Drop unused argument.
16712         (arena_lock): Adjust.
16713         (arena_get_retry): Likewise.
16715 2015-08-24  Andreas Schwab  <schwab@suse.de>
16717         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16718         Don't define.
16719         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16720         (__ASSUME_IPC64): Don't undef.
16721         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16722         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16723         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16724         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16725         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16726         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16727         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16728         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16729         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16730         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16731         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16732         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16733         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16734         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16735         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16736         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16737         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16738         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16739         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16740         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16741         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16743 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16745         * manual/Makefile (install): Only build manual when perl is available.
16747 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16749         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16750         '#undef memcpy' by '#undef memchr'.
16752 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16754         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16755         memchr not point to the internal __GI_memchr implementation.
16757 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16759         * timezone/Makefile (CFLAGS-zdump.c): Remove
16760         -Wno-strict-prototypes.
16761         (CFLAGS-zic.c): Likewise.
16762         (CFLAGS-ialloc.c): Likewise.
16763         (CFLAGS-scheck.c): Likewise.
16765         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16766         -Wno-error=undef.
16768 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16770         * i386/i686/multiarch/strcasestr-c.c: Removed.
16771         * x86_64/multiarch/strcasestr.c: Likewise.
16772         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16773         Remove strcasestr.
16775 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16777         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16779         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16780         variables for high and low parts before possibly modifying them.
16782 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16784         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16785         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16786         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16787         of "multiarch/init-arch.h".
16788         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16789         * sysdeps/x86/init-arch.h: This.
16791 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16793         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16794         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16796 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16798         [BZ #17787]
16799         * manual/macros.texi: Add twoexp macro.
16800         * manual/filesys.texi: Fix exponents.
16801         * manual/llio.texi: Likewise.
16802         * manual/stdio.texi: Likewise.
16804 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16806         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16807         incorrect use.
16809 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16811         [BZ #18370]
16812         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16813         whose real or imaginary part has small absolute value.
16814         * math/s_csqrtf.c (__csqrtf): Likewise.
16815         * math/s_csqrtl.c (__csqrtl): Likewise.
16816         * math/auto-libm-test-in: Add more tests of csqrt.
16817         * math/auto-libm-test-out: Regenerated.
16818         * sysdeps/i386/fpu/libm-test-ulps: Update.
16820 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16822         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16823         __ppc_set_ppr_very_low): New functions.
16824         * manual/platform.texi: Add documentation about
16825         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16827 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16829         * string/stpncpy.c (stpncpy): Improve performance using
16830         __strnlen/memcpy/memset.
16832 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16834         [BZ #18796]
16835         * scripts/test-installation.pl: Don't add -lmvec to build options if
16836         libmvec wasn't built.
16838 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16840         [BZ #14341]
16841         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16842         case when there is a gap between DT_REL and DT_JMPREL sections.
16843         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16844         (LDFLAGS-tst-split-dynreloc): New.
16845         (tst-split-dynreloc-ENV): Likewise.
16846         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16847         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16849 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16851         [BZ #18822]
16852         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16853         attribute_hidden.
16854         (__xstat64_conv): Likewise.
16855         (__xstat32_conv): Likewise.
16857 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16859         [BZ #18822]
16860         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16861         Don't load %ebx when calling __setcontext.  Call __setcontext
16862         with HIDDEN_JUMPTARGET.
16863         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16864         libc_hidden_def.
16866 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16868         * sysdeps/i386/i686/Makefile
16869         [$(subdir) == string] (sysdep_routines): Moved to ...
16870         * sysdeps/i386/Makefile: Here.
16871         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16872         * sysdeps/i386/cacheinfo.c: Here.
16873         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16874         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16875         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16876         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16878 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16880         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16881         __i586__ is defined.
16882         (HAS_I686): Defined to 1 if __i686__ is defined.
16884 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16886         * elf/Makefile [$(have-z-execstack) = yes]
16887         (CPPFLAGS-tst-execstack.c): New variable.
16889         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16890         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16891         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16892         UTMPX || _HAVE_UT_TV].
16893         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16894         UTMPX || _HAVE_UT_TV - 0].
16896 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16898         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16899         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16900         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16902 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16904         * sysdeps/powerpc/dl-procinfo.c:
16905         (_dl_powerpc_cap_flags): Added missing strings for some
16906         hwcap features.
16907         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16909 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16911         Port the 0x7efe...feff pattern to GCC 6.
16912         See Steve Ellcey's bug report in:
16913         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16914         * string/memrchr.c (MEMRCHR):
16915         * string/rawmemchr.c (RAWMEMCHR):
16916         * string/strchr.c (strchr):
16917         * string/strchrnul.c (STRCHRNUL):
16918         Rewrite code to avoid issues with signed shift overflow.
16920 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16922         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16923         whether cpuid is available only if HAS_CPUID is 0.
16924         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16925         (HAS_I586): Likewise.
16926         (HAS_I686): Likewise.
16928 2015-08-18  Zack Weinberg  <zackw@panix.com>
16930         * misc/Versions (libc): Add GLIBC_2.23.
16932 2015-08-18  Alan Modra  <amodra@gmail.com>
16934         [BZ #18421]
16935         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16936         .Lp__global.
16937         (_start): Load %dp via .Lp__global.
16938         [!SHARED]: Use .section .rodata.
16940 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16942         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16943         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16945 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16947         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16948         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16950 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16952         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16953         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16955 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16957         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16958         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16960 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16962         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16963         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16965 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16967         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16968         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16970 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16972         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16974 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16976         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16977         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16978         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16979         (__ASSUME_LWS_CAS): Delete.
16981 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16983         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16984         * sysdeps/hppa/configure: Regenerated.
16985         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16986         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16987         * sysdeps/hppa/nptl/tls.h: Likewise.
16989 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16991         [BZ #18823]
16992         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16993         for scaling up small arguments.
16994         * math/s_csqrtf.c (__csqrtf): Likewise.
16995         * math/s_csqrtl.c (__csqrtl): Likewise.
16996         * math/auto-libm-test-in: Add more tests of csqrt.
16997         * math/auto-libm-test-out: Regenerated.
16999 2015-08-17  Andreas Schwab  <schwab@suse.de>
17001         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17002         version set GLIBC_2.19.
17004 2015-08-16  Zack Weinberg  <zackw@panix.com>
17006         [BZ #18681]
17007         * misc/regexp.h: This interface is no longer supported.
17008         Remove all contents, leaving only an #error directive.
17009         * misc/regexp.c (loc1, loc2, locs, step, advance):
17010         Demote to compatibility symbols.
17012 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17014         [BZ #18084]
17015         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17016         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17017         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17018         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17019         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17020         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17021         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17022         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17023         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17025 2015-08-15  Zack Weinberg  <zackw@panix.com>
17027         [BZ #18795]
17028         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17029         buffer length is known to be too large, not if it's known to be
17030         small enough.
17031         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17032         overflow at runtime, involving a length parameter, twice: once
17033         with a compile-time constant length parameter, once without.
17035 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17037         [BZ #18824]
17038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17039         scaling x * y up instead of down.
17040         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17041         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17042         * math/auto-libm-test-in: Add more tests of fma.
17043         * math/auto-libm-test-out: Regenerated.
17045 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17047         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17049 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17051         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17052         unnecessary movq.
17053         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17054         Likewise.
17056 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17058         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17059         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17060         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17061         and tgamma.
17062         * math/auto-libm-test-out: Regenerated.
17063         * sysdeps/i386/fpu/libm-test-ulps: Update.
17064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17066         [BZ #16520]
17067         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17068         (__tanh): Force underflow exception for arguments with small
17069         absolute value.
17070         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17071         (__tanhf): Force underflow exception for arguments with small
17072         absolute value.
17073         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17074         (__tanhl): Force underflow exception for arguments with small
17075         absolute value.
17076         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17077         (__tanhl): Force underflow exception for arguments with small
17078         absolute value.
17079         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17080         (__tanhl): Force underflow exception for arguments with small
17081         absolute value.
17082         * math/auto-libm-test-in: Add more tests of tanh.
17083         * math/auto-libm-test-out: Regenerated.
17084         * sysdeps/i386/fpu/libm-test-ulps: Update.
17086 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17088         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17089         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17091 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17093         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17094         <cpuid.h>.
17096 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17098         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17099         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17101 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17103         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17104         Remove $(objpfx)init-arch.o.
17105         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17106         init-arch.
17107         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17108         (INIT_ARCH_EXT): Defined as empty.
17109         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17110         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17111         __init_cpu_features call.  Replace HAS_XXX with
17112         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17113         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17114         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17115         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17116         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17117         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17118         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17119         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17120         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17121         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17122         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17123         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17124         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17125         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17126         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17127         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17128         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17129         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17130         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17131         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17132         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17133         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17134         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17135         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17136         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17137         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17138         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17139         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17140         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17141         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17142         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17143         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17144         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17145         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17146         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17147         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17149 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17151         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17152         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17153         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17154         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17155         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17156         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17157         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17158         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17159         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17160         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17161         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17162         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17163         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17164         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17165         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17166         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17167         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17168         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17169         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17170         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17171         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17172         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17173         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17174         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17175         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17176         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17177         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17178         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17179         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17180         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17181         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17182         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17183         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17184         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17185         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17186         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17187         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17188         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17189         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17190         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17191         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17192         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17193         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17195 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17197         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17198         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17199         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17200         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17201         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17202         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17203         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17204         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17205         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17206         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17207         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17208         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17209         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17210         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17211         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17212         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17213         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17214         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17215         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17216         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17218         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17219         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17220         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17221         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17222         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17223         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17224         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17225         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17226         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17227         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17228         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17229         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17230         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17231         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17232         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17233         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17234         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17235         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17236         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17237         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17238         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17239         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17241 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17243         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17244         (dl_platform_init): Call init_cpu_features.
17245         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17246         * sysdeps/i386/i686/cacheinfo.c
17247         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17248         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17249         * sysdeps/i386/i686/multiarch/Versions: Removed.
17250         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17251         Removed.
17252         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17253         * sysdeps/unix/sysv/linux/x86/Makefile
17254         (libpthread-sysdep_routines): Remove init-arch.
17255         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17256         <sysdeps/x86_64/dl-procinfo.c> instead of
17257         sysdeps/generic/dl-procinfo.c>.
17258         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17259         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17260         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17261         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17262         [$(subdir) == elf] (tests-static): Add
17263         tst-get-cpu-features-static.
17264         * sysdeps/x86/Versions: New file.
17265         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17266         * sysdeps/x86/cpu-features.c: Likewise.
17267         * sysdeps/x86/cpu-features.h: Likewise.
17268         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17269         * sysdeps/x86/libc-start.c: Likewise.
17270         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17271         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17272         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17273         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17274         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17275         Assume USE_MULTIARCH is defined and don't check it.
17276         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17277         (is_amd): Likewise.
17278         (max_cpuid): Likewise.
17279         (intel_check_word): Likewise.
17280         (__cache_sysconf): Don't call __init_cpu_features.
17281         (__x86_preferred_memory_instruction): Removed.
17282         (init_cacheinfo): Don't call __init_cpu_features. Replace
17283         __cpu_features with GLRO(dl_x86_cpu_features).
17284         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17285         (dl_platform_init): Call init_cpu_features.
17286         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17287         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17288         * sysdeps/x86_64/multiarch/Versions: Removed.
17289         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17290         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17291         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17292         Removed.
17293         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17295 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17297         [BZ #18820]
17298         * libio/Makefile (test-fmemopen-mem): New test.
17299         * libio/test-fmemopen.c (do_bz18820): New test.
17300         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17301         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17303 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17305         [BZ #16734]
17306         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17307         (FREE_BUF): Delete.
17308         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17309         * libio/genops.c (_IO_setb): Use malloc and free directly.
17310         (_IO_default_doallocate, _IO_default_finish): Likewise.
17311         ( _IO_unbuffer_all): Likewise.
17312         ( libc_freeres_fn): Likewise.
17313         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17314         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17315         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17316         (_IO_wdefault_doallocate): Likewise.
17318 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17320         [BZ #18086]
17321         * sysdeps/posix/nice.c (nice): Restore old errno.
17322         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17324 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17328 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17330         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17331         __bcopy and add a weak_alias to bcopy.
17332         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17333         for static build.
17335         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17336         cleanup macro usage.
17337         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17338         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17340         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17341         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17342         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17343         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17344         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17345         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17346         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17348         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17349         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17350         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17351         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17352         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17353         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17354         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17355         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17357         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17358         libc_hidden_def.
17359         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17361         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17362         (sysdep_routines): Add strstr-ppc64.
17363         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17365 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17367         [BZ #18778]
17368         * elf/Makefile (tests): Add Add tst-nodelete2.
17369         (modules-names): Add tst-nodelete2mod.
17370         (tst-nodelete2mod.so-no-z-defs): New.
17371         ($(objpfx)tst-nodelete2): Likewise.
17372         ($(objpfx)tst-nodelete2.out): Likewise.
17373         (LDFLAGS-tst-nodelete2): Likewise.
17374         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17375         out of loop through all loaded libraries.
17376         * elf/tst-nodelete2.c: New file.
17377         * elf/tst-nodelete2mod.c: Likewise.
17378         * elf/tst-znodelete-zlib.cc: Delete.
17380 2015-08-11  Andreas Schwab  <schwab@suse.de>
17382         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17383         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17384         (__openat64_nocancel): Likewise.
17386 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17388         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17389         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17390         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17391         * math/auto-libm-test-out: Regenerated.
17392         * sysdeps/i386/fpu/libm-test-ulps: Update.
17393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17395 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17397         [BZ #18790]
17398         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17399         threshold for returning +/- 1.
17400         * math/auto-libm-test-in: Add more tests of tanh.
17401         * math/auto-libm-test-out: Regenerated.
17402         * sysdeps/i386/fpu/libm-test-ulps: Update.
17404 2015-08-10  Andreas Schwab  <schwab@suse.de>
17406         [BZ #18781]
17407         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17408         MORE_OFLAGS to oflag.
17409         * io/test-lfs.c (do_test): Test openat64.
17411 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17413         [BZ #18789]
17414         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17415         smaller threshold for returning the argument.
17416         * math/auto-libm-test-in: Add more tests of sinh.
17417         * math/auto-libm-test-out: Regenerated.
17418         * sysdeps/i386/fpu/libm-test-ulps: Update.
17420 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17422         [BZ #18674]
17423         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17424         break.
17426 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17428         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17429         (generated): Don't add $(addprefix z.,$(tzfiles)).
17431 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17433         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17434         * scripts/sysd-rules.awk: Likewise.
17436 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17438         * iconvdata/tst-tables.sh: Change echo -n to printf.
17439         * nss/db-Makefile: Likewise.
17440         * posix/tst-getconf.sh: Likewise.
17441         * stdio-common/tst-unbputc.sh: Likewise.
17443 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17445         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17446         MADV_*_PAGES defines behind this feature check.
17448 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17450         [BZ #18480]
17451         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17452         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17453         Define.
17454         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17455         LOAD_REGS_5, LOAD_REGS_6): Update.
17456         (INTERNAL_SYSCALL): Update using new LOAD defines.
17457         (INTERNAL_SYSCALL_NCS): Likewise.
17458         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17460 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17462         [BZ #16734]
17463         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17465 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17467         [BZ #17905]
17468         * catgets/Makefile (tst-catgets-mem): New test.
17469         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17470         * catgets/open_catalog.c (__open_catalog): Likewise.
17471         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17473 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17475         [BZ #18787]
17476         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17477         clobber registers.
17478         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17479         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17480         Cast return to __typeof (oldval).
17482 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17484         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17485         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17486         and delete sys/syscall.h include.
17488 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17490         [BZ #16517]
17491         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17492         (tan): Force underflow exception for arguments with small absolute
17493         value.
17494         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17495         (__kernel_tanf): Force underflow exception for arguments with
17496         small absolute value.
17497         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17498         (__kernel_tanl): Force underflow exception for arguments with
17499         small absolute value.
17500         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17501         (__kernel_tanl): Force underflow exception for arguments with
17502         small absolute value.
17503         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17504         (__kernel_tanl): Force underflow exception for arguments with
17505         small absolute value.
17506         * math/auto-libm-test-in: Add more tests of tan.
17507         * math/auto-libm-test-out: Regenerated.
17509 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17511         Fix sysdeps/i386/fpu/s_scalbn.S build
17513         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17515 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17517         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17519 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17521         Fix gcrt0.o compilation
17523         When static-start-installed-name is different from
17524         start-installed-name, we must not use the shared objects.
17526         * csu/Makefile
17527         (extra-objs): Add gmon-start.o when building shared library and
17528         $(static-start-installed-name) is different from
17529         $(start-installed-name).
17530         $(objpfx)g$(static-start-installed-name): When building shared
17531         library and $(static-start-installed-name) is different from
17532         $(static-start-installed-name), revert to non-shared rule,
17533         i.e. using $(objpfx)% and gmon-start.o.
17535 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17537         [BZ #16519]
17538         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17539         (__ieee754_sinh): Force underflow exception for arguments with
17540         small absolute value.
17541         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17542         (__ieee754_sinhf): Force underflow exception for arguments with
17543         small absolute value.
17544         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17545         (__ieee754_sinhl): Force underflow exception for arguments with
17546         small absolute value.
17547         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17548         (__ieee754_sinhl): Force underflow exception for arguments with
17549         small absolute value.
17550         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17551         (__ieee754_sinhl): Force underflow exception for arguments with
17552         small absolute value.
17553         * math/auto-libm-test-in: Add more tests of sinh.
17554         * math/auto-libm-test-out: Regenerated.
17555         * sysdeps/i386/fpu/libm-test-ulps: Update.
17557 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17559         * libio/oldfileops.c: Include unistd.h.
17561 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17563         * stdlib/isomac.c: Include ctype.h.
17565 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17567         * dirent/tst-seekdir.c (main): Converted to ...
17568         (do_test): ... this.
17569         (TEST_FUNCTION): New macro.
17570         Include test-skeleton.c.
17571         * elf/tst-dlmodcount.c (main): Converted to ...
17572         (do_test): ... this.
17573         (TEST_FUNCTION): New macro.
17574         Include test-skeleton.c.
17575         * elf/tst-order-main.c (main): Converted to ...
17576         (do_test): ... this.
17577         (TEST_FUNCTION): New macro.
17578         Include test-skeleton.c.
17579         * elf/tst-pie2.c (main): Converted to ...
17580         (do_test): ... this.
17581         (TEST_FUNCTION): New macro.
17582         Include test-skeleton.c.
17583         * inet/tst-ether_aton.c (main): Converted to ...
17584         (do_test): ... this.
17585         (TEST_FUNCTION): New macro.
17586         Include test-skeleton.c.
17587         * misc/tst-mntent.c (main): Converted to ...
17588         (do_test): ... this.
17589         (TEST_FUNCTION): New macro.
17590         Include test-skeleton.c.
17591         * misc/tst-tsearch.c (main): Converted to ...
17592         (do_test): ... this.
17593         (TEST_FUNCTION): New macro.
17594         Include test-skeleton.c.
17595         * posix/tst-regexloc.c (main): Converted to ...
17596         (do_test): ... this.
17597         (TEST_FUNCTION): New macro.
17598         Include test-skeleton.c.
17599         * resolv/tst-aton.c (main): Converted to ...
17600         (do_test): ... this.
17601         (TEST_FUNCTION): New macro.
17602         Include test-skeleton.c.
17603         * stdio-common/test-fwrite.c (main): Converted to ...
17604         (do_test): ... this.
17605         (TEST_FUNCTION): New macro.
17606         Include test-skeleton.c.
17607         * stdio-common/tst-ferror.c (main): Converted to ...
17608         (do_test): ... this.
17609         (TEST_FUNCTION): New macro.
17610         Include test-skeleton.c.
17611         * stdio-common/tst-printf.c (main): Converted to ...
17612         (do_test): ... this.
17613         (TEST_FUNCTION): New macro.
17614         Include test-skeleton.c.
17615         * stdio-common/tst-printfsz.c (main): Converted to ...
17616         (do_test): ... this.
17617         (TEST_FUNCTION): New macro.
17618         Include test-skeleton.c.
17619         * stdlib/tst-strtod.c (main): Converted to ...
17620         (do_test): ... this.
17621         (TEST_FUNCTION): New macro.
17622         Include test-skeleton.c.
17623         * string/tst-strlen.c (main): Converted to ...
17624         (do_test): ... this.
17625         (TEST_FUNCTION): New macro.
17626         Include test-skeleton.c.
17627         * string/tst-svc.c (main): Converted to ...
17628         (do_test): ... this.
17629         (TEST_FUNCTION): New macro.
17630         Include test-skeleton.c.
17631         * time/tst-strptime.c (main): Converted to ...
17632         (do_test): ... this.
17633         (TEST_FUNCTION): New macro.
17634         Include test-skeleton.c.
17635         * timezone/tst-timezone.c (main): Converted to ...
17636         (do_test): ... this.
17637         (TEST_FUNCTION): New macro.
17638         Include test-skeleton.c.
17640 2015-08-05  Zack Weinberg  <zackw@panix.com>
17642         * misc/regexp.h: Update comments.
17644 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17646         [BZ #18635]
17647         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17648         before return label.
17650 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17652         [BZ #18661]
17653         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17654         when calling __errno_location.
17655         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17656         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17658 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17660         [BZ #18661]
17661         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17662         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17663         __gettimeofday.
17665 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17667         [BZ #18661]
17668         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17669         (__start_context): Don't use pop to restore %rdi so that stack
17670         is aligned to 16 bytes when calling __setcontext.
17672 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17674         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17675         only for libc.
17676         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17678 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17680         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17681         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17682         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17684 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17686         * string/memccpy.c (memccpy):
17687         Improve performance by using memchr/memcpy/__mempcpy.
17689 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17691         * string/strncpy.c (strncpy):
17692         Improve performance by using __strnlen/memcpy.
17694 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17696         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17697         Optimize to avoid an unnecessary FPCR read.
17699 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17701         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17702         Optimize to reduce FPCR/FPSR accesses.
17704 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17706         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17707         dead->data[category] != NULL.
17709 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17711         [BZ #18647]
17712         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17713         and |x| close to 1, use absolute value of x when computing log.
17714         * math/auto-libm-test-in: Add more tests of pow.
17715         * math/auto-libm-test-out: Regenerated.
17717 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17719         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17720         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17721         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17723 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17725         [BZ #18525]
17726         * locales/km_KH: Remove timezone definition.
17727         * locales/lo_LA: Likewise.
17728         * locales/my_MM: Likewise.
17729         * locales/nan_TW@latin: Likewise.
17730         * locales/th_TH: Likewise.
17731         * locales/uk_UA: Likewise.
17733 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17735         [BZ #18265]
17736         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17737         (wcsncat): Likewise.
17738         (wcscmp): Likewise.
17739         (wcsncmp): Likewise.
17741 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17743         * test-skeleton.c (usage): New function.
17744         (main): Call usage when opt is '?'.
17746 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17748         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17749         before first use.
17751 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17753         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17754         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17755         in there too.
17757 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17759         * version.h (RELEASE): Set to "development".
17760         (VERSION): Set to "2.22.90"
17762         * version.h (RELEASE): Set to "stable".
17763         (VERSION): Set to "2.22"
17764         * include/features.h (__GLIBC_MINOR__): Set to 22.
17766 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17768         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17769         Restructure macro to avoid "value computed is not used" warning.
17770         (atomic_compare_and_exchange_val_acq): Likewise.
17772 2015-08-04  Andreas Schwab  <schwab@suse.de>
17774         [BZ #18635]
17775         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17776         ret.
17777         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17779 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17781         * po/pl.po: Updated translation.
17782         * po/uk.po: Likewise.
17783         * po/fi.po: Likewise.
17784         * po/ko.po: Likewise.
17785         * po/ru.po: Likewise.
17786         * po/vi.po: Likewise.
17788 2015-07-31  Zack Weinberg  <zackw@panix.com>
17790         [BZ #18681]
17791         * regexp.h: Add unconditional #warning stating that this header
17792         will be removed soon.  Revise banner comment to match.
17793         (compile): Consistently use ERROR instead of RETURN to report
17794         errors (partial fix for bz#18681).
17795         * regexp.c: Don't include regexp.h. Remove some unnecessary
17796         declarations.
17798 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17800         * po/libc.pot: Regenerated.
17802 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17804         [BZ #18740]
17805         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17806         float-vlen4-arch-ext-cflags): Removed.
17807         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17808         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17810 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17812         [BZ #14113]
17813         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17814         aligned to __aligned__.
17815         (pthread_cond_t, pthread_rwlock_t): Likewise.
17817 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17819         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17821 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17823         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17824         (struct sigaction): Change sa_flags from a long to an int, and add
17825         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17827 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17829         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17830         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17831         sysdeps/generic/sysdep.h include.
17832         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17833         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17834         sysdeps/hppa/sysdep.h.
17835         (ENTRY, PSEUDO): Undefine before defining.
17837 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17839         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17840         from scratch to use INTERNAL_SYSCALL.
17842 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17844         [BZ #18078]
17845         * scripts/check-localplt.awk: Support alternate relocations.
17846         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17847         sections.
17848         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17849         malloc entries with + REL R_386_GLOB_DAT.
17850         * sysdeps/x86_64/localplt.data: New file.
17852 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17854         [BZ #18731]
17855         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17856         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17857         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17859 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17861         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17863 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17865         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17866         directly in terms of __sync_fetch_and_add and delete (int) cast.
17868 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17870         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17871         the -D_ASM_IA64_CURRENT_H flag.
17873 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17875         [BZ #18641]
17876         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17878 2015-07-27  Andreas Schwab  <schwab@suse.de>
17880         * conform/conformtest.pl (checknamespace): Filter out string
17881         literals while tokenizing.
17883 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17885         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17886         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17887         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17889 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17891         * nptl/tst-join7mod.c: Add #include <string.h>.
17893 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17895         * sysdeps/nios2/libm-test-ulps: Update.
17897 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17899         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17900         Fix order of arguments to the rt_sigprocmask syscall.
17901         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17902         Likewise.
17904 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17906         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17908 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17910         [BZ #18457]
17911         * nptl/Makefile (tests): New test case tst-join7.
17912         (modules-names): New test case module tst-join7mod.
17913         * nptl/tst-join7.c: New file.
17914         * nptl/tst-join7mod.c: New file.
17915         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17916         all translation units in libc.so, libpthread.so and rtld.
17918 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17922 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17924         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17925         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17926         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17927         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17928         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17929         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17930         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17931         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17932         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17933         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17934         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17935         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17936         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17937         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17938         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17939         implementation.
17941 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17943         [BZ #17711]
17944         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17945         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17946         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17947         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17948         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17949         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17951 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17953         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17954         instead of just saying load lock in the comments.
17956 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17958         * sysdeps/unix/Subdirs: Moved ...
17959         * sysdeps/posix/Subdirs: ... here.
17960         * login/pty.h (struct termios, struct winsize): Add forward decls.
17961         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17962         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17963         * sysdeps/arm/nacl/libc.abilist: Updated.
17964         * sysdeps/nacl/libutil.abilist: New file.
17966         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17967         (SIGWINCH): New macro.
17969         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17970         * sysdeps/arm/nacl/libc.abilist: Add it.
17972 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17974         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17976 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17978         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17979         Swap __glibc_reserved0 and sa_flags order.
17981 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17983         [BZ #18657]
17984         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17985         are pending TLS destructor calls.
17986         * include/link.h (struct link_map): Add concurrency note for
17987         L_TLS_DTOR_COUNT.
17988         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17989         Don't touch the link map flag.  Atomically increment
17990         l_tls_dtor_count.
17991         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17992         Avoid taking the load lock and don't touch the link map flag.
17993         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17994         * stdlib/Makefile (tests): Use it.
17995         * stdlib/tst-tls-atexit.c (do_test): dlopen
17996         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17997         to allow tst-tls-atexit-nodelete test case to use it.
17999 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18001         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18002         to bits/types.h.
18003         (msgqnum_t): New typedef.
18004         (msglen_t): Likewise.
18005         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18006         and msg_qbytes type to msglen_t.
18008 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18010         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18011         pad0 to __glibc_reserved0.
18012         (struct stat64): Likewise.
18014 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18016         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18017         Change sa_flags from a long to an int and add __glibc_reserved0 before
18018         it for padding.
18020 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18022         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18023         anonymous by deleting "siginfo" name.
18025 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18027         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18028         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18029         rather than __nacl_irt_filename.
18030         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18032         * NEWS: New item for arm-nacl port.
18033         * sysdeps/arm/nacl/libc.abilist: New file.
18034         * sysdeps/nacl/ld.abilist: New file.
18035         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18036         * sysdeps/nacl/libanl.abilist: New file.
18037         * sysdeps/nacl/libcrypt.abilist: New file.
18038         * sysdeps/nacl/libdl.abilist: New file.
18039         * sysdeps/nacl/libm.abilist: New file.
18040         * sysdeps/nacl/libpthread.abilist: New file.
18041         * sysdeps/nacl/libresolv.abilist: New file.
18042         * sysdeps/nacl/librt.abilist: New file.
18044 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18046         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18047         __startcontext to initialize the new context.
18048         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18049         up CFI directive to forbid further backtracing.
18051 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18053         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18054         reference.
18055         * charmaps/ANSI_X3.4-1968: Likewise.
18056         * charmaps/BS_4730: Likewise.
18057         * charmaps/BS_VIEWDATA: Likewise.
18058         * charmaps/CP1250: Likewise.
18059         * charmaps/CP1251: Likewise.
18060         * charmaps/CP1252: Likewise.
18061         * charmaps/CP1253: Likewise.
18062         * charmaps/CP1254: Likewise.
18063         * charmaps/CP1255: Likewise.
18064         * charmaps/CP1256: Likewise.
18065         * charmaps/CSN_369103: Likewise.
18066         * charmaps/EBCDIC-DK-NO: Likewise.
18067         * charmaps/GB_1988-80: Likewise.
18068         * charmaps/GREEK-CCITT: Likewise.
18069         * charmaps/GREEK7: Likewise.
18070         * charmaps/INIS-8: Likewise.
18071         * charmaps/ISIRI-3342: Likewise.
18072         * charmaps/ISO_2033-1983: Likewise.
18073         * charmaps/ISO_5427-EXT: Likewise.
18074         * locales/POSIX: Likewise.
18075         * locales/ar_SA: Likewise.
18076         * locales/be_BY: Likewise.
18077         * locales/be_BY@latin: Likewise.
18078         * locales/ca_ES: Likewise.
18079         * locales/cs_CZ: Likewise.
18080         * locales/da_DK: Likewise.
18081         * locales/de_BE: Likewise.
18082         * locales/de_CH: Likewise.
18083         * locales/de_LU: Likewise.
18084         * locales/en_AU: Likewise.
18085         * locales/en_BW: Likewise.
18086         * locales/en_CA: Likewise.
18087         * locales/en_DK: Likewise.
18088         * locales/en_GB: Likewise.
18089         * locales/en_IE: Likewise.
18090         * locales/en_NZ: Likewise.
18091         * locales/en_ZA: Likewise.
18092         * locales/en_ZW: Likewise.
18093         * locales/es_AR: Likewise.
18094         * locales/es_BO: Likewise.
18095         * locales/es_CL: Likewise.
18096         * locales/es_CO: Likewise.
18097         * locales/es_DO: Likewise.
18098         * locales/es_EC: Likewise.
18099         * locales/es_ES: Likewise.
18100         * locales/es_HN: Likewise.
18101         * locales/es_MX: Likewise.
18102         * locales/es_PA: Likewise.
18103         * locales/es_PE: Likewise.
18104         * locales/es_PY: Likewise.
18105         * locales/es_SV: Likewise.
18106         * locales/es_US: Likewise.
18107         * locales/es_UY: Likewise.
18108         * locales/es_VE: Likewise.
18109         * locales/et_EE: Likewise.
18110         * locales/fa_IR: Likewise.
18111         * locales/fo_FO: Likewise.
18112         * locales/fr_CA: Likewise.
18113         * locales/fr_CH: Likewise.
18114         * locales/gv_GB: Likewise.
18115         * locales/he_IL: Likewise.
18116         * locales/hr_HR: Likewise.
18117         * locales/id_ID: Likewise.
18118         * locales/is_IS: Likewise.
18119         * locales/it_CH: Likewise.
18120         * locales/iw_IL: Likewise.
18121         * locales/kl_GL: Likewise.
18122         * locales/ko_KR: Likewise.
18123         * locales/kw_GB: Likewise.
18124         * locales/lg_UG: Likewise.
18125         * locales/lt_LT: Likewise.
18126         * locales/lv_LV: Likewise.
18127         * locales/mi_NZ: Likewise.
18128         * locales/nhn_MX: Likewise.
18129         * locales/nl_BE: Likewise.
18130         * locales/pl_PL: Likewise.
18131         * locales/sk_SK: Likewise.
18132         * locales/sl_SI: Likewise.
18133         * locales/sv_FI: Likewise.
18134         * locales/tl_PH: Likewise.
18135         * locales/tr_TR: Likewise.
18136         * locales/vi_VN: Likewise.
18138 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18140         [BZ #17475]
18141         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18142         of tu_IN and bh_IN.
18144 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18146         [BZ #18694]
18147         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18148         bits/wordsize.h.
18149         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18151 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18153         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18154         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18155         (spawn_thread): New function.
18156         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18157         (do_test): ... here.  Use IS_LOADED to test for its
18158         availability.
18160 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18162         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18164 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18166         [BZ #18696]
18167         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18168         si_addr_bnd.
18169         (si_lower): New.
18170         (si_upper): Likewise.
18172 2015-07-16  David S. Miller  <davem@davemloft.net>
18174         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18176 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18178         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18179         buffer.
18180         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18181         fail output information.
18183 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18186         and strstr-ppc64..
18187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18188         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18189         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18190         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18191         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18193 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18195         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18196         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18197         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18198         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18200 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18202         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18203         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18204         rtld_hidden_proto.
18205         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18207 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18209         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18210         the test can fail.
18212         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18214         [BZ #18676]
18215         * elf/tst-nodelete-opened.c: New test case.
18216         * elf/tst-nodelete-opened-lib.c: New test case module.
18217         * elf/Makefile (tests, modules-names): Use them.
18218         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18219         early.
18221 2015-07-15  David S. Miller  <davem@davemloft.net>
18223         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18224         futex-intenal.h
18225         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18226         * sysdeps/sparc/sparc64/Makefile: Likewise.
18227         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18228         Remove space from macro define.
18229         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18231 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18233         [BZ #17475]
18234         * locale/iso-639.def: Update Bhili and Tulu language codes as
18235         per iso639-3.
18237 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18239         * elf/tst-leaks1.c (main): Converted to ...
18240         (do_test): ... this.
18241         (TEST_FUNCTION): New macro.
18242         Include test-skeleton.c.
18243         * localedata/tst-langinfo.c (main): Converted to ...
18244         (do_test): ... this.
18245         (TEST_FUNCTION): New macro.
18246         Include test-skeleton.c.
18247         * math/test-fpucw.c (main): Converted to ...
18248         (do_test): ... this.
18249         (TEST_FUNCTION): New macro.
18250         Include test-skeleton.c.
18251         * math/test-tgmath.c (main): Converted to ...
18252         (do_test): ... this.
18253         (TEST_FUNCTION): New macro.
18254         Include test-skeleton.c.
18255         * math/test-tgmath2.c (main): Converted to ...
18256         (do_test): ... this.
18257         (TEST_FUNCTION): New macro.
18258         Include test-skeleton.c.
18259         * setjmp/tst-setjmp.c (main): Converted to ...
18260         (do_test): ... this.
18261         (TEST_FUNCTION): New macro.
18262         Include test-skeleton.c.
18263         * stdio-common/tst-sscanf.c (main): Converted to ...
18264         (do_test): ... this.
18265         (TEST_FUNCTION): New macro.
18266         Include test-skeleton.c.
18267         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18268         (do_test): ... this.
18269         (TEST_FUNCTION): New macro.
18270         Include test-skeleton.c.
18272         * elf/tst-audit9.c (main): Converted to ...
18273         (do_test): ... this.
18274         (TEST_FUNCTION): New macro.
18275         Include test-skeleton.c.
18277 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18279         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18281 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18283         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18284         New variable.
18286 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18288         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18290 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18292         * sysdeps/generic/dl-fileid.h: New file.
18293         * sysdeps/posix/dl-fileid.h: New file.
18294         * sysdeps/nacl/dl-fileid.h: New file.
18295         * include/link.h: Include <dl-fileid.h>.
18296         (struct link_map): Replace l_dev and l_ino with l_file_id.
18297         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18298         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18299         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18301 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18303         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18305 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18307         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18308         Add iff $CXX is set.
18309         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18310         Likewise.
18311         (tst-nodelete-zmodiff): Likewise.
18312         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18314 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18316         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18318 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18320         * sysdeps/aarch64/fpu/math_private.h
18321         (define math_opt_barrier): Add AArch64 version.
18322         (math_force_eval): Likewise.
18324 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18326         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18328 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18330         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18331         %ld with %jd and cast to intmax_t.
18332         (do_test_length_zero): Likewise.
18334 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18336         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18338 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18340         * sysdeps/tile/libm-test-ulps: Regenerated.
18342         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18343         Comment out the whole function, not just its body.
18345 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18347         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18348         locks.
18350         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18352 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18354         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18355         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18357 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18359         * sysdeps/nptl/futex-internal.h: New file.
18360         * sysdeps/nacl/futex-internal.h: New file.
18361         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18362         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18363         error checking.
18364         (setxid_unmark_thread): Likewise.
18365         (__nptl_setxid): Likewise.
18366         (__wait_lookup_done): Likewise.
18367         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18368         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18369         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18370         * nptl/pthread_once.c (clear_once_control): Likewise.
18371         (__pthread_once_slow): Likewise.
18372         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18373         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18374         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18375         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18376         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18377         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18378         Likewise.
18379         (__pthread_rwlock_rdlock): Likewise.
18380         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18381         Likewise.
18382         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18383         Likewise.
18384         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18385         Likewise.
18386         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18387         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18388         Likewise.
18389         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18390         __ASSUME_PRIVATE_FUTEX check.
18391         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18392         Check that shared futexes are supported.
18393         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18394         wrappers with error checking.
18395         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18396         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18397         * nptl/pthread_barrierattr_setpshared.c
18398         (pthread_barrierattr_setpshared): Check that shared futexes are
18399         supported.
18400         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18401         Likewise.
18402         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18403         Likewise.
18404         * nptl/sem_init.c (futex_private_if_supported): Remove.
18405         (__new_sem_init): Adapt and check that shared futexes are supported.
18406         * nptl/sem_open.c (sem_open): Likewise.
18407         * nptl/sem_post.c (futex_wake): Remove.
18408         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18409         (do_futex_wait): Use futex wrappers with error checking.
18410         * nptl/sem_wait.c: Include lowlevellock.h.
18411         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18412         Use futex_supports_pshared.
18413         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18414         Use futex wrappers with error checking.
18415         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18416         Likewise.
18417         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18418         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18419         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18420         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18421         (futex_wake): Likewise.
18422         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18423         (do_futex_wait): Use futex wrappers with error checking.
18424         (__new_sem_wait_slow): Update EINTR handling.
18425         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18427 2015-07-09  Martin Sebor  <msebor@redhat.com>
18429         [BZ #18435]
18430         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18431         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18432         * nptl/Makefile (test-xfail-tst-once5): Define.
18434 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18436         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18437         * elf/dl-minimal.c: For readability, reorder some definitions and
18438         introduce more page breaks.  Include <stdio.h>.
18439         (__libc_fatal): New function.
18441         * include/unistd.h: Add rtld_hidden_proto for _exit.
18442         * posix/_exit.c: Add rtld_hidden_def.
18443         * sysdeps/mach/hurd/_exit.c: Likewise.
18444         * sysdeps/nacl/_exit.c: Likewise.
18445         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18446         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18448 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18450         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18451         bndmov encoding with zero displacement.
18453 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18454             H.J. Lu  <hongjiu.lu@intel.com>
18456         [BZ #18134]
18457         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18458         * sysdeps/i386/configure: Regenerated.
18459         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18460         (_dl_runtime_profile): Save and restore Intel MPX return bound
18461         registers when calling _dl_call_pltexit.  Add
18462         PRESERVE_BND_REGS_PREFIX before return.
18463         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18464         (LRV_BND1_OFFSET): Likewise.
18465         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18466         lrv_bnd1.
18467         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18468         typo in bndmov encoding.
18469         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18470         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18471         branch instructions to preserve bounds.
18473 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18476         [GLIBC_2.22]: Add fmemopen.
18478 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18480         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18481         returns an error, also try to use host port from __mach_host_self for
18482         the __vm_wire call.
18483         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18485 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18487         [BZ #18400]
18488         [BZ #18648]
18489         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18490         Fix pr_uid and pr_gid members.
18491         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18492         definition to elf_greg_t.
18494 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18496         [BZ #18383]
18497         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18498         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18499         * sysdeps/arm/configure: Regenerated.
18500         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18501         (test-xfail-tst-tlsalign-static): Variable removed.
18503         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18504         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18505         rather than explicit 'ln -s'.
18507         * resolv/rpc/netdb.h: New file.
18508         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18510 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18512         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18513         length buffers.
18514         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18515         test-skeleton.c.
18517         [BZ #6544]
18518         [BZ #11216]
18519         [BZ #12836]
18520         [BZ #13151]
18521         [BZ #13152]
18522         [BZ #14292]
18523         * include/stdio.h (fmemopen): Remove hidden prototype.
18524         (__fmemopen): Add new hidden prototype.
18525         * libio/Makefile: Add oldfmemopen object.
18526         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18527         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18528         compliance.
18529         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18530         symbol compatibility.
18531         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18532         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18533         fmemopen.
18534         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18535         on append and read mode.
18536         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18537         fmemopen.
18538         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18539         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18540         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18541         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18542         Likewise.
18543         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18544         [GLIBC_2.22]: Likewise.
18545         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18546         Likewise.
18547         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18548         Likewise.
18549         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18550         [GLIBC_2.22]: Likewise.
18551         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18552         [GLIBC_2.22]: Likewise.
18553         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18554         [GLIBC_2.22]: Likewise.
18555         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18556         [GLIBC_2.22]: Likewise.
18557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18558         [GLIBC_2.22]: Likewise.
18559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18560         [GLIBC_2.22]: Likewise.
18561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18562         [GLIBC_2.22]: Likewise.
18563         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18564         Likewise.
18565         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18566         Likewise.
18567         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18568         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18569         [GLIBC_2.22]: Likewise.
18570         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18571         [GLIBC_2.22]: Likewise.
18572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18573         [GLIBC_2.22]: Likewise.
18574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18575         [GLIBC_2.22]: Likewise.
18576         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18577         Likewise.
18578         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18579         Likewise.
18580         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18581         Likewise.
18582         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18583         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18585 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18587         [BZ #18643]
18588         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18589         IPV6_PATHMTU, and IPV6_DONTFRAG.
18591 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18593         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18594         and _IO_UNBUFFERED.
18595         * libio/oldfileops.c: Likewise.
18596         * libio/wfileops.c: Likewise.
18598 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18600         * nscd/selinux.c: Delete selinux/flask.h include.
18602 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18604         [BZ #18641]
18605         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18606         (putpwent): Likewise.
18607         (getpwnam): Likewise.
18608         (getpwent_r): Likewise.
18609         (getpwuid_r): Likewise.
18610         (getpwnam_r): Likewise.
18611         (fgetpwent_r): Likewise.
18613 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18615         [BZ #18557]
18616         * inet/rcmd.c (__validuser2_sa): Check user first to
18617         short-circuit host check.
18619 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18620             Mikhail Ilin  <m.ilin@samsung.com>
18622         [BZ #17833]
18623         * elf/Makefile (tests): Add tst-nodelete.
18624         (modules-names): Add tst-nodelete-uniquemod.
18625         (tst-nodelete-uniquemod.so-no-z-defs): New.
18626         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18627         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18628         ($(objpfx)tst-nodelete): Likewise.
18629         ($(objpfx)tst-nodelete.out): Likewise.
18630         (LDFLAGS-tst-nodelete): Likewise.
18631         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18632         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18633         implement forced object deletion.
18634         (_dl_close): Pass false to _dl_close_worker.
18635         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18636         * elf/tst-nodelete.cc: New file.
18637         * elf/tst-nodeletelib.cc: Likewise.
18638         * elf/tst-znodeletelib.cc: Likewise.
18639         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18641 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18643         [BZ #18508]
18644         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18645         Depend on $(libdl).
18646         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18647         is not called infinitely times.
18648         (backtrace_helper): New function.
18649         (trace_arg): New struct.
18650         (st1): Enlarge stack size.
18651         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18652         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18653         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18654         Likewise.
18656 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18658         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18660 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18662         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18663         Include sys/types.h instead of bits/types.h.
18664         Remove inclusion of bits/wordsize.h.
18666 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18668         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18669         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18670         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18671         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18672         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18673         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18675 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18677         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18678         link-defines.sym.
18679         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18680         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18681         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18682         and LR_SIZE.
18683         * sysdeps/i386/link-defines.sym: New file.
18685 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18687         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18688         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18689         ($(objpfx)tst-audit3): New rule.
18690         ($(objpfx)tst-audit3.out): Likewise.
18691         * sysdeps/i386/tst-audit3.c: New file.
18692         * sysdeps/i386/tst-audit3.h: Likewise.
18693         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18694         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18696 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18698         [BZ #18633]
18699         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18700         pointer in C code.
18701         (__strcat_c): Likewise.
18702         (__strcat_g): Likewise.
18704 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18706         [BZ #18592]
18707         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18709 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18711         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18712         New function.  (__ieee754_sqrtf): New function.
18713         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18714         New function.
18715         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18716         New function.
18718 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18720         * sysdeps/ieee754/support.c: Remove unused file.
18722 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18724         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18725         registers instead of d ones so the layout is kernel abi compatible.
18726         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18727         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18728         Likewise.
18730 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18732         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18734 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18736         [BZ #18619]
18737         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18738         and return argument in case of subnormal argument.
18740 2015-07-01  Martin Sebor  <msebor@redhat.com>
18742         [BZ #18435]
18743         * nptl/Makefile: Add tst-once5.cc.
18744         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18745         Remove macro redefinitions.
18746         * nptl/tst-once5.cc: New test.
18748 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18750         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18752         * sysdeps/arm/libm-test-ulps: Regenerated.
18754         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18755         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18757 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18759         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18760         lll_lock_wait_private and lll_futex_wake probes.
18762         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18763         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18764         Likewise.
18765         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18766         atomic_spin_nop.
18767         * sysdeps/x86_64/bits/atomic.h: Likewise.
18768         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18769         to atomic_spin_nop and move ...
18770         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18771         ... here and ...
18772         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18773         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18774         atomic_spin_nop instead of BUSY_WAIT_NOP.
18775         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18776         Likewise.
18777         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18778         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18779         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18780         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18781         instead of atomic_delay.
18783 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18785         [BZ #18613]
18786         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18787         X_ADJ not X when adjusting exponent.
18788         (__ieee754_gamma_r): Do intermediate computations in
18789         round-to-nearest then adjust overflowing and underflowing results
18790         as needed.
18791         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18792         of X_ADJ not X when adjusting exponent.
18793         (__ieee754_gammaf_r): Do intermediate computations in
18794         round-to-nearest then adjust overflowing and underflowing results
18795         as needed.
18796         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18797         log of X_ADJ not X when adjusting exponent.
18798         (__ieee754_gammal_r): Do intermediate computations in
18799         round-to-nearest then adjust overflowing and underflowing results
18800         as needed.  Use 1.0L not 1.0f as numerator of division.
18801         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18802         log of X_ADJ not X when adjusting exponent.
18803         (__ieee754_gammal_r): Do intermediate computations in
18804         round-to-nearest then adjust overflowing and underflowing results
18805         as needed.  Use 1.0L not 1.0f as numerator of division.
18806         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18807         of X_ADJ not X when adjusting exponent.
18808         (__ieee754_gammal_r): Do intermediate computations in
18809         round-to-nearest then adjust overflowing and underflowing results
18810         as needed.  Use 1.0L not 1.0f as numerator of division.
18811         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18812         to auto-libm-test-in.
18813         (tgamma_test): Use ALL_RM_TEST.
18814         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18815         tests of tgamma with spurious-overflow.
18816         * math/auto-libm-test-out: Regenerated.
18817         * math/gen-libm-have-vector-test.sh: Do not check for START.
18818         * sysdeps/i386/fpu/libm-test-ulps: Update.
18819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18821         [BZ #18612]
18822         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18823         arguments, just return 0.5 times the argument, with underflow
18824         forced as needed.
18825         * math/auto-libm-test-in: Add more tests of j1.
18826         * math/auto-libm-test-out: Regenerated.
18828         [BZ #16559]
18829         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18830         (__ieee754_j1): Force underflow exception for small results.
18831         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18832         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18833         (__ieee754_j1f): Force underflow exception for small results.
18834         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18835         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18836         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18837         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18838         (__ieee754_j1l): Force underflow exception for small results.
18839         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18840         * math/auto-libm-test-in: Add more tests of j1 and jn.
18841         * math/auto-libm-test-out: Regenerated.
18843         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18844         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18845         (PF_MPLS): Likewise.
18846         (AF_IB): Likewise.
18847         (AF_MPLS): Likewise.
18848         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18849         value and macro.
18850         (MS_RMT_MASK): Include MS_LAZYTIME.
18852 2015-06-26  Mel Gorman  <mgorman@suse.de>
18854         [BZ #18502]
18855         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18856         already minimal.
18858 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18860         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18861         (DT_MIPS_NUM): Update.
18862         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18863         DT_MIPS_RLD_MAP_REL.
18865 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18867         [BZ #16559]
18868         [BZ #18602]
18869         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18870         round-to-nearest internally then recompute results that
18871         underflowed to zero in the original rounding mode.
18872         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18873         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18874         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18875         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18876         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18877         * sysdeps/i386/fpu/libm-test-ulps: Update.
18878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18880 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18882         * NEWS: Fixed description of link with vector math library.
18884 2015-06-25  Andreas Schwab  <schwab@suse.de>
18886         [BZ #18549]
18887         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18888         * libio/test-fmemopen.c (do_test): Add test for it.
18890 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18892         [BZ #17841]
18893         * Makeconfig (no-pie-ldflag): New.
18894         (+link): Set to $(+link-pie) if default to PIE.
18895         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18896         * config.make.in (build-pie-default): New.
18897         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18898         is default.  AC_SUBST.
18899         * configure: Regenerated.
18900         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18902 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18904         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18905         to 'unsigned int'.
18907         * resolv/gai_misc.h (struct waitlist): Change type of field
18908         counterp to 'volatile unsigned int *'.
18909         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18910         FUTEXADDR and OLDVAL.
18911         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18912         Give local variable TOTAL type 'volatile unsigned int'.
18913         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18914         * resolv/gai_suspend.c (gai_suspend):
18915         Give local variable CNTR type 'unsigned int'.
18917         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18918         counterp to 'volatile unsigned int *'.
18919         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18920         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18921         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18922         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18923         Give local variable TOTAL type 'volatile unsigned int'.
18924         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18926 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18928         [BZ #18383]
18929         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18930         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18931         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18932         comment for i386/x86-64.
18933         (test-xfail-tst-tlsalign-extern-static): Removed.
18935 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18937         * math/test-double.h: New file.
18938         * math/test-float.h: Likewise.
18939         * math/test-ldouble.h: Likewise.
18940         * math/test-math-inline.h: Likewise.
18941         * math/test-math-no-inline.h: Likewise.
18942         * math/test-math-scalar.h: Likewise.
18943         * math/test-math-vector.h: Likewise.
18944         * math/test-vec-loop.h: Remove file.  Contents moved into
18945         test-math-vector.h.
18946         * math/libm-test.inc (MATHCONST): Do not document macro.
18947         * math/test-double.c: Include test-double.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_DOUBLE): Likewise.
18957         (TEST_MATHVEC): Likewise.
18958         (__NO_MATH_INLINES): Likewise.
18959         * math/test-float.c: Include test-float.h, test-math-no-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_FLOAT): Likewise.
18969         (TEST_MATHVEC): Likewise.
18970         (__NO_MATH_INLINES): Likewise.
18971         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18972         and test-math-scalar.h.
18973         (FUNC): Remove macro.
18974         (FUNC_TEST): Likewise.
18975         (FLOAT): Likewise.
18976         (MATHCONST): Likewise.
18977         (PRINTF_EXPR): Likewise.
18978         (PRINTF_XEXPR): Likewise.
18979         (PRINTF_NEXPR): Likewise.
18980         (TEST_DOUBLE): Likewise.
18981         (TEST_MATHVEC): Likewise.
18982         (TEST_INLINE): Likewise.
18983         (__NO_MATH_INLINES): Likewise.
18984         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18985         test-math-scalar.h.
18986         (FUNC): Remove macro.
18987         (FUNC_TEST): Likewise.
18988         (FLOAT): Likewise.
18989         (MATHCONST): Likewise.
18990         (PRINTF_EXPR): Likewise.
18991         (PRINTF_XEXPR): Likewise.
18992         (PRINTF_NEXPR): Likewise.
18993         (TEST_FLOAT): Likewise.
18994         (TEST_MATHVEC): Likewise.
18995         (TEST_INLINE): Likewise.
18996         (__NO_MATH_INLINES): Likewise.
18997         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18998         and test-math-scalar.h.
18999         (FUNC): Remove macro.
19000         (FUNC_TEST): Likewise.
19001         (FLOAT): Likewise.
19002         (MATHCONST): Likewise.
19003         (PRINTF_EXPR): Likewise.
19004         (PRINTF_XEXPR): Likewise.
19005         (PRINTF_NEXPR): Likewise.
19006         (TEST_LDOUBLE): Likewise.
19007         (TEST_MATHVEC): Likewise.
19008         (TEST_INLINE): Likewise.
19009         (__NO_MATH_INLINES): Likewise.
19010         * math/test-ldouble.c: Include test-ldouble.h,
19011         test-math-no-inline.h and test-math-scalar.h.
19012         (FUNC): Remove macro.
19013         (FUNC_TEST): Likewise.
19014         (FLOAT): Likewise.
19015         (MATHCONST): Likewise.
19016         (PRINTF_EXPR): Likewise.
19017         (PRINTF_XEXPR): Likewise.
19018         (PRINTF_NEXPR): Likewise.
19019         (TEST_LDOUBLE): Likewise.
19020         (TEST_MATHVEC): Likewise.
19021         (__NO_MATH_INLINES): Likewise.
19022         * math/test-double-vlen2.h: Include test-double.h,
19023         test-math-no-inline.h and test-math-vector.h.
19024         (FLOAT): Remove macro.
19025         (FUNC): Likewise.
19026         (MATHCONST): Likewise.
19027         (PRINTF_EXPR): Likewise.
19028         (PRINTF_XEXPR): Likewise.
19029         (PRINTF_NEXPR): Likewise.
19030         (TEST_DOUBLE): Likewise.
19031         (TEST_MATHVEC): Likewise.
19032         (__NO_MATH_INLINES): Likewise.
19033         (CNCT): Likewise.
19034         (CONCAT): Likewise.
19035         (WRAPPER_NAME): Likewise.
19036         (WRAPPER_DECL): Likewise.
19037         (WRAPPER_DECL_ff): Likewise.
19038         (WRAPPER_DECL_fFF): Likewise.
19039         (VECTOR_WRAPPER): Likewise.
19040         (VECTOR_WRAPPER_ff): Likewise.
19041         (VECTOR_WRAPPER_fFF): Likewise.
19042         (VEC_LEN): New macro.
19043         * math/test-double-vlen4.h: Include test-double.h,
19044         test-math-no-inline.h and test-math-vector.h.
19045         (FLOAT): Remove macro.
19046         (FUNC): Likewise.
19047         (MATHCONST): Likewise.
19048         (PRINTF_EXPR): Likewise.
19049         (PRINTF_XEXPR): Likewise.
19050         (PRINTF_NEXPR): Likewise.
19051         (TEST_DOUBLE): Likewise.
19052         (TEST_MATHVEC): Likewise.
19053         (__NO_MATH_INLINES): Likewise.
19054         (CNCT): Likewise.
19055         (CONCAT): Likewise.
19056         (WRAPPER_NAME): Likewise.
19057         (WRAPPER_DECL): Likewise.
19058         (WRAPPER_DECL_ff): Likewise.
19059         (WRAPPER_DECL_fFF): Likewise.
19060         (VECTOR_WRAPPER): Likewise.
19061         (VECTOR_WRAPPER_ff): Likewise.
19062         (VECTOR_WRAPPER_fFF): Likewise.
19063         (VEC_LEN): New macro.
19064         * math/test-double-vlen8.h: Include test-double.h,
19065         test-math-no-inline.h and test-math-vector.h.
19066         (FLOAT): Remove macro.
19067         (FUNC): Likewise.
19068         (MATHCONST): Likewise.
19069         (PRINTF_EXPR): Likewise.
19070         (PRINTF_XEXPR): Likewise.
19071         (PRINTF_NEXPR): Likewise.
19072         (TEST_DOUBLE): Likewise.
19073         (TEST_MATHVEC): Likewise.
19074         (__NO_MATH_INLINES): Likewise.
19075         (CNCT): Likewise.
19076         (CONCAT): Likewise.
19077         (WRAPPER_NAME): Likewise.
19078         (WRAPPER_DECL): Likewise.
19079         (WRAPPER_DECL_ff): Likewise.
19080         (WRAPPER_DECL_fFF): Likewise.
19081         (VECTOR_WRAPPER): Likewise.
19082         (VECTOR_WRAPPER_ff): Likewise.
19083         (VECTOR_WRAPPER_fFF): Likewise.
19084         (VEC_LEN): New macro.
19085         * math/test-float-vlen4.h: Include test-float.h,
19086         test-math-no-inline.h and test-math-vector.h.
19087         (FLOAT): Remove macro.
19088         (FUNC): Likewise.
19089         (MATHCONST): Likewise.
19090         (PRINTF_EXPR): Likewise.
19091         (PRINTF_XEXPR): Likewise.
19092         (PRINTF_NEXPR): Likewise.
19093         (TEST_FLOAT): Likewise.
19094         (TEST_MATHVEC): Likewise.
19095         (__NO_MATH_INLINES): Likewise.
19096         (CNCT): Likewise.
19097         (CONCAT): Likewise.
19098         (WRAPPER_NAME): Likewise.
19099         (WRAPPER_DECL): Likewise.
19100         (WRAPPER_DECL_ff): Likewise.
19101         (WRAPPER_DECL_fFF): Likewise.
19102         (VECTOR_WRAPPER): Likewise.
19103         (VECTOR_WRAPPER_ff): Likewise.
19104         (VECTOR_WRAPPER_fFF): Likewise.
19105         (VEC_LEN): New macro.
19106         * math/test-float-vlen8.h: Include test-float.h,
19107         test-math-no-inline.h and test-math-vector.h.
19108         (FLOAT): Remove macro.
19109         (FUNC): Likewise.
19110         (MATHCONST): Likewise.
19111         (PRINTF_EXPR): Likewise.
19112         (PRINTF_XEXPR): Likewise.
19113         (PRINTF_NEXPR): Likewise.
19114         (TEST_FLOAT): Likewise.
19115         (TEST_MATHVEC): Likewise.
19116         (__NO_MATH_INLINES): Likewise.
19117         (CNCT): Likewise.
19118         (CONCAT): Likewise.
19119         (WRAPPER_NAME): Likewise.
19120         (WRAPPER_DECL): Likewise.
19121         (WRAPPER_DECL_ff): Likewise.
19122         (WRAPPER_DECL_fFF): Likewise.
19123         (VECTOR_WRAPPER): Likewise.
19124         (VECTOR_WRAPPER_ff): Likewise.
19125         (VECTOR_WRAPPER_fFF): Likewise.
19126         (VEC_LEN): New macro.
19127         * math/test-float-vlen16.h: Include test-float.h,
19128         test-math-no-inline.h and test-math-vector.h.
19129         (FLOAT): Remove macro.
19130         (FUNC): Likewise.
19131         (MATHCONST): Likewise.
19132         (PRINTF_EXPR): Likewise.
19133         (PRINTF_XEXPR): Likewise.
19134         (PRINTF_NEXPR): Likewise.
19135         (TEST_FLOAT): Likewise.
19136         (TEST_MATHVEC): Likewise.
19137         (__NO_MATH_INLINES): Likewise.
19138         (CNCT): Likewise.
19139         (CONCAT): Likewise.
19140         (WRAPPER_NAME): Likewise.
19141         (WRAPPER_DECL): Likewise.
19142         (WRAPPER_DECL_ff): Likewise.
19143         (WRAPPER_DECL_fFF): Likewise.
19144         (VECTOR_WRAPPER): Likewise.
19145         (VECTOR_WRAPPER_ff): Likewise.
19146         (VECTOR_WRAPPER_fFF): Likewise.
19147         (VEC_LEN): New macro.
19148         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19149         test-vec-loop.h.
19150         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19151         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19152         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19153         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19154         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19155         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19156         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19158 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19160         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19161         (__getlogin_r): ... this.
19163 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19165         [BZ #18594]
19166         * math/s_ccosh.c (__ccosh): Compare with least normal value
19167         instead of comparing class with FP_SUBNORMAL.
19168         * math/s_ccoshf.c (__ccoshf): Likewise.
19169         * math/s_ccoshl.c (__ccoshl): Likewise.
19170         * math/s_cexp.c (__cexp): Likewise.
19171         * math/s_cexpf.c (__cexpf): Likewise.
19172         * math/s_cexpl.c (__cexpl): Likewise.
19173         * math/s_csin.c (__csin): Likewise.
19174         * math/s_csinf.c (__csinf): Likewise.
19175         * math/s_csinh.c (__csinh): Likewise.
19176         * math/s_csinhf.c (__csinhf): Likewise.
19177         * math/s_csinhl.c (__csinhl): Likewise.
19178         * math/s_csinl.c (__csinl): Likewise.
19179         * math/s_ctan.c (__ctan): Likewise.
19180         * math/s_ctanf.c (__ctanf): Likewise.
19181         * math/s_ctanh.c (__ctanh): Likewise.
19182         * math/s_ctanhf.c (__ctanhf): Likewise.
19183         * math/s_ctanhl.c (__ctanhl): Likewise.
19184         * math/s_ctanl.c (__ctanl): Likewise.
19185         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19186         csin, csinh, ctan and ctanh.
19187         * math/auto-libm-test-out: Regenerated.
19188         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19189         * sysdeps/i386/fpu/libm-test-ulps: Update.
19190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19192 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19194         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19195         return value is wrong, print the expected value too.
19197 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19199         [BZ #18585]
19200         * elf/readlib.c (is_gdb_python_file): New.
19201         (process_file): Don't issue errors on filenames with -gdb.py
19202         suffix.
19204 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19206         * math/auto-libm-test-in: Add more tests of csin and csinh.
19207         * math/auto-libm-test-out: Regenerated.
19208         * math/libm-test.inc (csin_test_data): Remove tests moved to
19209         auto-libm-test-in.
19210         (csinh_test_data): Likewise.
19212         [BZ #18593]
19213         * math/s_csin.c (__csin): Negate before rather than after possibly
19214         overflowing multiplication.
19215         * math/s_csinf.c (__csinf): Likewise.
19216         * math/s_csinh.c (__csinh): Likewise.
19217         * math/s_csinhf.c (__csinhf): Likewise.
19218         * math/s_csinhl.c (__csinhl): Likewise.
19219         * math/s_csinl.c (__csinl): Likewise.
19220         * math/auto-libm-test-in: Add some tests of csin and csinh.
19221         * math/auto-libm-test-out: Regenerated.
19222         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19223         (csinh_test_data): Likewise.
19224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19226         [BZ #18586]
19227         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19228         underflow exception for small results.
19230 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19232         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19233         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19234         variable and included header.
19235         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19236         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19237         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19238         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19239         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19240         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19241         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19243         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19244         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19245         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19246         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19247         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19248         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19249         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19250         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19252 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19254         [BZ #16526]
19255         [BZ #16538]
19256         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19257         (__sin): Force underflow exception for arguments with small
19258         absolute value.
19259         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19260         (__kernel_sinf): Force underflow exception for arguments with
19261         small absolute value.
19262         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19263         (__kernel_sincosl): Force underflow exception for arguments with
19264         small absolute value.
19265         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19266         (__kernel_sinl): Force underflow exception for arguments with
19267         small absolute value.
19268         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19269         (__kernel_sincosl): Force underflow exception for arguments with
19270         small absolute value.
19271         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19272         (__kernel_sinl): Force underflow exception for arguments with
19273         small absolute value.
19274         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19275         (__kernel_sinl): Force underflow exception for arguments with
19276         small absolute value.
19277         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19278         (__kernel_sinf): Force underflow exception for arguments with
19279         small absolute value.
19280         * math/auto-libm-test-in: Add more tests of sin and sincos.
19281         * math/auto-libm-test-out: Regenerated.
19283         [BZ #18245]
19284         [BZ #18583]
19285         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19286         (__kernel_standard_l): Use feholdexcept and fesetenv around
19287         conversion to double instead of special-casing overflow and
19288         underflow.
19289         * math/libm-test.inc (fmod_test_data): Add more tests.
19290         (remainder_test_data): Likewise.
19291         (sqrt_test_data): Likewise.
19293 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19295         [BZ #17403]
19296         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19297         atomic_read_barrier, atomic_write_barrier): Define.
19298         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19299         atomic_read_barrier, atomic_write_barrier): Define.
19301 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19303         * math/Makefile [$(PERL) != no]
19304         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19305         dependency on libm-test.stmp below the inclusion of Rules.
19307 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19309         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19310         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19311         and included header.
19312         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19313         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19314         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19315         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19316         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19317         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19318         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19319         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19320         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19321         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19322         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19323         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19324         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19325         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19326         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19327         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19328         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19329         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19330         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19332 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19334         [BZ #18371]
19335         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19336         intermediate but not final result might underflow.
19337         * math/s_csqrtf.c (__csqrtf): Likewise.
19338         * math/s_csqrtl.c (__csqrtl): Likewise.
19339         * math/auto-libm-test-in: Add more tests of csqrt.
19340         * math/auto-libm-test-out: Regenerated.
19341         * sysdeps/i386/fpu/libm-test-ulps: Update.
19343         [BZ #18219]
19344         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19345         threshold on absolute value of exponent for which scaling is used.
19346         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19347         * math/auto-libm-test-in: Add more tests of exp2.
19348         * math/auto-libm-test-out: Regenerated.
19350 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19352         [BZ #17977]
19353         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19354         when initializing interface list, based on the bug analysis
19355         and the patch proposed by Eric Newton.
19356         * resolv/tst-res_hconf_reorder.c: New test.
19357         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19358         tst-res_hconf_reorder.
19359         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19360         and $(shared-thread-library).
19361         (tst-res_hconf_reorder-ENV): New variable.
19363         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19364         in comment.
19366 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19368         [BZ #16353]
19369         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19370         (__expm1): Force underflow exception for arguments with small
19371         absolute value.
19372         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19373         (__expm1f): Force underflow exception for arguments with small
19374         absolute value.
19375         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19376         (__expm1): Force underflow exception for arguments with small
19377         absolute value.
19378         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19379         (__expm1f): Force underflow exception for arguments with small
19380         absolute value.
19381         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19382         Check for small arguments before calling __expm1.
19383         * math/auto-libm-test-in: Do not mark underflow exceptions as
19384         possibly missing for bug 16353.
19385         * math/auto-libm-test-out: Regenerated.
19387 2015-06-22  Andreas Schwab  <schwab@suse.de>
19389         [BZ #18513]
19390         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19391         PTR queries.
19393 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19395         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19397         * string/strcoll_l.c: Remove unused struct element idxnow.
19399 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19401         [BZ #18569]
19402         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19403         underflow and return argument in case of subnormal argument.
19404         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19405         Likewise.
19406         * math/auto-libm-test-in: Add more tests of expm1.
19407         * math/auto-libm-test-out: Regenerated.
19409         [BZ #16361]
19410         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19411         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19412         tiny results.
19413         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19414         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19415         tiny results.
19416         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19417         mark underflow exceptions as possibly missing for bug 16361.
19418         * math/auto-libm-test-out: Regenerated.
19420 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19422         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19423         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19424         Remove variable.
19425         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19426         (test-xfail-XOPEN2K8/utmpx.h/conform).
19428         * conform/conformtest.pl ($xerrors): New variable.
19429         (note_error): New function.
19430         (compiletest): New argument $xfail.  Use not_error.
19431         (runtest): Likewise.
19432         (top level): Handle xfail- lines.  Update calls to compiletest and
19433         runtest.  Handle xfail- and optional- in headers listed with
19434         allow-header.
19435         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19436         (O_EXEC): Likewise.
19437         (O_SEARCH): Likewise.
19438         * conform/data/stropts.h-data (ioctl): Likewise.
19439         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19440         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19441         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19442         (msghdr.msg_controllen): Likewise.
19443         (cmsghdr.cmsg_len): Likewise.
19444         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19445         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19446         variable.
19447         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19448         (test-xfail-XPG4/stropts.h/conform): Likewise.
19449         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19450         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19451         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19452         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19453         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19454         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19455         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19456         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19457         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19458         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19459         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19460         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19461         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19462         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19463         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19464         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19465         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19466         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19467         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19469 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19471         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19472         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19473         definitions for proper unfolding of __MATHDECL_VEC.
19475 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19477         * benchtests/bench-strcoll.c:
19478         Include string.h.
19479         (main): Remove unused variable res.
19481 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19483         * timezone/Makefile (%/UTC %/Universal):
19484         Generate test-result files for UTC and Universal.
19486 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19488         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19490 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19492         [BZ #16350]
19493         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19494         for arguments with small absolute value.
19495         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19496         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19497         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19498         (__asinh): Force underflow exception for arguments with small
19499         absolute value.
19500         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19501         (__asinhf): Force underflow exception for arguments with small
19502         absolute value.
19503         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19504         (__asinhl): Force underflow exception for arguments with small
19505         absolute value.
19506         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19507         (__asinhl): Force underflow exception for arguments with small
19508         absolute value.
19509         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19510         (__asinhl): Force underflow exception for arguments with small
19511         absolute value.
19512         * math/auto-libm-test-in: Do not mark underflow exceptions as
19513         possibly missing for bug 16350.
19514         * math/auto-libm-test-out: Regenerated.
19516         * include/bits/ipc.h: Remove file.
19517         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19518         variable.
19519         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19520         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19521         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19522         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19523         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19524         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19525         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19526         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19527         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19529         * math/auto-libm-test-in: Remove spurious underflow allowance for
19530         tests of cexp.
19531         * math/auto-libm-test-out: Regenerated.
19533         [BZ #18558]
19534         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19535         unconditional definition.
19536         (MCAST_BLOCK_SOURCE): Likewise.
19537         (MCAST_UNBLOCK_SOURCE): Likewise.
19538         (MCAST_LEAVE_GROUP): Likewise.
19539         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19540         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19541         (MCAST_MSFILTER): Likewise.
19542         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19543         Remove variable.
19544         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19545         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19546         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19547         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19548         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19550 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19552         * NEWS: Mention addition of x86_64 vector sincosf.
19553         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19554         * math/test-float-vlen4.h: Likewise.
19555         * math/test-float-vlen8.h: Likewise.
19556         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19557         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19558         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19559         * sysdeps/x86_64/fpu/Versions: New versions added.
19560         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19561         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19562         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19563         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19564         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19565         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19566         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19567         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19568         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19569         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19570         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19571         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19572         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19573         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19574         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19575         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19576         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19577         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19578         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19579         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19580         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19581         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19582         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19583         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19585         * NEWS: Mention addition of x86_64 vector sincos.
19586         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19587         * math/math.h (__MATHDECL_VEC): New macro.
19588         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19589         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19590         declaration under condition.
19591         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19592         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19593         TEST_VEC_LOOP change.
19594         * math/test-double-vlen4.h: Likewise.
19595         * math/test-double-vlen8.h: Likewise.
19596         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19597         * math/test-float-vlen4.h: Likewise.
19598         * math/test-float-vlen8.h: Likewise.
19599         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19600         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19601         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19602         * sysdeps/x86_64/fpu/Versions: New versions added.
19603         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19604         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19605         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19606         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19607         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19608         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19609         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19610         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19611         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19612         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19613         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19614         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19615         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19616         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19617         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19618         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19619         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19620         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19621         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19622         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19623         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19624         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19625         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19626         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19628         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19629         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19630         redirections for powf.
19631         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19632         * sysdeps/x86_64/fpu/Versions: New versions added.
19633         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19634         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19635         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19636         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19637         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19638         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19639         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19640         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19641         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19642         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19643         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19644         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19645         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19646         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19647         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19648         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19649         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19650         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19651         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19652         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19653         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19654         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19655         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19656         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19657         * math/test-float-vlen16.h: Fixed 2 argument macro.
19658         * math/test-float-vlen4.h: Likewise.
19659         * math/test-float-vlen8.h: Likewise.
19660         * NEWS: Mention addition of x86_64 vector powf.
19662 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19664         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19665         and redefine.
19666         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19667         and redefine.
19668         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19669         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19670         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19672         [BZ #18553]
19673         * resource/getpriority.c (getpriority): Rename to __getpriority
19674         and define as weak alias of __getpriority.
19675         * resource/setpriority.c (setpriority): Rename to __setpriority
19676         and define as weak alias of __setpriority.
19677         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19678         __getpriority and define as weak alias of __getpriority.
19679         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19680         __setpriority and define as weak alias of __setpriority.
19681         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19682         strong name.
19683         (setpriority): Use __setpriority as strong name.
19684         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19685         __getpriority and define as weak alias of __getpriority.
19686         * include/sys/resource.h (__getpriority): Declare.  Use
19687         libc_hidden_proto.
19688         (__setpriority): Likewise.
19689         (getpriority): Don't use libc_hidden_proto.
19690         (setpriority): Likewise.
19691         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19692         getpriority.  Call __setpriority instead of setpriority.
19693         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19694         Remove variable.
19696         [BZ #18547]
19697         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19698         as weak alias of __getttynam.  Use prototype function definition.
19699         Call __setttyent, __getttyent and __endttyent instead of
19700         setttyent, getttyent and endttyent.
19701         (getttyent): Rename to __getttyent and define as weak alias of
19702         __getttyent.  Call __setttyent instead of setttyent.  Call
19703         __fgets_unlocked instead of fgets_unlocked.
19704         (setttyent): Rename to __setttyent and define as weak alias of
19705         __setttyent.
19706         (endttyent): Rename to __endttyent and define as weak alias of
19707         __endttyent.
19708         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19709         (__setttyent): Likewise.
19710         (__endttyent): Likewise.
19711         (getttyent): Don't use libc_hidden_proto.
19712         (setttyent): Likewise.
19713         (endttyent): Likewise.
19714         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19715         __endttyent instead of setttyent, getttyent and endttyent.
19716         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19717         Remove variable.
19719         [BZ #18546]
19720         * socket/recv.c (__recv): Use libc_hidden_def.
19721         * socket/socket.c (__socket): Likewise.
19722         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19723         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19724         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19725         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19726         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19727         libc_hidden_def.
19728         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19729         libc_hidden_weak.
19730         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19731         Use libc_hidden_proto.
19732         (__recv): Likewise.
19733         * socket/Versions (libc): Export __recv and __socket at version
19734         GLIBC_PRIVATE.
19735         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19736         instead of recv.
19737         (init_mq_netlink): Call __socket instead of socket.
19738         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19739         Remove variable.
19741         [BZ #18545]
19742         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19743         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19744         hidden_weak.
19745         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19746         define as alias of __mq_timedsend.  Use hidden_weak.
19747         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19748         __mq_timedsend as strong name.
19749         (mq_timedreceive): Use __mq_timedreceive as strong name.
19750         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19751         (__mq_timedreceive): Likewise.
19752         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19753         __mq_timedreceive instead of mq_timedreceive.
19754         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19755         instead of mq_timedsend.
19756         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19757         Remove variable.
19759         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19760         hidden_def and hidden_weak instead of libc_hidden_def and
19761         libc_hidden_weak.
19762         (top level): Refer to hidden_def in comment.
19763         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19764         macro.  Use it instead of libc_hidden_def.
19765         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19766         specify __GI_* name explicitly.
19767         (mq_timedreceive): Likewise.
19768         (mq_setattr): Likewise.
19770         [BZ #18544]
19771         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19772         __pthread_barrier_init and define as weak alias of
19773         __pthread_barrier_init.
19774         * sysdeps/sparc/nptl/pthread_barrier_init.c
19775         (pthread_barrier_init): Likewise.
19776         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19777         __pthread_barrier_wait and define as weak alias of
19778         __pthread_barrier_wait.
19779         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19780         (pthread_barrier_wait): Likewise.
19781         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19782         (pthread_barrier_wait): Likewise.
19783         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19784         (pthread_barrier_wait): Likewise.
19785         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19786         (pthread_barrier_wait): Likewise.
19787         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19788         __pthread_barrier_wait at version GLIBC_PRIVATE.
19789         * include/pthread.h (__pthread_barrier_init): Declare.
19790         (__pthread_barrier_wait): Likewise.
19791         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19792         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19793         (helper_thread): Likewise.
19794         (init_mq_netlink): Call __pthread_barrier_init instead of
19795         pthread_barrier_init.
19797         [BZ #18542]
19798         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19799         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19800         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19801         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19802         vswscanf.
19803         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19804         Remove variable.
19806         [BZ #18540]
19807         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19808         strong alias of _IO_fflush.  Use libc_hidden_def.
19809         * libio/iofflush_u.c (fflush_unlocked): Rename to
19810         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19811         Use libc_hidden_weak.
19812         * include/stdio.h (__fflush_unlocked): Declare.  Use
19813         libc_hidden_proto.
19814         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19815         fflush_unlocked.
19816         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19817         Remove variable.
19819         [BZ #18539]
19820         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19821         define as weak alias of __addseverity.
19822         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19823         Remove variable.
19824         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19825         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19826         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19828         [BZ #18536]
19829         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19830         (__tfind): Likewise.
19831         (__tdelete): Likewise.
19832         (__twalk): Likewise.
19833         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19834         __twalk to GLIBC_PRIVATE.
19835         * include/search.h (__tsearch): Use libc_hidden_proto.
19836         (__tfind): Likewise.
19837         (__tdelete): Likewise.
19838         (__twalk): Likewise.
19839         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19840         Call __tdelete instead of tdelete.
19841         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19842         tfind.  Call __tsearch instead of tsearch.
19843         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19844         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19845         Remove variable.
19846         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19848         [BZ #18534]
19849         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19850         (dprintf): Define as a weak alias of __dprintf, not a strong
19851         alias.
19852         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19853         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19854         dprintf.
19855         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19856         Remove variable.
19857         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19858         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19860         [BZ #18533]
19861         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19862         not a strong alias.
19863         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19864         Remove variable.
19866         [BZ #18532]
19867         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19868         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19869         (in6addr_loopback): Rename to __in6addr_loopback and define as
19870         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19871         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19872         libc_hidden_proto.
19873         (__in6addr_any): Likewise.
19874         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19875         in6addr_any.
19876         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19877         variable.
19878         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19880 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19882         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19883         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19884         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19885         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19886         redirections for pow.
19887         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19888         * sysdeps/x86_64/fpu/Versions: New versions added.
19889         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19890         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19891         build of SSE, AVX2 and AVX512 IFUNC versions.
19892         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19893         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19894         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19895         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19896         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19897         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19898         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19899         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19900         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19901         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19902         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19903         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19904         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19905         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19906         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19907         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19908         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19909         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19910         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19911         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19912         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19913         * NEWS: Mention addition of x86_64 vector pow.
19915         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19916         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19917         redirections for expf.
19918         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19919         * sysdeps/x86_64/fpu/Versions: New versions added.
19920         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19921         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19922         build of SSE, AVX2 and AVX512 IFUNC versions.
19923         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19924         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19925         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19926         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19927         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19928         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19929         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19930         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19931         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19932         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19933         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19934         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19935         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19936         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19937         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19938         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19939         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19940         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19941         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19942         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19943         * NEWS: Mention addition of x86_64 vector expf.
19945         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19946         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19947         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19948         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19949         redirections for exp.
19950         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19951         * sysdeps/x86_64/fpu/Versions: New versions added.
19952         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19953         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19954         build of SSE, AVX2 and AVX512 IFUNC versions.
19955         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19956         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19957         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19958         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19959         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19960         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19961         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19962         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19963         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19964         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19965         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19966         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19967         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19968         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19969         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19970         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19971         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19972         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19973         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19974         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19975         * NEWS: Mention addition of x86_64 vector exp.
19977         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19978         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19979         redirections for logf.
19980         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19981         * sysdeps/x86_64/fpu/Versions: New versions added.
19982         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19983         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19984         build of SSE, AVX2 and AVX512 IFUNC versions.
19985         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19986         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19987         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19988         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19989         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19990         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19991         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19992         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19993         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19994         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19995         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19996         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19997         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19998         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19999         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20000         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20001         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20002         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20003         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20004         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20005         * NEWS: Mention addition of x86_64 vector logf.
20007         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20008         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20009         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20010         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20011         redirections for log.
20012         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20013         * sysdeps/x86_64/fpu/Versions: New versions added.
20014         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20015         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20016         build of SSE, AVX2 and AVX512 IFUNC versions.
20017         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20018         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20019         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20020         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20021         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20022         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20023         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20024         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20025         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20026         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20027         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20028         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20029         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20030         test.
20031         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20032         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20033         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20034         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20035         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20036         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20037         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20038         * NEWS: Mention addition of x86_64 vector log.
20040 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20042         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20043         cfi_adjust_cfa_offset argument.
20044         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20045         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20047         [BZ #18034]
20048         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20049         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20050         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20051         ordering using ldar.
20052         (_dl_tlsdesc_dynamic): Likewise.
20053         (_dl_tlsdesc_return_lazy): Likewise.
20054         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20055         relaxed atomics instead of volatile and synchronize with release store.
20056         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20057         volatile.
20058         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20060 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20062         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20063         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20064         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20065         * sysdeps/x86_64/fpu/Versions: New versions added.
20066         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20067         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20068         build of SSE, AVX2 and AVX512 IFUNC versions.
20069         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20070         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20071         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20072         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20073         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20074         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20075         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20076         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20077         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20078         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20079         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20080         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20081         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20082         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20083         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20084         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20085         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20086         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20087         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20088         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20089         * NEWS: Mention addition of x86_64 vector sinf.
20091 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20093         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20094         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20095         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20096         Remove variable.
20097         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20098         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20100 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20102         [BZ #18530]
20103         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20104         strong alias of _IO_fputs.  Use libc_hidden_def.
20105         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20106         and define as weak alias of __fputs_unlocked.  Use
20107         libc_hidden_weak.
20108         * include/stdio.h (__fputs_unlocked): Declare.  Use
20109         libc_hidden_proto.
20110         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20111         fputs_unlocked.
20113         [BZ #18529]
20114         * resolv/netdb.h [__USE_POSIX]: Change condition to
20115         [__USE_XOPEN2K].
20116         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20117         not expect.
20118         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20119         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20120         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20121         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20122         [XPG4 || UNIX98] (AI_ALL): Likewise.
20123         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20124         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20125         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20126         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20127         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20128         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20129         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20130         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20131         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20132         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20133         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20134         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20135         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20136         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20137         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20138         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20139         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20140         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20141         [XPG4 || UNIX98] (gai_strerror): Likewise.
20142         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20143         [XPG4 || UNIX98] (getnameinfo): Likewise.
20145         [BZ #18528]
20146         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20147         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20148         __USE_XOPEN2K8].
20149         (getgrent): Likewise.
20150         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20151         expect.
20152         [XPG3 || POSIX2008] (endgrent): Likewise.
20153         [XPG3] (setgrent): Likewise.
20154         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20155         variable.
20156         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20158         [BZ #18527]
20159         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20160         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20161         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20162         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20163         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20164         * include/unistd.h (__getlogin_r): Declare.  Use
20165         libc_hidden_proto.
20166         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20167         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20168         variable.
20169         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20170         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20171         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20173 2015-06-12  Martin Sebor  <msebor@redhat.com>
20175         [BZ #18512]
20176         * Makerules (check-install-supported): New target.
20177         (install): Add check-install-supported as a dependency.
20178         * manual/install.texi (Installing the C Library): Document
20179         that overriding prefix and exec_prefix is not supported.
20180         Mention DESTDIR.
20181         * INSTALL: Regenerate from the above.
20183 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20185         [BZ #18519]
20186         * posix/Versions (libc): Export __libc_pread at version
20187         GLIBC_PRIVATE.
20188         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20189         instead of pread.
20190         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20191         variable.
20193         [BZ #18522]
20194         * misc/efgcvt_r.c
20195         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20196         (cvt_symbol): Use weak_alias instead of strong_alias.
20197         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20198         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20199         Remove variable.
20200         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20201         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20203         [BZ #18520]
20204         * inet/herrno.c (h_errno): Rename to __h_errno.
20205         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20206         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20207         to __h_errno instead of h_errno.
20208         * nptl/herrno.c (h_errno): Rename to __h_errno.
20209         (__h_errno_location): Refer to __h_errno not h_errno.
20210         * resolv/Versions (h_errno): Rename to __h_errno.
20211         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20212         Remove variable.
20213         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20215 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20217         * configure.ac: More strict check for AVX512 assembler support.
20218         * configure: Regenerated.
20220         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20221         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20222         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20223         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20224         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20225         * sysdeps/x86_64/fpu/Versions: New versions added.
20226         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20227         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20228         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20229         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20230         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20231         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20233         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20234         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20235         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20236         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20237         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20238         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20239         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20240         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20241         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20242         test.
20243         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20244         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20245         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20246         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20247         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20248         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20249         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20250         * NEWS: Mention addition of x86_64 vector sin.
20252 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20254         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20255         comment.
20257 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20259         [BZ #18479]
20260         * nptl/pt-interp.c: New file.
20261         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20262         Add pt-interp.
20263         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20264         $(common-objpfx)runtime-linker.h.
20266 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20268         * Makeconfig (+interp): Remove unused variable.
20269         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20270         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20271         $(elf-objpfx)runtime-linker.h.
20272         ($(elf-objpfx)runtime-linker.h): Rename to
20273         $(common-objpfx)runtime-linker.h and move ...
20274         * Makerules [$(build-shared) = yes]: ... here.
20275         * elf/interp.c: Include <runtime-linker.h> instead of
20276         <elf/runtime-linker.h>.
20278 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20280         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20281         (__gettimeofday_syscall): Remove vsyscall fallback.
20282         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20283         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20284         Add syscall fallback function.
20285         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20286         if vDSO is not present.
20287         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20288         fallback function.
20289         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20290         present.
20291         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20292         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20294 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20296         [BZ #18497]
20297         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20298         of wcscmp.
20299         (wcscmp): Define as weak alias of WCSCMP.
20300         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20301         wcscoll.
20302         (USE_HIDDEN_DEF): Define.
20303         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20304         __wcscoll.  Don't use libc_hidden_weak.
20305         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20306         wcscmp.
20307         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20308         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20309         __GI_wcscmp.
20310         (weak_alias): Undefine and redefine.
20311         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20312         __wcscmp and define as weak alias of __wcscmp.
20313         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20314         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20315         (__wcscoll): Likewise.
20316         (wcscmp): Don't use libc_hidden_proto.
20317         (wcscoll): Likewise.
20318         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20319         wcscoll.
20320         * posix/regexec.c (check_node_accept_bytes): Likewise.
20321         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20322         variable.
20323         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20324         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20326         [BZ #18507]
20327         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20328         __fstatvfs and define as weak alias of __fstatvfs.  Use
20329         libc_hidden_weak.
20330         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20331         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20332         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20333         Define as alias of __fstatvfs, not fstatvfs.
20334         (fstatvfs64): Likewise.
20335         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20336         Define as alias of __statvfs, not statvfs.
20337         (statvfs64): Likewise.
20338         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20339         Remove variable.
20341 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20344         (HAVE_GETCPU_VSYSCALL): Define.
20345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20346         (HAVE_GETCPU_VSYSCALL): Likewise.
20347         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20348         * sysdeps/unix/sysv/linux/sched_getcpu.c
20349         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20350         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20351         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20352         prototype.
20353         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20354         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20355         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20357         Define.
20358         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20359         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20360         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20361         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20363 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20365         * sysdeps/x86_64/fpu/Makefile: New file.
20366         * sysdeps/x86_64/fpu/Versions: New file.
20367         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20368         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20369         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20370         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20371         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20372         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20373         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20374         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20375         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20376         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20377         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20378         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20379         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20380         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20381         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20382         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20383         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20384         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20385         * sysdeps/x86_64/configure: Regenerated.
20386         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20387         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20388         * manual/install.texi (Configuring and compiling): Document
20389         --disable-mathvec.
20390         * INSTALL: Regenerated.
20391         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20393         * math/Makefile: Added rules for vector tests.
20394         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20395         declaration under condition.
20396         * math/test-double-vlen2.h: New file.
20397         * math/test-double-vlen4.h: New file.
20398         * math/test-double-vlen8.h: New file.
20399         * math/test-vec-loop.h: Added initialization macro.
20400         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20401         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20402         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20403         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20404         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20405         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20406         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20407         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20408         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20409         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20410         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20412         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20413         * sysdeps/x86_64/fpu/Versions: New versions added.
20414         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20416         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20417         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20418         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20419         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20420         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20421         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20422         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20423         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20424         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20425         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20426         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20427         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20428         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20429         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20430         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20431         * NEWS: Mention addition of x86_64 vector cosf.
20433         * math/Makefile: Added CFLAGS for new tests.
20434         * math/test-float-vlen16.h: New file.
20435         * math/test-float-vlen4.h: New file.
20436         * math/test-float-vlen8.h: New file.
20437         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20438         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20439         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20440         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20441         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20442         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20443         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20444         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20445         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20446         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20447         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20449 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20451         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20452         * locale/programs/ld-ctype.c: Likewise.
20454 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20456         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20457         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20458         bit_ZMM16_31_state): New macro.
20459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20460         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20462 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20464         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20466 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20468         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20470 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20472         [BZ #18498]
20473         * libio/memstream.c (open_memstream): Rename to __open_memstream
20474         and define as weak alias of __open_memstream.
20475         * include/stdio.h (__open_memstream): Declare.  Use
20476         libc_hidden_proto.
20477         (open_memstream): Don't use libc_hidden_proto.
20478         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20479         open_memstream.
20480         * posix/getopt.c (_getopt_internal_r): Likewise.
20481         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20482         variable.
20483         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20484         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20485         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20487         [BZ #18496]
20488         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20489         instead of wcrtomb.
20491         [BZ #18483]
20492         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20493         [__USE_XOPEN2K8].  Remove redundant #endif.
20494         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20495         Remove redundant #if.
20496         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20497         Remove variable.
20498         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20499         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20501         [BZ #18495]
20502         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20503         (__iswlower): Likewise.
20504         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20505         (__iswlower): Likewise.
20506         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20507         instead of towlower.
20508         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20509         instead of iswlower.  Call __towupper instead of towupper.
20510         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20511         instead of iswalnum.
20513 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20515         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20516         errors to stderr.
20518 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20520         [BZ #15661]
20521         [BZ #17322]
20522         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20523         Check for overflow properly.  Check for O_APPEND.  Ignore large
20524         file system block sizes.  Add comments about problems.
20525         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20526         * manual/filesys.texi (Storage Allocation): New node.
20528 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20530         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20531         cancellable syscalls.
20532         (SYS_ify): Add guard to no redefine it.
20533         (INLINE_SYSCALL): Likewise.
20534         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20535         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20536         SYSCALL_CANCEL instead.
20537         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20538         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20539         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20540         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20541         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20542         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20543         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20544         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20545         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20546         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20547         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20548         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20549         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20550         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20551         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20552         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20553         Likewise.
20554         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20555         (__libc_pread64): Likewise.
20556         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20557         (__libc_preadv): Likewise.
20558         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20559         (__libc_readv64): Likewise.
20560         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20561         (__libc_pwrite): Likewise.
20562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20563         (__libc_pwrite64): Likewise.
20564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20565         (__libc_pwritev): Likewise.
20566         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20567         (__libc_pwritev64): Likewise.
20568         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20569         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20570         (sync_file_range): Likewise.
20571         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20572         Likewise.
20573         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20574         Likewise.
20575         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20576         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20577         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20578         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20579         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20580         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20581         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20582         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20584         Likewise.
20585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20586         (__libc_read64): Likewise.
20587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20588         Likewise.
20589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20590         Likewise.
20591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20592         Likewise.
20593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20594         Likewise.
20595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20596         (__libc_pread64): Likewise.
20597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20598         Likewise.
20599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20600         (__libc_pwrite64): Likewise.
20601         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20602         (sync_file_range): Likewise.
20603         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20604         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20605         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20606         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20607         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20608         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20609         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20610         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20611         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20612         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20613         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20614         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20615         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20616         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20617         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20618         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20619         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20620         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20621         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20622         Likewise.
20623         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20624         Likewise.
20625         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20626         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20627         Likewise.
20628         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20629         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20630         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20631         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20632         Likewise.
20633         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20634         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20635         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20636         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20637         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20639 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20641         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20642         Include dl-vdso.
20643         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20644         Use VDSO routines for gettimeofday, clock_gettime if
20645         available.
20646         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20647         Declare VDSO symbols.
20648         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20649         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20650         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20651         * sysdeps/unix/sysv/linux/arm/Versions: Add
20652         __vdso_clock_gettime.
20654 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20656         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20657         be an inline implementation regardless of library is built within.
20658         (open_not_cancel_2): Likewise.
20659         (__read_nocancel): Likewise.
20660         (__write_nocancel): Likewise.
20661         (openat_not_cancel): Likewise.
20662         (openat_not_cancel_3): Likewise.
20663         (openat64_not_cancel): Likewise.
20664         (openat64_not_cancel_3): Likewise.
20665         (__close_nocancel): Likewise.
20666         (pause_not_cancel): Likewise.
20667         (nanosleep_not_cancel): Likewise.
20668         (sigsuspend_not_cancel): Likewise.
20670 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20672         [BZ #14958]
20673         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20674         wake-up.
20675         (__pthread_rwlock_rdlock_slow): Likewise.
20676         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20677         Likewise.
20678         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20679         Likewise.
20680         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20681         * nptl/tst-rwlock16.c: New file.
20682         * nptl/Makefile (tests): Add new test.
20684 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20686         [BZ #18324]
20687         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20688         missing wake-up of readers.
20689         * nptl/tst-rwlock15.c: New file.
20690         * nptl/Makefile (tests): Add new test.
20692 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20694         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20695         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20696         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20697         and __nacl_supply_interface_rtld.
20698         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20699         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20700         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20701         Add __nacl_supply_interface_rtld.
20702         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20704 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20706         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20707         isfinite.
20708         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20709         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20711 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20713         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20714         __signbit* with standard C99 macros.
20715         * math/e_exp10l.c: Likewise.
20716         * math/e_exp2l.c: Likewise.
20717         * math/e_scalb.c: Likewise.
20718         * math/e_scalbf.c: Likewise.
20719         * math/e_scalbl.c: Likewise.
20720         * math/s_ldexp.c: Likewise.
20721         * math/s_ldexpf.c: Likewise.
20722         * math/s_ldexpl.c: Likewise.
20723         * math/w_atan2.c: Likewise.
20724         * math/w_atan2f.c: Likewise.
20725         * math/w_atan2l.c: Likewise.
20726         * math/w_cosh.c: Likewise.
20727         * math/w_coshf.c: Likewise.
20728         * math/w_coshl.c: Likewise.
20729         * math/w_exp10.c: Likewise.
20730         * math/w_exp10f.c: Likewise.
20731         * math/w_exp10l.c: Likewise.
20732         * math/w_exp2.c: Likewise.
20733         * math/w_exp2f.c: Likewise.
20734         * math/w_exp2l.c: Likewise.
20735         * math/w_fmod.c: Likewise.
20736         * math/w_fmodf.c: Likewise.
20737         * math/w_fmodl.c: Likewise.
20738         * math/w_hypot.c: Likewise.
20739         * math/w_hypotf.c: Likewise.
20740         * math/w_hypotl.c: Likewise.
20741         * math/w_jnl.c: Likewise.
20742         * math/w_lgamma.c: Likewise.
20743         * math/w_lgamma_r.c: Likewise.
20744         * math/w_lgammaf.c: Likewise.
20745         * math/w_lgammaf_r.c: Likewise.
20746         * math/w_lgammal.c: Likewise.
20747         * math/w_lgammal_r.c: Likewise.
20748         * math/w_pow.c: Likewise.
20749         * math/w_powf.c: Likewise.
20750         * math/w_powl.c: Likewise.
20751         * math/w_remainder.c: Likewise.
20752         * math/w_remainderf.c: Likewise.
20753         * math/w_remainderl.c: Likewise.
20754         * math/w_scalb.c: Likewise.
20755         * math/w_scalbf.c: Likewise.
20756         * math/w_scalbl.c: Likewise.
20757         * math/w_scalbln.c: Likewise.
20758         * math/w_scalblnf.c: Likewise.
20759         * math/w_scalblnl.c: Likewise.
20760         * math/w_sinh.c: Likewise.
20761         * math/w_sinhf.c: Likewise.
20762         * math/w_sinhl.c: Likewise.
20763         * math/w_tgamma.c: Likewise.
20764         * math/w_tgammaf.c: Likewise.
20765         * math/w_tgammal.c: Likewise.
20766         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20767         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20768         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20769         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20770         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20771         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20772         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20773         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20774         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20775         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20776         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20777         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20778         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20779         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20780         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20781         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20782         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20783         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20784         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20785         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20786         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20787         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20788         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20789         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20790         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20791         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20792         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20793         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20794         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20795         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20796         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20797         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20798         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20799         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20800         * stdio-common/printf_fp.c: Likewise.
20801         * stdio-common/printf_fphex.c: Likewise.
20802         * stdio-common/printf_size.c: Likewise.
20804 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20806         [BZ #18470]
20807         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20808         strnlen.
20809         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20810         Remove variable.
20811         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20812         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20813         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20814         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20815         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20816         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20817         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20818         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20819         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20820         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20822         [BZ #18468]
20823         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20824         weak alias of __wmemchr.  Use libc_hidden_weak.
20825         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20826         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20827         instead of wmemchr.
20829 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20831         [BZ #18383]
20832         * elf/tst-tlsalign-extern.c: New file.
20833         * elf/tst-tlsalign-extern-static.c: New file.
20834         * elf/tst-tlsalign-vars.c: New file.
20835         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20836         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20837         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20838         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20839         (test-xfail-tst-tlsalign-extern-static): New variable.
20841 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20843         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20844         Use variable name _sc_err instead of err.
20845         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20846         instead of ret.
20847         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20848         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20849         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20850         (INLINE_SYSCALL): Likewise.
20852         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20853         * include/string.h (__strnlen): Use libc_hidden_proto.
20854         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20855         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20856         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20857         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20858         (libc_hidden_def): Undefine and redefine.
20859         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20860         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20861         __GI_strnlen.
20862         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20863         libc_hidden_def.
20864         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20866         [BZ #18469]
20867         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20868         weak alias of __towlower.  Use libc_hidden_weak.
20869         (towupper): Rename to __towupper and define as weak alias of
20870         __towupper.  Use libc_hidden_weak.
20871         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20872         (__towupper): Likewise.
20873         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20874         __towlower instead of towlower.
20876 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20878         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20879         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20881 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20883         * sysdeps/aarch64/libm-test-ulps: Update.
20885 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20887         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20888         Define.
20889         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20891         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20892         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20893         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20894         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20895         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20897 2015-06-01  Martin Sebor  <msebor@redhat.com>
20899         [BZ #18116]
20900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20901         (__setcontext): Use extended four-operand version of mtsf whenever
20902         possible.
20903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20904         (__novec_swapcontext): Likewise.
20906 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20908         * benchtests/scripts/compare_bench.py: New file.
20909         * benchtests/scripts/import_bench.py (mean): New function.
20910         (split_list): Likewise.
20911         (do_for_all_timings): Likewise.
20912         (compress_timings): Likewise.
20914         * benchtests/scripts/import_bench.py: New file.
20915         * benchtests/scripts/validate_benchout.py: Import import_bench
20916         instead of jsonschema.
20917         (validate_bench): Remove function.
20918         (main): Use import_bench.
20920 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20922         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20923         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20925 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20929 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20931         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20932         set THREAD_SELF->tid to a magic value and futex-wake it.
20933         Pass its address to the thread_exit system call.
20934         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20935         bit is clear.
20936         * sysdeps/nacl/lowlevellock.h: New file.
20937         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20939         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20940         Add TIMEOUT to current time, don't subtract it.
20942 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20944         [BZ #2981]
20945         [BZ #18422]
20946         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20947         ($(objpfx)tst-audit2.out): Also depend on
20948         $(objpfx)tst-auditmod9b.so.
20949         * elf/tst-audit2.c: Include <dlfcn.h>.
20950         (calloc_called): New.
20951         (calloc): Allow to be called more than once.
20952         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20954 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20956         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20957         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20959 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20961         * stdlib/monetary.h: Fix comment.
20963 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20965         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20966         Avoid using variables in #defines that might cause shadowing.
20967         (INTERNAL_VSYSCALL_CALL): Likewise.
20969 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20971         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20973         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20974         * nptl/lll_timedlock_wait.c: ... to this new file.
20975         * nptl/Makefile (libpthread-routines): Add it.
20976         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20977         * nptl/lll_timedwait_tid.c: ... to this new file.
20978         * nptl/Makefile (libpthread-routines): Add it.
20979         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20980         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20981         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20982         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20983         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20984         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20985         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20986         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20987         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20988         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20990 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20992         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20993         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20994         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20995         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20996         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20997         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20998         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21000         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21001         * sysdeps/unix/sysv/linux/tile/sysdep.h
21002         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21003         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21004         using vDSO syscall macro.
21006 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21008         [BZ #17293]
21009         * uk_UA: Fix sorting order for Ukrainian locale
21011 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21013         * stdlib/monetary.h: Fix comment.
21015 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21017         [BZ #18234]
21018         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21019         st_mtim and st_ctim members.
21020         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21021         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21022         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21023         (struct stat64): Likewise.
21024         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21025         (struct stat64): Likewise.
21026         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21027         (struct stat64): Likewise.
21029 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21031         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21032         Define and include sysdep-vdso.h.
21033         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21034         Likewise.
21035         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21036         Likewise.
21037         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21038         Define with VDSO_SYMBOL and use PTR_MANGLE.
21039         (__vdso_clock_gettime): Likewise.
21040         (__vdso_clock_getres): Likewise.
21041         (_libc_vdso_platform_setup): Likewise.
21042         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21043         Likewise.
21044         (_libc_vdso_platform_setup): Likewise.
21045         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21046         Likewise.
21047         (__vdso_clock_gettime): Likewise.
21048         (__vdso_clock_getres): Likewise.
21049         (__vdso_get_tbfreq): Likewise.
21050         (__vdso_getcpu): Likewise.
21051         (__vdso_time): Likewise.
21052         (__vdso_sigtramp_rt64): Likewise.
21053         (__vdso_signtramp32): Likewise.
21054         (__vdso_sigtramp_rt32): Likewise.
21055         (_libc_vdso_platform_setup): Likewise.
21056         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21057         Likewise.
21058         (__vdso_clock_gettime): Likewise.
21059         (__vdso_clock_getres): Likewise.
21060         (_libc_vdso_platform_setup): Likewise.
21061         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21062         Likewise.
21063         (__vdso_clock_gettime): Likewise.
21064         (_libc_vdso_platform_setup): Likewise.
21065         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21066         Likewise.
21067         (__vdso_getcpu): Likewise.
21068         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21069         Use VDSO_SYMBOL macro to define.
21070         (__vdso_clock_gettime): Likewise.
21071         (__vdso_clock_getres): Likewise.
21072         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21073         Likewise.
21074         (__vdso_clock_gettime): Likewise.
21075         (__vdso_clock_getres): Likewise.
21076         (__vdso_get_tbfreq): Likewise.
21077         (__vdso_getcpu): Likewise.
21078         (__vdso_time): Likewise.
21079         (__vdso_sigtramp_rt64): Likewise.
21080         (__vdso_signtramp32): Likewise.
21081         (__vdso_sigtramp_rt32): Likewise.
21082         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21083         Likewise.
21084         (__vdso_clock_gettime): Likewise.
21085         (__vdso_clock_getres): Likewise.
21086         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21087         Likewise.
21088         (__vdso_clock_gettime): Likewise.
21089         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21090         Likewise.
21091         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21092         macro.
21093         (INTERNAL_VSYSCALL): Likewise.
21094         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21095         Remove macro.
21096         (INTERNAL_VSYSCALL): Likewise.
21097         (INTERNAL_VSYSCALL_NCS): Likewise.
21098         (INTERNAL_VSYSCALL_CALL): New macro.
21099         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21100         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21101         Likewise.
21102         (INTERNAL_VSYSCALL): Likewise.
21103         (INTERNAL_VSYSCALL_NCS): Likewise.
21104         (INTERNAL_VSYSCALL_CALL): New macro.
21105         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21107         (INLINE_VSYSCALL): Remove macro.
21108         (INTERNAL_VSYSCALL): Remove macro.
21109         (INTERNAL_VSYSCALL_NCS): Remove macro.
21110         (INTERNAL_VSYSCALL_CALL): New macro.
21111         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21112         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21113         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21114         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21115         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21117         (INLINE_VSYSCALL): Remove macro.
21118         (INTERNAL_VSYSCALL): Likewise.
21119         (INTERNAL_VSYSCALL_NCS): Likewise.
21120         (INTERNAL_VSYSCALL_CALL): New macro.
21121         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21122         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21123         PTR_DEMANGLE on vDSO pointer.
21124         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21125         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21126         macro.
21127         (INTERNAL_SYSCALL): Likewise.
21128         (INTERNAL_VSYSCALL_NCS): Remove macro.
21129         (INTERNAL_VSYSCALL_CALL): New macro.
21130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21131         Remove macro.
21132         (INTERNAL_VSYSCALL): Likewise.
21133         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21134         sysdep-vdso.h instead of libc-vdso.h.
21135         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21136         definition.
21137         (INLINE_VSYSCALL): Likewise.
21138         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21139         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21140         definition.
21141         (INLINE_VSYSCALL): Likewise.
21142         (INTERNAL_VSYSCALL): Likewise.
21143         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21144         * sysdeps/unix/sysv/linux/timespec_get.c
21145         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21146         (timespec_get): Use ANSI prototype.
21147         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21148         and definition for Linux.
21150 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21152         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21153         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21155 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21157         [BZ #2981]
21158         [BZ #18410]
21159         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21160         for missing DT_PLTRELSZ.
21162 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21164         Remove obsolete aliases that broke 'locale -a'
21165         [BZ #18412]
21166         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21167         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21168         breaking some applications that use 'locale -a' output.
21169         Change the encoding of this file from Latin-1 to ASCII to avoid
21170         other potential problems with people grepping this file.
21172 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21174         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21175         -fasynchronous-unwind-tables.
21176         (CFLAGS-sendto.c): Likewise.
21177         (CFLAGS-sendmsg.c): Likewise.
21178         (CFLAGS-connect.c): Likewise.
21179         (CFLAGS-recvmsg.c): Likewise.
21180         (CFLAGS-recvfrom.c): Likewise.
21181         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21182         (SOCKETCALL): New macro: non-cancellable socketcall.
21183         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21184         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21185         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21186         * sysdeps/unix/sysv/linux/accept.c: New file.
21187         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21188         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21189         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21190         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21191         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21192         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21193         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21194         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21195         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21196         * sysdeps/unix/sysv/linux/send.c: Likewise.
21197         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21198         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21199         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21200         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21201         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21202         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21203         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21204         prototype.
21205         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21206         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21207         instead of __internal_xxx function.
21208         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21209         prototype.
21210         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21211         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21212         instead of __internal_xxx function.
21213         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21214         prototype.
21215         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21216         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21217         instead of __internal_xxx function.
21218         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21219         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21220         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21221         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21222         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21223         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21224         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21225         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21226         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21227         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21228         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21229         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21230         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21231         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21232         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21233         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21234         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21235         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21236         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21237         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21240         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21241         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21242         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21243         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21244         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21245         * sysdeps/unix/sysv/linux/send.S: Likewise.
21246         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21247         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21248         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21249         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21250         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21251         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21252         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21253         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21254         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21255         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21256         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21257         socketcall is implemented in GLIBC.
21259 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21261         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21262         (__fma): Ignore uninitialized warnings around packing.
21263         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21264         (__fmaf): Ignore uninitialized warnings around packing.
21265         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21266         (__fmal): Ignore uninitialized warnings around packing.
21268         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21269         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21270         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21271         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21273         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21274         switch statement into default case.
21275         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21277         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21278         a conditional in forcing "inexact".
21279         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21280         Likewise.
21282 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21284         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21285         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21286         for each INTERNAL_SYSCALL use.
21288 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21290         [BZ #438]
21291         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21292         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21293         variable.
21295         [BZ #18444]
21296         * string/basename.c (basename): Rename to __basename and define as
21297         weak alias of __basename.  Use libc_hidden_weak.
21298         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21299         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21300         __basename instead of basename.
21301         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21302         Remove variable.
21303         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21305 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21307         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21308         (_IO_JUMPS_FILE_plus): New.
21309         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21310         _IO_CAST_FIELD_ACCESS.
21311         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21312         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21313         * libio/freopen.c (freopen): Likewise.
21314         * libio/freopen64.c (freopen64): Likewise.
21315         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21316         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21317         * libio/iofwide.c (_IO_fwide): Likewise.
21318         * libio/memstream.c (open_memstream): Likewise.
21319         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21320         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21321         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21323 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21325         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21326         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21327         NADJ.
21328         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21329         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21330         NADJ.
21331         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21332         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21333         NADJ.
21335         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21336         (p == 4) case.
21338         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21339         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21340         Remove variable.
21341         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21342         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21343         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21345 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21347         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21348         Adjust jump table label generation macros.
21350 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21352         * stdio-common/vfprintf.c (vfprintf): Move local variables
21353         args_malloced, specs, specs_malloced, and the code after
21354         do_positional to the printf_positional function.
21355         (printf_positional): New function.
21357 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21359         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21360         function.
21361         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21362         STEP4_TABLE, process_arg): Move macro definitions
21363         out of the vfprintf function.  (Cosmetic change only.)
21365 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21367         * benchtests/Makefile (stdio-common-bench): Define.
21368         (benchset): Add stdio-common-bench.
21369         * sprintf-inputs: New file.
21370         * sprintf-source.c: New file.
21372 2015-05-21  Andreas Schwab  <schwab@suse.de>
21374         [BZ #13028]
21375         [BZ #17053]
21376         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21377         of struct __res_state.
21378         * resolv/res_send.c (__libc_res_nsend): Likewise.
21379         (get_nsaddr): New function.
21380         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21381         statp directly.
21383 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21385         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21386         -D_POSIX_C_SOURCE=199506L.
21388         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21390         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21391         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21392         Do not mention otherwise.
21393         [POSIX] (_XOPEN_VERSION): Do not expect.
21394         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21395         [POSIX] (_POSIX2_C_BIND): Likewise.
21396         [POSIX] (_POSIX2_VERSION): Likewise.
21397         [POSIX] (_XOPEN_XPG2): Likewise.
21398         [POSIX] (_XOPEN_XPG3): Likewise.
21399         [POSIX] (_XOPEN_XPG4): Likewise.
21400         [POSIX] (_XOPEN_UNIX): Likewise.
21401         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21402         [POSIX] (_POSIX_BARRIERS): Likewise.
21403         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21404         [POSIX] (_POSIX_CPUTIME): Likewise.
21405         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21406         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21407         [POSIX] (_POSIX_SHELL): Likewise.
21408         [POSIX] (_POSIX_SPAWN): Likewise.
21409         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21410         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21411         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21412         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21413         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21414         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21415         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21416         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21417         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21418         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21419         [POSIX] (_POSIX2_PBS): Likewise.
21420         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21421         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21422         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21423         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21424         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21425         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21426         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21427         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21428         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21429         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21430         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21431         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21432         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21433         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21434         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21435         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21436         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21437         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21438         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21439         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21440         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21441         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21442         [POSIX] (_SC_2_C_BIND): Likewise.
21443         [POSIX] (_SC_2_C_VERSION): Likewise.
21444         [POSIX] (_SC_2_PBS): Likewise.
21445         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21446         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21447         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21448         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21449         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21450         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21451         [POSIX] (_SC_BARRIERS): Likewise.
21452         [POSIX] (_SC_BASE): Likewise.
21453         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21454         [POSIX] (_SC_DEVICE_IO): Likewise.
21455         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21456         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21457         [POSIX] (_SC_FD_MGMT): Likewise.
21458         [POSIX] (_SC_FIFO): Likewise.
21459         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21460         [POSIX] (_SC_FILE_LOCKING): Likewise.
21461         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21462         [POSIX] (_SC_IOV_MAX): Likewise.
21463         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21464         [POSIX] (_SC_NETWORKING): Likewise.
21465         [POSIX] (_SC_PAGE_SIZE): Likewise.
21466         [POSIX] (_SC_PASS_MAX): Likewise.
21467         [POSIX] (_SC_PIPE): Likewise.
21468         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21469         [POSIX] (_SC_REGEXP): Likewise.
21470         [POSIX] (_SC_SHELL): Likewise.
21471         [POSIX] (_SC_SIGNALS): Likewise.
21472         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21473         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21474         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21475         [POSIX] (_SC_USER_GROUPS): Likewise.
21476         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21477         [POSIX] (_SC_STREAMS): Likewise.
21478         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21479         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21480         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21481         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21482         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21483         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21484         [POSIX] (_PC_FILESIZEBITS): Likewise.
21485         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21486         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21487         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21488         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21489         [POSIX] (uid_t): Likewise.
21490         [POSIX] (gid_t): Likewise.
21491         [POSIX] (off_t): Likewise.
21492         [POSIX] (pid_t): Likewise.
21493         [POSIX] (cuserid): Allow.
21494         (_SC_2_CHAR_TERM): Require constant.
21495         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21496         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21497         variable.
21499 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21501         * sysdeps/nacl/pthread-pids.h: New file.
21502         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21503         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21505         * nptl/pthread-pids.h: New file.
21506         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21507         * nptl/nptl-init.c: Include <pthread-pids.h>.
21508         (__pthread_initialize_minimal_internal):
21509         Call __pthread_initialize_pids instead of set_tid_address syscall.
21511         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21512         * sysdeps/posix/usleep.c: ... here.
21514 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21516         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21517         call_pselect6 object.
21518         [$(subdir) = io]: Remove call_sync_file_range object.
21519         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21520         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21521         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21522         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21524 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21526         * math/s_cproj.c: Add include "math_private.h".
21527         * math/s_cprojf.c: Likewise.
21528         * math/s_cprojl.c: Likewise.
21530 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21532         [BZ #18244]
21533         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21534         high mantissa bit when testing whether P is a NaN.
21535         * math/libm-test.inc (remainder_test_data): Add more tests.
21536         (remquo_test_data): Likewise.
21538         [BZ #18049]
21539         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21540         below -32, return the argument, with underflow if subnormal.
21541         * math/auto-libm-test-in: Add more tests of atanh.
21542         * math/auto-libm-test-out: Regenerated.
21544 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21546         [BZ #18434]
21547         * nptl/tst-sem15.c: New file.
21548         * nptl/Makefile (tests): Add it.
21549         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21550         s/<</>>/ to fix typo in EOVERFLOW check.
21551         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21553 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21555         * manual/strings.texi (envz_remove): Fix typo in safety
21556         annotations.
21558 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21559             Steve Ellcey  <sellcey@imgtec.com>
21561         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21562         in order to avoid strict alias warnings.
21563         (iruserok_af): Ditto for ra.
21565 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21567         [BZ #17581]
21568         * malloc/hooks.c
21569         (magicbyte): Convert to a function and avoid returning 0x01.
21570         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21571         (mem2chunk_check): Fix unsigned comparisons to zero.
21572         Hoist defs of sz and magic.
21574 2015-05-19  Richard Henderson  <rth@redhat.com>
21576         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21578         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21580 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21582         [BZ #16159]
21583         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21584         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21585         (reused_arena): Find a non-corrupt arena.
21586         (heap_trim): Pass arena to unlink.
21587         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21588         malloc_printerr.
21589         (top_check): Likewise.
21590         (free_check): Likewise.
21591         (realloc_check): Likewise.
21592         * malloc/malloc.c (malloc_printerr): Add arena argument.
21593         (unlink): Likewise.
21594         (munmap_chunk): Adjust.
21595         (ARENA_CORRUPTION_BIT): New macro.
21596         (arena_is_corrupt): Likewise.
21597         (set_arena_corrupt): Likewise.
21598         (sysmalloc): Use mmap if there are no usable arenas.
21599         (_int_malloc): Likewise.
21600         (__libc_malloc): Don't fail if arena_get returns NULL.
21601         (_mid_memalign): Likewise.
21602         (__libc_calloc): Likewise.
21603         (__libc_realloc): Adjust for additional argument to
21604         malloc_printerr.
21605         (_int_free): Likewise.
21606         (malloc_consolidate): Likewise.
21607         (_int_realloc): Likewise.
21608         (_int_memalign): Don't touch corrupt arenas.
21609         * malloc/tst-malloc-backtrace.c: New test case.
21611         * Makefile (summarize-tests): Fix return value on success.
21613         * manual/string.texi (Envz Functions): Add envz_remove.
21615 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21617         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21618         (invalid_name): New function, broken out of ...
21619         (__opendirat): ... here.  Call it.
21620         (need_isdir_precheck): New function, broken out of ...
21621         (__opendirat): ... here.  Call it.
21622         Use __fxstatat64, not __xstatat64.
21623         (opendir_oflags): New function, broken out of ...
21624         (__opendirat): ... here.  Call it.
21625         (opendir_tail): New function, broken out of ...
21626         (__opendirat): ... here.  Call it.
21627         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21628         opendir_tail, rather than punting to __opendirat.
21629         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21631 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21633         * .gitignore: Ignore generated *.pyc.
21635 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21637         * include/stdio.h: Define __need_wint_t.
21638         * test-skeleton.c: Avoid `for' loop initial declaration.
21639         * nptl/tst-initializers1.c: Use test-skeleton.c.
21641 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21643         [BZ #18418]
21644         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21646 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21648         [BZ #16352]
21649         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21650         (__ieee754_atanh): Force underflow exception for results with
21651         small absolute value.
21652         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21653         (__ieee754_atanhf): Force underflow exception for results with
21654         small absolute value.
21655         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21656         (__ieee754_atanh): Force underflow exception for results with
21657         small absolute value.
21658         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21659         (__ieee754_atanhf): Force underflow exception for results with
21660         small absolute value.
21661         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21662         (__ieee754_atanhl): Force underflow exception for results with
21663         small absolute value.
21664         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21665         (__ieee754_atanhl): Force underflow exception for results with
21666         small absolute value.
21667         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21668         (__ieee754_atanhl): Force underflow exception for results with
21669         small absolute value.
21670         * math/auto-libm-test-in: Do not allow missing underflow
21671         exceptions from atanh.
21672         * math/auto-libm-test-out: Regenerated.
21674         [BZ #18221]
21675         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21676         2**-28 as threshold for returning x or +/- 1/x.
21677         * math/auto-libm-test-in: Add more tests of tan.
21678         * math/auto-libm-test-out: Regenerated.
21680         [BZ #18220]
21681         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21682         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21683         * math/auto-libm-test-in: Add another test of lgamma.
21684         * math/auto-libm-test-out: Regenerated.
21686 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21688         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21689         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21690         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21691         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21692         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21693         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21694         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21695         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21696         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21697         (log1): Use fabs.  (my_log2): Use fabs.
21698         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21699         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21700         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21701         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21702         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21703         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21704         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21705         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21706         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21707         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21708         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21710 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21712         [BZ #18217]
21713         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21714         as threshold for returning 1 - x.
21715         * math/auto-libm-test-in: Add more tests of erfc.
21716         * math/auto-libm-test-out: Regenerated.
21718 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21720         [BZ #18196]
21721         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21722         threshold for large arguments.
21723         * math/auto-libm-test-in: Add another test of atan.
21724         * math/auto-libm-test-out: Regenerated.
21726         [BZ #16339]
21727         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21728         (__log1p): Force underflow exception for results with small
21729         absolute value.
21730         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21731         (__log1pf): Force underflow exception for results with small
21732         absolute value.
21733         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21734         (__log1p): Force underflow exception for results with small
21735         absolute value.
21736         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21737         (__log1pf): Force underflow exception for results with small
21738         absolute value.
21739         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21740         (__log1pl): Force underflow exception for results with small
21741         absolute value.
21742         * math/auto-libm-test-in: Do not allow missing underflow
21743         exceptions from log1p.
21744         * math/auto-libm-test-out: Regenerated.
21746 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21747             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21749         [BZ #16704]
21750         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21752 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21754         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21755         (libmvec): New variable.
21756         * configure.ac: Added option for mathvec build.
21757         * configure: Regenerated.
21758         * mathvec/Depend: New file.
21759         * mathvec/Makefile: New file.
21760         * shlib-versions: Added libmvec.
21761         * math/Makefile: Added rule for libm.so installation.
21763         * bits/math-vector.h: New file.
21764         * bits/libm-simd-decl-stubs.h: New header.
21765         * math/Makefile (headers): Added new header
21766         libm-simd-decl-stubs.h.
21767         * math/math.h (__MATHCALL_VEC): New macro.
21769         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21770         for conditions in testing functions.
21771         * math/Makefile: Added call of libm-have-vector-test.sh.
21772         * math/libm-test.inc (HAVE_VECTOR): New macros.
21774         * math/libm-test.inc: START refactored.
21775         * math/test-double.c (TEST_MATHVEC): Add define.
21776         * math/test-float.c: Likewise.
21777         * math/test-idouble.c: Likewise.
21778         * math/test-ifloat.c: Likewise.
21779         * math/test-ildoubl.c: Likewise.
21780         * math/test-ldouble.c: Likewise.
21781         * sysdeps/generic/math-tests-arch.h
21782         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21783         architecture check.
21785         * math/test-double.c (FUNC_TEST): New macro.
21786         * math/test-float.c: Likewise.
21787         * math/test-idouble.c: Likewise.
21788         * math/test-ifloat.c: Likewise.
21789         * math/test-ildoubl.c: Likewise.
21790         * math/test-ldouble.c: Likewise.
21791         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21793 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21795         * sysdeps/nacl/fdopendir.c: New file.
21797         * dirent/scandir-tail.c: New file.
21798         * dirent/scandir64-tail.c: New file.
21799         * dirent/Makefile (routines): Add them.
21800         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21801         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21802         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21803         [!SCANDIR] (SCANDIR_TAIL): New macro.
21804         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21805         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21806         (SCANDIRAT): Macro removed.
21807         (SCANDIR_TAIL): New macro.
21808         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21809         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21810         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21811         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21812         (READDIR): Macro removed.
21813         (SCANDIR_TAIL): New macro.
21814         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21815         (SCANDIR_TAIL): New macro.
21817         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21818         * dirent/scandir-cancel.c: ... to this new file.
21819         * dirent/Makefile (routines): Add it.
21820         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21821         * sysdeps/unix/sysv/linux/i386/scandir64.c
21822         (SKIP_SCANDIR_CANCEL): Macro removed.
21823         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21825         * dirent/tst-scandir.c: New file.
21826         * dirent/tst-scandir64.c: New file.
21827         * dirent/Makefile (tests): Add them.
21829 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21831         [BZ #18409]
21832         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21834 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21836         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21837         list.
21839 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21841         * benchtests/bench-strcoll.c: New benchmark.
21842         * benchtests/Makefile: Generate locales and run benchmark.
21843         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21844         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21845         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21846         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21847         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21848         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21849         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21850         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21851         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21852         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21853         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21854         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21855         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21856         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21857         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21858         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21859         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21860         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21861         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21862         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21863         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21864         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21865         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21866         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21868 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21870         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21871         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21873 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21875         * posix/uname-values.h: New file.
21876         * posix/uname.c: Include that instead of <config-name.h>.
21877         * sysdeps/nacl/uname-values.h: New file.
21878         * sysdeps/arm/nacl/uname-values.h: New file.
21880 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21882         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21883         splitting into fields.
21885 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21887         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21888         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21889         * locale/localeinfo.h: Add enum collation_encoding_type.
21890         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21891         * programs/ld-collate.c (collate_output): Add encoding type info.
21892         * string/strcoll_l.c (STRDIFF): New function.
21893         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21894         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21896 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21898         [BZ #18397]
21899         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21900         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21901         <fpu_control.h> instead of <math/fpu_control.c>.
21902         * sysdeps/mips/mips32/fpu/Makefile: New file.
21904 2015-05-11  Andreas Schwab  <schwab@suse.de>
21906         [BZ #18007]
21907         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21908         nss_endgrent.
21909         (_nss_compat_endgrent): Call nss_endgrent.
21910         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21911         nss_endpwent.
21912         (_nss_compat_endpwent): Call nss_endpwent.
21913         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21914         needent, call nss_setspent only if non-zero.
21915         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21916         (internal_endspent): Don't call nss_endspent.
21917         (_nss_compat_endspent): Call nss_endspent.
21918         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21919         Remove.  All uses removed.
21920         (internal_setent): Remove parameter stayopen, add parameter
21921         stream.  Use it instead of global variable.
21922         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21923         (internal_endent, internal_getent): Add parameter stream.  Use it
21924         instead of global variable.
21925         (CONCAT(_nss_files_end,ENTNAME))
21926         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21927         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21928         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21929         uses removed.
21930         (internal_setent, internal_endent): Add parameter stream.  Use it
21931         instead of global variable.
21932         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21933         stream.
21934         (get_next_alias): Add parameter stream.
21935         (_nss_files_getaliasent_r): Pass global stream.
21936         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21937         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21938         (_nss_files_gethostbyname4_r): Pass local stream to
21939         internal_setent, internal_getent and internal_endent.  Remove
21940         locking.
21942 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21944         * tst-strfmon1.c (tests): Update expected currency symbol.
21946 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21948         * sysdeps/nacl/gethostname.c: New file.
21950 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21952         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21953         and sinh.
21954         * math/auto-libm-test-out: Regenerated.
21955         * sysdeps/i386/fpu/libm-test-ulps: Update.
21956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21958 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21960         [BZ #18125]
21961         * stdlib/tst-setcontext3.c: New file.
21962         * stdlib/tst-setcontext3.sh: New file.
21963         * stdlib/Makefile (tests): Add tst-setcontext3.
21964         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21965         to verify test program created output file.
21966         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21967         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21968         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21969         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21971 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21973         [BZ #18383]
21974         * elf/tst-tlsalign.c: New file.
21975         * elf/tst-tlsalign-static.c: New file.
21976         * elf/tst-tlsalign-lib.c: New file.
21977         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21978         (tests-static): Add tst-tlsalign-static.
21979         (modules-names): Add tst-tlsalign-lib.
21980         (test-xfail-tst-tlsalign): New variable.
21981         (test-xfail-tst-tlsalign-static): New variable.
21983         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21984         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21986 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21988         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21989         csqrt, erfc, sin and sincos.
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-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21996         * sysdeps/aarch64/libm-test-ulps: Update.
21998 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22000         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22001         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22002         * math/auto-libm-test-out: Regenerated.
22003         * sysdeps/i386/fpu/libm-test-ulps: Update.
22004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22006 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22008         [BZ #18265]
22009         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22010         (wcsncpy): Likewise.
22012 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22014         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22015         Assume __ASSUME_FALLOCATE is always true.
22016         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22017         (__posix_fallocate64_l64): Likweise.
22018         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22019         (posix_fallocate): Likewise.
22020         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22021         (__posix_fallocate64_l64): Likewise.
22022         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22023         [!__ASSUME_FALLOCATE]: Add comment.
22025 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22027         * sysdeps/unix/sysv/linux/i386/Makefile
22028         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22029         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22030         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22031         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22032         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22033         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22034         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22036 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22038         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22039         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22040         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22047         * math/auto-libm-test-in: Add more tests of tgamma.
22048         * math/auto-libm-test-out: Regenerated.
22049         * sysdeps/i386/fpu/libm-test-ulps: Update.
22050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22052         * math/auto-libm-test-in: Add more tests of tanh.
22053         * math/auto-libm-test-out: Regenerated.
22054         * sysdeps/i386/fpu/libm-test-ulps: Update.
22055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22057         * math/auto-libm-test-in: Add more tests of tan.
22058         * math/auto-libm-test-out: Regenerated.
22059         * sysdeps/i386/fpu/libm-test-ulps: Update.
22060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22062         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22063         * math/auto-libm-test-out: Regenerated.
22064         * sysdeps/i386/fpu/libm-test-ulps: Update.
22065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22067         * math/auto-libm-test-in: Add another test of pow.
22068         * math/auto-libm-test-out: Regenerated.
22069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22071         * math/auto-libm-test-in: Add more tests of lgamma.
22072         * math/auto-libm-test-out: Regenerated.
22073         * sysdeps/i386/fpu/libm-test-ulps: Update.
22074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22076         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22077         log1p.
22078         * math/auto-libm-test-out: Regenerated.
22079         * sysdeps/i386/fpu/libm-test-ulps: Update.
22080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22082 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22084         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22085         Elf64_Chdr structs and ELFCOMPRESS constants.
22087 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22089         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22090         expm1.
22091         * math/auto-libm-test-out: Regenerated.
22092         * sysdeps/i386/fpu/libm-test-ulps: Update.
22093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22095         * math/auto-libm-test-in: Add more tests of erf and erfc.
22096         * math/auto-libm-test-out: Regenerated.
22097         * sysdeps/i386/fpu/libm-test-ulps: Update.
22098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22100 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22102         * config.h.in (HAVE_AARCH64_BE): Add.
22104 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22106         * math/auto-libm-test-in: Add more tests of csqrt.
22107         * math/auto-libm-test-out: Regenerated.
22108         * sysdeps/i386/fpu/libm-test-ulps: Update.
22109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22111         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22112         * math/auto-libm-test-out: Regenerated.
22113         * sysdeps/i386/fpu/libm-test-ulps: Update.
22114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22116         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22118 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22120         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22121         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22123         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22124         (euidaccess, eaccess): Define as weak aliases.
22126         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22127         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22128         but __suseconds_t is often 'long int' so some sources assume that
22129         type is being used (e.g. they use %ld to print tv_usec).
22131 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22133         [BZ #18007]
22134         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22135         (CVE-2014-8121)
22136         * nss/tst-nss-getpwent.c: New file.
22137         * nss/Makefile (tests): Add new test.
22139 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22141         [BZ #18346]
22142         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22143         exponents less than 48 as cases where high part of mantissa needs
22144         examining to determine whether argument is integral.
22145         * math/libm-test.inc (round_test_data): Add more tests.
22147 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22149         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22151 2015-04-27  David S. Miller  <davem@davemloft.net>
22153         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22154         __tls_get_addr.
22155         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22157 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22159         [BZ#18333]
22160         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22162 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22164         [BZ#18333]
22165         * time/tzset.c (parse_tzname): Return error on memory allocation
22166         failure.
22167         * test-skeleton.c (struct temp_name_list): Change type of name
22168         member to non-const.
22169         (add_temp_file): Create a copy of the file name.
22170         (delete_temp_files): Deallocate memory.
22171         (create_temp_file): Add comment.
22173 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22175         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22176         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22178 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22180         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22181         * sysdeps/arm/configure: Regenerated.
22183 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22185         [BZ #17715]
22186         * time/tzfile.c (__tzfile_read): Check for large values of
22187         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22188         * time/tzset.c (__tzstring_len): New function, based on the old
22189         __tzstring function.
22190         (__tzstring): Call __tzstring_len.
22191         (parse_tzname): New helper function extracted from
22192         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22193         the input string.
22194         (parse_offset): New helper function extracted from
22195         __tzset_parse_tz.  Replace switch with fallthrough with
22196         initialization before sscanf.
22197         (parse_rule): Likewise.
22198         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22199         new-style function definition.
22200         * timezone/Makefile (tests): Add tst-tzset.
22201         (tst-tzset.out): Dependencies on time zone files.
22202         (tst-tzset-ENV): Set TZDIR.
22203         (testdata/XT%): Copy crafted time zone files.
22204         * timezone/README: Mention crafted time zone files.
22205         * timezone/testdata/XT1, timezone/testdata/XT2,
22206         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22207         files.
22208         * timezone/tst-tzset.c: New test.
22210 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22212         * Makeconfig (+gccwarn): Remove -Winline.
22214 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22216         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22218 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22220         * NEWS: Mention sysconf() cache information support for s390.
22221         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22223 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22225         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22226         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22227         (__nearbyint): Likewise.
22228         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22229         (copysignl): Likewise.
22231 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22233         [BZ #18287]
22234         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22235         based on padding.  (CVE-2015-1781)
22237 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22239         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22240         libc-vdso.h.
22241         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22242         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22243         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22244         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22245         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22246         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22247         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22248         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22249         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22250         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22251         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22252         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22253         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22254         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22255         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22256         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22257         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22258         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22259         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22260         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22261         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22262         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22263         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22265 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22267         * stdlib/setenv.c (__add_to_environ):
22268         Dump core quickly if setenv (..., NULL, ...) is called.
22269         This time, do it the right way, and pacify GCC with a pragma.
22271 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22273         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22274         IMAP->l_prev cannot be null, and #if out the code for the contrary
22275         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22276         believe that NS (&_dl_ns[NSID]) could point outside the array.
22278         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22279         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22280         before using NSID as an index.
22282 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22284         [BZ #17825]
22285         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22286         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22287         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22289 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22291         Add preliminary port to Google Native Client on ARM.
22292         * abi-tags (.*-.*-nacl.*): New entry.
22293         * sysdeps/arm/nacl: New directory.
22294         * sysdeps/nacl: New directory.
22296 2015-04-16  David S. Miller  <davem@davemloft.net>
22298         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22299         lowlevellock-futex.h
22301 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22303         * sysdeps/tile/configure.ac: New file.
22304         * sysdeps/tile/configure: Regenerated.
22306 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22308         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22309         conditionals for weak_alias and libc_hidden_weak.
22310         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22311         libc_hidden_weak and weak_alias.
22312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22313         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22314         and weak_alias for static one.
22316 2015-04-15  David S. Miller  <davem@davemloft.net>
22318         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22320 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22322         [BZ #18206]
22323         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22324           Use signed comparision instead of substraction to avoid
22325           overflow bug.
22326         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22327           Take the sign of ret.
22328         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22329           Do not expect precise return values. Only the sign matters.
22330         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22331         * wcsmbs/test-wcsncmp.c: New File.
22332         * string/test-strncmp.c: Add wcsncmp support.
22334 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22336         [BZ #6792]
22337         * math/w_log1p.c: New file.
22338         * math/w_log1pf.c: Likewise.
22339         * math/w_log1pl.c: Likewise.
22340         * math/Makefile (libm-calls): Add w_log1p.
22341         * math/s_log1pl.c (log1pl): Remove weak_alias.
22342         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22343         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22344         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22345         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22346         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22347         [NO_LONG_DOUBLE] (log1pl): Likewise.
22348         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22349         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22350         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22351         (log1p): Remove long_double_symbol.
22352         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22353         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22354         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22355         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22356         remove weak_alias for corresponding log1p function.
22357         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22358         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22359         * sysdeps/ia64/fpu/w_log1p.c: New file.
22360         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22361         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22362         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22364 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22366         [BZ #18247]
22367         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22368         decimal exponent by 1.
22369         * stdlib/tst-strtod-round-data: Add more tests.
22370         * stdlib/tst-strtod-round.c (tests): Regenerated.
22372 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22374         * math/auto-libm-test-in: Add more tests of clog and clog10.
22375         * math/auto-libm-test-out: Regenerated.
22376         * sysdeps/i386/fpu/libm-test-ulps: Update.
22377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22379 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22381         * Makeconfig (module-cppflags): Exclude all .v.i files.
22382         (skip-module-cppflags): Variable removed.
22384         * configure.ac (libc_config_ok): Initialize before reading
22385         preconfigure scripts, not after.
22386         * configure: Regenerated.
22388         * test-skeleton.c (TIMEOUT): Move #define to top level.
22389         (main): Grok environment variable TEST_DIRECT.  If set, print
22390         test expectation details into that file and then behave as if
22391         given --direct.
22393 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22395         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22396         warning on 32-bit.
22398 2015-04-08  David S. Miller  <davem@davemloft.net>
22400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22402 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22404         * math/auto-libm-test-in: Add more tests of atanh.
22405         * math/auto-libm-test-out: Regenerated.
22406         * sysdeps/i386/fpu/libm-test-ulps: Update.
22407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22409         * math/auto-libm-test-in: Add more tests of atan.
22410         * math/auto-libm-test-out: Regenerated.
22411         * sysdeps/i386/fpu/libm-test-ulps: Update.
22412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22414 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22416         * elf/pldd.c (main): Rewrite to use struct
22417         scratch_buffer instead of extend_alloca.
22418         * elf/pldd-xx.c (find_maps): Likewise.
22419         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22420         <alloca.h>.
22421         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22422         scratch_buffer instead of extend_alloca.
22423         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22424         grp/compat-initgroups.c.
22425         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22426         Rewrite to use struct scratch_buffer instead of extend_alloca.
22427         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22428         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22430 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22432         * math/auto-libm-test-in: Add more tests of cbrt.
22433         * math/auto-libm-test-out: Regenerated.
22434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22436         * math/auto-libm-test-in: Add more tests of cabs.
22437         * math/auto-libm-test-out: Regenerated.
22438         * sysdeps/i386/fpu/libm-test-ulps: Update.
22439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22441         [BZ #18210]
22442         [BZ #18211]
22443         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22444         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22445         computations.
22446         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22447         clog10.
22448         * math/auto-libm-test-out: Regenerated.
22449         * sysdeps/i386/fpu/libm-test-ulps: Update.
22450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22452         [BZ #18197]
22453         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22454         (atan): Set FE_TONEAREST mode for internal computations.
22455         * math/auto-libm-test-in: Add more tests of atan.
22456         * math/auto-libm-test-out: Regenerated.
22458 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22460         [BZ #17930]
22461         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22463 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22465         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22467 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22469         * include/scratch_buffer.h: New file.
22470         * malloc/scratch_buffer_grow.c: Likewise.
22471         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22472         * malloc/scratch_buffer_set_array_size.c: Likewise.
22473         * malloc/tst-scratch_buffer.c: Likewise.
22474         * malloc/Makefile (routines): Add scratch_buffer_grow.
22475         (tests): Add test case.
22476         * malloc/Versions (GLIBC_PRIVATE): Export
22477         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22478         __libc_scratch_buffer_set_array_size.
22480 2015-04-06  Richard Henderson  <rth@redhat.com>
22482         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22483         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22485         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22486         unsigned int before printing.
22488 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22490         [BZ #17596]
22491         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22492         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22494 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22496         * include/libc-internal.h (libc_max_align_t): Define.
22498 2015-04-02  Andreas Schwab  <schwab@suse.de>
22500         [BZ #16850]
22501         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22503 2015-04-02  Mel Gorman  <mgorman@suse.de>
22505         [BZ #17195]
22506         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22507         as well as the main arena.
22509 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22511         [BZ #18185]
22512         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22513         sharing L2 cache to 2 for Silvermont/Knights Landing.
22515 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22517         [BZ #17711]
22518         * config.make.in (have-protected-data): New.
22519         * configure.ac: Check linker support for protected data symbol.
22520         * configure: Regenerated.
22521         * elf/Makefile (modules-names): Add tst-protected1moda and
22522         tst-protected1modb if $(have-protected-data) is yes.
22523         (tests): Add tst-protected1a and tst-protected1b if
22524         $(have-protected-data) is yes.
22525         ($(objpfx)tst-protected1a): New.
22526         ($(objpfx)tst-protected1b): Likewise.
22527         (tst-protected1modb.so-no-z-defs): Likewise.
22528         * elf/tst-protected1a.c: New file.
22529         * elf/tst-protected1b.c: Likewise.
22530         * elf/tst-protected1mod.h: Likewise.
22531         * elf/tst-protected1moda.c: Likewise.
22532         * elf/tst-protected1modb.c: Likewise.
22534 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22536         [BZ #17711]
22537         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22538         indicates it is called from do_lookup_x on relocation against
22539         protected data, skip the data definion in the executable from
22540         copy reloc.
22541         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22542         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22543         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22544         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22545         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22546         otherwise to 0.
22547         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22548         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22549         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22550         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22551         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22552         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22554 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22556         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22557         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22559 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22561         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22562         THREAD_SETMEM_NC.
22563         * sysdeps/x86_64/nptl/tls.h: Ditto.
22565 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22567         * dlfcn/tststatic.c (main): Converted to ...
22568         (do_test): ... this.
22569         (TEST_FUNCTION): New macro.
22570         Include test-skeleton.c.
22572 2015-03-26  Alan Modra  <amodra@gmail.com>
22574         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22575         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22576         zero for undefined weak.
22577         (elf_machine_plt_conflict): Similarly.
22579 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22581         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22582         atanh.
22583         * math/auto-libm-test-out: Regenerated.
22584         * sysdeps/i386/fpu/libm-test-ulps: Update.
22585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22587         * math/auto-libm-test-in: Add another test of asin.
22588         * math/auto-libm-test-out: Regenerated.
22589         * sysdeps/i386/fpu/libm-test-ulps: Update.
22590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22592         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22593         Remove macro.
22594         (LLL_EBX_REG): Likewise.
22595         (LLL_ENTER_KERNEL): Likewise.
22597         * math/auto-libm-test-in: Add more tests of asin.
22598         * math/auto-libm-test-out: Regenerated.
22599         * sysdeps/i386/fpu/libm-test-ulps: Update.
22600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22602         [BZ #18138]
22603         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22604         libc_do_syscall_args): New structure.
22605         (INTERNAL_SYSCALL_MAIN_0): New macro.
22606         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22607         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22608         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22609         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22610         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22611         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22612         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22613         Replace conditional definitions by conditional definitions of ....
22614         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22615         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22616         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22617         (libpthread-sysdep_routines): Add libc-do-syscall.
22618         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22619         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22620         to __NR_futex not 240.
22622 2015-03-25  Alan Modra  <amodra@gmail.com>
22624         * NEWS: Advertise TLS optimization.
22625         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22626         (DT_PPC_NUM): Increment.
22627         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22628         (CHECK_STATIC_TLS): Use here.
22629         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22630         TLS descriptors.
22631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22632         * sysdeps/powerpc/dl-tls.c: New file.
22633         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22634         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22635         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22636         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22641 2015-03-25  Alan Modra  <amodra@gmail.com>
22643         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22644         for overlapping .opd entries" to "support...".
22645         * sysdeps/powerpc/powerpc64/configure: Regenerate
22647 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22649         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
22655         * math/auto-libm-test-out: Regenerated.
22656         * sysdeps/i386/fpu/libm-test-ulps: Update.
22657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22659 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22661         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22662         * math/auto-libm-test-out: Regenerated.
22663         * sysdeps/i386/fpu/libm-test-ulps: Update.
22664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22666         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22669         * math/auto-libm-test-in: Add more tests of log2.
22670         * math/auto-libm-test-out: Regenerated.
22671         * sysdeps/i386/fpu/libm-test-ulps: Update.
22672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22674 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22676         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22677         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22678         _IO_IS_APPENDING bit in READ_WRITE instead.
22680 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22682         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22683         (__determine_cpumask_size): Replace extend_alloca with a
22684         variable-length array.  Do not treat res == 0 as an error.
22686 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22688         [BZ #18100]
22689         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22690         and integer overflow.
22691         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22692         (main): Add integer overflow tests.
22693         * manual/pattern.texi (Calling Wordexp): Document additional use
22694         for WRDE_SYNTAX.
22696 2015-03-23  Alan Modra  <amodra@gmail.com>
22698         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22699         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22700         and false branch of conditional.
22701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22702         Likewise.
22704 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22706         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22707         libc-modules.h
22708         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22709         unused declaration of _hurd_intr_rpc_msg_in_trap.
22710         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22711         defined instead of whether it is non-zero.
22712         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22713         input constraint instead of both input and output constraint.  Use ecx
22714         clobber instead of %ecx.
22715         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22716         mutex_unlock): Use a statement expression instead of an expression list.
22717         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22718         type to vm_size_t instead of vm_address_t.
22719         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22720         defined instead of whether it is non-zero.
22721         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22722         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22723         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22724         comparisons with mapaddr.
22725         * nscd/nscd-client.h: Include <time.h>.
22726         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22727         9th parameter to __vm_region instead of int.
22728         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22729         * scripts/check-local-headers.sh (exclude): Add device/,
22730         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22731         cthreads.h.
22733 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22735         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22736         to account for alignment padding.
22737         * sysdeps/arm/memmove.S: Likewise.
22739 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22741         * sysdeps/unix/sysv/linux/generic/README: New file.
22743 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22745         [BZ #18138]
22746         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22747         (futex_abstimed_wait)
22748         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22749         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22750         of lll_futex_timed_wait.
22752 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22754         [BZ #17542]
22755         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22757 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22759         [BZ #17090]
22760         [BZ #17620]
22761         [BZ #17621]
22762         [BZ #17628]
22763         * NEWS: Update.
22764         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22765         entries with Static TLS too.  Skip entries past the end of the
22766         allocated DTV, from Alan Modra.
22767         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22768         Static TLS DTV entry set up from...
22769         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22770         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22771         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22772         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22773         for Static TLS.
22774         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22775         that the slot we find is associated with the given map before
22776         using its generation count.
22777         * nptl_db/db_info.c: Include ldsodefs.h.
22778         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22779         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22780         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22781         (link_map::l_tls_offset): New struct field.
22782         (dtv_t::counter): Likewise.
22783         (rtld_global): New struct.
22784         (_rtld_global): New rtld variable.
22785         (dl_tls_dtv_slotinfo_list): New rtld global field.
22786         (dtv_slotinfo_list): New struct.
22787         (dtv_slotinfo): Likewise.
22788         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22789         (td_lookup): Rename to...
22790         (td_mod_lookup): ... this.  Use new mod parameter instead of
22791         LIBPTHREAD_SO.
22792         * nptl_db/td_thr_tlsbase.c: Include link.h.
22793         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22794         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22795         addresses even if the DTV is out of date or missing them.
22796         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22797         index zero-length arrays.
22798         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22799         (td_lookup): Make it a macro implemented in terms of...
22800         (td_mod_lookup): ... this declaration.
22801         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22802         (DB_MAIN_VARIABLE): Likewise.
22804 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22806         [BZ #18134]
22807         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22809 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22811         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22813 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22815         [BZ #18128]
22816         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22817         (atomic_add, atomic_increment_and_test)
22818         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22820 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22822         * stdlib/setenv.c (__add_to_environ):
22823         Dump core quickly if setenv (..., NULL, ...) is called.
22825 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22827         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22828         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22829         all the necessary asm magic in one place.
22830         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22831         using those.
22833 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22835         [BZ #14906]
22836         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22837         traced file mtime. Use consistent log message.
22838         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22839         (register_traced_file): Call install_watches. Always set mtime.
22840         (invalidate_cache): Iterate over all trace files. Call install_watches.
22841         (inotify_check_files): Don't inline. Handle watching parent
22842         directories and configuration file movement in and out.
22843         (handle_inotify_events): New function.
22844         (main_loop_poll): Call handle_inotify_events.
22845         (main_loop_epoll): Likewise.
22846         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22847         (struct traced_file): Use array of inotify fds. Add parent directory,
22848         and basename.
22849         (struct database_dyn): Remove unused file_mtime.
22850         (init_traced_file): New inline function.
22851         (define_traced_file): New macro.
22852         * nss/nss_db/db-init.c: Use define_traced_file.
22853         (_nss_db_init): Use init_traced_file.
22854         * nss/nss_files/files-init.c: Use define_traced_file.
22855         (_nss_files_init): Use init_traced_file.
22857 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22859         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22860         [_LIBC]: Do not include <stdlib.h>.
22861         [!_LIBC] (abort): Remove declaration.
22862         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22863         _FP_STATIC_ASSERT instead of conditionally calling abort.
22864         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22865         (_FP_EXTEND_CNAN): Likewise.
22866         (FP_TRUNC): Likewise.
22867         (__FP_CLZ): Likewise.
22868         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22870 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22872         * manual/string.texi (XPG basename): Fix prototype.
22874 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22876         [BZ #18080]
22877         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22878         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22879         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22880         (__setcontext): Likewise.
22881         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22882         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22883         Call rt_sigprocmask syscall one time to set new signal mask
22884         and retrieve the current signal mask instead of two calls.
22885         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22886         (__swapcontext): Likewise.
22887         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22888         * stdlib/tst-setcontext2.c: New file.
22890 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22892         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22894 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22896         [BZ #18093]
22897         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22898         the wrong size.
22900 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22902         [BZ #18043]
22903         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22905 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22907         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22908         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22909         Remove define.
22910         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22911         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22912         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22913         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22914         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22915         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22916         define.
22917         * nptl_db/td_symbol_list.c (td_lookup): Remove
22918         HAVE_ASM_GLOBAL_DOT_NAME code.
22919         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22920         HAVE_ASM_GLOBAL_DOT_NAME check.
22921         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22922         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22923         (DOT_LABEL): Remove define.
22924         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22925         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22926         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22927         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22928         (__TLS_GET_ADDR): Likewise.
22929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22930         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22932 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22934         [BZ #18111]
22935         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22936         (_FPU_SETCW): Initialize cw from fpsr before storing.
22937         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22938         (fesetexceptflag): Rewrite using fpu_control.h.
22939         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22941 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22943         [BZ #18110]
22944         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22945         asms.
22946         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22948 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22950         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22951         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22952         abort.
22953         (_FP_FMA): Likewise.
22954         (_FP_DIV): Likewise.
22956 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22958         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22959         with 0 in that case.
22960         * Makefile (summarize-tests): New canned sequence, factored out of
22961         commands for targets tests and xtests.  Display summary lines that
22962         don't start with PASS: or XFAIL: rather than ones that do start with
22963         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22964         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22965         do start with ERROR: or FAIL:.
22966         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22967         (except for [$(build-shared) = yes]).
22968         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22969         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22970         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22971         * nptl/Makefile: Revert 2015-03-04 changes.
22972         [$(CXX) empty] (tests-unsupported): New variable.
22973         * debug/Makefile: Likewise.
22975         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22976         gnulib file.  Replace __attribute with __attribute__ throughout.
22978 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22980         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22982 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22984         [BZ #18104]
22985         * math/auto-libm-test-in: Add another test of pow.
22986         * math/auto-libm-test-out: Regenerated.
22988 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22990         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22991         $(config-cflags-nofma).
22993 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22995         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22996         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22997         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22998         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22999         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23000         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23001         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23002         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23003         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23004         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23005         Add comment on closing #endif.
23007 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23009         * posix/wordexp.c (CHAR_IN_SET): New macro.
23010         (parse_param): Use it.
23012 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23014         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23016 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23018         [BZ #18043]
23019         * posix/wordexp.c (parse_param): Fix buffer overflow.
23020         * posix/wordexp-test.c (test_case): Add test case.
23022 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23024         [BZ #18042]
23025         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23026         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23028 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23030         [BZ #18043]
23031         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23032         (do_bz18043): Delete.
23033         (at_page_end): New.
23034         (testit): Refactor to have words at the edge of unreadable page.
23036 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23038         [BZ #16734]
23039         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23040         Cleanup read-only streams as well.
23041         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23043 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23045         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23046         <bits/libc-lockP.h>
23048 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23050         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23051         on [__KERNEL__].
23052         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23053         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23054         * soft-fp/op-common.h (_FP_DECL): Likewise.
23056 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23058         * elf/ifuncdep2.c (global): Replace
23059         __attribute__((visibility("protected"))) with
23060         asm (".protected global").
23061         * elf/ifuncmod1.c (global): Likewise.
23062         * elf/ifuncmod5.c (global): Likewise.
23064 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23066         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23067         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23069 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23071         * manual/install.texi (Configuring and compiling):
23072         Document test-wrapper-env-only.
23073         * INSTALL: Regenerated.
23075 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23077         [BZ #18043]
23078         * posix/wordexp.c (parse_param): Fix buffer overflow.
23079         * posix/wordexp-test.c (do_bz18043): Add test case.
23081 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23083         * time/tst-strptime2.c (do_test): Ensure failing tests are
23084         reported correctly.
23085         * time/tst-strptime3.c (do_test): Likewise.
23087 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23089         Fix aio_error thread-safety.
23090         * sysdeps/pthread/aio_error.c: New file
23091         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23092         synchronization.
23094 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23096         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23097         (group_number, vfprintf): Use it.
23098         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23099         (JUMP, REF): Use it.
23100         (WORK_BUFFER_SIZE): New enum constant.
23101         (process_arg, vfprintf): Use it.
23103 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23105         * manual/errno.texi (Error Messages): Complete example function
23106         by adding missing #define.
23107         (program_invocation_name): Add statement indicating GNU
23108         extension and reference which header file declares the variable.
23109         (program_invocation_short_name): Likewise.
23111 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23113         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23114         compatibility note.
23116 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23118         * Makeconfig (test-wrapper-env-only): New variable.
23119         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23120         then use that with $(test-wrapper-env-only) rather than using
23121         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23123 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23125         [BZ #18082]
23126         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23127         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23128         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23129         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23130         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23131         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23132         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23133         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23134         Likewise.
23135         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23136         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23137         Likewise.
23138         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23139         Likewise.
23140         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23141         Likewise.
23142         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23143         Likewise.
23144         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23145         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23146         Likewise.
23147         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23148         Likewise.
23149         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23150         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23152 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23154         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23155         (ETH_ALEN): New macro.
23156         (struct ether_addr): Use it for length of ether_addr_octet.
23158         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23159         (setdb): Don't call __nss_configure_lookup for "rpc".
23160         (do_test): Don't call test_rpc.
23161         (output_rpcent, test_rpc): Functions moved ...
23162         * sunrpc/test-rpcent.c: ... to this new file.
23163         * sunrpc/Makefile (tests): Add it.
23165         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23166         __xpg_sigpause.
23167         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23168         * nptl/tst-signal6.c: Likewise.
23169         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23170         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23172         * configure.ac (libc_cv_cxx_link_ok): New check.
23173         Reset CXX to empty if it fails to link.
23174         * configure: Regenerated.
23175         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23176         bug-atexit3-lib only if $(CXX) is nonempty.
23177         * nptl/Makefile (tests): Likewise for tst-cancel24.
23178         (tests, tests-static): Likewise for tst-cancel24-static.
23179         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23180         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23181         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23182         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23184 2015-03-04  Andreas Schwab  <schwab@suse.de>
23186         [BZ #17631]
23187         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23188         for non-GCC compilers.
23189         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23190         Likewise.
23192 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23194         [BZ #17776]
23195         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23196         integer before bitwise and assembly operations.
23197         (feclearexcept): Likewise.
23198         * math/test-fenvinline.c: New file.
23199         * math/Makefile: Add test-fenvinline test.
23201 2015-03-03  Alan Modra  <amodra@gmail.com>
23203         [BZ #16512]
23204         * scripts/localplt.awk: Strip off symbol version.
23205         * NEWS: Mention bug fix.
23207 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23209         * sysdeps/pthread/timer_routines.c
23210         (timer_free_list, thread_free_list, thread_active_list): Make static.
23212 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23214         [BZ #17779]
23215         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23216         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23217         Undefine.
23218         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23219         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23220         Likewise.
23221         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23222         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23223         Likewise.
23225 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23227         [BZ #18036]
23228         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23229         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23231 2015-03-02  Andreas Schwab  <schwab@suse.de>
23233         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23234         variable name.
23236 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23238         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23239         Return error status.
23241 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23243         [BZ #15969]
23244         * locale/findlocale.c (_nl_find_locale): Introduce const
23245         version of loc_name and drop unsafe type casts.
23247 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23249         * dlfcn/tststatic2.c (main): Converted to ...
23250         (do_test): ... this.
23251         (TEST_FUNCTION): New macro.
23252         Include test-skeleton.c.
23254 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23256         [BZ #17711]
23257         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23258         (tests-pie): Add vismain.
23259         (CFLAGS-vismain.c): New.
23260         * elf/vismain.c: Add comments for PIE requirement.
23262 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23264         [BZ #18046]
23265         [BZ #18047]
23266         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23267         0x1p-56L as threshold for just returning the argument.
23268         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23269         0x1p-32L as threshold for just returning the argument.
23270         * math/auto-libm-test-in: Add more tests of atanh.
23271         * math/auto-libm-test-out: Regenerated.
23272         * sysdeps/i386/fpu/libm-test-ulps: Update.
23273         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23275 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23277         * string/bcopy.c (bcopy): Call memmove for performance.
23279 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23281         * string/bzero.c (__bzero): Call memset for performance.
23283 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23285         [BZ #18068]
23286         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23287         to 00100000.
23289 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23291         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23293 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23295         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23296         (__kernel_standard): Use CSTR macro when setting exc.name.
23297         * sysdeps/ieee754/Makefile [$(subdir) = math]
23298         (CFLAGS-k_standard.c): Remove variable.
23300         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23301         setting p and q from "else if" to "else".
23302         (qzero): Likewise.
23303         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23304         (qone): Likewise.
23305         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23306         (qzerof): Likewise.
23307         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23308         (qonef): Likewise.
23309         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23310         (qzero): Likewise.
23311         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23312         (qone): Likewise.
23314         [BZ #18038]
23315         [BZ #18039]
23316         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23317         return pi/2 for arguments below 0x1p-113L.
23318         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23319         return pi/2 for arguments below 0x1p-106L.
23320         * math/auto-libm-test-in: Add more tests of acos.
23321         * math/auto-libm-test-out: Regenerated.
23323         [BZ #16351]
23324         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23325         (MO): New macro.
23326         (__ieee754_asin): Force underflow exception for results with small
23327         absolute value.
23328         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23329         (MO): New macro.
23330         (__ieee754_asinf): Force underflow exception for results with
23331         small absolute value.
23332         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23333         (__ieee754_asin): Force underflow exception for results with small
23334         absolute value.
23335         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23336         (__ieee754_asinf): Force underflow exception for results with
23337         small absolute value.
23338         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23339         (__ieee754_asinl): Force underflow exception for results with
23340         small absolute value.
23341         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23342         (__ieee754_asinl): Force underflow exception for results with
23343         small absolute value.
23344         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23345         (__ieee754_asinl): Force underflow exception for results with
23346         small absolute value.
23347         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23348         Include <math.h>.
23349         * math/auto-libm-test-in: Do not mark underflow exceptions as
23350         possibly missing for bug 16351.
23351         * math/auto-libm-test-out: Regenerated.
23353         [BZ #18030]
23354         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23355         of power of 2 down when low part has opposite sign.
23356         * math/libm-test.inc (logb_test_data): Add more tests.
23358 2015-02-26  Andreas Schwab  <schwab@suse.de>
23360         [BZ #18032]
23361         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23362         over collating symbol inside a bracket expression.  Minor cleanup.
23363         * posix/tst-fnmatch3.c (do_test): Add test case.
23365 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23367         [BZ #18029]
23368         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23369         Adjust exponent of power of 2 down when low part has opposite
23370         sign.
23371         * math/libm-test.inc (ilogb_test_data): Add more tests.
23373 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23375         [BZ #15969]
23376         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23377         the previous change.
23379         [BZ #15969]
23380         * locale/findlocale.c (_nl_find_locale): Retry archive search
23381         after alias expansion.
23383 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23385         * iconv/tst-iconv3.c (main): Converted to ...
23386         (do_test): ... this.
23387         (TEST_FUNCTION): New macro.
23388         Include test-skeleton.c.
23390         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23391         (convert): Make function static.
23392         (test_unalign): Likewise.  Add const to argument pointee types.
23393         (main): Replace with static function do_test.
23394         Print "Succeeded." only if RET is zero.
23395         (TEST_FUNCTION): New macro.
23396         Include test-skeleton.c.
23398         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23399         returns a null pointer.
23401 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23403         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23404         to __memcpy_ppc only for static builds.
23406 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23408         [BZ #18020]
23409         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23410         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23411         * math/auto-libm-test-in: Add more tests of asinh.
23412         * math/auto-libm-test-out: Regenerated.
23413         * sysdeps/i386/fpu/libm-test-ulps: Update.
23414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23416 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23418         [BZ #15850]
23419         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23420         and ip6_mtuinfo definitions here.
23421         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23422         in this define too.  Update comment.
23424 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23426         * elf/sprof.c (load_shobj): Tweak error message to match others.
23428 2015-02-24  Kevin Easton  <kevin@guarana.org>
23430         [BZ #16145] (partial fix)
23431         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23432         to reduce lock contention.
23434 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23436         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23437         (struct timex): Update time comment.
23438         (ADJ_SETOFFSET): Define.
23440 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23442         [BZ #18019]
23443         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23444         2**56 not 2**28 as threshold for log (2x) formula.
23445         * math/auto-libm-test-in: Add more tests of acosh.
23446         * math/auto-libm-test-out: Regenerated.
23447         * sysdeps/i386/fpu/libm-test-ulps: Update.
23448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23450 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23452         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23453         parenthesis around the buf assignment.
23454         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23456 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23458         [BZ #16783]
23459         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23460         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23461         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23462         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23463         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23464         * math/libm-test.inc (scalb_test_data): Add more tests.
23466 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23468         [BZ #17916]
23469         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23470         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23472 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23474         [BZ #17523]
23475         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23476         * io/bits/fcntl2.h (open): Use it.
23477         (openat): Likewise.
23478         * io/open.c (__libc_open): Likewise.
23479         * io/open64.c (__libc_open64): Likewise.
23480         * io/open64_2.c (__open64_2): Likewise.
23481         * io/open_2.c (__open_2): Likewise.
23482         * io/openat.c (__openat): Likewise.
23483         * io/openat64.c (__openat64): Likewise.
23484         * io/openat64_2.c (__openat64_2): Likewise.
23485         * io/openat_2.c (__openat_2): Likewise.
23486         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23487         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23488         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23489         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23490         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23491         (__open_nocancel): Likewise.
23492         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23493         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23494         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23496 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23498         [BZ #14841]
23499         * resolv/gethnamaddr.c (getanswer): Skip logging if
23500         RES_USE_DNSSEC is set.
23501         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23503 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23505         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23507 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23509         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23510         201304L, for Unicode 7.
23512 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23514         [BZ #17836]
23515         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23516         shared library.  Add gmon-start.os otherwise.
23517         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23518         $(objpfx)gmon-start.os if builing shared library.
23519         ($(objpfx)g$(static-start-installed-name)): Likewise.
23521 2015-02-23  Andreas Schwab  <schwab@suse.de>
23523         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23525 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23527         [BZ #17269]
23528         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23529         (enlarge_userbuf): Likewise.
23531 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23533         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23534         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23535         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23536         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23538 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23540         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23541         expression inside statement expression.
23543 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23545         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23546         <sysdeps/nptl/lowlevellock.h> and remove macros and
23547         functions that are now defined there.
23548         (SYS_futex): Remove.
23549         (lll_compare_and_swap): Remove.
23550         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23552 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23554         [BZ #17999]
23555         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23556         instead of scandirat.
23557         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23558         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23559         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23560         __scandirat.
23561         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23562         (__scandirat): Declare.  Use libc_hidden_proto.
23563         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23564         Remove variable.
23565         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23567 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23569         [BZ #15319]
23570         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23571         (MO): New macro.
23572         (__ieee754_atan2): For results with small absolute value, force
23573         underflow exception and remove excess range and precision from
23574         return value.
23575         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23576         (MO): New macro.
23577         (__ieee754_atan2f): For results with small absolute value, force
23578         underflow exception and remove excess range and precision from
23579         return value.
23580         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23581         (MO): New macro.
23582         (__atan): For results with small absolute value, force underflow
23583         exception and remove excess range and precision from return value.
23584         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23585         (MO): New macro.
23586         (__atanf): For results with small absolute value, force underflow
23587         exception and remove excess range and precision from return value.
23588         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23589         <math.h>.
23590         (__ieee754_atan2): Force underflow exception for results with
23591         small absolute value.
23592         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23593         <math_private.h>.
23594         (atan): Force underflow exception for results with small absolute
23595         value.
23596         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23597         (__atanf): Force underflow exception for results with small
23598         absolute value.
23599         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23600         <math.h>.
23601         (__atanl): Force underflow exception for results with small
23602         absolute value.
23603         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23604         (__atanl): Force underflow exception for results with small
23605         absolute value.
23606         * sysdeps/x86/fpu/bits/mathinline.h
23607         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23608         (__ieee754_atan2): Only define inline for long double.
23609         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23610         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23611         * math/auto-libm-test-in: Do not mark underflow exceptions as
23612         possibly missing for bug 15319.  Add more tests of atan2.
23613         * math/auto-libm-test-out: Regenerated.
23614         * math/libm-test.inc (casin_test_data): Do not mark underflow
23615         exceptions as possibly missing for bug 15319.
23616         (casinh_test_data): Likewise.
23617         * sysdeps/i386/fpu/libm-test-ulps: Update.
23619 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23621         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23622         * sysdeps/mips/bits/endian.h: Fix comments.
23624 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23626         [BZ #17996]
23627         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23628         (hdestroy_r): Likewise.
23629         (hsearch_r): Likewise.
23630         (__hcreate_r): Declare and use libc_hidden_proto.
23631         (__hdestroy_r): Likewise.
23632         (__hsearch_r): Likewise.
23633         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23634         (hcreate): Call __hcreate_r instead of hcreate_r.
23635         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23636         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23637         as weak alias of __hcreate_r.
23638         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23639         __hdestroy_r.
23640         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23641         __hsearch_r.
23642         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23643         Remove variable.
23644         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23645         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23646         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23647         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23649 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23651         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23652         arena_lock into a single arena_get.
23654 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23656         * dl-reloc.c: Inlucde libc-internal.h.
23657         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23658         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23659         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23660         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23661         (grow_heap): Likewise.
23662         * malloc/malloc.c: Include libc-internal.h.
23663         (do_check_malloc): Call powerof2.
23664         (sysmalloc): Use pagesize. Call ALIGN_UP.
23665         (systrim): Use pagesize.
23666         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23667         (__libc_valloc): Use pagesize.
23668         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23670 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23672         [BZ #17991]
23673         * include/sys/resource.h (__getrlimit64): Declare.  Use
23674         libc_hidden_proto.
23675         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23676         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23677         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23678         getrlimit64.
23679         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23680         __getrlimit64.
23681         [!getrlimit64] (getrlimit64): Define as weak alias of
23682         __getrlimit64.  Use libc_hidden_weak.
23683         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23684         using __getrlimit64 not __new_getrlimit64.
23685         (__GI_getrlimit64): Likewise.
23686         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23687         Likewise.
23688         (__GI_getrlimit64): Likewise.
23689         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23691         (getrlimit): Add __getrlimit64 alias.
23692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23693         Likewise.
23694         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23695         Remove variable.
23696         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23697         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23699 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23701         * libio/fileops.c: Add missing sys/mman.h
23702         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23704 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23706         * manual/math.texi (Errors in Math Functions): Clarify goals
23707         regarding inexact and underflow exceptions.
23709 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23711         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23712         * sysdeps/mips/memset.S: Ditto.
23714 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23716         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23718 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23720         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23721         (__v1longjmp): Remove versioned symbol.
23722         (__v1siglongjmp): Remove alias and versioned symbol.
23723         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23724         (__v2siglongjmp): Likewise.
23726 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23728         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23730 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23732         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23734 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23736         [BZ #17987]
23737         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23738         zero result does not depend on the sign resulting from
23739         subtraction.
23740         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23741         Likewise.
23742         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23743         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23744         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23745         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23746         * math/libm-test.inc (remquo_test_data): Add more tests.
23748 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23750         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23751         Problem reported by J William Piggott.
23753 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23755         [BZ #17978]
23756         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23757         products 4 * y and 2 * y where those would overflow.
23758         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23759         Likewise.
23760         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23761         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23762         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23763         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23764         * math/libm-test.inc (remquo_test_data): Add more tests.
23766         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23768         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23769         [defined _COMPILING_NEWLIB].
23770         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23771         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23773         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23774         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23776 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23778         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23779         acquired.
23781 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23783         [BZ #17792]
23784         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23785         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23786         HOST_STACK_END_ADDR): Likewise.
23788 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23790         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23791         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23792         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23794 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23796         * sysdeps/generic/c++-types.data: New file.
23797         * sysdeps/generic/ld.abilist: New file.
23798         * sysdeps/generic/libBrokenLocale.abilist: New file.
23799         * sysdeps/generic/libanl.abilist: New file.
23800         * sysdeps/generic/libc.abilist: New file.
23801         * sysdeps/generic/libcrypt.abilist: New file.
23802         * sysdeps/generic/libdl.abilist: New file.
23803         * sysdeps/generic/libm.abilist: New file.
23804         * sysdeps/generic/libpthread.abilist: New file.
23805         * sysdeps/generic/libresolv.abilist: New file.
23806         * sysdeps/generic/librt.abilist: New file.
23808 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23810         [BZ #17569]
23811         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23812         Compute absolute value of x as modified by fmod, not original
23813         value of x.
23814         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23815         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23816         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23817         RUN_TEST_ffI_f1_mod8.
23818         (remquo_test_data): Add more tests.
23820 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23822         * sysdeps/init_array/pt-crti.S: New file.
23824 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23826         [BZ #17967]
23827         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23828         __builtin_fmaf instead of relying on contraction of a * b + c.
23830 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23832         [BZ #17969]
23833         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23834         node.
23836 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23838         [BZ #17964]
23839         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23840         __builtin_fma instead of relying on contraction of a * b + c.
23842 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23844         * Makeconfig (ASFLAGS): Add -Werror=undef.
23845         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23846         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23847         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23849         * Makeconfig (after-link): New variable.
23850         (+link-pie, +link-pie-tests): Use it.
23851         (+link-static, +link-static-tests): Likewise.
23852         (+link, +link-tests): Likewise.
23853         * Makerules (build-module, build-module-asneeded): Likewise.
23854         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23855         Likewise.
23856         * elf/Makefile ($(objpfx)ld.so): Likewise.
23858 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23860         [BZ #17965]
23861         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23862         both struct timeval and struct timespec.
23864 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23866         [BZ #16560]
23867         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23868         and redefine.
23869         (__ieee754_exp2l): Do not multiply small fractional parts by
23870         M_LN2l.
23871         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23872         small argument.
23873         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23874         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23875         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23876         * math/auto-libm-test-in: Add more tests of exp2.
23877         * math/auto-libm-test-out: Regenerated.
23879 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23881         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23882         unaligned path.
23884 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23886         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23887         little endian.
23889 2015-02-12  Andreas Schwab  <schwab@suse.de>
23891         [BZ #15790]
23892         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23893         Filter out elision flags from value returned in kind.
23894         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23895         * nptl/tst-pthread-mutexattr.c: New file.
23897 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23899         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23900         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23901         into gnu-gnu, and update comment to refer to abi-tags.
23903 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23905         [BZ #15467]
23906         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23907         (__sincos): Set errno to EDOM for infinite argument.
23908         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23909         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23910         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23911         (__sincosl): Set errno to EDOM for infinite argument.
23912         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23913         (__sincosl): Set errno to EDOM for infinite argument.
23914         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23915         (__sincosl): Set errno to EDOM for infinite argument.
23916         * math/libm-test.inc (sincos_test_data): Test errno setting.
23918 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23920         * string/strxfrm_l.c: Remove #define STRCMP.
23921         * string/strcoll_l.c: Remove #define STRLEN.
23922         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23923         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23925 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23927         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23928         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23929         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23930         * sysdeps/mips/mips64/Makefile: ... here.
23931         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23932         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23933         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23934         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23935         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23936         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23937         * sysdeps/mips/mips64/n64/Implies: Likewise.
23939 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23941         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23942         <sys/time.h>, <string.h>, and <errno.h>.
23943         (dest_offset, dest_address, value, zero): Remove unused variables.
23944         (ldouble): Remove typedef.
23945         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23946         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23947         1).  Fix code style.
23948         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23949         (check): Function removed.
23950         (CHECK): New macro.
23951         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23952         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23953         Don't call set_sigaction_FP and remove_sigaction_FP here.
23954         (ldouble_test): Just use 'long double' as macro argument, no need for
23955         the 'ldouble' typedef.
23956         (do_test): Set up SIGFPE handler at start, using plain signal rather
23957         than sigaction.  Fix code style.
23959 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23961         [BZ #17949]
23962         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23963         jump label.
23965 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23967         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23968         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23970         * sysdeps/powerpc/configure.ac: Remove file.
23971         * sysdeps/powerpc/configure: Likewise.
23973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23974         [sysdep_routines]: Remove wordcopy-power6 object.
23975         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23976         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23977         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23978         (__memmove_ppc32): Likewise.
23979         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23980         file.
23981         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23982         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23983         Remove preprocessor.
23985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23986         [sysdep_routines]: Remove wide chars objects.
23987         [wcsmbs]: New rule for wide char objects.
23989         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23990         Remove wordcopy-power6 obejct.
23991         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23992         Use local call for wordcopy and memcpy symbols.
23993         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23994         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23995         implementation for loader.
23996         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23998         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23999         Remove wordcopy-power7 object.
24000         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24001         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24002         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24003         (_wordcopy_fwd_dest_aligned): Likewise.
24004         (_wordcopy_bwd_aligned): Likewise.
24005         (_wordcopy_bwd_dest_aligned): Likewise.
24007         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24008         Rewrite to call __memmove_ppc instead of include default
24009         implementation.
24011         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24012         Remove wide chars objects.
24013         [wcsmbs]: New rule for wide char objects.
24015 2015-02-09  Andreas Schwab  <schwab@suse.de>
24017         [BZ #17912]
24018         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24019         in terms of __O_DIRECTORY.
24021 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24023         * time/getdate.c: Include <stdbool.h>.
24024         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24025         call PTR_MANGLE.
24026         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24027         PTR_DEMANGLE.
24029 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24031         Add ersatz _Static_assert on older C hosts
24032         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24033         pre-C11 C platform that is not known to support _Static_assert.
24035 2015-02-07  Richard Braun  <rbraun@sceen.net>
24037         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24038         sigstate.
24039         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24041 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24043         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24044         priority against unexistent AIO_PRIO_DELTA_MAX.
24045         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24046         instead of int.
24047         * misc/fchflags.c (fchflags): Likewise.
24048         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24049         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24050         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24051         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24052         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24053         Declare macros.
24054         [__USE_MISC] (chflags, fchflags): Declare functions.
24055         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24056         EINVAL when nfds is greater than FD_SETSIZE.
24057         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24058         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24059         45.
24060         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24061         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24062         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24063         MACH_RCV_TIMED_OUT.
24064         * hurd/hurd/signal.h (_hurd_self_sigstate,
24065         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24066         Explicit casts from void *.
24067         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24068         * abi-tags: Rename gnu-gnu os into gnu.
24070         [BZ #4719]
24071         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24072         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24073         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24074         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24075         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24076         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24078         [BZ #17944]
24079         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24080         duplicates ADDR->sun_path with sockaddr LEN limitation.
24081         * sysdeps/mach/hurd/connect.c: Include <string.h>
24082         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24083         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24084         * sysdeps/mach/hurd/sendto.c: Likewise.
24085         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24086         implementing it by hand.
24088 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24090         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24091         Use sfi_breg on ldr.
24092         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24093         Likewise.
24095         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24096         it's defined.
24097         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24098         Test SIGSETXID only if it's defined.
24100         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24102         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24103         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24105         * nptl/tst-align2.c: Moved ...
24106         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24107         * nptl/Makefile (tests): Remove tst-align2.
24108         * sysdeps/unix/sysv/linux/Makefile
24109         [$(subdir) = nptl] (tests): Add tst-align-clone.
24110         * nptl/tst-getpid1.c: Moved ...
24111         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24112         * nptl/tst-getpid2.c: Moved ...
24113         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24114         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24115         * sysdeps/unix/sysv/linux/Makefile
24116         [$(subdir) = nptl] (tests): ... here.
24117         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24118         * sysdeps/unix/sysv/linux/Makefile
24119         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24121         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24122         Drop trailing \n from perror argument.  Use return rather than exit.
24124         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24125         on [SA_SIGINFO].
24126         * nptl/tst-cancel21.c (do_test): Likewise.
24127         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24128         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24129         [!SA_SIGINFO]: Make it a stub test.
24131         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24132         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24134         * posix/tst-getlogin.c: Move to ...
24135         * login/tst-getlogin.c: ... here.
24136         * posix/Makefile (tests): Move tst-getlogin to ...
24137         * login/Makefile (tests): ... here.
24139         * libio/tst-atime.c (do_test): Move local variables SV and E
24140         inside [ST_NOATIME] conditional.
24142         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24144         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24146         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24147         (wait_code): New function replaces macro.
24148         Call nanosleep rather than syscall.
24150         * nptl/pt-system.c: Rewritten.  Put everything under
24151         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24152         Use IFUNC to redirect when possible.
24154         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24155         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24156         Use IFUNC to redirect when possible.
24158         * nptl/pt-fork.c: Rewritten.  Put everything under
24159         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24160         Use IFUNC to redirect when possible.
24161         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24163         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24164         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24165         unconditionally nowadays.  This included the only reference to
24166         __vdso_clock_gettime that appears outside libc proper.
24167         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24168         Remove version set (containing only __vdso_clock_gettime).
24169         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24170         Add attribute_hidden.
24171         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24172         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24173         libc_hidden_data_def.
24174         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24175         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24177         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24178         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24179         setrpcent, and getrpcport to ...
24180         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24181         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24182         getrpcbynumber_r, and getrpcent_r to ...
24183         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24184         * inet/getrpcbyname.c: Moved ...
24185         * sunrpc/getrpcbyname.c: ... here.
24186         * inet/getrpcbyname_r.c: Moved ...
24187         * sunrpc/getrpcbyname_r.c: ... here.
24188         * inet/getrpcbynumber.c: Moved ...
24189         * sunrpc/getrpcbynumber.c: ... here.
24190         * inet/getrpcbynumber_r.c: Moved ...
24191         * sunrpc/getrpcbynumber_r.c: ... here.
24192         * inet/getrpcent.c: Moved ...
24193         * sunrpc/getrpcent.c: ... here.
24194         * inet/getrpcent_r.c: Moved ...
24195         * sunrpc/getrpcent_r.c: ... here.
24196         * inet/Makefile (routines): Move those to ...
24197         * sunrpc/Makefile (routines): ... here.
24198         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24199         the $(subdirs) list.
24200         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24201         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24202         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24203         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24205         * elf/Makefile (routines): Include $(all-dl-routines), not just
24206         $(dl-routines).
24207         (rtld-routines): Likewise.  Use = rather than :=.
24208         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24209         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24210         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24211         * sysdeps/arm/Makefile: Likewise.
24212         * sysdeps/i386/Makefile: Likewise.
24213         * sysdeps/x86_64/Makefile: Likewise.
24214         * sysdeps/hppa/Makefile [$(subdir) = elf]
24215         (sysdep_routines, sysdep-rtld-routines): Don't add
24216         $(sysdep-dl-routines) to these.
24217         * sysdeps/ia64/Makefile: Likewise.
24218         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24219         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24220         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24221         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24222         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24223         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24224         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24225         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24226         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24227         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24228         these; sysdep-dl-routines alone is enough.
24230 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24232         [BZ #17932]
24233         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24234         where multiplication results in zero and third argument is finite
24235         and nonzero.
24236         * math/auto-libm-test-in: Add more tests of fma.
24237         * math/auto-libm-test-out: Regenerated.
24239         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24240         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24241         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24242         (_FP_CMP_EQ): Likewise.
24243         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24245         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24246         extra argument CHECK_NAN.  Redefine as wrapper around
24247         _FP_EXTEND_CNAN.
24249 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24251         * version.h (RELEASE): Set to "stable".
24252         (VERSION): Set to "2.21"
24253         * include/features.h (__GLIBC_MINOR__): Set to 21.
24255         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24257 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24258             Paul Eggert  <eggert@cs.ucla.edu>
24260         [BZ #16618]
24261         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24262         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24263         size in bytes. Store needed elements in wpmax. Use needed size
24264         in bytes for extend_alloca.
24266 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24268         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24269         binutls 2.25, and texinfo 5.2.
24270         * INSTALL: Regenerate.
24271         * sysdeps/nios2/configure: Regenerate.
24272         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24273         * manual/contrib.texi: Update.
24274         * po/be.po: Update.
24275         * po/bg.po: Update.
24276         * po/ca.po: Update.
24277         * po/cs.po: Update.
24278         * po/da.po: Update.
24279         * po/de.po: Update.
24280         * po/el.po: Update.
24281         * po/eo.po: Update.
24282         * po/es.po: Update.
24283         * po/fi.po: Update.
24284         * po/fr.po: Update.
24285         * po/gl.po: Update.
24286         * po/hr.po: Update.
24287         * po/hu.po: Update.
24288         * po/ia.po: Update.
24289         * po/id.po: Update.
24290         * po/it.po: Update.
24291         * po/ja.po: Update.
24292         * po/ko.po: Update.
24293         * po/lt.po: Update.
24294         * po/nb.po: Update.
24295         * po/nl.po: Update.
24296         * po/pl.po: Update.
24297         * po/pt_BR.po: Update.
24298         * po/ru.po: Update.
24299         * po/rw.po: Update.
24300         * po/sk.po: Update.
24301         * po/sl.po: Update.
24302         * po/sv.po: Update.
24303         * po/tr.po: Update.
24304         * po/uk.po: Update.
24305         * po/vi.po: Update.
24306         * po/zh_CN.po: Update.
24307         * po/zh_TW.po: Update.
24309         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24310         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24311         * sysdeps/hppa/dl-irel.h: Remove #warning.
24312         * sysdeps/hppa/entry.h: Provide prototype for
24313         __canonicalize_funcptr_for_compare and cast argument.
24314         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24315         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24316         * sysdeps/hppa/sotruss-lib.c: New file.
24317         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24318         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24319         (atomic_compare_and_exchange_bool_acq): Likewise.
24320         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24321         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24323         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24324         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24325         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24327 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24329         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24330         called function in non-PIC case.
24332 2015-01-31  David S. Miller  <davem@davemloft.net>
24334         * sysdeps/sparc/sparc32/bits/atomic.h
24335         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24336         unlock not after it.
24337         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24338         volatile register usage warnings from the compiler.
24340         * sysdeps/sparc/nptl/sem_init.c: Delete.
24341         * sysdeps/sparc/nptl/sem_post.c: Delete.
24342         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24343         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24344         * sysdeps/sparc/sparc32/sem_init.c: New file.
24345         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24346         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24347         padding explicitly initialized.
24348         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24349         padding for in-semaphore spinlock.
24350         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24351         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24352         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24353         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24354         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24355         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24356         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24357         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24358         version.
24359         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24360         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24362 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24364         [BZ #17801]
24365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24366         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24367         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24368         New.
24369         (index_AVX_Fast_Unaligned_Load): Likewise.
24370         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24371         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24372         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24373         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24374         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24375         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24376         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24377         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24378         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24380 2015-01-29  Andreas Schwab  <schwab@suse.de>
24382         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24384 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24386         [BZ #17892]
24387         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24389 2015-01-28  Martin Sebor  <msebor@redhat.com>
24391         * math/README.libm-test: Clarify. Add "How to read the test output."
24393 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24395         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24396         Define to 0.
24398 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24400         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24401         (__HAVE_64B_ATOMICS): Define to 0.
24403 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24405         [BZ #17885]
24406         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24407         value to set as new flag.
24409         [BZ #16576]
24410         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24411         and use _ARCH_PPCSQ instead.
24412         (__ieee754_sqrt): Likewise.
24413         (__ieee754_sqrtf): Likewise.
24414         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24415         _ARCH_PPCSQ is defined.
24416         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24417         fsqrt instruction.
24418         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24419         _ARCH_PPCSQ is defined.
24420         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24421         fsqrts instruction.
24422         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24424 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24426         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24427         bug (GCC BZ #64739).
24429 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24431         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24432         Mark _retval as used.
24433         (lll_futex_wake_unlock): Likewise.
24434         (lll_futex_timed_wait_requeue_pi): Likewise.
24436         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24437         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24438         register variables.
24440         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24441         libm_hidden_def.
24443         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24444         (__bswap_64): Mark as __always_inline.
24446 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24448         [BZ #15378]
24449         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24450         when none of the search directories exist.
24452 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24454         [BZ #17869]
24455         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24456         power8 in .machine directive.
24458         [BZ #17868]
24459         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24460         set dependency from opd value.
24462 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24465         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24466         architecture.
24468 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24470         [BZ #17870]
24471         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24472         with uint64_t.
24473         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24474         (uint64_t) 1.
24475         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24476         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24477         Replace 1UL with (uint64_t) 1.
24478         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24479         int with uint64_t.
24481 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24483         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24484         (if_freenameindex): Likewise.
24486         * resource/getrlimit64.c: Add missing libc_hidden_def.
24488 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24490         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24491         __label__.
24492         (_FP_FMA): Likewise.
24493         (_FP_TO_INT_ROUND): Likewise.
24494         (_FP_FROM_INT): Likewise.
24496 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24498         [BZ #16418]
24499         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24500         Make code racy and cancel safe.
24502 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24504         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24505         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24506         attribution.
24508         * pwd/tst-getpw.c: Rewrite.
24510         [BZ #17702]
24511         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24512         (modules-names): Add moddummy1 and moddummy2.
24513         ($(objpfx)tst-rec-dlopen): Define.
24514         * dlfcn/moddummy1.c: New file.
24515         * dlfcn/moddummy2.c: New file.
24516         * dlfcn/tst-rec-dlopen.c: New file.
24517         * elf/dl-cache.c (_dl_load_cache_lookup):
24518         Return char*. Copy result with alloca/strcpy/strdup.
24519         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24520         returns char*. Free cached. If not saving realname
24521         free cached.
24522         * elf/dl-open.c (dl_open_worker): Do not assert that
24523         _r_debug->r_state is RT_CONSISTENT.
24524         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24525         returns char*.
24527 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24528             Carlos O'Donell  <carlos@redhat.com>
24530         [BZ #12674]
24531         * nptl/sem_waitcommon.c: New file.
24532         * nptl/sem_wait.c: Include sem_waitcommon.c.
24533         (__sem_wait_cleanup, do_futex_wait): Remove.
24534         (__new_sem_wait): Adapt.
24535         (__new_sem_trywait): New function.
24536         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24537         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24538         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24539         (sem_timedwait): Adapt.
24540         * nptl/sem_post.c (__new_sem_post): Adapt.
24541         (futex_wake): New function.
24542         (__old_sem_post): Add release MO fence.
24543         * nptl/sem_open.c (sem_open): Adapt.
24544         * nptl/sem_init.c (__new_sem_init): Adapt.
24545         (futex_private_if_supported): New function.
24546         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24547         (__old_sem_getvalue): Add using previous code.
24548         * sysdeps/nptl/internaltypes.h: Adapt.
24549         * nptl/tst-sem13.c (do_test): Adapt.
24550         * nptl/tst-sem11.c (main): Adapt.
24551         * nptl/sem_trywait.c: Remove.
24552         * nptl/DESIGN-sem.txt: Remove.
24553         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24554         (gen-as-const-headers): Remove structsem.sym.
24555         * nptl/structsem.sym: Remove.
24556         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24557         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24558         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24559         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24560         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24561         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24562         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24563         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24564         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24565         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24566         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24567         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24568         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24569         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24570         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24571         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24572         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24573         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24574         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24575         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24576         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24577         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24579 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24581         * INSTALL: Regenerated.
24583         * po/libc.pot: Regenerated.
24585 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24586             Sandra Loosemore  <sandra@codesourcery.com>
24587             Andrew Jenner  <andrew@codesourcery.com>
24588             Joseph Myers  <joseph@codesourcery.com>
24589             Nathan Sidwell  <nathan@codesourcery.com>
24591         * NEWS: Mention new Nios II port.
24592         * sysdeps/nios2/Implies: New file.
24593         * sysdeps/nios2/Makefile: New file.
24594         * sysdeps/nios2/Subdirs: New file.
24595         * sysdeps/nios2/Versions: New file.
24596         * sysdeps/nios2/__longjmp.S: New file.
24597         * sysdeps/nios2/abort-instr.h: New file.
24598         * sysdeps/nios2/backtrace.c: New file.
24599         * sysdeps/nios2/bits/endian.h: New file.
24600         * sysdeps/nios2/bits/fenv.h: New file.
24601         * sysdeps/nios2/bits/link.h: New file.
24602         * sysdeps/nios2/bits/setjmp.h: New file.
24603         * sysdeps/nios2/bsd-_setjmp.S: New file.
24604         * sysdeps/nios2/bsd-setjmp.S: New file.
24605         * sysdeps/nios2/configure: New generated file.
24606         * sysdeps/nios2/configure.ac: New file.
24607         * sysdeps/nios2/crti.S: New file.
24608         * sysdeps/nios2/crtn.S: New file.
24609         * sysdeps/nios2/dl-init.c: New file.
24610         * sysdeps/nios2/dl-machine.h: New file.
24611         * sysdeps/nios2/dl-sysdep.h: New file.
24612         * sysdeps/nios2/dl-tls.h: New file.
24613         * sysdeps/nios2/dl-trampoline.S: New file.
24614         * sysdeps/nios2/gccframe.h: New file.
24615         * sysdeps/nios2/gmp-mparam.h: New file.
24616         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24617         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24618         * sysdeps/nios2/ldsodefs.h: New file.
24619         * sysdeps/nios2/libc-tls.c: New file.
24620         * sysdeps/nios2/libm-test-ulps: New file.
24621         * sysdeps/nios2/machine-gmon.h: New file.
24622         * sysdeps/nios2/math-tests.h: New file.
24623         * sysdeps/nios2/math_private.h: New file.
24624         * sysdeps/nios2/memusage.h: New file.
24625         * sysdeps/nios2/nptl/Makefile: New file.
24626         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24627         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24628         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24629         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24630         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24631         * sysdeps/nios2/nptl/tls.h: New file.
24632         * sysdeps/nios2/preconfigure: New file.
24633         * sysdeps/nios2/s_fma.c: New file.
24634         * sysdeps/nios2/s_fmaf.c: New file.
24635         * sysdeps/nios2/setjmp.S: New file.
24636         * sysdeps/nios2/sfp-machine.h: New file.
24637         * sysdeps/nios2/sotruss-lib.c: New file.
24638         * sysdeps/nios2/stackguard-macros.h: New file.
24639         * sysdeps/nios2/stackinfo.h: New file.
24640         * sysdeps/nios2/start.S: New file.
24641         * sysdeps/nios2/sysdep.h: New file.
24642         * sysdeps/nios2/tls-macros.h: New file.
24643         * sysdeps/nios2/tst-audit.h: New file.
24644         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24645         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24646         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24647         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24648         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24649         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24650         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24651         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24652         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24653         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24654         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24655         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24656         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24657         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24658         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24659         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24660         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24661         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24662         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24663         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24664         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24665         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24666         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24667         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24668         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24669         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24670         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24671         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24672         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24673         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24674         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24675         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24676         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24677         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24678         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24679         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24680         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24681         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24682         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24683         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24684         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24685         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24686         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24687         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24689 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24691         [BZ #17844]
24692         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24693         (getutent): Use weak_alias in non SHARED case
24694         and default_symbol_version in SHARED case.
24695         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24696         (getutent_r, pututline): Likewise.
24697         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24698         (getutid): Likewise.
24699         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24700         (getutid_r): Likewise.
24701         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24702         (getutline): Likewise.
24703         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24704         (getutline_r): Likewise.
24705         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24706         (updwtmp): Likewise.
24708 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24710         [BZ #17848]
24711         * sysdeps/s390/s390-32/memcmp.S
24712         (memcmp_g5): Rename to __memcmp_g5.
24713         * sysdeps/s390/s390-32/memcpy.S
24714         (memcpy_g5): Rename to __memcpy_g5.
24715         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24716         (memcpy_mvcle) Rename to __memcpy_mvcle.
24717         * sysdeps/s390/s390-32/memset.S
24718         (memset_g5): Rename to __memset_g5.
24719         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24720         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24721         and use prefixed functions.
24722         * sysdeps/s390/s390-32/multiarch/memcmp.S
24723         (memcmp_z196): Rename to __memcmp_z196.
24724         (memcmp_z10): Rename to __memcmp_z10.
24725         (memcmp): Set alias to __memcmp_g5.
24726         (bcmp): Set alias to __memcmp_g5.
24727         * sysdeps/s390/s390-32/multiarch/memcpy.S
24728         (memcpy_z196): Rename to __memcpy_z196.
24729         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24730         (memcpy_z10): Rename to __memcpy_z10.
24731         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24732         (memcpy): Set alias to __memcpy_g5.
24733         * sysdeps/s390/s390-32/multiarch/memset.S
24734         (memset_z196): Rename to __memset_z196.
24735         Jump to __memset_mvcle instead of memset_mvcle.
24736         (memset_z10): Rename to __memset_z10.
24737         Jump to __memset_mvcle instead of memset_mvcle.
24738         (memset_mvcle) Rename to __memset_mvcle.
24739         (memset): Set alias to __memset_g5.
24740         * sysdeps/s390/s390-64/memcmp.S
24741         (memcmp_z900): Rename to __memcmp_z900.
24742         * sysdeps/s390/s390-64/memcpy.S
24743         (memcpy_z900): Rename to __memcpy_z900.
24744         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24745         (memcpy_mvcle) Rename to __memcpy_mvcle.
24746         * sysdeps/s390/s390-64/memset.S
24747         (memset_z900): Rename to __memset_z900.
24748         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24749         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24750         and use prefixed functions.
24751         * sysdeps/s390/s390-64/multiarch/memcmp.S
24752         (memcmp_z196): Rename to __memcmp_z196.
24753         (memcmp_z10): Rename to __memcmp_z10.
24754         (memcmp): Set alias to __memcmp_z900.
24755         (bcmp): Set alias to __memcmp_z900.
24756         * sysdeps/s390/s390-64/multiarch/memcpy.S
24757         (memcpy_z196): Rename to __memcpy_z196.
24758         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24759         (memcpy_z10): Rename to __memcpy_z10.
24760         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24761         (memcpy): Set alias to __memcpy_z900.
24762         * sysdeps/s390/s390-64/multiarch/memset.S
24763         (memset_z196): Rename to __memset_z196.
24764         Jump to __memset_mvcle instead of memset_mvcle.
24765         (memset_z10): Rename to __memset_z10.
24766         Jump to __memset_mvcle instead of memset_mvcle.
24767         (memset_mvcle) Rename to __memset_mvcle.
24768         (memset): Set alias to __memset_z900.
24770 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24772         [BZ #17748]
24773         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24774         __fesetenv instead of fesetenv.
24776 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24778         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24779         macro.
24781 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24783         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24784         regression on LE.
24786         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24787         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24788         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24789         strncmp-power8 object.
24790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24791         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24792         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24793         * NEWS: Update.
24795 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24796             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24798         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24799         trailing byte check.
24801 2015-01-13  David S. Miller  <davem@davemloft.net>
24803         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24805 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24807         * login/logout.c (logout): Use memset rather than bzero.
24808         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24809         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24810         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24811         (_gethtbyaddr): Likewise.
24812         * locale/programs/simple-hash.c (bcopy): Macro removed.
24814 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24816         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24817         Add strcmp-power8 object.
24818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24819         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24820         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24821         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24822         __strcmp_power8 implementation.
24823         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24824         * NEWS: Update.
24826         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24827         Add strncpy-power8 and stpncpy-power8 objects.
24828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24829         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24830         implementations.
24831         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24832         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24833         __stpncpy_power8 implementation.
24834         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24835         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24836         __strncpy_power8 implementation.
24837         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24838         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24839         * NEWS: Update.
24841         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24842         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24843         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24845         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24846         strncat-power8 object.
24847         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24848         __strcat_power8 implementation.
24849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24850         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24851         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24852         optimized strcat for power8.
24854         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24855         strcpy-power8 and stpcpy-power8 objects.
24856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24857         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24858         implementations.
24859         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24860         multiarch stpcpy implementation for POWER8.
24861         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24862         multiarch strcpy implementation for POWER8.
24863         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24864         __strcpy_power8 function.
24865         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24866         stpcpy for POWER8.
24867         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24868         strcpy for POWER8.
24869         * NEWS: Update.
24871 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24873         [BZ #16009]
24874         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24875         weights and rules. Use do_xfrm_cached if data fits in cache,
24876         do_xfrm otherwise.  Moved former main loop to...
24877         * (do_xfrm_cached): New function.
24878         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24879         find_idx, find_position and stack_push.
24880         * (find_idx): New function.
24881         * (find_position): Likewise.
24882         * localedata/sort-test.sh: Added test run for do_xfrm.
24883         * localedata/xfrm-test.c (main): Added command line option
24884         -nocache to run the test with strings that are too large for
24885         the STRXFRM cache.
24887 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24889         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24890         variable to lll_futex_wake call, not the value itself.
24892 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24894         [BZ #17803]
24895         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24896         twom64.  Adjust value to 0x1p-64L.
24897         (__scalblnl): Only return standard underflowing result for K <=
24898         -64 not K <= -63; adjust exponent for underflowing result by 64
24899         not 63.
24900         * math/libm-test.inc (scalbn_test_data): Add more tests.
24901         (scalbln_test_data): Likewise.
24903         [BZ #17834]
24904         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24905         0x1p63L.
24906         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24907         not HX.
24908         * math/libm-test.inc (scalbn_test_data): Add more tests.
24909         (scalbln_test_data): Likewise.
24911 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24912             Stefani Seibold  <stefani@seibold.net>
24914         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24915         (sysdep_routines): Add dl-vdso here, ...
24916         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24917         (sysdep_routines): ... not here.
24918         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24919         fallback when vDSO is not presented.
24920         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24921         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24922         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24923         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24924         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24925         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24926         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24927         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24928         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24929         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24930         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24931         fallback configurable symbol when vDSO is not available.
24932         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24933         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24934         be able to redefine fallback symbol when vDSO is not available.
24935         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24936         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24938 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24940         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24941         (TLS_INIT_TP): Add tm_capable initialization.
24942         (TLS_DEFINE_INIT_TP): Likewise.
24943         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24944         TCB.
24945         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24946         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24947         calculation.
24948         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24949         transactoion is lock elision is built and TCB tm_capable is set.
24950         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24952         (INTERNAL_SYSCALL_NCS): Likewise.
24953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24954         (INTERNAL_SYSCALL_NCS): Likewise.
24955         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24957         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24958         for powerpc.
24959         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24960         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24961         and remove it for 32 bits case.
24962         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24963         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24964         initialization.
24965         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24966         Disable lock elision with rdlocks if elision is not available.
24968         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24969         (sysdep_routines): Add lock elision objects.
24970         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24971         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24972         [pthread_mutex_t] (__elision): Add field.
24973         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24974         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24975         elision definitions for powerpc.
24976         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24977         implementation of lock elision for powerpc.
24978         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24979         implementation of timed lock elision for powerpc.
24980         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24981         implementation of trylock with lock elision for powerpc.
24982         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24983         implementaion of unlock for lock elision for powerpc.
24984         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24985         automatic enable lock elision for mutexes.
24986         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24987         transaction execution definitions for powerpc.
24988         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24989         definitions.
24990         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24991         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24992         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24993         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24994         * NEWS: Update.
24996 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24998         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24999         for #include of <shm-directory.h>.
25001 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25003         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25004         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25006 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25008         [BZ #17791]
25009         * NEWS: Mention bug fix.
25010         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25011         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25012         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25014 2015-01-09  Torvald Riegel <triegel@redhat.com>
25016         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25018 2015-01-09  Torvald Riegel <triegel@redhat.com>
25020         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25022 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25024         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25025         pointer and cast to uintptr_t.
25027 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25029         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25030         removed.
25031         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25033 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25035         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25036         of 0.
25038 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25040         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25041         <nptl/pthreadP.h> instead.
25042         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25044         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25045         already defined.
25046         [__SIGRTMIN] (init): Function removed.
25047         [__SIGRTMIN] (initialized): Variable removed.
25048         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25049         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25050         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25051         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25052         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25053         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25054         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25055         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25056         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25057         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25058         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25059         * sysdeps/nptl/allocrtsig.c: New file.
25060         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25061         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25062         * sysdeps/generic/testrtsig.h: File removed.
25064         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25065         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25067         * nptl/nptl-init.c (pthread_functions): Conditionalize
25068         .ptr__nptl_setxid initialization on [SIGSETXID].
25070         * sysdeps/nptl/sys/procfs.h: New file.
25071         * nptl_db/Makefile (headers): Add it.
25072         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25074         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25075         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25076         * nptl/pthread_attr_setaffinity.c: Include it.
25077         * nptl/pthread_setattr_default_np.c: Likewise.
25078         * nptl/check-cpuset.h: New file.
25080 2015-01-08  Richard Henderson  <rth@redhat.com>
25082         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25083         (CFLAGS-tst-execstack-prog.c): Likewise.
25084         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25086 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25087             Sandra Loosemore  <sandra@codesourcery.com>
25088             Andrew Jenner  <andrew@codesourcery.com>
25089             Joseph Myers  <joseph@codesourcery.com>
25090             Nathan Sidwell  <nathan@codesourcery.com>
25092         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25093         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25094         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25095         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25096         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25097         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25098         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25099         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25100         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25101         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25102         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25103         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25104         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25105         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25106         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25107         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25108         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25110 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25112         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25113         timespec struct member in syscall macro.
25114         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25115         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25116         first timeval struct member in syscall macro.
25117         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25119 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25121         [BZ #17748]
25122         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25123         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25124         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25125         __feupdateenv and define as weak alias of __feupdateenv.  Use
25126         libm_hidden_weak.
25127         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25128         libm_hidden_def.
25129         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25130         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25131         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25132         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25133         libm_hidden_def.
25134         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25135         __feupdateenv and define as weak alias of __feupdateenv.  Use
25136         libm_hidden_weak.
25137         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25138         libm_hidden_def.
25139         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25140         __feupdateenv and define as weak alias of __feupdateenv.  Use
25141         libm_hidden_weak.
25142         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25143         libm_hidden_def.
25144         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25145         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25146         (__feupdateenv): Likewise.
25147         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25148         __feupdateenv and define as weak alias of __feupdateenv.  Use
25149         libm_hidden_weak.
25150         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25151         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25152         libm_hidden_def.
25153         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25154         function.
25155         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25156         libm_hidden_def.
25157         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25158         __feupdateenv instead of feupdateenv.
25159         (default_libc_feupdateenv_test): Likewise.
25160         (libc_feresetround_ctx): Likewise.
25162 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25164         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25165         prototype.
25167 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25169         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25170         COLL_SYM in a couple of places to avoid uninitialized variable
25171         wanings on tilegx gcc 4.8.2.
25173 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25175         * sysdeps/aarch64/strcpy.S: New file.
25176         * sysdeps/aarch64/stpcpy.S: New file.
25177         * NEWS: Updated.
25179 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25181         * sysdeps/aarch64/strrchr.S: New file.
25182         * NEWS: Updated.
25184 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25186         [BZ #17658]
25187         * stdlib/setenv.c: Fix memory leak when setting large,
25188         duplicate string.
25190 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25192         [BZ #17273]
25193         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25194         and tabs from buffer before parsing fstab entry.
25195         * misc/tst-mntent.c (main): Add test for mount entry with
25196         trailing spaces and tabs.
25198 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25200         [BZ #17748]
25201         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25202         * math/fesetround.c (fesetround): Rename to __fesetround and
25203         define as weak alias of __fesetround.  Use libm_hidden_weak.
25204         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25205         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25206         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25207         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25208         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25209         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25210         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25211         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25212         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25213         __fesetround_inline.
25214         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25215         __fesetround_inline instead of __fesetround.
25216         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25217         __fesetround and define as weak alias of __fesetround.  Use
25218         libm_hidden_weak.  Call __fesetround_inline instead of
25219         __fesetround.
25220         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25221         __fesetround and define as weak alias of __fesetround.  Use
25222         libm_hidden_weak.
25223         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25224         Likewise.
25225         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25226         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25227         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25228         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25229         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25230         __fesetround and define as weak alias of __fesetround.  Use
25231         libm_hidden_weak.
25232         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25233         __fesetround instead of fesetround.
25234         (default_libc_feholdexcept_setround): Likewise.
25235         (libc_feholdsetround_ctx): Likewise.
25236         (libc_feholdsetround_noex_ctx): Likewise.
25238         [BZ #17748]
25239         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25240         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25241         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25242         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25243         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25244         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25245         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25246         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25247         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25248         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25249         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25250         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25251         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25252         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25253         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25254         libm_hidden_def.
25255         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25256         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25257         Likewise.
25258         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25259         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25260         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25261         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25262         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25263         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25264         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25265         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25266         __fesetenv instead of fesetenv.
25267         (libc_feresetround_noex_ctx): Likewise.
25268         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25269         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25270         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25271         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25272         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25273         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25274         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25275         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25276         (__feupdateenv): Likewise.
25277         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25278         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25279         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25280         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25282 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25284         [BZ #17806]
25285         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25286         addresses have been freed.
25288 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25290         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25291         and nservall.
25293 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25295         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25296         Clean up check_pf allocation pattern. addresses
25298 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25300         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25301         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25302         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25303         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25304         * nptl/pthread_join.c (pthread_join): Likewise.
25305         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25306         * sysdeps/posix/waitid.c (__waitid): Likewise.
25307         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25308         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25309         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25310         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25311         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25312         Likewise.
25313         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25314         (__libc_pread64): Likewise.
25315         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25316         (__libc_pwrite): Likewise.
25317         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25318         (__libc_pwrite64): Likewsie.
25319         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25320         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25321         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25322         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25323         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25324         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25325         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25327         Likewise.
25328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25329         (__libc_pread64): Likewise.
25330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25331         Likewise.
25332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25333         (__libc_pwrite64): Likewise.
25334         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25335         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25336         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25337         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25338         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25339         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25340         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25341         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25342         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25343         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25344         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25345         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25346         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25347         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25348         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25349         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25350         Likewise.
25352 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25354         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25355         (CFLAGS-test-double.c): Likewise.
25356         (CFLAGS-test-ldouble.c): Likewise.
25357         (CPPFLAGS-test-ifloat.c): Likewise.
25358         (CPPFLAGS-test-idouble.c): Likewise.
25359         (CPPFLAGS-test-ildoubl.c): Likewise.
25360         (CFLAGS-test-test-fenv.c): Remove variable.
25361         (CFLAGS-test-misc.c): Likewise.
25363 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25365         [BZ #17797]
25366         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25367         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25368         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25369         CLOCKS_PER_SEC == 1000000.
25370         * time/clocktest.c (main): Replace %ld with %jd and cast to
25371         intmax_t.
25373 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25375         * sysdeps/generic/unwind-resume.h: New file.
25376         * sysdeps/gnu/unwind-resume.c: Include it.
25377         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25378         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25379         argument list.
25380         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25381         global rather than static.
25382         (_Unwind_Resume): Update user.
25383         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25384         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25385         rather than static.  Add __attribute__ ((cold)).
25386         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25387         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25388         * sysdeps/arm/arm-unwind-resume.S: New file.
25389         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25390         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25391         * sysdeps/arm/Makefile [$(subdir) = csu]
25392         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25393         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25394         Add rt-arm-unwind-resume.
25395         [$(subdir) = nptl]
25396         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25397         Add pt-arm-unwind-resume.
25398         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25399         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25401 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25403         [BZ #17748]
25404         * include/fenv.h (__feholdexcept): Declare.  Use
25405         libm_hidden_proto.
25406         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25407         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25408         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25409         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25410         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25411         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25412         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25413         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25414         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25415         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25416         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25417         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25418         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25419         (feholdexcept): Likewise.
25420         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25421         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25422         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25423         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25424         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25425         __feholdexcept instead of feholdexcept.
25426         (default_libc_feholdexcept_setround): Likewise.
25428 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25430         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25431         to avoid using stl/str to align destination.
25433 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25435         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25437 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25439         [BZ #17796]
25440         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25441         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25442         Define as weak alias not strong alias.
25444 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25446         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25447         bltzal with addiupc.
25448         (RTLD_START): Ditto.
25450 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25452         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25453         for __vdso_* functions in declarations.
25454         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25455         definitions.
25456         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25457         INTERNAL_VSYSCALL): Use struct return types to check for error.
25459         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25460         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25461         function with cast from llround().
25462         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25463         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25464         Define.
25466 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25468         [BZ #17793]
25469         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25470         Define as weak alias not strong alias.
25472         [BZ #17635]
25473         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25474         ...
25475         * ctype/ctype-extn.c: ... here.
25476         (__isblank_l): Move to ...
25477         * ctype/ctype-c99_l.c: ... here.  New file.
25478         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25479         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25480         Remove variable.
25481         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25482         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25483         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25484         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25485         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25487         [BZ #17777]
25488         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25489         (posix_fadvise64): Define as weak alias not strong alias.
25490         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25491         (posix_fallocate64): Likewise.
25492         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25493         Remove variable.
25494         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25495         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25496         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25497         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25498         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25500 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25502         [BZ #16191]
25503         * NEWS: Mention bug fix.
25504         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25505         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25506         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25507         (HOST_STACK_END_ADDR): Likewise.
25509 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25511         [BZ #17748]
25512         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25513         * math/fegetround.c (fegetround): Rename to __fegetround and
25514         define as weak alias of __fegetround.  Use libm_hidden_weak.
25515         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25516         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25517         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25518         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25519         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25520         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25521         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25522         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25523         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25524         Undefine after rather than before function definition; use
25525         parentheses around function name in definition.
25526         (__fegetround): Also undefine macro after function definition.
25527         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25528         __fegetround and define as weak alias of __fegetround.  Use
25529         libm_hidden_weak.  Do not undefine as macro.
25530         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25531         Likewise.
25532         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25533         __fegetround and define as weak alias of __fegetround.  Use
25534         libm_hidden_weak.
25535         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25536         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25537         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25538         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25539         __fegetround and define as weak alias of __fegetround.  Use
25540         libm_hidden_weak.
25541         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25542         __fegetround instead of fegetround.
25544         [BZ #17782]
25545         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25546         Condition macro definition on [__USE_MISC].
25548         [BZ #17781]
25549         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25550         (struct sigaction): Change type of sa_flags field to int.
25552         [BZ #17780]
25553         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25554         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25555         __glibc_reserved0.
25557         * nptl/version.c (banner): Use single year in copyright notice.
25559         * NEWS: Update copyright dates.
25560         * catgets/gencat.c (print_version): Likewise.
25561         * csu/version.c (banner): Likewise.
25562         * debug/catchsegv.sh: Likewise.
25563         * debug/pcprofiledump.c (print_version): Likewise.
25564         * debug/xtrace.sh (do_version): Likewise.
25565         * elf/ldconfig.c (print_version): Likewise.
25566         * elf/ldd.bash.in: Likewise.
25567         * elf/pldd.c (print_version): Likewise.
25568         * elf/sotruss.sh: Likewise.
25569         * elf/sprof.c (print_version): Likewise.
25570         * iconv/iconv_prog.c (print_version): Likewise.
25571         * iconv/iconvconfig.c (print_version): Likewise.
25572         * locale/programs/locale.c (print_version): Likewise.
25573         * locale/programs/localedef.c (print_version): Likewise.
25574         * login/programs/pt_chown.c (print_version): Likewise.
25575         * malloc/memusage.sh (do_version): Likewise.
25576         * malloc/memusagestat.c (print_version): Likewise.
25577         * malloc/mtrace.pl: Likewise.
25578         * manual/libc.texinfo: Likewise.
25579         * nptl/version.c (banner): Likewise.
25580         * nscd/nscd.c (print_version): Likewise.
25581         * nss/getent.c (print_version): Likewise.
25582         * nss/makedb.c (print_version): Likewise.
25583         * posix/getconf.c (main): Likewise.
25584         * scripts/test-installation.pl: Likewise.
25585         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25587 2015-01-02  Will Newton  <will.newton@linaro.org>
25589         * sysdeps/arm/armv7/configure: Removed.
25590         * sysdeps/arm/armv7/configure.ac: Likewise.
25592 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25594         * All files with FSF copyright notices: Update copyright dates
25595         using scripts/update-copyrights.
25596         * intl/plural.c: Regenerated.
25597         * locale/programs/charmap-kw.h: Likewise.
25598         * locale/programs/locfile-kw.h: Likewise.
25600 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25602         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25604 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25606         [BZ #17748]
25607         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25608         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25609         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25610         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25611         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25612         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25613         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25614         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25615         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25616         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25617         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25618         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25619         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25620         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25621         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25622         libm_hidden_def.
25623         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25624         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25625         Likewise.
25626         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25627         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25628         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25629         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25630         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25631         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25632         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25633         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25634         __fegetenv instead of fegetenv.
25635         (libc_feholdsetround_noex_ctx): Likewise.
25637 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25639         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25640         (Elf_MIPS_ABIFlags_v0): New structure.
25641         (EF_MIPS_FP64): Define.
25642         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25643         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25644         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25645         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25646         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25647         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25648         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25649         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25650         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25651         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25652         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25653         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25654         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25655         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25656         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25657         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25658         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25659         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25660         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25661         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25662         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25663         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25664         field.
25665         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25666         EF_MIPS_FP64.
25667         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25668         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25669         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25670         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25671         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25672         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25673         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25674         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25675         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25676         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25677         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25678         record the current FP ABI extension.
25679         (mips-mode-switch): Define to show if kernel headers support mode
25680         switching.
25681         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25682         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25683         supported SYSV ABI version to 3.
25684         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25685         feature.
25687 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25688             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25690         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25691         path.
25692         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25694 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25696         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25697         __fegetround and redefine to call __fegetround.  Remove condition
25698         on [!__NO_MATH_INLINES].
25699         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25700         function.
25701         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25702         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25703         Remove macro.
25704         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25705         instead of <fenv_libc.h>.
25706         (__llrintl): Call fegetround instead of __fegetround.
25707         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25708         instead of <fenv_libc.h>.
25709         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25710         (__lrintl): Call fegetround instead of __fegetround.
25711         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25712         instead of <fenv_libc.h>.
25713         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25714         (__rintl): Call fegetround instead of __fegetround.
25716 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25718         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25719         arrays.
25721 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25723         [BZ #17775]
25724         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25725         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25726         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25728 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25730         * sysdeps/i386/tls-macros.h: Include <features.h>.
25731         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25732         (TLS_IE): Likewise.
25733         (TLS_LD): Likewise.
25734         (TLS_GD): Likewise.
25735         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25736         define for GCC >= 5.0.
25738 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25740         * math/test-fenv.c (test_single_exception, set_single_exc,
25741         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25742         feexcp_mask_test, feenable_test, fe_single_test): Add
25743         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25744         case where they are not used.
25745         * math/libm-test.inc: Likewise.
25746         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25747         unused in the absence of FP rounding/exception support.
25748         * stdio-common/tst-printf-round.c: Likewise.
25749         * stdlib/tst-strtod-round.c: Likewise.
25750         * stdlib/tst-strtod-underflow.c: Likewise.
25752 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25754         [BZ #17723]
25755         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25756         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25757         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25758         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25759         libm_hidden_weak.
25760         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25761         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25762         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25763         libm_hidden_def.
25764         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25765         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25766         libm_hidden_weak.
25767         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25768         Likewise.
25769         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25770         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25771         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25772         libm_hidden_weak.
25773         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25774         libm_hidden_def.
25775         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25776         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25777         (__feraiseexcept): Likewise.
25778         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25779         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25780         libm_hidden_weak.
25781         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25782         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25783         libm_hidden_def.
25784         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25785         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25786         Use libm_hidden_def.
25787         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25788         libm_hidden_def.
25789         (feraiseexcept): Define as weak not strong alias.  Use
25790         libm_hidden_weak.
25791         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25792         New inline function.  Factored out of ...
25793         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25794         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25795         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25796         feraiseexcept.
25797         * math/w_acos.c (__acos): Likewise.
25798         * math/w_asin.c (__asin): Likewise.
25799         * math/w_ilogb.c (__ilogb): Likewise.
25800         * math/w_j0.c (y0): Likewise.
25801         * math/w_j1.c (y1): Likewise.
25802         * math/w_jn.c (yn): Likewise.
25803         * math/w_log.c (__log): Likewise.
25804         * math/w_log10.c (__log10): Likewise.
25805         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25806         * sysdeps/aarch64/fpu/math_private.h
25807         (libc_feupdateenv_test_aarch64): Likewise.
25808         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25809         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25810         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25811         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25812         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25813         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25814         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25815         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25816         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25817         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25819 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25821         [BZ #17732]
25822         * io/test-utime.c (main): Replace %ld with %jd and cast to
25823         intmax_t.
25824         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25825         * nptl/tst-mutex5.c: Include <stdint.h>.
25826         (do_test): Replace %ld with %jd and cast to intmax_t.
25827         * posix/tst-regex.c (run_test): Likewise.
25828         (run_test_backwards): Likewise.
25829         * rt/tst-clock.c: Include <stdint.h>.
25830         (clock_test): Replace %ld with %jd and cast to intmax_t.
25831         * rt/tst-cpuclock1.c: Include <stdint.h>.
25832         (do_test): Replace %lu with %ju and cast to uintmax_t.
25833         * rt/tst-cpuclock2.c: Include <stdint.h>.
25834         (do_test): Replace %lu with %ju and cast to uintmax_t.
25835         * rt/tst-mqueue1.c: Include <stdint.h>.
25836         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25837         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25838         intmax_t.
25839         * rt/tst-mqueue4.c (do_test): Likewise.
25840         * rt/tst-timer4.c: Include <stdint.h>.
25841         (check_ts): Replace %ld with %jd and cast to intmax_t.
25842         (do_test): Likewise.
25843         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25844         and cast to intmax_t.
25845         * sysdeps/pthread/tst-timer.c (main): Likewise.
25846         * time/clocktest.c (main): Likewise.
25847         * time/tst-posixtz.c (do_test): Likewise.
25848         * timezone/tst-timezone.c (main): Likewise.
25850 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25851             H.J. Lu  <hongjiu.lu@intel.com>
25853         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25854         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25855         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25856         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25857         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25858         version if bit_Fast_Unaligned_Load is set.
25859         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25860         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25861         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25862         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25863         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25864         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25865         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25866         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25867         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25868         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25869         to 4.
25870         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25871         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25872         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25873         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25875 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25877         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25878         instead of #if to avoid a Wundef warning.
25879         * stdlib/tst-limits.c (do_test): Likewise.
25881         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25882         parallel other exception macros.
25883         (fegetenv): Convert from macro to extern inline so that it applies
25884         retroactively to inline functions already seen by the compiler.
25885         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25887         * posix/Makefile (before-compile): Use $(objpfx) for
25888         posix-conf-vars-def.h.
25890 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25892         * posix/getconf.c (main): Use size_t for type of I.
25893         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25894         NSPEC.
25896         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25897         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25898         * posix/posix-envs.def: Likewise.
25899         * sysdeps/posix/sysconf.c: Likewise.
25900         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25901         (specs): Remove array.
25902         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25903         array.
25905         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25906         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25907         (__sysconf): Use CONF_IS_* macros.
25909         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25910         ($(objpfx)posix-conf-vars-def.h): New target.
25911         * posix/posix-conf-vars.list: New file.
25912         * posix/posix-conf-vars.h: New file.
25913         * posix/confstr.c: Include posix-conf-vars.h.
25914         (confstr): Use CONF_IS_* macros.
25915         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25916         CONF_IS_* macros.
25917         * scripts/gen-posix-conf-vars.awk: New file.
25919 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25921         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25922         fegetround): Add no-op macros to avoid linknamespace issues.
25924         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25925         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25927         * sysdeps/unix/sysv/linux/tile/sysdep.h
25928         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25929         assembly-specific section to avoid a redefinition warning.
25931         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25932         long before casting to pointer to avoid a cast warning.
25934 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25936         * sysdeps/tile/tilegx/Implies: New file.
25938 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25940         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25942 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25944         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25946 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25948         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25949         not define.
25950         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25951         <kernel-features.h>.
25952         (__utimes) [__NR_utimes]: Make code unconditional.
25953         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25954         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25955         (__ASSUME_UTIMES): Do not undefine.
25956         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25957         (__ASSUME_UTIMES): Likewise.
25958         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25959         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25960         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25961         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25963 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25965         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25967 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25969         [BZ #17747]
25970         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25971         alias to weak alias for j0l, y0l.
25972         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25973         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25975         [BZ #17746]
25976         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25977         conversion.
25979 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25981         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25982         to zero if not already defined.
25984 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25986         [BZ #17724]
25987         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25988         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25989         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25990         (char *) casts added.
25991         * sysdeps/ieee754/k_standardf.c: New file.
25992         * sysdeps/ieee754/k_standardl.c: Likewise.
25993         * math/Makefile (libm-support): Remove k_standard.
25994         (libm-calls): Add k_standard.
25996 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25998         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25999         Optimize to avoid an unnecessary FPCR read.
26001 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26003         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26004         Optimize to reduce FPCR/FPSR accesses.
26006 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26008         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26009         Call libc_fetestexcept_aarch64.
26011 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26013         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26014         Call libc_fesetround_aarch64.
26016 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26018         [BZ #17733]
26019         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26020         (__bind): Do not define as weak alias.
26021         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26022         define.
26023         (__getsockname): Do not define as weak alias.
26025 2014-12-22  Will Newton  <will.newton@linaro.org>
26027         * manual/install.texi: Document that we require bison 2.7
26028         or above.
26029         * INSTALL: Regenerate.
26030         * configure.ac: Use AC_CHECK_PROG_VER instead of
26031         AC_PATH_PROG when checking for bison and check for
26032         version 2.7 or above.
26033         * configure: Regenerate.
26035 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26037         [BZ #17745]
26038         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26039         * sysdeps/tile/ffsll.c (ffsll): To here.
26041         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26043 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26045         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26046         if not defined.
26047         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26048         definition.
26049         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26050         hidden ___tls_get_addr.
26051         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26052         hidden __tls_get_addr.
26053         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26054         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26055         Likewise.
26057 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26059         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26060         _dl_init call.
26062 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26064         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26065         from "call _dl_init@PLT".
26066         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26068 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26070         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26071         guarantees.
26073 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26075         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26077 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26079         [BZ #17744]
26080         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26081         strnlen.
26083 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26085         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26086         of multu on MIPSr6.
26087         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26088         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26089         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26090         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26091         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26093 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26095         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26096         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26097         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26098         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26099         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26100         mips32r6/mips64r6.
26101         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26103 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26105         * string/strncat.c (STRNCAT): Simplify implementation.
26107 2014-12-19  David S. Miller  <davem@davemloft.net>
26109         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26110         access the quad as both a long double and as a series of 4 words.
26112         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26113         link_map->l_info array access.
26115 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26117         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26119         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26120         * math/atest-exp2.c (TIMEOUT): Likewise.
26121         * math/atest-sincos.c (TIMEOUT): Likewise.
26123 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26125         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26126         -Wno-error with -fno-builtin-lround.
26128 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26130         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26131         Contains futex constants and functions moved over from ...
26132         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26133         <lowlevellock-futex.h>.
26134         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26135         (lll_timedwait_tid): Add comments and parentheses around macro
26136         arguments.
26138 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26140         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26141         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26142         (__lll_private_flag): Remove.
26143         (lll_futex_wait): Likewise.
26144         (lll_futex_timed_wait): Likewise.
26145         (lll_futex_wake): Likewise.
26146         (lll_futex_requeue): Likewise.
26147         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26148         (__lll_timedwait_tid): Spell out argument names.
26149         (lll_timedwait_tid): Add comments and parentheses around macro
26150         arguments.
26151         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26152         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26154 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26156         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26157         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26158         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26159         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26160         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26161         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26162         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26163         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26164         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26165         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26166         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26167         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26168         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26169         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26170         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26171         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26172         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26173         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26174         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26176 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26178         * sysdeps/x86_64/x32/Makefile: New file.
26180 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26182         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26183         1L with (mp_limb_t) 1.
26185 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26187         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26188         * nptl/libc_pthread_init.c: ... here.
26189         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26190         * nptl/register-atfork.c: ... here.
26192         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26193         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26194         Use assert_perror to check its return value.
26195         (__gai_create_helper_thread): Likewise.
26197         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26199         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26201 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26203         [BZ #17725]
26204         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26205         __profil_counter.
26206         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26207         Likewise.
26208         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26209         Likewise.
26210         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26211         Likewise.
26212         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26213         (profil_counter): Likewise.
26214         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26215         (profil_counter): Likewise.
26216         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26217         Likewise.
26218         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26219         Likewise.
26220         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26221         (profil_counter): Likewise.
26222         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26223         Likewise.
26224         [!__profil_counter] (profil_counter): Define as weak alias of
26225         __profil_counter.
26226         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26227         (profil_counter): Rename to __profil_counter.
26228         [!__profil_counter] (profil_counter): Define as weak alias of
26229         __profil_counter.
26230         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26231         (profil_counter): Rename to __profil_counter.
26232         [!__profil_counter] (profil_counter): Define as weak alias of
26233         __profil_counter.
26234         * sysdeps/posix/profil.c: Update comment referring to
26235         profil_counter.
26236         (__profil): Use __profil_counter instead of profil_counter.
26237         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26238         __profil_counter.  Use __profil_counter_ushort and
26239         __profil_counter_uint in definitions.
26240         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26241         instead of profil_counter_uint and profil_counter_ushort.
26243         [BZ #17722]
26244         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26245         define as weak alias of __inet_makeaddr.
26246         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26247         as weak alias of __inet_addr.
26248         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26249         as weak alias of __inet_pton.  Use libc_hidden_weak.
26250         * include/arpa/inet.h (__inet_pton): Declare.  Use
26251         libc_hidden_proto.
26252         (inet_makeaddr): Don't use libc_hidden_proto.
26253         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26254         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26255         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26256         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26257         Remove variable.
26258         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26259         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26261 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26263         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26265 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26267         * stdio-common/bug-vfprintf-nargs.c (do_test):
26268         Cast value to intptr_t to avoid format warning
26269         for usage with PRIdPTR printing macro.
26271 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26273         * libio/tst-widetext.c (do_test):
26274         Use format type %td instead of %Zd for ptrdiff_t
26275         in order to avoid format warning.
26277 2014-12-17  Andreas Schwab  <schwab@suse.de>
26279         * nscd/mem.c (gc): Add size_t cast to match printf format.
26281 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26283         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26284         (init): Apply PTR_MANGLE to pointers before storing them.
26285         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26286         before using them.
26288 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26290         [BZ #17719]
26291         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26292         define as weak alias of __memrchr.
26293         (__memrchr): Do not define as strong alias of memrchr.
26294         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26295         Remove variable.
26296         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26297         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26298         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26300         [BZ #17717]
26301         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26302         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26303         (if_indextoname): Rename to __if_indextoname and define as weak
26304         alias of __if_indextoname.  Use libc_hidden_weak.
26305         (if_freenameindex): Rename to __if_freenameindex and define as
26306         weak alias of __if_freenameindex.
26307         (if_nameindex): Rename to __if_nameindex and define as weak alias
26308         of __if_nameindex.
26309         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26310         __if_nametoindex and define as weak alias of __if_nametoindex.
26311         Use libc_hidden_weak.
26312         (if_freenameindex): Rename to __if_freenameindex and define as
26313         weak alias of __if_freenameindex.
26314         (if_nameindex): Rename to __if_nameindex and define as weak alias
26315         of __if_nameindex.
26316         (if_indextoname): Rename to __if_indextoname and define as weak
26317         alias of __if_indextoname.  Use libc_hidden_weak.
26318         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26319         __if_nametoindex and define as weak alias of __if_nametoindex.
26320         Use libc_hidden_weak.
26321         (if_freenameindex): Rename to __if_freenameindex and define as
26322         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26323         (if_nameindex_netlink): Use __if_freenameindex instead of
26324         if_freenameindex.
26325         (if_nameindex): Rename to __if_nameindex and define as weak alias
26326         of __if_nameindex.  Use libc_hidden_weak.
26327         (if_indextoname): Rename to __if_indextoname and define as weak
26328         alias of __if_indextoname.  Use libc_hidden_weak.
26329         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26330         libc_hidden_proto.
26331         [!_ISOMAC] (__if_freenameindex): Likewise.
26332         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26333         if_nametoindex.
26334         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26335         variable.
26336         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26337         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26338         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26339         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26340         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26341         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26342         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26344         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26345         Remove variable.
26346         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26347         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26349 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26351         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26352         subscript above bounds'
26354         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26355         bounds.
26357 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26359         * libio/tst-fopenloc.c: Use test-skeleton.c.
26361         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26362         (entry): Rename to ITEM.
26363         (do_test, comp): Adjust.
26365         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26367 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26369         * string/tester.c: Include <libc-internal.h>.
26370         (test_memset): Ignore -Wmemset-transposed-args.
26372 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26374         * misc/tst-mntent2.c (do_test): Fix warning.
26376 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26378         * elf/tst-unique4lib.cc(a): Mark as used.
26380 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26382         [BZ #17630]
26383         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26384         names.
26386 2014-12-16  Allan McRae  <allan@archlinux.org>
26388         * stdio-common/Makefile (tests): Re-add bug26.
26390 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26392         [BZ #17657]
26393         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26394         static array.
26396 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26398         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26399         (__lll_lock_wait): Likewise.
26400         (__lll_timedlock_wait): Likewise.
26401         (__lll_timedwait_tid): Likewise.
26402         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26403         (__lll_robust_timedlock_wait): Likewise.
26404         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26405         (lll_cond_trylock): Likewise.
26406         (__lll_lock): Likewise.
26407         (__lll_robust_lock): Likewise.
26408         (__lll_cond_lock): Likewise.
26409         (lll_robust_cond_lock): Likewise.
26410         (__lll_timedlock): Likewise.
26411         (__lll_robust_timedlock): Likewise.
26412         (__lll_unlock): Likewise.
26413         (__lll_robust_unlock): Likewise.
26414         (lll_wait_tid): Likewise.
26415         (lll_timedwait_tid): Likewise.
26417 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26419         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26421 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26423         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26425 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26427         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26428         * stdio-common/tst-sprintf.c: Likewise.
26430 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26432         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26434 2014-12-15  Jeff Law  <law@redhat.com>
26436         [BZ #16617]
26437         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26438         on the heap.  (CVE-2012-3406)
26439         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26440         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26441         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26443 2014-12-15  Will Newton  <will.newton@linaro.org>
26445         * manual/install.texi: Bump required version of texinfo
26446         to 4.7 from 4.5.
26447         * INSTALL: Regenerated.
26448         * configure.ac: Check for makeinfo version 4.7 and above.
26449         * configure: Regenerated.
26451 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26453         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26454         PREFIX, string constant to insert between directory and name.
26455         * sysdeps/posix/shm_open.c: Update caller.
26456         * sysdeps/posix/shm_unlink.c: Likewise.
26457         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26458         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26459         (SEM_SHM_PREFIX): New macro.
26460         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26461         [$(have-thread-library) = no].
26462         * nptl/Makefile (libpthread-routines): Add shm-directory.
26463         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26464         * sysdeps/nptl/shm-directory.h: New file.
26465         * sysdeps/posix/shm-directory.c
26466         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26467         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26468         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26469         INTERNAL_SYSCALL.
26470         (__where_is_shmfs): Function removed.
26471         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26472         Variables removed.
26473         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26474         Use SHM_GET_NAME.
26475         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26477         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26478         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26479         unconditional for use inside libpthread.
26480         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26482 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26484         * nptl/pthread_getaffinity.c: New file.
26485         * nptl/pthread_setaffinity.c: New file.
26486         * nptl/pthread_getname.c: New file.
26487         * nptl/pthread_setname.c: New file.
26489         * nptl/pthread_create.c (START_THREAD_DEFN)
26490         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26492 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26493             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26495         * resolv/res_send.c (send_vc): Disable warning resplen may
26496         be used uninitialized.
26498 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26500         * nptl/tst-mutex6.c
26501         (ATTR_NULL): New define checks ATTR against NULL.
26502         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26503         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26505 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26507         [BZ #17581]
26508         * malloc/hooks.c
26509         (mem2mem_check): Revert my previous change.
26510         (malloc_check_get_size): Revert my previous change.
26511         (mem2chunk_check): Revert my previous change.
26513 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26515         * sysdeps/posix/shm-directory.c: New file.
26516         * sysdeps/posix/shm-directory.h: New file.
26517         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26518         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26519         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26520         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26521         Transmute EPERM to EACCES.
26522         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26523         from ...
26524         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26525         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26527 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26529         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26530         pointer and cast to uintptr_t.
26531         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26532         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26533         Add cast to avoid warning.
26534         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26536 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26538         * nptl/semaphore.h: Move to ...
26539         * sysdeps/pthread/semaphore.h: ... here.
26540         * Makefile (installed-headers): Change nptl/semaphore.h to
26541         sysdeps/pthread/semaphore.h.
26543 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26545         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26546         generated error format strings.
26548         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26549         -Wformat-extra-args warnings for scanf formats.
26550         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26551         test of zero-length format (duh).
26552         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26553         corner-case scanf format test.
26554         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26555         generated fprintf format string.
26556         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26557         corner-case sprintf format tests.
26558         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26559         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26560         -Wformat-extra-args warnings throughout.
26561         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26562         (CFLAGS-scanf4.c): Likewise.
26563         (CFLAGS-scanf7.c): Likewise.
26564         (CFLAGS-tst-sprintf.c): Likewise.
26565         (CFLAGS-tst-printf.c): Likewise.
26566         (CFLAGS-tst-printfsz.c): Likewise.
26568 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26570         * include/cpio.h: New file.
26571         * include/fmtmsg.h: Likewise.
26573         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26574         corresponding format argument to size_t.
26575         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26576         arguments.
26577         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26578         corresponding format argument to size_t.
26579         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26580         arguments.
26581         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26582         corresponding format argument to size_t.
26583         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26584         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26585         (CFLAGS-tst-mbswcs2.c): Likewise.
26586         (CFLAGS-tst-mbswcs3.c): Likewise.
26587         (CFLAGS-tst-mbswcs4.c): Likewise.
26588         (CFLAGS-tst-mbswcs5.c): Likewise.
26589         (CFLAGS-tst-trans.c): Likewise.
26591 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26593         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26594         rather than assuming they won't contain any '%'s.
26596 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26598         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26599         inhibit_loop_to_libcall to avoid recursive calls.
26600         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26601         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26603 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26605         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26606         prototype.
26608 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26610         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26611         integer value instead of boolean.
26613 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26615         * malloc/malloc.c: Fix powerof2 check.
26617 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26619         * locale/programs/locfile.h (maybe_swap_uint32):
26620         Remove inline and add unused attribute.
26622 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26625         Truncating assembler expression to a .long expression.
26627 2014-12-11  Andreas Schwab  <schwab@suse.de>
26629         * elf/rtld.c (struct map_args): Constify str member.
26630         (do_preload): Constify fname argument.
26632 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26634         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26635         constants definition.
26637 2014-12-11  Andreas Schwab  <schwab@suse.de>
26639         [BZ #16657]
26640         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26641         FORCE_ELISION instead of DO_ELISION.
26642         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26643         Remove.
26644         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26645         Likewise.
26647         * iconvdata/gconv-modules: Remove duplicate entry.
26649 2014-12-11  Will Newton  <will.newton@linaro.org>
26651         Merge gettext 0.19.3 into intl/.
26653         This involves a number of cosmetic changes to comments
26654         and ANSI function definitions and prototypes throughout
26655         all the files. The gettext copyright header is used but
26656         with the date ranges taken from the glibc copy.
26658         * NEWS: Add gettext merge to 2.21.
26659         * intl/bindtextdom.c: Switch to gettext copyright.
26660         Use ANSI definitions and prototypes.
26661         Use gl_* locking primitives rather than __libc_* ones.
26662         Use __builtin_expect rather than __glibc_likely/unlikely.
26663         * intl/dcgettext.c: Switch to gettext copyright.
26664         Use ANSI definitions and prototypes.
26665         * intl/dcigettext.c: Switch to gettext copyright.
26666         Use ANSI definitions and prototypes.
26667         (INTDIV0_RAISES_SIGFPE): New define.
26668         Use gl_* locking primitives rather than __libc_* ones.
26669         Include eval-plural.h instead of plural-eval.c.
26670         Use __builtin_expect rather than __glibc_likely/unlikely.
26671         * intl/dcngettext.c: Switch to gettext copyright.
26672         Use ANSI definitions and prototypes.
26673         * intl/dgettext.c: Likewise.
26674         * intl/dngettext.c: Likewise.
26675         * intl/plural-eval.c: Renamed to...
26676         * intl/eval-plural.h: ...this.
26677         * intl/explodename.c: Switch to gettext copyright.
26678         Use ANSI definitions and prototypes.
26679         (_nl_explode_name): Use strchr instead of __rawmemchr.
26680         * intl/finddomain.c: Switch to gettext copyright.
26681         Use ANSI definitions and prototypes.
26682         Use gl_* locking primitives rather than __libc_* ones.
26683         (_nl_find_domain): Use malloc rather than alloca for
26684         allocation of temporary locale name.
26685         * intl/gettext.c: Switch to gettext copyright.
26686         Use ANSI definitions and prototypes.
26687         * intl/gettextP.h: Switch to gettext copyright.
26688         Use ANSI definitions and prototypes.
26689         Use gl_* locking primitives rather than __libc_* ones.
26690         * intl/gmo.h: Switch to gettext copyright.
26691         (struct sysdep_string): Move struct segment_pair outside of
26692         struct definition.
26693         * intl/hash-string.c: Use ANSI definitions and prototypes.
26694         * intl/hash-string.h: Switch to gettext copyright.
26695         Use ANSI definitions and prototypes.
26696         * intl/l10nflist.c: Switch to gettext copyright.
26697         Use ANSI definitions and prototypes.
26698         (_nl_normalize_codeset): Avoid integer overflow.
26699         * intl/loadinfo.h: Switch to gettext copyright.
26700         Use ANSI definitions and prototypes.
26701         (LIBINTL_DLL_EXPORTED): New define.
26702         (PATH_SEPARATOR): New define.
26703         * intl/loadmsgcat.c: Switch to gettext copyright.
26704         * intl/localealias.c: Switch to gettext copyright.
26705         Use ANSI definitions and prototypes.
26706         (_nl_expand_alias): Use PATH_SEPARATOR.
26707         * intl/ngettext.c: Switch to gettext copyright.
26708         Use ANSI definitions and prototypes.
26709         * intl/plural-exp.c: Likewise.
26710         * intl/plural-exp.h: Switch to gettext copyright.
26711         Use ANSI definitions and prototypes.
26712         (struct expression): Move definition of enum operator outside
26713         of struct definition.
26714         * intl/plural.c: Regenerate.
26715         * intl/plural.y: Switch to gettext copyright.
26716         Use ANSI definitions and prototypes.
26717         Port to bison 3.0.
26718         * intl/textdomain.c: Switch to gettext copyright.
26719         Use ANSI definitions and prototypes.
26720         Use gl_* locking primitives rather than __libc_* ones.
26722 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26724         * debug/warning-nop.c: Add used atrribute.
26726 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26728         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26730         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26731         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26732         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26734 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26735             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26737         [BZ #17634]
26738         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26739         Undefine after defining function.  Define as weak alias of
26740         __wcschr.  Use libc_hidden_weak.
26741         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26742         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26743         (libc_hidden_def): Also define __GI___wcschr alias.
26744         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26745         __wcschr and define as weak alias of __wcschr.
26746         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26747         __wcschr.
26748         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26749         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26750         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26751         libc_hidden_weak.  Do not use libc_hidden_def.
26752         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26753         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26754         __GI___wcschr alias.
26755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26756         [IS_IN (libc)] (wcschr): Define as macro expanding to
26757         __redirect_wcschr.
26758         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26759         [IS_IN (libc)] (__wcschr_power6): Likewise.
26760         [IS_IN (libc)] (__wcschr_power7): Likewise.
26761         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26762         instead of wcschr.
26763         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26764         __libc_wcschr.
26765         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26766         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26767         __wcschr and define as weak alias of __wcschr.  Use
26768         libc_hidden_builtin_def.
26769         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26770         as weak alias of __wcschr.  Use libc_hidden_weak.
26771         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26772         wcschr.
26773         * time/era.c (_nl_init_era_entries): Likewise.
26774         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26775         variable.
26776         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26777         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26779 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26781         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26782         format for long int variable.
26784 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26786         [BZ #10672]
26787         * manual/search.texi: (Array Sort Function): Remove claim how to make
26788         qsort stable.
26790 2014-12-10  Andreas Schwab  <schwab@suse.de>
26792         [BZ #12847]
26793         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26794         user-controlled locks.
26796 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26798         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26799         register.
26801 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26803         * configure.ac (--disable-werror): New configure option.
26804         (enable_werror): New AC_SUBST.
26805         * configure: Regenerated.
26806         * config.make.in (enable-werror): New variable.
26807         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26808         -Wno-error=undef.
26809         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26810         * manual/install.texi (Configuring and compiling): Document
26811         --disable-werror.
26812         * INSTALL: Regenerated.
26813         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26814         (CFLAGS-tst-chk2.c): Likewise.
26815         (CFLAGS-tst-chk3.c): Likewise.
26816         (CFLAGS-tst-chk4.cc): Likewise.
26817         (CFLAGS-tst-chk5.cc): Likewise.
26818         (CFLAGS-tst-chk6.cc): Likewise.
26819         (CFLAGS-tst-lfschk1.c): Likewise.
26820         (CFLAGS-tst-lfschk2.c): Likewise.
26821         (CFLAGS-tst-lfschk3.c): Likewise.
26822         (CFLAGS-tst-lfschk4.cc): Likewise.
26823         (CFLAGS-tst-lfschk5.cc): Likewise.
26824         (CFLAGS-tst-lfschk6.cc): Likewise.
26826         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26827         (main): Disable -Wdeprecated-declarations around calls to
26828         register_printf_function.
26830         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26831         (do_test): Disable -Wdiv-by-zero around some calls to
26832         fwrite_unlocked and fread_unlocked.
26834         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26835         (DIAG_POP_NEEDS_COMMENT): Likewise.
26836         (_DIAG_STR1): Likewise.
26837         (_DIAG_STR): Likewise.
26838         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26839         * stdio-common/bug21.c: Include <libc-internal.h>.
26840         (do_test): Disable -Wformat around call to sscanf.
26841         * stdio-common/scanf14.c: Include <libc-internal.h>.
26842         (main): Disable -Wformat around some calls to scanf functions.
26844 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26846         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26848 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26850         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26851         stack variable alignment.
26853 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26855         [BZ #17682]
26856         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26857         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26858         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26859         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26860         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26861         __getrlimit instead of getrlimit.
26862         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26863         __gettimeofday instead of gettimeofday.
26864         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26865         Likewise.
26866         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26867         Likewise.
26868         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26869         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26870         Remove variable.
26871         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26872         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26874 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26876         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26877         for wide-character tests.
26879 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26881         * io/openat64.c: #include <libc-internal.h>
26882         (__openat64): Prototypify.  Use ignore_value on MODE.
26883         * io/openat.c: Likewise.
26884         * misc/reboot.c: #include <libc-internal.h>
26885         (reboot): Prototypify.  Use ignore_value on HOWTO.
26886         * misc/ptrace.c: #include <libc-internal.h>
26887         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26889 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26891         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26892         XPG4, UNIX98 and XOPEN2K.
26893         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26894         Remove variable.
26895         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26897 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26899         * libio/fileops.c: Use ISO C style for function definitions.
26900         * libio/iofopen.c: Likewise.
26901         * libio/wfileops.c: Likewise.
26903         [BZ #17653]
26904         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26905         offset on EOF.
26906         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26907         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26908         (fgets_func): Function pointer to fgets and fgetws.
26909         (do_ftell_test): Add test to verify ftell value after read
26910         EOF.
26911         (do_test): Set fgets_func.
26913         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26914         O_TRUNC flag for w and w+ modes.
26915         (do_rewind_test): Likewise.
26916         (do_ftell_test): Likewise.
26917         (do_write_test): Likewise.
26919         [BZ #17647]
26920         * libio/fileops.c (do_ftell): Seek only when there are
26921         unflushed writes.
26922         * libio/wfileops.c (do_ftell_wide): Likewise.
26923         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26924         test case.
26925         (do_one_test): Call it.
26927 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26929         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26930         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26931         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26932         Remove variable.
26933         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26934         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26935         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26937 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26939         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26940         Remove variable.
26941         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26943         [BZ #17668]
26944         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26945         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26946         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26947         __freeifaddrs.  Use libc_hidden_weak.
26948         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26949         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26950         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26951         __freeifaddrs.  Use libc_hidden_weak.
26952         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26953         __getifaddrs and define as weak alias of __getifaddrs.  Use
26954         libc_hidden_weak.
26955         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26956         __freeifaddrs.  Use libc_hidden_weak.
26957         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26958         Remove variable.
26959         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26960         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26962 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26964         [BZ #17601]
26965         * sysdeps/mips/start.S (__start): Use indirect jump to call
26966         __libc_start_main.
26968 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26970         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26972         * nptl/tst-mutex1.c: Include <stdbool.h>.
26973         [!ATTR] (ATTR_NULL): New macro.
26974         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26975         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26976         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26978         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26979         to char *.
26981         [BZ #17665]
26982         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26983         Change conditional to [__USE_MISC].
26985         [BZ #17664]
26986         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26987         fgets_unlocked.
26988         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26989         __fgets_unlocked.
26990         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26991         fgets_unlocked.
26992         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26993         Remove variable.
26994         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26995         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26996         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26997         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26998         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26999         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27000         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27001         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27002         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27004         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27006 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27008         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27009         Remove strpbrk objects.
27010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27011         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27012         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27013         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27014         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27015         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27017         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27018         Remove strcspn objects.
27019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27020         (__libc_ifunc_impl_list): Remove strcspn implementation.
27021         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27022         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27023         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27024         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27027         Remove strspn objetcs.
27028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27029         (__libc_ifunc_impl_list): Remove strspn implementation.
27030         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27031         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27032         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27033         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27035 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27037         [BZ #17581]
27038         * malloc/hooks.c
27039         (mem2mem_check): Add a terminator to the chain of checking blocks.
27040         (malloc_check_get_size): Use it here.
27041         (mem2chunk_check): Ditto.
27043 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27045         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27046         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27048 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27050         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27052         * nptl/nptl-init.c: Include libc-internal.h.
27053         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27055         * elf/ldconfig.c (search_dir): Expand comment.
27057 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27059         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27060         variable.
27061         (linknamespace-symlist-stdlibs-tests): Likewise.
27062         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27063         instead of $(objpfx)symlist-stdlibs.
27064         (linknamespace-libs-isoc): New variable.
27065         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27066         (linknamespace-libs-ISO): New variable.
27067         (linknamespace-libs-ISO99): Likewise.
27068         (linknamespace-libs-ISO11): Likewise.
27069         (linknamespace-libs-XPG3): Likewise.
27070         (linknamespace-libs-XPG4): Likewise.
27071         (linknamespace-libs-POSIX): Likewise.
27072         (linknamespace-libs-UNIX98): Likewise.
27073         (linknamespace-libs-XOPEN2K): Likewise.
27074         (linknamespace-libs-POSIX2008): Likewise.
27075         (linknamespace-libs-XOPEN2K8): Likewise.
27076         ($(objpfx)symlist-stdlibs): Replace by
27077         $(linknamespace-symlist-stdlibs-tests).  Use
27078         $(linknamespace-libs-$*) as set of libraries.
27079         ($(linknamespace-header-tests)): Update dependencies.  Use
27080         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27081         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27082         * conform/linknamespace.pl: Remove comment about considering
27083         definitions of symbols from irrelevant libraries.
27085 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27087         [BZ #13862]
27088         * elf/dl-tls.c: Include <atomic.h>.
27089         (oom): Remove #ifdef SHARED/#endif.
27090         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27091         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27092         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27093         big enough.
27094         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27095         * nptl/Makefile (tests): Add tst-stack4.
27096         (modules-names): Add tst-stack4mod.
27097         ($(objpfx)tst-stack4): New.
27098         (tst-stack4mod.sos): Likewise.
27099         ($(objpfx)tst-stack4.out): Likewise.
27100         ($(tst-stack4mod.sos)): Likewise.
27101         (clean): Likewise.
27102         * nptl/tst-stack4.c: New file.
27103         * nptl/tst-stack4mod.c: Likewise.
27105 2014-11-27  J. Brown  <jb999@gmx.de>
27107         * sysdeps/x86/bits/string.h: Add recent CPUs.
27109 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27111         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27112         sigblock.
27114         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27115         feof.
27117         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27118         variable.
27120 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27122         * nscd/connections.c: Include libc-internal.h because of macro
27123         usage ignore_value.
27125 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27127         * string/bits/string3.h (__warn_memset_zero_len): Don't
27128         declare for gcc newer than 5.0.
27129         (memset): Don't test for zero-length __LEN for gcc newer than
27130         5.0.
27132 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27134         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27135         size_t for %zu format.
27137         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27138         difference, not %ju.
27140 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27142         * include/libc-internal.h (ignore_value): New macro.
27143         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27144         with ignore_value.
27146         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27147         definition.
27149         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27150         pthread_cleanup_push to void *.
27152         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27153         Undefine.
27155         [BZ #16619]
27156         [BZ #16740]
27157         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27158         instead of 1L << 52.
27160         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27161         * libio/bug-rewind2.c (do_test): Likewise.
27163         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27164         * debug/test-strcpy_chk-ifunc.c: Likewise.
27165         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27166         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27167         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27168         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27169         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27170         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27171         * Rules [$(multi-arch) = no] (tests): Do not filter out
27172         $(tests-ifunc).
27173         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27174         * debug/Makefile (tests-ifunc): Remove variable.
27175         (tests): Do not add $(tests-ifunc).
27176         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27177         (tests): Do not add $(tests-ifunc).
27178         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27179         [TEST_IFUNC]: Remove conditionals.
27180         * string/test-string.h (TEST_IFUNC): Remove macro.
27181         [TEST_IFUNC]: Remove conditionals.
27183         * string/test-strchr.c [!WIDE] (L): New macro.
27184         [WIDE] (L): Likewise.
27185         (check1): Use CHAR instead of char.  Use L on string and character
27186         constants.
27188 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27190         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27191         tests.
27192         * sysdeps/powerpc/bits/atomic.h
27193         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27194         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27195         (atomic_exchange_and_add_acq): Likewise.
27196         (atomic_exchange_and_add_rel): Likewise.
27197         * sysdeps/powerpc/powerpc32/bits/atomic.h
27198         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27199         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27200         * sysdeps/powerpc/powerpc64/bits/atomic.h
27201         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27202         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27204 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27206         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27207         Change synchronization of __sched_fifo_min_prio and
27208         __sched_fifo_max_prio.
27209         * nptl/pthread_mutexattr_getprioceiling.c
27210         (pthread_mutexattr_getprioceiling): Likewise.
27211         * nptl/pthread_mutexattr_setprioceiling.c
27212         (pthread_mutexattr_setprioceiling): Likewise.
27213         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27214         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27215         Likewise.
27217 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27219         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27220         void.
27222 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27224         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27225         third argument const.
27227 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27229         fnmatch: work around GCC compiler warning bug with uninit var
27230         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27231         This works around a bug with x86-64 GCC 4.9.2 and earlier
27232         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27233         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27234         used uninitialized in this function [-Wmaybe-uninitialized]".
27236 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27238         * posix/bug-regex31.c (main): Return RES not 0.
27240 2014-11-25  Anton Blanchard <anton@samba.org>
27242         * sysdeps/powerpc/bits/atomic.h
27243         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27245 2014-11-24  Sterling Augustine  <saugustine@google.com>
27247         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27249 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27251         [BZ #17608]
27252         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27254 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27256         [BZ #17633]
27257         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27258         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27259         variable.
27260         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27261         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27263 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27265         * string/strncpy.c (strncpy): Improve performance by using memset.
27267 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27269         * string/strcpy.c (strcpy):
27270         Improve performance by using strlen and memcpy.
27272 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27274         * string/strcoll_l.c (get_next_seq): __always_inline.
27275         * string/strcoll_l.c (do_compare): __always_inline.
27277 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27279         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27280         defined.
27281         * include/mqueue.h: Likewise.
27282         * include/stdlib.h: Likewise.
27284         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27285         (get_null_defines): Adjust.
27286         * sunrpc/Makefile: Adjust comment.
27287         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27288         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27289         (CFLAGS-interp.c): Likewise.
27290         (CFLAGS-ldconfig.c): Likewise.
27291         (CPPFLAGS-.os): Likewise.
27292         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27293         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27294         * extra-modules.mk (extra-modules.mk): Likewise.
27295         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27296         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27297         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27298         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27299         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27300         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27301         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27302         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27303         * iconvdata/Makefile (CPPFLAGS): Likewise.
27304         (cpp-srcs-left): Add libof for all iconvdata routines.
27305         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27306         * include/assert.h: Likewise.
27307         * include/ctype.h: Likewise.
27308         * include/errno.h: Likewise.
27309         * include/libc-symbols.h: Likewise.
27310         * include/math.h: Likewise.
27311         * include/netdb.h: Likewise.
27312         * include/resolv.h: Likewise.
27313         * include/stdio.h: Likewise.
27314         * include/stdlib.h: Likewise.
27315         * include/string.h: Likewise.
27316         * include/sys/stat.h: Likewise.
27317         * include/wctype.h: Likewise.
27318         * intl/l10nflist.c: Likewise.
27319         * libidn/idn-stub.c: Likewise.
27320         * libio/libioP.h: Likewise.
27321         * nptl/libc_multiple_threads.c: Likewise.
27322         * nptl/pthreadP.h: Likewise.
27323         * posix/regex_internal.h: Likewise.
27324         * resolv/res_hconf.c: Likewise.
27325         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27326         * sysdeps/arm/memmove.S: Likewise.
27327         * sysdeps/arm/sysdep.h: Likewise.
27328         * sysdeps/generic/_itoa.h: Likewise.
27329         * sysdeps/generic/symbol-hacks.h: Likewise.
27330         * sysdeps/gnu/errlist.awk: Likewise.
27331         * sysdeps/gnu/errlist.c: Likewise.
27332         * sysdeps/i386/i586/memcpy.S: Likewise.
27333         * sysdeps/i386/i586/memset.S: Likewise.
27334         * sysdeps/i386/i686/memcpy.S: Likewise.
27335         * sysdeps/i386/i686/memmove.S: Likewise.
27336         * sysdeps/i386/i686/mempcpy.S: Likewise.
27337         * sysdeps/i386/i686/memset.S: Likewise.
27338         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27339         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27340         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27341         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27342         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27343         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27344         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27345         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27346         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27347         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27348         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27349         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27350         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27351         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27352         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27353         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27354         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27355         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27356         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27357         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27358         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27359         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27360         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27361         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27362         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27363         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27364         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27365         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27366         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27367         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27368         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27369         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27371         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27372         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27373         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27374         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27375         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27376         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27377         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27378         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27379         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27380         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27381         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27382         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27383         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27384         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27385         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27386         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27387         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27388         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27389         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27390         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27391         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27392         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27393         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27394         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27395         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27396         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27397         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27398         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27399         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27400         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27401         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27402         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27403         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27404         * sysdeps/posix/closedir.c: Likewise.
27405         * sysdeps/posix/opendir.c: Likewise.
27406         * sysdeps/posix/readdir.c: Likewise.
27407         * sysdeps/posix/rewinddir.c: Likewise.
27408         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27409         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27410         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27411         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27412         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27413         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27414         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27415         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27416         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27418         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27419         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27420         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27421         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27422         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27423         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27424         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27425         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27426         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27427         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27428         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27429         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27430         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27431         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27432         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27433         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27434         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27435         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27436         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27437         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27443         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27444         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27445         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27446         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27447         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27448         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27449         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27450         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27451         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27452         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27453         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27454         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27455         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27456         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27457         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27458         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27459         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27460         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27462         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27463         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27464         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27465         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27466         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27467         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27468         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27469         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27470         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27471         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27472         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27473         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27474         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27475         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27476         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27477         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27478         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27479         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27480         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27481         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27482         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27483         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27484         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27485         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27486         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27487         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27488         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27489         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27490         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27491         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27492         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27493         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27494         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27495         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27496         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27497         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27498         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27499         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27500         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27501         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27502         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27503         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27504         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27505         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27506         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27507         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27508         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27509         * sysdeps/unix/alpha/sysdep.S: Likewise.
27510         * sysdeps/unix/alpha/sysdep.h: Likewise.
27511         * sysdeps/unix/make-syscalls.sh: Likewise.
27512         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27513         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27514         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27515         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27516         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27517         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27518         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27519         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27520         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27521         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27522         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27523         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27525         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27526         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27527         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27528         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27529         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27530         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27531         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27532         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27533         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27534         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27535         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27536         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27537         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27538         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27541         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27542         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27543         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27544         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27546         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27547         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27548         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27549         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27550         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27551         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27552         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27553         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27554         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27555         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27556         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27557         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27558         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27559         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27560         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27561         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27562         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27563         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27564         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27565         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27566         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27567         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27568         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27570         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27571         * sysdeps/x86_64/memcpy.S: Likewise.
27572         * sysdeps/x86_64/memmove.c: Likewise.
27573         * sysdeps/x86_64/memset.S: Likewise.
27574         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27575         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27576         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27577         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27578         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27579         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27580         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27581         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27582         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27583         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27584         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27585         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27586         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27587         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27588         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27589         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27590         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27591         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27592         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27593         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27594         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27595         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27596         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27597         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27598         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27599         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27600         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27601         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27602         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27603         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27604         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27605         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27606         * sysdeps/x86_64/strcmp.S: Likewise.
27608         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27610         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27611         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27612         * elf/rtld-Rules: Likewise.
27613         * elf/setup-vdso.h: Likewise.
27614         * include/assert.h: Likewise.
27615         * include/bits/stdlib-float.h: Likewise.
27616         * include/errno.h: Likewise.
27617         * include/sys/stat.h: Likewise.
27618         * include/unistd.h: Likewise.
27619         * sysdeps/aarch64/setjmp.S: Likewise.
27620         * sysdeps/alpha/setjmp.S: Likewise.
27621         * sysdeps/arm/__longjmp.S: Likewise.
27622         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27623         * sysdeps/arm/setjmp.S: Likewise.
27624         * sysdeps/arm/sysdep.h: Likewise.
27625         * sysdeps/generic/_itoa.h: Likewise.
27626         * sysdeps/generic/dl-sysdep.h: Likewise.
27627         * sysdeps/generic/ldsodefs.h: Likewise.
27628         * sysdeps/i386/dl-tls.h: Likewise.
27629         * sysdeps/i386/setjmp.S: Likewise.
27630         * sysdeps/m68k/setjmp.c: Likewise.
27631         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27632         * sysdeps/mach/hurd/opendir.c: Likewise.
27633         * sysdeps/posix/getcwd.c: Likewise.
27634         * sysdeps/posix/opendir.c: Likewise.
27635         * sysdeps/posix/profil.c: Likewise.
27636         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27637         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27638         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27639         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27640         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27641         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27642         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27643         * sysdeps/s390/dl-tls.h: Likewise.
27644         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27645         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27646         * sysdeps/sh/sh3/setjmp.S: Likewise.
27647         * sysdeps/sh/sh4/setjmp.S: Likewise.
27648         * sysdeps/unix/alpha/sysdep.h: Likewise.
27649         * sysdeps/unix/arm/sysdep.S: Likewise.
27650         * sysdeps/unix/i386/sysdep.S: Likewise.
27651         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27652         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27653         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27654         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27655         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27656         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27657         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27658         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27659         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27660         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27661         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27662         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27663         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27666         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27668         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27669         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27670         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27671         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27672         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27673         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27674         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27675         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27676         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27677         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27678         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27679         * sysdeps/x86_64/setjmp.S: Likewise.
27681         * include/math.h: Use IS_IN instead of IS_IN_libm.
27682         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27683         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27684         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27685         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27686         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27687         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27688         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27689         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27690         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27691         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27692         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27693         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27694         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27695         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27696         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27697         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27698         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27699         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27700         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27701         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27702         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27703         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27704         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27705         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27706         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27707         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27708         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27709         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27710         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27711         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27712         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27713         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27714         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27716         Likewise.
27717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27718         Likewise.
27719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27720         Likewise.
27721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27722         Likewise.
27723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27724         Likewise.
27725         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27726         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27727         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27728         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27729         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27730         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27736         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27737         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27738         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27739         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27740         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27741         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27742         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27743         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27744         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27745         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27746         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27747         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27749         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27751         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27753         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27754         * nptl/pthreadP.h: Likewise.
27755         * nptl_db/structs.def: Likewise.
27756         * sysdeps/arm/sysdep.h: Likewise.
27757         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27758         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27759         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27760         * sysdeps/unix/alpha/sysdep.h: Likewise.
27761         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27763         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27764         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27765         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27766         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27767         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27768         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27769         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27770         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27771         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27772         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27773         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27774         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27777         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27778         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27779         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27780         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27782         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27783         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27784         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27785         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27786         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27788         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27789         * nptl/pthreadP.h: Likewise.
27790         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27791         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27792         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27793         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27794         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27795         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27796         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27797         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27798         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27799         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27800         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27801         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27803         Likewise.
27804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27805         Likewise.
27806         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27807         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27808         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27811         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27812         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27813         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27815         * dlfcn/dladdr.c: Use IS_IN.
27816         * dlfcn/dladdr1.c: Likewise.
27817         * dlfcn/dlclose.c: Likewise.
27818         * dlfcn/dlerror.c: Likewise.
27819         * dlfcn/dlinfo.c: Likewise.
27820         * dlfcn/dlmopen.c: Likewise.
27821         * dlfcn/dlopen.c: Likewise.
27822         * dlfcn/dlsym.c: Likewise.
27823         * dlfcn/dlvsym.c: Likewise.
27825         * include/ifaddrs.h: Use IS_IN.
27826         * inet/check_pf.c: Likewise.
27827         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27828         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27830         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27831         IS_IN_ldconfig.
27832         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27833         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27835         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27836         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27837         IS_IN (libc).
27839         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27841         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27842         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27843         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27844         * include/libc-symbols.h (IS_IN_LIB): New macro.
27845         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27846         * include/netdb.h: Likewise.
27847         * include/stap-probe.h: Remove all uses of IN_LIB.
27849         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27850         instead of IN_MODULE.
27851         * include/libc-symbols.h (IN_MODULE): Define using
27852         MODULE_NAME.
27853         (PASTE_NAME, PASTE_NAME1): New macros.
27854         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27855         of IN_LIB.
27856         (STAP_PROBE_ASM): Likewise.
27858 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27860         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27861         __mach_init in dlopened libc.
27863 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27865         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27866         * sysdeps/arm/preconfigure: Regenerate.
27868 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27870         * nptl/pthread_create.c (__pthread_create_2_1): Set
27871         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27872         when copying values from IATTR into PD.
27874 2014-11-21  Will Newton  <will.newton@linaro.org>
27875             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27877         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27878         Refactor inline-asm.  Also add comment.
27880         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27881         ElfW macro instead of hardcoded Elf64 types.
27882         (la_aarch64_gnu_pltenter): Likewise.
27883         * sysdeps/aarch64/dl-machine.h
27884         (elf_machine_runtime_setup): Use ElfW(Addr).
27886         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27887         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27888         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27889         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27890         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27891         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27892         (R_AARCH64_TLS_DTPMOD): This.
27893         (R_AARCH64_TLS_DTPREL64): Rename to ...
27894         (R_AARCH64_TLS_DTPREL): This.
27895         (R_AARCH64_TLS_TPREL64): Rename to ...
27896         (R_AARCH64_TLS_TPREL): This.
27897         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27898         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27899         R_AARCH64_TLS_TPREL64.
27900         (elf_machine_rela): Likewise.
27902 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27904         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27905         by setting it to 0.  64b atomics are not supported currently.
27907 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27909         [BZ #16469]
27910         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27911         search domain names.
27913 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27915         [BZ #16469]
27916         * NEWS: Update.
27917         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27918         trailing dot.
27919         * posix/tst-getaddrinfo5.c: New.
27920         * posix/Makefile (tests): Add it.
27922 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27924         [BZ #14498]
27925         * NEWS: Fixed.
27926         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27927         after parsing line but before break_if_match.
27928         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27929         if there is a protocol mismatch.
27931 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27933         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27934         because the potential race is on the user-supplied stream.
27936 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27938         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27939         string literal if not passed a buffer.
27940         * manual/job.texi (ctermid): Update reasoning, note deviation
27941         from posix, suggest mtasurace when not passed a buffer, for
27942         future non-preliminary safety notes.
27944 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27946         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27947         of not passing it a buffer.
27948         Reported by Peng Haitao.
27950 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27952         * manual/Makefile ($(objpfx)stamp-summary): Require
27953         check-safety.sh to pass.
27954         * manual/check-safety.sh: Wish for verification that every
27955         @deftypefn and @deftypefun is followed by a @safety remark.
27957 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27959         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27961         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27962         PTHREAD_CANCEL_ASYNCHRONOUS.
27963         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27964         send SIGCANCEL.
27966         * nptl/default-sched.h: New file.
27967         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27968         * nptl/pthread_create.c: Include it.
27969         (__pthread_create_2_1): Use collect_default_sched instead of making
27970         Linux syscalls here directly.
27972 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27974         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27975         __pthread_once): Use C11 atomics.
27977 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27979         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27981 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27983         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27984         atomic_thread_fence_acquire, atomic_thread_fence_release,
27985         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27986         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27987         atomic_compare_exchange_weak_relaxed,
27988         atomic_compare_exchange_weak_acquire,
27989         atomic_compare_exchange_weak_release,
27990         atomic_exchange_acquire, atomic_exchange_release,
27991         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27992         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27993         atomic_fetch_and_acquire,
27994         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27996 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27998         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27999         USE_ATOMIC_COMPILER_BUILTINS): Define.
28000         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28001         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28002         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28004         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28006         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28007         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28008         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28009         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28010         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28012         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28013         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28014         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28015         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28016         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28017         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28018         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28019         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28020         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28021         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28022         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28023         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28024         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28025         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28026         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28027         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28028         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28029         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28030         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28031         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28032         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28033         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28034         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28035         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28036         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28037         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28038         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28039         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28041 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28043         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28044         the sched_priority value here.  It was already checked when the user
28045         called pthread_attr_setschedparam.
28047         * nptl/tst-bad-schedattr.c: New file.
28048         * nptl/Makefile (tests): Add it.
28050 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28051             Florian Weimer  <fweimer@redhat.com>
28052             Joseph Myers  <joseph@codesourcery.com>
28053             Adam Conrad  <adconrad@0c3.net>
28054             Andreas Schwab  <schwab@suse.de>
28055             Brooks  <bmoses@google.com>
28057         [BZ #17625]
28058         * wordexp-test.c (__dso_handle): Add prototype.
28059         (__register_atfork): Likewise.
28060         (__app_register_atfork): New function.
28061         (registered_forks): New global.
28062         (register_fork): New function.
28063         (test_case): Add 3 new tests for WRDE_CMDSUB.
28064         (main): Call __app_register_atfork.
28065         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28066         fork count is non-zero fail the test.
28067         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28068         is set.
28069         (parse_dollars): Remove check for WRDE_NOCMD.
28070         (parse_dquote): Likewise.
28072 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28074         * Makeconfig (built-modules): List non-library modules to be
28075         built.
28076         (module-cppflags): Include libc-modules.h for
28077         everything except shlib-versions.v.i.
28078         (CPPFLAGS): Use it.
28079         (before-compile): Add libc-modules.h.
28080         ($(common-objpfx)libc-modules.h,
28081         $(common-objpfx)libc-modules.stmp): New targets.
28082         (common-generated): Add libc-modules.h and libc-modules.stmp.
28083         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28084         * include/libc-symbols.h: Don't include libc-modules.h.
28085         * include/libc-modules.h: Remove file.
28086         * scripts/gen-libc-modules.awk: New script to generate
28087         libc-modules.h.
28088         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28089         Depend on libc-modules.stmp.
28091         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28093         * Makeconfig (in-module): Get value of libof set for the
28094         translation unit.
28095         (CPPFLAGS): Use $(in-module).
28096         * Makerules: Don't suffix routine names for nonlib.
28097         * include/libc-modules.h: New file.
28098         * include/libc-symbols.h: Include libc-modules.h
28099         (IS_IN): New macro to replace IS_IN_* macros.
28100         * elf/Makefile: Set libof-* for each routine.
28101         * elf/rtld-Rules: Likewise.
28102         * extra-modules.mk: Likewise.
28103         * iconv/Makefile: Likewise.
28104         * iconvdata/Makefile: Likewise.
28105         * locale/Makefile: Likewise.
28106         * malloc/Makefile: Likewise.
28107         * nss/Makefile: Likewise.
28108         * sysdeps/gnu/Makefile: Likewise.
28109         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28110         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28111         * sysdeps/s390/s390-64/Makefile: Likewise.
28112         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28113         CPPFLAGS for nscd instead of nonlib.
28115 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28117         * nptl/createthread.c: New file.
28119         * nptl/createthread.c: Moved ...
28120         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28122         * nptl/createthread.c: Add proper top-line comment.
28123         (do_clone): Folded into ...
28124         (create_thread): ... here.  Take new arguments STOPPED_START and
28125         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28126         increment __nptl_threads, do event-reporting logic, do
28127         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28128         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28129         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28130         just send SIGCANCEL.
28131         * nptl/pthread_create.c: Forward-declare create_thread before
28132         including createthread.c.
28133         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28134         declaration, and new macro START_THREAD_SELF to replace argument.
28135         Remove return statement.
28136         (report_thread_creation): New function.
28137         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28138         synchronization logic, and __nptl_nthreads increment here, around
28139         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28140         PD->parent_cancelhandling here, before create_thread.  When
28141         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28142         __deallocate_stack, and ENOMEM translation here.
28144 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28146         [BZ #17616]
28147         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28148         (mptwo): Rename to __mptwo.
28149         (__inv): Use __mptwo instead of mptwo.
28150         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28151         (mptwo): Rename to __mptwo.
28152         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28153         of mpone and __mptwo instead of mptwo.
28154         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28155         instead of mpone.
28156         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28157         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28158         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28159         of mpone and __mptwo instead of mptwo.
28160         (__mpranred): Use __mpone instead of mpone.
28161         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28162         variable.
28163         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28164         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28165         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28166         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28167         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28168         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28169         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28170         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28171         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28172         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28173         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28174         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28175         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28176         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28177         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28178         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28179         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28180         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28181         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28183 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28185         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28186         replace BSD Handler xref with BSD Signal Handling.
28188 2014-11-17  Richard Henderson  <rth@redhat.com>
28190         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28191         (_FP_PACK_RAW_2): Remove.
28192         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28193         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28194         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28195         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28196         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28197         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28198         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28199         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28200         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28201         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28202         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28203         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28204         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28205         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28206         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28207         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28209 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28211         * signal/signal.h [__USE_MISC]
28212         (struct sigvec): Remove type.
28213         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28214         (sigvec): Remove declaration.
28215         * sysdeps/posix/sigvec.c: Moved ...
28216         * signal/sigvec.c: ... here, replacing old file.
28217         (struct sigvec): New type, copied from old signal.h definition.
28218         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28219         (__sigvec): Convert definition to prototype.
28220         (sigvec): Replace weak_alias with compat_symbol.
28221         * signal/Versions (libc: GLIBC_2.21): New version set.
28222         * include/signal.h: Remove __sigvec declaration.
28223         * sysdeps/unix/bsd/sigvec.c: Remove file.
28224         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28225         * manual/signal.texi (BSD Handler): Remove subsection.
28226         Move siginterrupt up to ...
28227         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28228         (Blocking in BSD): Fold subsection into its parent.
28229         * NEWS: Mention sigvec removal.
28231 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28233         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28234         (DLA_FMS): Make definition conditional only on [__FMA4__].
28235         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28236         definition.
28238         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28239         Make definition conditional only on [PROF].
28240         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28241         definition.
28242         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28243         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28245         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28246         !__GNUC__].
28247         * include/signal.h (__sigpause): Move declaration above call to
28248         libc_hidden_proto.
28249         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28250         variable.
28251         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28252         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28254 2014-11-14  David S. Miller  <davem@davemloft.net>
28256         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28257         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28259 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28261         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28262         * configure: Regenerated.
28263         * manual/install.texi (Tools for Compilation): Document a
28264         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28265         compiler verified to work.
28266         * INSTALL: Regenerated.
28268         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28269         redeclare with asm name.
28270         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28271         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28272         including <string.h>.
28273         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28274         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28275         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28276         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28277         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28278         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28279         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28281 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28283         * stdlib/strtol.c (__strtol): Use prototype definition.
28285         [BZ #17594]
28286         * stdlib/strtol.c (SYM__): New macro.
28287         (SYM__1): Likewise.
28288         (__strtol): Likewise.
28289         (strtol): Rename to __strtol and define as weak alias of
28290         __strtol.  Use libc_hidden_weak.
28292 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28294         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28295         Use numbered labels in inline assembly.
28297 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28299         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28300         Add setjmp LIBC_PROBE.
28301         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28302         Likewise.
28303         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28304         Add longjmp, longjmp_target LIBC_PROBE.
28305         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28306         Likewise.
28308 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28310         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28311         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28312         to get rid of unused variable warning.
28314 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28316         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28317         Check for unwind_backtrace ==  NULL only in SHARED case.
28318         (__backchain_backtrace): Compile only in SHARED case.
28319         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28320         Likewise.
28321         (__backchain_backtrace): Declare as static.
28323 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28325         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28326         (__libc_multiple_threads_ptr): Variable moved ...
28327         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28329 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28331         * conform/GlibcConform.pm: New file.
28332         * conform/conformtest.pl: Use GlibcConform module.
28333         * conform/linknamespace.pl: New file.
28334         * conform/list-header-symbols.pl: Likewise.
28335         * conform/Makefile (linknamespace-symlists-base): New variable.
28336         (linknamespace-symlists-tests): Likewise.
28337         (linknamespace-header-base): Likewise.
28338         (linknamespace-header-tests): Likewise.
28339         (tests-special): Add new tests.
28340         ($(linknamespace-symlists-tests)): New rule.
28341         (linknamespace-libs): New variable.
28342         ($(objpfx)symlist-stdlibs): New rule.
28343         ($(linknamespace-header-tests)): Likewise.
28344         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28345         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28346         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28347         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28348         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28349         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28350         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28351         (test-xfail-ISO/math.h/linknamespace): Likewise.
28352         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28353         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28354         (test-xfail-ISO/time.h/linknamespace): Likewise.
28355         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28356         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28357         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28358         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28359         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28360         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28361         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28362         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28363         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28364         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28365         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28366         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28367         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28368         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28369         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28370         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28371         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28372         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28373         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28374         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28375         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28376         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28377         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28378         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28379         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28380         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28381         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28382         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28383         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28384         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28385         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28386         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28387         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28388         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28389         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28390         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28391         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28392         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28393         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28394         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28395         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28396         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28397         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28398         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28399         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28400         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28401         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28402         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28403         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28404         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28405         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28406         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28407         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28408         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28409         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28410         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28411         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28412         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28413         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28414         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28415         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28416         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28417         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28418         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28419         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28420         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28421         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28422         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28423         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28424         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28425         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28426         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28427         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28428         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28429         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28430         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28431         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28432         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28433         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28434         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28435         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28436         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28437         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28438         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28439         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28440         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28441         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28442         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28443         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28444         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28445         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28446         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28447         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28448         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28449         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28450         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28451         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28452         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28453         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28454         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28455         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28456         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28457         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28458         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28459         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28460         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28461         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28462         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28463         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28464         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28465         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28466         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28467         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28468         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28469         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28470         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28471         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28472         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28473         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28474         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28475         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28476         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28477         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28478         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28479         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28480         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28481         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28482         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28483         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28484         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28485         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28486         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28487         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28488         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28489         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28490         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28491         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28492         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28493         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28494         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28495         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28496         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28497         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28498         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28499         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28500         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28501         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28502         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28503         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28504         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28506         [BZ #17589]
28507         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28508         of fgets_unlocked.
28510         [BZ #17585]
28511         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28512         (memmem): Rename to __memmem and define as weak alias of
28513         __memmem.  Use libc_hidden_weak.
28514         (__memmem): Use libc_hidden_def.
28515         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28516         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28517         memmem.
28519         [BZ #17582]
28520         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28521         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28522         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28523         and define as weak alias of __fgets_unlocked.  Use
28524         libc_hidden_weak.
28525         (__fgets_unlocked): Use libc_hidden_def.
28526         * include/stdio.h (__fgets_unlocked): Declare.  Use
28527         libc_hidden_proto.
28528         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28529         __fgets_unlocked instead of fgets_unlocked.
28530         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28531         (GET_NPROCS_CONF_PARSER): Likewise.
28532         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28533         (GET_NPROCS_CONF_PARSER): Likewise.
28535         [BZ #17574]
28536         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28537         weak alias of __wmemset.  Use libc_hidden_weak.
28538         (__wmemset): Use libc_hidden_def.
28539         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28540         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28541         of wmemset.
28543         [BZ #17573]
28544         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28545         with asm name __mempcpy.
28546         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28548         [BZ #17572]
28549         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28550         and define as weak alias of __rawmemchr.
28551         (__rawmemchr): Do not define as strong alias of rawmemchr.
28553         [BZ #17571]
28554         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28555         alias of __qsort_r.
28556         (qsort): Call __qsort_r instead of qsort_r.
28557         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28558         (__qsort_r): Declare.  Call libc_hidden_proto.
28559         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28560         instead of qsort_r.
28561         * nscd/gai.c (__qsort_r): Define to qsort_r.
28562         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28563         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28564         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28566         [BZ #17570]
28567         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28568         define as weak alias of __malloc_info.
28570         [BZ #17584]
28571         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28572         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28573         (__rewinddir): Use libc_hidden_def.
28574         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28575         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28576         (__rewinddir): Use libc_hidden_def.
28577         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28578         weak alias of __rewinddir.  Don't use libc_hidden_def.
28579         (__rewinddir): Use libc_hidden_def.
28580         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28581         (__rewinddir): Use libc_hidden_proto.
28582         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28583         rewinddir.
28584         (__getcwd): Use __rewinddir instead of rewinddir.
28586         [BZ #17583]
28587         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28588         alias of __fileno.  Use libc_hidden_weak.
28589         (__fileno): Use libc_hidden_def.
28590         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28591         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28592         alias of __ftello.
28593         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28594         __ftello.
28595         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28596         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28597         libc_hidden_def.
28598         (fread_unlocked): Don't use libc_hidden_ver.
28599         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28600         and define as weak alias of __fread_unlocked.  Don't use
28601         libc_hidden_def.
28602         (__fread_unlocked): Use libc_hidden_def.
28603         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28604         (ftello): Don't use libc_hidden_proto.
28605         (__ftello): Declare.  Use libc_hidden_proto.
28606         (fread_unlocked): Don't use libc_hidden_proto.
28607         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28608         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28609         and __ftello instead of fileno, fread_unlocked and ftello.
28611 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28613         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28614         GOT12.
28615         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28616         Likewise.
28617         (_dl_start_user): Likewise.
28618         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28620 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28621             Siddhesh Poyarekar  <siddhesh@redhat.com>
28623         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28624         Move argv and envp down instead of moving argc up.
28625         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28627 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28629         [BZ #17506]
28630         * test-skeleton.c (main): Return successful if one of
28631         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28632         * string/tst-strcoll-overflow.c: Define expected status.
28634 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28636         [BZ #17475]
28637         * locale/iso-639.def: Define Bhili and Tulu language codes.
28639 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28641         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28643 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28645         [BZ #17555]
28646         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28648 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28650         * configure.ac: Updated check of minimal required version to
28651         2.22.
28652         * manual/install.texi (Tools for Compilation): Updated version
28653         number.
28654         * configure: Regenerated.
28655         * INSTALL: Likewise.
28657 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28659         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28660         __tls_get_addr.
28662 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28664         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28665         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28666         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28667         libc_hidden_weak.
28668         (waitpid): Define as alias of __waitpid.
28669         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28670         __waitpid.
28671         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28672         libc_hidden_weak.
28673         (waitpid): Define as alias of __waitpid.
28674         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28675         __libc_waitpid alias.
28676         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28677         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28678         Likewise.
28679         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28680         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28681         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28682         alias.
28683         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28684         __waitpid.
28685         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28686         libc_hidden_weak.
28687         (waitpid): Define as alias of __waitpid.
28689 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28691         * manual/llio.texi: Add comment that write safety has been
28692         fixed in Linux.
28694         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28695         (localplt-build-dso): Add elf/ld.so.
28696         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28697         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28698         and free for ld.so.
28699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28700         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28702         Likewise.
28703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28704         Likewise.
28705         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28706         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28707         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28708         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28709         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28710         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28711         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28712         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28713         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28714         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28715         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28717 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28719         [BZ #14132]
28720         * include/libc-symbols.h (INTUSE): Remove macro.
28721         (INTDEF): Likewise.
28722         (INTVARDEF): Likewise.
28723         (_INTVARDEF): Likewise.
28724         (INTDEF2): Likewise.
28725         (INTVARDEF2): Likewise.
28726         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28727         rtld_hidden_def instead of INTVARDEF.
28728         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28729         (_dl_starting_up_internal): Remove declaration.
28730         (_dl_starting_up): Use rtld_hidden_proto.
28731         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28732         declaration.
28733         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28734         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28735         _dl_starting_up.
28736         * elf/dl-writev.h (_dl_writev): Likewise.
28737         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28738         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28739         _dl_starting_up_internal.
28741 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28743         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28744         test-skeleton.c.
28746 2014-11-05  Will Newton  <will.newton@linaro.org>
28748         * benchtests/Makefile: (bench-malloc): Add malloc thread
28749         scalability benchmark.
28750         * benchtests/bench-malloc-threads.c: New file.
28752 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28754         * sysdeps/aarch64/strchrnul.S: New file.
28756 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28758         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28759         definition.
28760         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28761         Likwise.
28762         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28763         Likewise.
28764         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28765         Likewise.
28766         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28767         Likewise.
28768         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28769         Likewise.
28771 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28773         * catgets/test-gencat.c: Use test-skeleton.c.
28774         * catgets/tst-catgets.c: Likewise.
28775         * csu/tst-empty.c: Likewise.
28776         * elf/tst-audit2.c: Likewise.
28777         * elf/tst-global1.c: Likewise.
28778         * elf/tst-pathopt.c: Likewise.
28779         * elf/tst-piemod1.c: Likewise.
28780         * elf/tst-tls10.c: Likewise.
28781         * elf/tst-tls11.c: Likewise.
28782         * elf/tst-tls12.c: Likewise.
28783         * gnulib/tst-gcc.c: Likewise.
28784         * iconvdata/tst-e2big.c: Likewise.
28785         * iconvdata/tst-loading.c: Likewise.
28786         * iconv/tst-iconv1.c: Likewise.
28787         * iconv/tst-iconv2.c: Likewise.
28788         * inet/test-inet6_opt.c: Likewise.
28789         * inet/tst-gethnm.c: Likewise.
28790         * inet/tst-network.c: Likewise.
28791         * inet/tst-ntoa.c: Likewise.
28792         * intl/tst-codeset.c: Likewise.
28793         * intl/tst-gettext2.c: Likewise.
28794         * intl/tst-gettext3.c: Likewise.
28795         * intl/tst-ngettext.c: Likewise.
28796         * intl/tst-translit.c: Likewise.
28797         * io/test-stat.c: Likewise.
28798         * libio/test-fmemopen.c: Likewise.
28799         * libio/tst-freopen.c: Likewise.
28800         * libio/tst-sscanf.c: Likewise.
28801         * libio/tst-ungetwc1.c: Likewise.
28802         * libio/tst-ungetwc2.c: Likewise.
28803         * libio/tst-widetext.c: Likewise.
28804         * localedata/tst-ctype.c: Likewise.
28805         * localedata/tst-digits.c: Likewise.
28806         * localedata/tst-leaks.c: Likewise.
28807         * localedata/tst-mbswcs1.c: Likewise.
28808         * localedata/tst-mbswcs2.c: Likewise.
28809         * localedata/tst-mbswcs3.c: Likewise.
28810         * localedata/tst-mbswcs4.c: Likewise.
28811         * localedata/tst-mbswcs5.c: Likewise.
28812         * localedata/tst-setlocale.c: Likewise.
28813         * localedata/tst-trans.c: Likewise.
28814         * localedata/tst-wctype.c: Likewise.
28815         * localedata/tst-xlocale1.c: Likewise.
28816         * login/tst-grantpt.c: Likewise.
28817         * malloc/tst-calloc.c: Likewise.
28818         * malloc/tst-malloc.c: Likewise.
28819         * malloc/tst-mallocstate.c: Likewise.
28820         * malloc/tst-mcheck.c: Likewise.
28821         * malloc/tst-mtrace.c: Likewise.
28822         * malloc/tst-obstack.c: Likewise.
28823         * math/atest-exp2.c: Likewise.
28824         * math/atest-exp.c: Likewise.
28825         * math/atest-sincos.c: Likewise.
28826         * math/test-matherr.c: Likewise.
28827         * math/test-misc.c: Likewise.
28828         * math/test-powl.c: Likewise.
28829         * math/tst-definitions.c: Likewise.
28830         * misc/tst-dirname.c: Likewise.
28831         * misc/tst-efgcvt.c: Likewise.
28832         * misc/tst-fdset.c: Likewise.
28833         * misc/tst-hsearch.c: Likewise.
28834         * misc/tst-mntent2.c: Likewise.
28835         * nptl/tst-sem7.c: Likewise.
28836         * nptl/tst-sem8.c: Likewise.
28837         * nptl/tst-sem9.c: Likewise.
28838         * nss/test-netdb.c: Likewise.
28839         * posix/tst-fnmatch.c: Likewise.
28840         * posix/tst-getlogin.c: Likewise.
28841         * posix/tst-gnuglob.c: Likewise.
28842         * posix/tst-mmap.c: Likewise.
28843         * pwd/tst-getpw.c: Likewise.
28844         * resolv/tst-inet_ntop.c: Likewise.
28845         * rt/tst-timer.c: Likewise.
28846         * stdio-common/test-fseek.c: Likewise.
28847         * stdio-common/test-popen.c: Likewise.
28848         * stdio-common/test-vfprintf.c: Likewise.
28849         * stdio-common/tst-cookie.c: Likewise.
28850         * stdio-common/tst-fileno.c: Likewise.
28851         * stdio-common/tst-gets.c: Likewise.
28852         * stdio-common/tst-obprintf.c: Likewise.
28853         * stdio-common/tst-perror.c: Likewise.
28854         * stdio-common/tst-sprintf2.c: Likewise.
28855         * stdio-common/tst-sprintf3.c: Likewise.
28856         * stdio-common/tst-sprintf.c: Likewise.
28857         * stdio-common/tst-swprintf.c: Likewise.
28858         * stdio-common/tst-tmpnam.c: Likewise.
28859         * stdio-common/tst-unbputc.c: Likewise.
28860         * stdio-common/tst-wc-printf.c: Likewise.
28861         * stdlib/tst-environ.c: Likewise.
28862         * stdlib/tst-fmtmsg.c: Likewise.
28863         * stdlib/tst-limits.c: Likewise.
28864         * stdlib/tst-rand48-2.c: Likewise.
28865         * stdlib/tst-rand48.c: Likewise.
28866         * stdlib/tst-random2.c: Likewise.
28867         * stdlib/tst-random.c: Likewise.
28868         * stdlib/tst-strtol.c: Likewise.
28869         * stdlib/tst-strtoll.c: Likewise.
28870         * stdlib/tst-tls-atexit.c: Likewise.
28871         * stdlib/tst-xpg-basename.c: Likewise.
28872         * string/test-ffs.c: Likewise.
28873         * string/tst-bswap.c: Likewise.
28874         * string/tst-inlcall.c: Likewise.
28875         * string/tst-strtok.c: Likewise.
28876         * string/tst-strxfrm.c: Likewise.
28877         * sysdeps/x86_64/tst-audit10.c: Likewise.
28878         * sysdeps/x86_64/tst-audit3.c: Likewise.
28879         * sysdeps/x86_64/tst-audit4.c: Likewise.
28880         * sysdeps/x86_64/tst-audit5.c: Likewise.
28881         * time/tst-ftime_l.c: Likewise.
28882         * time/tst-getdate.c: Likewise.
28883         * time/tst-mktime3.c: Likewise.
28884         * time/tst-mktime.c: Likewise.
28885         * time/tst-posixtz.c: Likewise.
28886         * time/tst-strptime2.c: Likewise.
28887         * time/tst-strptime3.c: Likewise.
28888         * wcsmbs/tst-btowc.c: Likewise.
28889         * wcsmbs/tst-mbrtowc.c: Likewise.
28890         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28891         * wcsmbs/tst-wchar-h.c: Likewise.
28892         * wcsmbs/tst-wcpncpy.c: Likewise.
28893         * wcsmbs/tst-wcrtomb.c: Likewise.
28894         * wcsmbs/tst-wcsnlen.c: Likewise.
28895         * wcsmbs/tst-wcstof.c: Likewise.
28897 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28899         [BZ #14132]
28900         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28901         INTDEF.
28902         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28903         declaration.
28904         (_dl_mcount): Use rtld_hidden_proto.
28905         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28906         _dl_mcount.
28907         * elf/rtld.c (_rtld_global_ro): Likewise.
28909         [BZ #14132]
28910         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28911         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28912         of _dl_init_internal.
28913         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28914         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28915         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28916         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28917         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28918         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28919         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28920         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28921         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28922         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28923         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28924         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28925         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28926         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28927         * sysdeps/tile/dl-start.S (_start): Likewise.
28928         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28929         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28931         [BZ #14132]
28932         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28933         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28934         (rtld_progname): Make macro definition unconditional.
28935         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28936         INTDEF.
28937         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28938         (dl_main): Likewise.
28939         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28940         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28941         instead of _dl_argv_internal.
28942         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28943         __GI__dl_argv instead of INTUSE(_dl_argv).
28944         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28945         __GI__dl_argv instead of _dl_argv_internal.
28947         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28948         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28949         macro.
28950         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28951         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28952         New macro.
28953         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28954         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28955         macro.
28956         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28957         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28959 2014-11-04  Andreas Schwab  <schwab@suse.de>
28961         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28963 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28965         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28966         mtvsrd instruction in binary form.
28968 2014-11-03  Andreas Schwab  <schwab@suse.de>
28970         [BZ #17522]
28971         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28972         for less than MB_LEN_MAX use a local buffer of that size.
28973         * libio/tst-fputws.c: New file.
28974         * libio/Makefile (tests): Add tst-fputws.
28976 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28978         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28979         the size of the fpu_fr.fpu_dregs[] array.
28981 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28983         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28984         (__nanosleep): Do not define as alias.
28985         (nanosleep): Define as alias of __nanosleep.
28986         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28987         __libc_nanosleep name.
28989 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28991         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28992         install.texi in comment.
28994 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28996         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28997         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28998         ... add here and use lwsync or sync ...
28999         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29000         ... and add here using lwsync.
29002 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29004         * elf/dl-machine-reject-phdr.h: New file.
29005         * elf/dl-load.c: #include that.
29006         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29007         if that returned true.
29009 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29011         [BZ #17496]
29012         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29013         gen-as-const-headers chunk.  Add a big scare comment after the last
29014         safe place to touch before-compile.
29016 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29018         * manual/install.texi (Tools for Compilation): Update autoconf
29019         version requirements.
29020         * INSTALL: Regenerated.
29022         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29023         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29024         (__libc_pselect): Likewise.
29026         [BZ #14138]
29027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29032 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29034         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29035         correct barrier instruction.
29036         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29037         Likewise.
29038         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29039         Likewise.
29041 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29043         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29044         after defining inlines.  Instead, just use parens to defeat macro
29045         expansion of __isctype in its declaration.
29047 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29049         * include/sys/uio.h (__libc_readv): Remove declaration.
29050         (__libc_writev): Likewise.
29051         * misc/readv.c (__libc_readv): Rename to __readv.
29052         (__readv): Do not define as alias.
29053         (readv): Define as alias of __readv.
29054         * misc/writev.c (__libc_writev): Rename to __writev.
29055         (__writev): Do not define as alias.
29056         (writev): Define as alias of __writev.
29057         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29058         (__readv): Do not define as alias.
29059         (readv): Define unconditionally as alias of __readv.
29060         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29061         (__writev): Do not define as alias.
29062         (writev): Define unconditionally as alias of __writev.
29063         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29064         name.
29065         (writev): Do not define __libc_writev name.
29067 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29069         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29070         (convert_charseq): New function, broken out of ...
29071         (use_from_charmap): ... here.  Call it.
29072         (use_to_charmap): Use convert_charseq and free instead of duplicating
29073         its code with a variable-length stack struct.
29075 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29077         * include/fcntl.h (__libc_creat): Remove declaration.
29078         * io/creat.c (__libc_creat): Rename to creat.
29079         (creat): Do not define as alias.
29080         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29081         of creat instead of __libc_creat.
29082         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29083         to creat.
29084         (creat): Do not define as alias.
29085         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29086         __libc_creat.
29087         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29088         __libc_creat name.
29089         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29090         Likewise.
29092 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29094         * manual/llio.texi: Add comments discussing why write() may be
29095         considered MT-unsafe on Linux.
29097 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29099         * dl-load.c (local_strdup): Remove.
29100         (expand_dynamic_string_token): Use __strdup.
29101         (decompose_rpath): Likewise.
29102         (_dl_map_object): Likewise.
29104 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29106         [BZ #14132]
29107         * sysdeps/generic/unwind-dw2-fde.c
29108         (__register_frame_info_bases_internal): Do not declare.
29109         (__register_frame_info_table_bases_internal): Likewise.
29110         (__deregister_frame_info_bases_internal): Likewise.
29111         (__register_frame_info_bases): Declare and use hidden_proto before
29112         definition.  Use hidden_def instead of INTDEF.
29113         (__register_frame_info_table_bases): Likewise.
29114         (__deregister_frame_info_bases): Likewise.
29115         (__register_frame_info): Do not use INTUSE.
29116         (__register_frame): Likewise.
29117         (__register_frame_info_table): Likewise.
29118         (__register_frame_table): Likewise.
29119         (__deregister_frame_info): Likewise.
29120         (__deregister_frame): Likewise.
29122 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29124         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29125         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29126         not undefine.
29127         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29128         Likewise.
29129         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29130         Likewise.
29132 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29134         [BZ #14138]
29135         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29136         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29137         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29138         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29139         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29140         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29141         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29142         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29143         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29144         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29145         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29146         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29147         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29148         syscall.
29149         (setfsuid): Likewise.
29150         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29151         (setfsuid): Likewise.
29152         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29153         (setfsuid): Likewise.
29154         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29155         Likewise.
29156         (setfsuid): Likewise.
29157         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29158         (setfsuid): Likewise.
29159         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29160         Likewise.
29161         (setfsuid): Likewise.
29163 2014-10-27  Andreas Schwab  <schwab@suse.de>
29165         [BZ #17501]
29166         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29167         check for Slow_SSE4_2 feature bit.
29168         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29169         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29170         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29171         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29173 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29175         * configure.ac: Validate compiler version with a empirical test of
29176         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29177         $CC -v output.
29178         * configure: Regenerated.
29180         * inet/htons.c (htons): Prototypify.
29181         * inet/htonl.c (htonl): Likewise.
29183 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29185         * string/strncat.c (strncat): Improve performance by using strlen.
29187 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29189         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29191 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29193         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29194         Call libc_fetestexcept_aarch64.
29196 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29198         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29199         Call libc_feholdexcept_aarch64.
29201 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29203         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29204         Call get_rounding_mode.
29206 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29208         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29209         Simplify logic.
29211 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29213         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29214         Simplify logic.
29216 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29218         [BZ #14138]
29219         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29220         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29221         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29222         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29223         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29224         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29225         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29226         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29227         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29228         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29229         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29230         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29231         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29232         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29233         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29234         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29235         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29236         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29237         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29238         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29239         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29240         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29241         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29242         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29243         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29244         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29245         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29246         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29247         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29248         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29249         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29250         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29251         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29252         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29253         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29254         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29255         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29256         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29257         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29258         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29259         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29260         syscall.
29261         (geteuid): Likewise.
29262         (getgid): Likewise.
29263         (getuid): Likewise.
29264         (getresgid): Likewise.
29265         (getresuid): Likewise.
29266         (getgroups): Likewise.
29267         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29268         (geteuid): Likewise.
29269         (getgid): Likewise.
29270         (getuid): Likewise.
29271         (getresgid): Likewise.
29272         (getresuid): Likewise.
29273         (getgroups): Likewise.
29274         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29275         (geteuid): Likewise.
29276         (getgid): Likewise.
29277         (getuid): Likewise.
29278         (getresgid): Likewise.
29279         (getresuid): Likewise.
29280         (getgroups): Likewise.
29281         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29282         Likewise.
29283         (geteuid): Likewise.
29284         (getgid): Likewise.
29285         (getuid): Likewise.
29286         (getresgid): Likewise.
29287         (getresuid): Likewise.
29288         (getgroups): Likewise.
29289         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29290         (geteuid): Likewise.
29291         (getgid): Likewise.
29292         (getuid): Likewise.
29293         (getresgid): Likewise.
29294         (getresuid): Likewise.
29295         (getgroups): Likewise.
29296         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29297         Likewise.
29298         (geteuid): Likewise.
29299         (getgid): Likewise.
29300         (getuid): Likewise.
29301         (getgroups): Likewise.
29303         [BZ #14138]
29304         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29305         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29306         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29307         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29308         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29309         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29310         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29311         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29312         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29313         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29314         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29315         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29316         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29317         __chown.
29318         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29319         (lchown): Likewise.
29320         (fchown): Likewise.
29321         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29322         Likewise.
29323         (lchown): Likewise.
29324         (fchown): Likewise.
29325         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29326         (lchown): Likewise.
29327         (fchown): Likewise.
29328         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29329         Likewise.
29330         (lchown): Likewise.
29331         (fchown): Likewise.
29333 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29335         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29336         Simplify logic.
29338 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29340         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29341         Cleanup logic.
29343 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29345         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29346         Remove unused include.
29348 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29350         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29351         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29352         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29353         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29355 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29356             Helge Deller <deller@gmx.de>
29358         [BZ #17508]
29359         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29360         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29361         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29363 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29365         [BZ #14132]
29366         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29367         Remove macro definition.
29368         (__ashrdi3_v_glibc20): Likewise.
29369         (__lshrdi3_v_glibc20): Likewise.
29370         (__cmpdi2_v_glibc20): Likewise.
29371         (__ucmpdi2_v_glibc20): Likewise.
29372         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29373         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29374         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29375         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29376         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29377         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29379 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29381         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29382         old GNU extension [0] syntax.
29383         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29384         alloca rather than an array member with variable length.
29385         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29386         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29387         (parse_opt): ... here.  Likewise use alloca there.
29388         Validate the -i argument before checking for rootness.
29389         (send_shutdown): New function, broken out of ...
29390         (parse_opt): ... here.
29392 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29394         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29395         macro to get at the _rt_local_ro field.
29396         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29397         ([PIC] case) or _dl_hwcap ([!PIC] case).
29398         * sysdeps/arm/setjmp.S: Likewise.
29400         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29401         * sysdeps/arm/configure.ac: New check to define it.
29402         * sysdeps/arm/configure: Regenerated.
29403         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29404         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29405         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29406         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29407         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29408         Use move/movt pair instead of a load.
29409         (LDST_GLOBAL): Macro removed.
29410         (LDR_GLOBAL): New macro replaces it.
29411         (LDR_HIDDEN): New macro.
29412         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29413         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29415         * setjmp/tst-setjmp-static.c: New file.
29416         * setjmp/Makefile (tests): Add it.
29417         (tests-static): New variable.
29419 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29421         [BZ #17485]
29422         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29424 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29426         [BZ #14132]
29427         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29429 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29431         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29433 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29435         * io/fts.c (dirent_not_directory): New function.
29436         (fts_build): Call it.
29438 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29440         * nptl/version.c (__nptl_main): Use normal __write rather than
29441         INTERNAL_SYSCALL.
29442         (banner): Update copyright years.
29444         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29445         gettimeofday.
29446         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29447         * nptl/pthread_cond_timedwait.c: Likewise.
29448         * nptl/pthread_mutex_timedlock.c: Likewise.
29449         * nptl/sem_timedwait.c: Likewise.
29451         * sysdeps/nptl/bits/libc-lock.h
29452         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29453         (__libc_lock_init_recursive): Return void, not 0.
29454         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29455         (__libc_rwlock_init): Likewise.
29456         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29458 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29460         [BZ #15215]
29461         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29462         (__pthread_once_slow): ... here.
29463         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29464         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29466 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29468         [BZ #15215]
29469         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29470         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29471         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29472         * nptl/pthread_once.c (__pthread_once): Likewise.
29473         Update comments.
29475 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29477         [BZ #14138]
29478         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29479         name.
29480         (writev): Use __libc_writev as strong name.
29481         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29482         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29484 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29486         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29488         * sysdeps/i386/nptl/tls.h
29489         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29490         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29491         New macros.
29492         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29493         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29494         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29495         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29496         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29497         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29499         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29500         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29501         on [__NR_futex].
29502         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29503         broken out of ...
29504         (__pthread_mutex_init): ... here.  Call it.
29505         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29506         Conditionalize PI cases on [__NR_futex].
29507         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29508         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29509         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29511         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29512         conditional on [SIGSETXID].
29513         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29514         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29515         is defined.  Likewise for SIGSETXID.
29516         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29517         Conditionalize definitions on [SIGSETXID].
29518         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29519         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29520         unblocking on [SIGCANCEL].
29522         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29523         [__NR_set_robust_list].
29525 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29527         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29528         (do_compare): Likewise.
29530 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29532         [BZ #15884]
29533         * string/strcoll_l.c: Don't include stdio.h.
29534         (coll_seq): Remove members idxarr and rulearr.
29535         (get_next_seq_cached): Remove function.
29536         (get_next_seq): Likewise.
29537         (get_next_seq_nocache): Rename to get_next_seq.
29538         (do_compare): Remove function.
29539         (do_compare_nocache): Rename to do_compare.
29540         (STRCOLL): Remove weight and rules cache.
29542 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29544         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29545         * sysdeps/arm/sfp-machine.h: ... to here.
29546         * sysdeps/arm/Implies: Remove arm/soft-fp.
29548 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29550         * conform/data/sys/utsname.h-data (*_t): Allow.
29551         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29552         [POSIX] (WEXITED): Do not expect constant.
29553         [POSIX] (WSTOPPED): Likewise.
29554         [POSIX] (WNOHANG): Likewise.
29555         [POSIX] (WNOWAIT): Likewise.
29556         [POSIX] (siginfo_t): Do not expect type or elements.
29557         [POSIX] (pid_t): Do not expect type.
29558         [POSIX] (signal.h): Do not allow header.
29559         [POSIX] (sys/resource.h): Likewise.
29560         [POSIX] (si_*): Do not allow pattern.
29561         [POSIX] (W*): Likewise.
29562         [POSIX] (P_*): Likewise.
29563         [POSIX] (BUS_*): Likewise.
29564         [POSIX] (CLD_*): Likewise.
29565         [POSIX] (FPE_*): Likewise.
29566         [POSIX] (ILL_*): Likewise.
29567         [POSIX] (POLL_*): Likewise.
29568         [POSIX] (SEGV_*): Likewise.
29569         [POSIX] (SI_*): Likewise.
29570         [POSIX] (TRAP_*): Likewise.
29571         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29572         variable.
29574 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29576         [BZ #12926]
29577         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29578         infinite loop when __recvmsg returns 0.
29580 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29582         * CANCEL-FCT-WAIVE: Remove file.
29583         * CANCEL-FILE-WAIVE: Likewise.
29585         [BZ #14132]
29586         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29587         instead of INTVARDEF.
29588         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29589         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29590         rtld_hidden_data_def instead of INTVARDEF.
29591         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29592         * elf/dl-deps.c (expand_dst): Likewise.
29593         * elf/dl-load.c (_dl_dst_count): Likewise.
29594         (_dl_dst_substitute): Likewise.
29595         (decompose_rpath): Likewise.
29596         (_dl_init_paths): Likewise.
29597         (open_path): Likewise.
29598         (_dl_map_object): Likewise.
29599         * elf/rtld.c (dl_main): Likewise.
29600         (process_dl_audit): Likewise.
29601         (process_envvars): Likewise.
29602         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29603         Remove declaration.
29604         (__libc_enable_secure): Use rtld_hidden_proto.
29606 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29608         * elf/dl-load.c
29609         (add_path): New function broken out of _dl_rtld_di_serinfo.
29610         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29612 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29614         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29615         parentheses around macro arguments.
29616         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29617         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29618         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29619         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29620         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29621         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29622         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29623         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29624         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29625         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29626         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29627         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29628         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29629         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29630         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29631         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29632         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29633         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29634         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29635         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29636         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29637         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29638         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29639         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29640         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29641         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29642         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29643         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29645         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29646         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29647         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29648         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29649         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29650         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29651         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29652         Likewise.
29653         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29654         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29655         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29656         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29657         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29658         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29660         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29661         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29662         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29663         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29664         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29665         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29666         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29667         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29668         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29669         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29670         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29671         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29672         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29673         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29674         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29675         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29676         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29677         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29678         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29679         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29680         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29681         (_FP_FRAC_SRS_1): Likewise.
29682         (_FP_FRAC_CLZ_1): Likewise.
29683         (_FP_MUL_MEAT_1_imm): Likewise.
29684         (_FP_MUL_MEAT_1_wide): Likewise.
29685         (_FP_MUL_MEAT_1_hard): Likewise.
29686         (_FP_SQRT_MEAT_1): Likewise.
29687         (_FP_FRAC_ASSEMBLE_1): Likewise.
29688         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29689         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29690         (__FP_CLZ_2): Likewise.
29691         (_FP_MUL_MEAT_2_wide): Likewise.
29692         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29693         (_FP_MUL_MEAT_2_gmp): Likewise.
29694         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29695         (_FP_SQRT_MEAT_2): Likewise.
29696         (_FP_FRAC_ASSEMBLE_2): Likewise.
29697         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29698         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29699         (_FP_FRAC_CLZ_4): Likewise.
29700         (_FP_MUL_MEAT_4_wide): Likewise.
29701         (_FP_MUL_MEAT_4_gmp): Likewise.
29702         (_FP_SQRT_MEAT_4): Likewise.
29703         (_FP_FRAC_ASSEMBLE_4): Likewise.
29704         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29705         * soft-fp/op-common.h (_FP_CMP): Likewise.
29706         (_FP_CMP_EQ): Likewise.
29707         (_FP_CMP_UNORD): Likewise.
29708         (_FP_TO_INT): Likewise.
29709         (_FP_FROM_INT): Likewise.
29710         [!__FP_CLZ] (__FP_CLZ): Likewise.
29711         (_FP_DIV_HELP_imm): Likewise.
29712         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29713         Likewise.
29714         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29715         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29716         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29717         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29718         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29719         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29720         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29721         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29722         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29723         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29725         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29726         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29727         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29728         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29729         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29730         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29731         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29732         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29733         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29734         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29735         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29736         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29737         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29738         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29739         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29740         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29741         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29743         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29744         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29745         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29746         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29747         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29748         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29749         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29750         (FP_UNPACK_RAW_SP): Likewise.
29751         (FP_PACK_RAW_S): Likewise.
29752         (FP_PACK_RAW_SP): Likewise.
29753         (FP_UNPACK_S): Likewise.
29754         (FP_UNPACK_SP): Likewise.
29755         (FP_UNPACK_SEMIRAW_S): Likewise.
29756         (FP_UNPACK_SEMIRAW_SP): Likewise.
29757         (FP_PACK_S): Likewise.
29758         (FP_PACK_SP): Likewise.
29759         (FP_PACK_SEMIRAW_S): Likewise.
29760         (FP_PACK_SEMIRAW_SP): Likewise.
29761         (_FP_SQRT_MEAT_S): Likewise.
29762         (FP_CMP_S): Likewise.
29763         (FP_CMP_EQ_S): Likewise.
29764         (FP_CMP_UNORD_S): Likewise.
29765         (FP_TO_INT_S): Likewise.
29766         (FP_FROM_INT_S): Likewise.
29768         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29770         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29771         (FP_EX_INVALID_IMZ): Likewise.
29772         (FP_EX_INVALID_IMZ_FMA): Likewise.
29773         (FP_EX_INVALID_ISI): Likewise.
29774         (FP_EX_INVALID_ZDZ): Likewise.
29775         (FP_EX_INVALID_IDI): Likewise.
29776         (FP_EX_INVALID_SQRT): Likewise.
29777         (FP_EX_INVALID_CVI): Likewise.
29778         (FP_EX_INVALID_VC): Likewise.
29779         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29780         "invalid" exceptions.
29781         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29782         (_FP_ADD_INTERNAL): Likewise.
29783         (_FP_MUL): Likewise.
29784         (_FP_FMA): Likewise.
29785         (_FP_DIV): Likewise.
29786         (_FP_CMP_CHECK_NAN): Likewise.
29787         (_FP_SQRT): Likewise.
29788         (_FP_TO_INT): Likewise.
29789         (FP_EXTEND): Likewise.
29791 2014-10-09  Allan McRae  <allan@archlinux.org>
29793         * po/fr.po: Update French translation from translation project.
29795 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29797         [BZ #14132]
29798         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29799         of INTDEF.
29800         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29801         (__cxa_atexit): Use libc_hidden_proto.
29802         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29804         [BZ #14132]
29805         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29806         declaration.
29807         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29808         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29809         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29810         [!_ISOMAC] (__iswctype_internal): Likewise.
29811         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29812         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29813         alias.
29814         (fcntl): Remove __fcntl_internal alias.
29815         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29816         __connect_internal alias.
29817         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29818         Likewise.
29820         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29821         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29822         FP_DENORM_ZERO.
29823         (_FP_CHECK_FLUSH_ZERO): New macro.
29824         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29825         (_FP_CMP): Likewise.
29826         (_FP_CMP_EQ): Likewise.
29827         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29828         FP_DENORM_ZERO.
29829         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29830         (FP_TRUNC): Likewise.
29832         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29833         treated as invalid conversion, not as normal exponent.
29835         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29836         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29837         (_FP_CMP_EQ): Likewise.
29838         (_FP_CMP_UNORD): Likewise.
29839         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29840         (FP_CMP_EQ_D): Likewise.
29841         (FP_CMP_UNORD_D): Likewise.
29842         * soft-fp/extended.h (FP_CMP_E): Likewise.
29843         (FP_CMP_EQ_E): Likewise.
29844         (FP_CMP_UNORD_E): Likewise.
29845         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29846         (FP_CMP_EQ_Q): Likewise.
29847         (FP_CMP_UNORD_Q): Likewise.
29848         * soft-fp/single.h (FP_CMP_S): Likewise.
29849         (FP_CMP_EQ_S): Likewise.
29850         (FP_CMP_UNORD_S): Likewise.
29851         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29852         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29853         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29854         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29855         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29856         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29857         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29858         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29859         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29860         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29861         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29862         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29863         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29864         to FP_CMP_Q.
29865         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29866         FP_CMP_Q.
29867         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29868         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29869         FP_CMP_EQ_Q.
29870         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29871         FP_CMP_Q.
29872         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29873         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29874         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29875         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29876         FP_CMP_EQ_Q.
29877         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29878         FP_CMP_Q.
29879         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29880         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29881         FP_CMP_EQ_Q.
29882         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29883         FP_CMP_Q.
29884         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29885         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29886         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29887         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29888         FP_CMP_EQ_Q.
29890         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29891         a subnormal result, set the underflow exception if trapping on
29892         underflow is enabled.
29893         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29894         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29895         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29896         redefine to 0.
29897         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29898         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29899         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29900         * soft-fp/extendxftf2.c (__extendxftf2): Use
29901         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29903         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29904         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29905         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29906         FP_HANDLE_EXCEPTIONS.
29907         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29908         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29909         FP_HANDLE_EXCEPTIONS.
29910         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29911         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29912         FP_HANDLE_EXCEPTIONS.
29913         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29914         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29915         FP_HANDLE_EXCEPTIONS.
29917 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29919         [BZ #14132]
29920         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29921         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29922         use INTUSE.
29923         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29924         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29925         Remove alias.
29926         (__adjtimex): Define using libc_hidden_ver.
29927         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29928         Remove declaration.
29929         (ntp_gettime): Call __adjtimex directly.
29930         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29931         Remove declaration.
29932         (ntp_gettimex): Call __adjtimex directly.
29933         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29934         __adjtimex_internal alias.
29936 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29938         [BZ #17460]
29939         * nscd/nscd.c (more_help): Rewrite list of tables collection
29940         using xstrdup and asprintf.
29942         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29944 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29945             Roland McGrath  <roland@hack.frob.com>
29947         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29948         (do_lookup_unique): ... local function 'enter' here; update callers.
29950 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29952         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29953         compat_symbol calls on [SHARED].
29954         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29955         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29956         Remove.
29957         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29958         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29959         (oldsetrlimit): Remove.
29960         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29962         (lchown): New syscall entry.
29963         (oldsetrlimit): Remove.
29964         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29965         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29966         (oldsetrlimit): Remove.
29967         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29969         [BZ #14138]
29970         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29971         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29972         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29973         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29974         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29975         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29976         (fchown): Likewise.
29977         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29978         (fchown): Likewise.
29979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29980         Likewise.
29982 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29984         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29985         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29986         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29987         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29988         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29989         Likewise.
29990         (__old_sem_post): Likewise.
29992 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29994         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29995         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29996         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29997         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29998         Use INLINE_VSYSCALL macro.
29999         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30000         __vdso_clock_gettime.
30001         * sysdeps/unix/sysv/linux/tile/init-first.c
30002         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30003         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30004         __vdso_clock_gettime.
30006         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30007         to set up frame more cleanly.
30009         * sysdeps/tile/memcmp.c: New file.
30011         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30013         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30014         * sysdeps/tile/tilegx/strcasestr.c: New file.
30015         * sysdeps/tile/tilegx/strnlen.c: New file.
30016         * sysdeps/tile/tilegx/strstr.c: New file.
30018         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30020 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30022         * nptl/tst-setuid3.c: Write errors to stdout.
30024 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30026         * elf/dl-deps.c
30027         (preload): New functions broken out of _dl_map_object_deps.
30028         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30030 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30032         [BZ #14138]
30033         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30034         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30036 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30038         * sysdeps/mips/strcmp.S: New.
30040 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30042         [BZ #14138]
30043         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30044         (linkat): Likewise.
30045         (mkdirat): Likewise.
30046         (readlinkat): Likewise.
30047         (renameat): Likewise.
30048         (symlinkat): Likewise.
30049         (unlinkat): Likewise.
30050         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30051         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30052         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30053         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30054         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30055         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30056         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30058 2014-09-30  Will Newton  <will.newton@linaro.org>
30060         * math/math.h: Define long double math functions if
30061         _LIBC_TEST is defined.
30062         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30064         * localedata/Makefile: Move assignment to tests-special
30065         into an ifdef testing run-built-tests.
30066         * timezone/Makefile: Likewise.
30068 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30070         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30071         with $(BASH) not $(SHELL).
30073 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30074             Matthew LeGendre  <legendre1@llnl.gov>
30076         [BZ #17411]
30077         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30078         l_reloc_result.
30080 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30082         * stdio-common/printf_fp.c
30083         (hack_digit): New function, broken out of ...
30084         (__printf_fp): ... local function here.  Update call sites.
30085         hack_digit now takes an additional parameter that is a pointer
30086         to a struct of the referenced locals.  Those locals moved inside
30087         the struct and references updated.
30089 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30091         * aclocal.m4: Require autoconf 2.69.
30092         * configure: Regenerated.
30093         * sysdeps/aarch64/configure: Likewise.
30094         * sysdeps/alpha/configure: Likewise.
30095         * sysdeps/arm/armv7/configure: Likewise.
30096         * sysdeps/arm/configure: Likewise.
30097         * sysdeps/ia64/configure: Likewise.
30098         * sysdeps/mach/configure: Likewise.
30099         * sysdeps/mips/configure: Likewise.
30100         * sysdeps/s390/configure: Likewise.
30101         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30104         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30105         file.
30106         * sysdeps/ia64/configure.ac: Likewise.
30108 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30111         specify symbol version for ld.so.  Do not include entry for
30112         libpthread.
30113         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30114         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30115         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30117         [BZ #14171]
30118         * Makeconfig [$(build-shared) = yes]
30119         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30120         makefiles.
30121         [$(build-shared) = yes && $(soversions.mk-done) = t]
30122         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30123         [$(build-shared) = yes && $(soversions.mk-done) = t]
30124         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30125         to Makerules.
30126         [$(build-shared) = yes && $(soversions.mk-done) = t]
30127         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30128         here.
30129         [$(build-shared) = yes && $(soversions.mk-done) = t]
30130         (common-generated): Don't append gnu/lib-names.h and
30131         gnu/lib-names.stmp here.
30132         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30133         (lib-names-h-abi): New variable.
30134         [$(build-shared) = yes && $(soversions.mk-done) = t]
30135         (lib-names-stmp-abi): Likewise.
30136         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30137         abi-variants] (before-compile): Append
30138         $(common-objpfx)$(lib-names-h-abi).
30139         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30140         abi-variants] (common-generated): Append gnu/lib-names.h.
30141         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30142         abi-variants] (install-others-nosubdir): Depend on
30143         $(inst_includedir)/$(lib-names-h-abi).
30144         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30145         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30146         [$(build-shared) = yes && $(soversions.mk-done) = t]
30147         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30148         [$(build-shared) = yes && $(soversions.mk-done) = t]
30149         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30150         [$(build-shared) = yes && $(soversions.mk-done) = t]
30151         (common-generated): Append $(lib-names-h-abi) and
30152         $(lib-names-stmp-abi).
30153         * scripts/lib-names.awk: Do not handle multi being set.
30154         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30155         Remove variable.
30156         (abi-lp64_be-ld-soname): Likewise.
30157         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30158         Likewise.
30159         (abi-hard-ld-soname): Likewise.
30160         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30161         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30162         Remove variable.
30163         (abi-o32_hard-ld-soname): Likewise.
30164         (abi-o32_soft_2008-ld-soname): Likewise.
30165         (abi-o32_hard_2008-ld-soname): Likewise.
30166         (abi-n32_soft-ld-soname): Likewise.
30167         (abi-n32_hard-ld-soname): Likewise.
30168         (abi-n32_soft_2008-ld-soname): Likewise.
30169         (abi-n32_hard_2008-ld-soname): Likewise.
30170         (abi-n64_soft-ld-soname): Likewise.
30171         (abi-n64_hard-ld-soname): Likewise.
30172         (abi-n64_soft_2008-ld-soname): Likewise.
30173         (abi-n64_hard_2008-ld-soname): Likewise.
30174         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30175         Likewise.
30176         (abi-64-v2-ld-soname): Likewise.
30177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30178         ld.so entries.
30179         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30180         variable.
30181         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30182         entry.
30183         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30184         variable.
30185         (abi-64-ld-soname): Likewise.
30186         (abi-x32-ld-soname): Likewise.
30187         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30188         entry.
30189         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30191 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30193         [BZ #14138]
30194         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30195         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30196         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30197         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30198         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30199         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30200         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30201         syscall entry for GLIBC_2.2 symbol version.
30202         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30203         Likewise.
30204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30205         (setrlimit): Likewise.
30206         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30207         Likewise.
30209 2014-09-23  Will Newton  <will.newton@linaro.org>
30211         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30212         _LINUX_ARM_SYSDEP_H include guard too.
30213         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30214         define.
30216 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30218         * sysdeps/unix/sysv/linux/eventfd.c:
30219         Make first argument unsigned.
30220         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30221         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30223 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30225         [BZ #16852]
30226         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30227         * socket/sys/socket.h: Likewise.
30228         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30230 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30232         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30234 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30236         * time/tst-ftime.c: New test.
30237         * time/Makefile (tests): Add tst-ftime.
30239 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30241         * soft-fp/extended.h: Fix comment formatting.
30242         * soft-fp/op-1.h: Likewise.
30243         * soft-fp/op-2.h: Likewise.
30244         * soft-fp/op-4.h: Likewise.
30245         * soft-fp/op-8.h: Likewise.
30246         * soft-fp/op-common.h: Likewise.
30247         * soft-fp/soft-fp.h: Likewise.
30249         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30251 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30253         [BZ #6652]
30254         * Makeconfig (soversions-default-setname): Remove variable.
30255         ($(common-objpfx)soversions.i): Don't pass default_setname to
30256         soversions.awk.
30257         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30258         oldest_abi to abi-versions.awk.
30259         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30260         * config.make.in (oldest-abi): Remove variable.
30261         * configure.ac (--enable-oldest-abi): Remove configure option.
30262         * configure: Regenerated.
30263         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30264         text.
30265         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30266         * scripts/soversions.awk: Do not handle default_setname variable.
30267         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30268         variable.
30269         * sysdeps/mach/hurd/configure: Regenerated.
30270         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30271         variable.
30272         * sysdeps/unix/sysv/linux/configure: Regenerated.
30274 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30276         * elf/Makefile (CFLAGS-interp.c): Remove.
30277         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30278         path string.
30279         * elf/interp.c: Include generated runtime-linker.h
30281         * Makerules (lib%.so): Don't include $(+interp) in
30282         prerequisites.
30283         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30284         * dlfcn/eval.c: Remove file.
30286         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30287         macros.
30289         [BZ #17266]
30290         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30291         4.2 and newer.
30293         [BZ #17370]
30294         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30296 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30297             Jakub Jelinek  <jakub@redhat.com>
30299         [BZ #17266]
30300         * libio/stdio.h: Check definition of __fortify_function
30301         instead of __extern_always_inline to include bits/stdio2.h.
30302         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30303         check if __extern_always_inline is defined.
30304         [__USE_MISC || __USE_XOPEN]: Likewise.
30305         [__USE_ISOC99] Likewise.
30306         * misc/sys/cdefs.h (__fortify_function): Define only if
30307         __extern_always_inline is defined.
30308         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30309         __extern_always_inline and __extern_inline only for g++-4.3
30310         and newer or a compatible gcc.
30312 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30314         [BZ #17371]
30315         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30316         last change to handle zero prefix length.
30318 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30320         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30321         _SC_REGEX_VERSION.
30323         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30324         _POSIX_RAW_SOCKETS.
30326 2014-09-13  Allan McRae  <allan@archlinux.org>
30328         * po/ru.po: Update Russian translation from translation project.
30330 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30332         * locale/programs/locale.c (show_locale_vars): Inline local function
30333         into its sole call site.  Clean up some style nits.
30334         (print_item): New function, broken out of ...
30335         (show_info): ... local function here.  Clean up style nits.
30337         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30338         out of ...
30339         (set_class_defaults): ... local function set_default here.
30340         Define set_default as a macro locally to pass constant parameters.
30341         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30342         rather than a shared local.
30344         * stdlib/rpmatch.c (try): New function, broken out of ...
30345         (rpmatch): ... local function here.  Also, prototypify definition.
30347 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30349         * scripts/soversions.awk: Do not handle configuration names.
30350         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30351         vendor and os variables to soversions.awk.
30352         * configure.ac: Do not modify gnu-* host_os.
30353         * configure: Regenerated
30354         * shlib-versions: Remove first column with configuration names.
30355         * nptl/shlib-versions: Likewise.
30356         * nptl_db/shlib-versions: Likewise.
30357         * sysdeps/hppa/shlib-versions: Likewise.
30358         * sysdeps/m68k/shlib-versions: Likewise.
30359         * sysdeps/mach/hurd/shlib-versions: Likewise.
30360         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30361         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30362         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30363         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30364         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30365         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30366         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30367         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30369         Likewise.
30370         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30371         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30372         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30373         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30374         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30375         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30376         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30377         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30380         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30382         Regenerated.
30383         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30385         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30387         * shlib-versions: Remove OS-specific entries.  Moved to files in
30388         sysdeps.
30389         * sysdeps/mach/hurd/shlib-versions: New file.
30390         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30392         * nptl/shlib-versions: Remove architecture-specific entries.
30393         Moved to files in sysdeps.
30394         * shlib-versions: Likewise.
30395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30396         file.
30397         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30398         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30399         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30400         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30402         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30403         (UDP_NO_CHECK6_RX): Likewise.
30405 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30407         * sysdeps/posix/sysconf.c (__sysconf): Spell
30408         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30410 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30412         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30413         loading.
30414         * iconv/Versions (__gconv_transliterate): Export for use from
30415         gconv modules.
30416         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30417         (struct __gconv_trans_data, __gconv_trans_fct,
30418         __gconv_trans_context_fct, __gconv_trans_query_fct,
30419         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30420         definitions.
30421         (struct __gconv_step_data): Remove __trans member.
30422         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30423         longer hidden.  Remove unused trans_data argument.
30424         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30425         (__gconv_translit_find): Remove declaration.
30426         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30427         prototype.
30428         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30429         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30430         trans_data argument.  Add hidden definition.
30431         (__gconv_translit_find): Remove.
30432         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30433         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30434         * iconv/skeleton.c: Remove transliteration initialization.
30435         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30436         __gconv_step_data initialization.
30437         * libio/iofwide.c (__libio_translit_): Remove.
30438         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30439         * wcsmbs/btowc.c (__btowc): Likewise.
30440         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30441         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30442         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30443         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30444         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30445         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30446         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30447         * wcsmbs/wctob.c (wctob): Likewise.
30449 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30451         [BZ #16194]
30452         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30453         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30454         register usage.
30455         * sysdeps/x86/Makefile: Adjust.
30457 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30458             Roland McGrath  <roland@hack.frob.com>
30460         * locale/weight.h: Add include guard.
30461         (findidx): Make static rather than auto; take new parameters
30462         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30463         * locale/weightwc.h: Likewise.
30464         * posix/fnmatch_loop.c
30465         (FCT): Change type of EXTRA from int32_t to wint_t.
30466         Don't include either header inside the function.
30467         Call FINDIDX rather than findidx, and pass new arguments.
30468         #undef FINDIDX at the end of the file.
30469         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30470         FINDIDX before including fnmatch_loop.c for the non-wide version.
30471         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30472         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30473         for the wide version.
30474         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30475         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30476         Pass new arguments to findidx.
30477         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30478         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30479         Don't #include it inside the function.  Pass new arguments to findidx.
30480         * posix/regex_internal.h
30481         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30482         (re_string_elem_size_at): Don't #include it inside the function.
30483         Pass new arguments to findidx.
30484         * string/strcoll_l.c: #include WEIGHT_H at top level.
30485         (get_next_seq): Don't #include it inside the function.
30486         Pass new arguments to findidx.
30487         (get_next_seq_nocache): Likewise.
30488         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30489         (STRXFRM): Don't #include it inside the function.
30490         Pass new arguments to findidx.
30492 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30494         [BZ #17344]
30495         * malloc/malloc.c (unlink): Turn asserts into a call to
30496         malloc_printerr.
30498 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30500         [BZ #17370]
30501         * libio/wfileops (do_ftell_wide): Free OUT.
30503 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30505         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30507 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30509         [BZ #17363]
30510         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30511         group if the current group is empty.
30513 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30515         * benchtests/bench-memset.c (test_main): Add more test from size
30516         from 32 to 512 bytes.
30517         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30518         Add POWER8 memset object.
30519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30520         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30521         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30522         implementation.
30523         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30524         Likewise.
30525         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30526         multiarch POWER8 memset optimization.
30527         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30528         POWER8 memset optimization.
30530         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30531         Remove bzero multiarch objects.
30532         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30533         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30534         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30535         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30536         Remove define.
30537         [__bzero]: Redefine to specific name.
30538         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30539         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30540         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30541         define.
30542         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30543         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30545 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30547         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30548         warnings into errors.
30550         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30551         __cxa_thread_atexit_impl prototype.
30553 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30555         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30556         Fix capitalization of error message.
30558 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30560         * sysdeps/mips/preconfigure: Modify ABI tests.
30562 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30564         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30566 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30567             Carlos O'Donell  <carlos@systemhalted.org>
30569         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30570         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30571         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30572         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30573         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30574         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30575         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30576         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30577         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30578         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30579         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30580         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30581         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30582         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30583         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30584         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30585         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30586         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30587         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30588         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30589         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30590         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30591         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30592         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30593         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30594         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30595         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30596         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30597         Deconditionalize the code that was previously under [RESET_PID].
30598         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30599         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30600         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30601         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30602         include sysdep.h.
30604 2014-09-08  Allan McRae  <allan@archlinux.org>
30606         * version.h (RELEASE): Set to "development".
30607         (VERSION): Set to "2.20.90"
30609 2014-09-07  Allan McRae  <allan@archlinux.org
30611         * version.h (RELEASE): Set to "stable".
30612         (VERSION): Set to "2.20"
30613         * include/features.h (__GLIBC_MINOR__): Set to 20.
30615         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30616         Liebler.
30618         * po/ko.po: Update Korean translation from translation project.
30620 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30622         [BZ #17354]
30623         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30624         macro for handling signed relocations.
30626 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30628         [BZ #17325]
30629         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30630         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30631         assert.
30632         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30633         * iconvdata/ibm935.c (BODY): Likewise.
30634         * iconvdata/ibm937.c (BODY): Likewise.
30635         * iconvdata/ibm939.c (BODY): Likewise.
30636         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30637         assert.
30638         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30639         script.
30640         * iconvdata/run-iconv-test.sh: New test loop for checking for
30641         decoder crashers.
30643 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30645         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30646         libm_hidden_ver.
30648 2014-09-01  Allan McRae  <allan@archlinux.org>
30650         * po/eo.po: Update Esperanto translation from translation project.
30652         * po/ca.po: Update Catalan translation from translation project.
30654 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30656         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30657         __proc_dostop call.
30659 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30661         [BZ #17319]
30662         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30663         to call set_thread_area instead of hand written asm.
30664         (__NR_set_thread_area): Removed define.
30665         (TLS_FLAG_WRITABLE): Likewise.
30666         (__ASSUME_SET_THREAD_AREA): Remove check.
30667         (TLS_EBX_ARG): Remove define.
30668         (TLS_LOAD_EBX): Likewise.
30670 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30672         Simplify atomicity of socket creation in bind.
30674         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30675         looking up the name after linking the file.
30677 2014-08-27  Allan McRae  <allan@archlinux.org>
30679         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30681 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30683         [BZ #17187]
30684         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30685         trans_compare, open_translit, __gconv_translit_find):
30686         Remove module loading code.
30688 2014-08-26  Allan McRae  <allan@archlinux.org>
30690         * po/vi.po: Update Vietnamese translation from translation project.
30692         * po/uk.po: Update Ukrainian translation from translation project.
30694         * po/fr.po: Update French translation from translation project.
30696         * po/ru.po: Update Russian translation from translation project.
30698         * po/pl.po: Update Polish translation from translation project.
30700         * po/cs.po: Update Czech translation from translation project.
30702         * po/de.po: Update German translation from translation project.
30704         * po/bg.po: Update Bulgarian translation from translation project.
30706         * po/sv.po: Update Sweedish translation from translation project.
30708         * po/nl.po: Update Dutch translation from translation project.
30710         * po/es.po: Update Spanish translation from translation project.
30712 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30714         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30716         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30717         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30718         (CPPFLAGS-iconvconfig): Likewise.
30719         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30721         * include/libc-symbols.h: Remove unnecessary check for
30722         NOT_IN_libc.
30723         * nptl/pthreadP.h: Likewise.
30724         * sysdeps/aarch64/setjmp.S: Likewise.
30725         * sysdeps/alpha/setjmp.S: Likewise.
30726         * sysdeps/arm/sysdep.h: Likewise.
30727         * sysdeps/i386/setjmp.S: Likewise.
30728         * sysdeps/m68k/setjmp.c: Likewise.
30729         * sysdeps/posix/getcwd.c: Likewise.
30730         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30731         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30732         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30733         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30734         * sysdeps/sh/sh3/setjmp.S: Likewise.
30735         * sysdeps/sh/sh4/setjmp.S: Likewise.
30736         * sysdeps/unix/alpha/sysdep.h: Likewise.
30737         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30738         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30739         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30740         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30743         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30744         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30745         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30746         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30747         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30748         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30750         * sysdeps/x86_64/setjmp.S: Likewise.
30752 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30754         [BZ #17263]
30755         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30756         <stdint.h>.
30757         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30758         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30760 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30762         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30764         [BZ #17262]
30765         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30766         and __x86_64__ when disabling x87 inline functions.
30768 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30770         [BZ #17259]
30771         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30772         asm statement with __cpuid_count.
30774 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30776         * configure.ac: Change __ehdr_start code to dereference the struct.
30777         Run readelf on the output to look for relocations.
30778         * configure: Regenerated.
30780 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30782         [BZ #17261]
30783         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30784         value to 0.
30785         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30787 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30789         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30791 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30793         [BZ #16892]
30794         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30795         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30797 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30799         * malloc/malloc.c: Fix typo in comment.
30801 2014-08-09  Allan McRae  <allan@archlinux.org>
30803         * Regenerate libc.po.
30805 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30807         * intl/tst-gettext2.sh: Check every lang file for creation.
30809 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30811         * sysdeps/aarch64/fpu/math_private.h
30812         (libc_feholdsetround_noex_aarch64_ctx): New function.
30814 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30816         * sysdeps/arm/armv6/strcpy.S (strcpy):
30817         Fix performance issue in misaligned cases.
30819 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30821         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30822         Move definition from termios.h.
30823         (struct termio): Likewise.
30824         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30825         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30826         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30827         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30828         Likewise.
30829         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30830         Move definition to ioctl-types.h
30831         (struct termio): Likewise.
30832         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30833         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30834         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30835         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30836         Likewise.
30838 2014-08-05  Richard Henderson  <rth@redhat.com>
30840         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30841         exceptions.
30842         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30843         Add fraiseexcpt.
30844         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30845         Use __feraiseexcept.
30846         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30847         Protect libm symbols with IS_IN_libm.
30849         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30851 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30853         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30855 2014-08-04  Will Newton  <will.newton@linaro.org>
30857         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30858         file.
30860 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30862         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30863         variants for each function.
30865 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30867         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30868         appended ...
30869         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30870         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30871         appended ...
30872         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30873         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30874         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30875         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30876         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30877         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30878         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30879         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30880         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30881         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30882         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30883         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30884         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30885         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30886         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30887         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30888         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30889         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30890         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30891         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30892         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30893         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30894         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30895         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30896         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30897         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30898         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30899         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30900         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30901         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30902         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30903         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30904         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30905         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30906         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30907         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30908         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30909         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30910         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30911         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30912         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30913         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30914         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30915         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30916         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30917         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30918         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30919         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30920         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30921         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30922         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30923         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30924         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30925         Update #include.
30926         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30927         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30929 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30931         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30932         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30933         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30934         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30935         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30936         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30938 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30940         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30941         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30942         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30943         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30945 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30947         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30948         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30949         (__libc_vfork): Define function under this name.
30950         (__vfork): Define as an alias.
30951         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30952         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30954 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30956         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30957         that was previously under [RESET_PID].
30958         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30960 2014-08-04  Andreas Schwab  <schwab@suse.de>
30962         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30964 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30966         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30967         (main): Likewise.
30969 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30971         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30973 2014-08-01  Richard Henderon  <rth@redhat.com>
30975         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30976         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30977         typo in exact zero test.
30978         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30979         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30980         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30982 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30984         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30985         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30986         * sysdeps/arm/sysdep.h: ... here.
30987         [!__ASSEMBLER__]: Include <stdint.h>.
30989 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30991         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30992         (HAVE_WCTYPE_H): Likewise.
30993         (HAVE_ISWCTYPE): Likewise.
30994         (ENABLE_NLS): Likewise.
30995         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30996         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30998         * posix/regex_internal.c: Check if DEBUG is defined and is
30999         set.
31001         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31002         (HAVE_MBSRTOWCS): Likewise.
31003         * posix/fnmatch.c: Include string.h unconditionally.
31005 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31007         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31008         reversal.
31010 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31012         * sysdeps/generic/safe-fatal.h: New file.
31013         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31014         * nptl/forward.c: Include it.
31015         (__pthread_unwind): Use __safe_fatal as default action, rather
31016         than a bogus use of INTERNAL_SYSCALL that could never work.
31018         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31019         * configure.ac (libc_cv_builtin_trap): New test.
31020         * configure: Regenerated.
31021         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31022         (ABORT_INSTRUCTION): Define using __builtin_trap.
31024         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31025         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31026         * sysdeps/nptl/nptl-signals.h: New file.
31027         * nptl/pthreadP.h: Include <nptl-signals.h>.
31029 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31031         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31032         (ONE_DIRECTION): Define.
31033         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31034         (ONE_DIRECTION): Define.
31035         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31036         (ONE_DIRECTION): Define.
31038 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31040         * sysdeps/s390/Makefile: Delete file.
31041         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31042         * sysdeps/s390/__longjmp.c: Delete file.
31043         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31044         Remove fields __flags and __reserved.
31045         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31046         and add versioning.
31047         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31048         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31049         * sysdeps/s390/rtld-setjmp.S: Likewise.
31050         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31051         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31052         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31053         * sysdeps/s390/s390-32/setjmp.S: ... here.
31054         Add versioning.
31055         (__sigsetjmp): Remove setting __flags field.
31056         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31057         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31058         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31059         * sysdeps/s390/s390-64/setjmp.S: ... here.
31060         Add versioning.
31061         (__sigsetjmp): Remove setting __flags field.
31062         * sysdeps/s390/setjmp.S: Delete file.
31063         * sysdeps/s390/sigjmp.c: Likewise.
31064         * sysdeps/s390/v1-longjmp.c: Likewise.
31065         * sysdeps/s390/v1-setjmp.h: Likewise.
31066         * sysdeps/s390/v1-sigjmp.c: Likewise.
31067         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31068         Remove v1-longjmp_chk.
31069         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31070         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31071         Include debug/longjmp_chk.c and add versioning.
31072         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31073         Include nptl/pt-longjmp.c and add versioning.
31074         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31075         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31076         Include __longjmp.c.
31077         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31078         Move to ...
31079         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31080         (__getcontext): Remove setting __flags field.
31081         Add versioning.
31082         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31083         Don't restore upper high grps.
31084         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31085         Likewise.
31086         (__swapcontext): Remove setting uc_flags field.
31087         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31088         Delete file.
31089         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31090         Include __longjmp.c.
31091         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31092         Move to ...
31093         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31094         (__getcontext): Remove setting __flags field.
31095         Add versioning.
31096         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31097         (__swapcontext): Remove setting uc_flags field.
31098         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31099         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31100         Remove fields uc_high_gprs and __reserved.
31101         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31102         New file with reverted content.
31103         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31104         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31105         Regenerated.
31106         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31107         Regenerated.
31109 2014-07-31  Andreas Schwab  <schwab@suse.de>
31111         * config.h.in (HAVE_IFUNC): Define to 0.
31112         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31113         definedness.
31115 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31117         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31118         memmove-avx-unaligned, memcpy-avx-unaligned and
31119         mempcpy-avx-unaligned.
31120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31121         Add tests for AVX memcpy functions.
31122         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31123         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31124         memcpy_chk.
31125         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31126         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31127         memmove_chk.
31128         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31129         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31130         mempcpy_chk.
31131         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31132         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31133         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31135 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31137         [BZ #17213]
31138         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31139         powerpc64le.
31141 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31143         [BZ #16839]
31144         * manual/llio.texi: Add section about open file description locks.
31145         * manual/examples/ofdlocks.c: Example of open file description
31146         lock usage.
31147         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31148         F_OFD_SETLK, and F_OFD_SETLKW.
31150 2014-07-23  Allan McRae  <allan@archlinux.org>
31152         * po/es.po: Update Spanish translation from translation project.
31154 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31156         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31158 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31160         [BZ #17078]
31161         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31162         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31163         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31165 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31167         [BZ #17088]
31168         * math/fesetenv.c (__fesetenv)
31169         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31170         * math/feupdateenv.c (__feupdateenv)
31171         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31173         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31174         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31175         (__ASSUME_SOCKETCALL): Do not define.
31177         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31178         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31179         (__ASSUME_SOCKETCALL): Do not define.
31180         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31181         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31182         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31183         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31184         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31185         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31187         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31189         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31190         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31191         (__ASSUME_SOCKETCALL): Do not define.
31192         (__ASSUME_IPC64): Define unconditionally.
31193         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31194         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31195         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31196         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31197         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31198         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31199         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31200         Likewise.
31202         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31203         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31204         (__ASSUME_SOCKETCALL): Do not define.
31205         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31206         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31207         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31208         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31209         (__ASSUME_REQUEUE_PI): Define unconditionally.
31210         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31211         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31212         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31213         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31214         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31215         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31217         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31218         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31219         (__ASSUME_SOCKETCALL): Do not define.
31220         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31221         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31222         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31223         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31224         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31225         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31227         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31228         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31229         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31230         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31231         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31232         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31233         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31234         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31235         (__ASSUME_GETCPU_SYSCALL): Likewise.
31237         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31238         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31239         cases for individual architectures.
31240         * sysdeps/gnu/configure: Regenerated.
31241         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31242         LIBC_SLIBDIR_RTLDDIR.
31243         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31244         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31245         LIBC_SLIBDIR_RTLDDIR.
31246         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31248         LIBC_SLIBDIR_RTLDDIR.
31249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31250         Regenerated.
31251         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31252         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31253         file.
31254         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31255         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31256         file.
31257         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31258         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31259         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31260         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31262         * sysdeps/aarch64/shlib-versions: Move to ...
31263         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31264         * sysdeps/alpha/shlib-versions: Move to ...
31265         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31266         * sysdeps/arm/shlib-versions: Move to ...
31267         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31268         * sysdeps/hppa/shlib-versions: Move all contents except for
31269         libgcc_s entry to ...
31270         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31271         entry from ...
31272         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31273         * sysdeps/ia64/shlib-versions: Move to ...
31274         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31275         entry from ...
31276         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31277         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31278         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31279         * sysdeps/microblaze/shlib-versions: Move to ...
31280         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31281         * sysdeps/mips/shlib-versions: Move to ...
31282         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31283         entry from ...
31284         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31285         * sysdeps/tile/shlib-versions: Move to ...
31286         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31287         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31288         from ...
31289         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31290         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31291         entry from ...
31292         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31294 2014-07-17  Will Newton  <will.newton@linaro.org>
31296         * sysdeps/arm/bits/atomic.h
31297         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31298         (__arch_compare_and_exchange_bool_16_int): Likewise.
31299         (__arch_compare_and_exchange_bool_64_int): Likewise.
31301         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31302         into an #else block.
31304 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31306         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31307         just Linux configurations.  Test empirically that the compiler sets
31308         __ARM_EABI__, rather than using the tuple to decide.
31309         * sysdeps/arm/preconfigure: Regenerated.
31310         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31311         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31312         contents appended ...
31313         * sysdeps/arm/configure.ac: ... here.
31314         * sysdeps/arm/configure: Regenerated.
31316 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31318         * nptl/pthread_kill.c: New file.
31319         * nptl/pthread_sigmask.c: New file.
31320         * nptl/pthread_sigqueue.c: New file.
31322         * sysdeps/nptl/lowlevellock.h: New file.
31323         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31324         * sysdeps/nptl/lowlevellock-futex.h: New file.
31326         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31327         Remove dead declarations.
31329 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31331         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31332         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31333         config-cflags-avx2.
31334         * sysdeps/x86_64/configure.ac: Likewise.
31335         * sysdeps/i386/configure: Regenerated.
31336         * sysdeps/x86_64/configure: Likewise.
31337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31338         memset-avx2 only if config-cflags-avx2 is yes.
31339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31340         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31341         defined.
31342         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31343         only if HAVE_AVX2_SUPPORT is defined.
31344         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31346 2014-07-14  Alan Modra  <amodra@gmail.com>
31348         [BZ #17153]
31349         * elf/elf.h (DT_PPC64_NUM): Correct value.
31350         * NEWS: Add to fixed bug list.
31352 2014-07-13  Jim Meyering  <meyering@fb.com>
31354         [BZ 17150]
31355         regex: don't deref NULL upon heap allocation failure
31356         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31357         failure in one more place.
31358         To trigger the segfault, configure grep -with-included-regex,
31359         build it, and run these commands:
31360         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31362 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31364         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31366 2014-07-11  Richard Henderson  <rth@redhat.com>
31368         * sysdeps/aarch64/libm-test-ulps: Update.
31370 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31372         [BZ #17135]
31373         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31374         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31375         (__nptl_setxid): Initialize error member.  Call
31376         __nptl_setxid_error.
31377         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31378         * nptl/descr.h (struct xid_command): Add error member.
31379         * nptl/tst-setuid3.c: New file.
31380         * nptl/Makefile (tests): Add it.
31382 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31384         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31385         New define.
31386         (__lll_trylock): Use __lll_base_trylock.
31387         (__lll_cond_trylock): Likewise.
31389 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31391         * nptl/pthread_create.c (start_thread): Use atomic_or and
31392         lll_futex_wake directly rather than lll_robust_dead.
31393         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31394         (lll_robust_dead): Macro removed.
31395         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31396         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31397         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31398         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31399         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31400         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31401         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31402         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31403         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31404         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31405         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31406         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31407         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31408         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31409         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31411         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31412         Use atomic_compare_and_exchange_val_acq directly rather than
31413         lll_robust_trylock.
31414         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31415         (__lll_robust_trylock, lll_robust_trylock): Removed.
31416         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31417         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31418         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31419         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31420         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31421         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31422         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31423         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31424         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31425         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31426         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31427         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31428         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31429         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31431 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31433         * manual/locale.texi (Locale Names): New section documenting
31434         locale name syntax.  Adjust menu and node chaining accordingly.
31435         (Choosing Locale): Reference Locale Names, Locale Categories.
31436         Mention setting LC_ALL=C.  Reflect that name syntax is now
31437         documented.
31438         (Locale Categories): New section title.  Reference Locale Names.
31439         LC_ALL is an environment variable, but not a category.
31440         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31441         description, now in Locale Name.  Reference that section.  Locale
31442         name syntax is now documented.
31444 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31446         [BZ #17137]
31447         * locale/findlocale.c (name_present, valid_locale_name): New
31448         functions.
31449         (_nl_find_locale): Use the loc_name variable to store name
31450         candidates.  Call name_present and valid_locale_name to check and
31451         validate locale names.  Return an error if the locale is invalid.
31453 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31455         * locale/setlocale.c (setlocale): Use strdup for allocating
31456         composite name copy.
31458 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31460         Sync up with gnulib.
31461         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31462         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31463         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31464         and _GL_ARG_NONNULL.
31465         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31466         [!_LIBC]: Include code for Windows and Cygwin.
31467         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31468         Include prototype for int strerror_r.
31469         [!_LIBC] (is_open): New function.
31470         (flush_stdout): New function.
31471         (print_errno_message): Use it.
31472         (error): Likewise.
31473         (error_at_line): Likewise.
31474         (error_tail) Add function attribute macros.  Use
31475         __builtin_expect.
31477         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31479         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31481         * io/ftw.c: Include sys/param.h unconditionally.
31483         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31485         [BZ #17125]
31486         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31487         libc_freeres_ptr.
31488         (freecache): New function to free CACHE on exit.
31490         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31491         initialization.
31493 2014-07-09  David S. Miller  <davem@davemloft.net>
31495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31497         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31498         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31499         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31500         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31501         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31502         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31503         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31504         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31505         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31506         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31507         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31508         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31509         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31511 2014-07-09  Andreas Schwab  <schwab@suse.de>
31513         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31514         output.
31515         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31516         (do_test): Likewise.
31518         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31520 2014-07-09  Will Newton  <will.newton@linaro.org>
31522         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31523         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31524         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31525         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31526         * sysdeps/hppa/start.S (_start): Likewise.
31528 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31530         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31532         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31533         defined.
31535 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31537         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31538         after checking that it is non-NULL.
31540         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31542 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31544         * sysdeps/powerpc/memmove.c: Remove file.
31545         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31546         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31547         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31548         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31549         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31550         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31551         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31552         string memmove instead of removed powerpc one.
31554         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31555         [weak_alias]: Fix compiler warning due trailing data.
31556         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31557         [weak_alias]: Likewise.
31558         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31559         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31562         (__libc_ifunc_impl_list): Add memmove functions.
31564 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31566         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31567         Remove code.
31568         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31569         Likewise.
31570         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31571         Likewise.
31572         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31573         Likewise.
31574         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31575         Likewise.
31576         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31577         Likewise.
31578         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31579         Likewise.
31580         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31581         Likewise.
31582         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31583         Likewise.
31584         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31585         Likewise.
31586         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31587         Likewise.
31588         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31589         Likewise.
31590         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31591         Likewise.
31592         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31593         Likewise.
31594         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31595         Likewise.
31596         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31597         Likewise.
31598         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31599         Likewise.
31601 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31603         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31604         to avoid alignment traps in non-cacheable memory.
31605         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31608         multiarch objects.
31609         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31610         file: multiarch power7 memmove.
31611         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31612         multiarch default memmove.
31613         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31614         multiarch memove for powerpc32/power4.
31616         * string/bcopy.c: Use full path to include memmove.c.
31617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31618         multiarch objects.
31619         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31620         bcopy for powerpc64.
31621         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31622         bcopy for powerpc64.
31623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31624         and memmove implementations.
31625         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31626         optimized multiarch memmove for POWER7/powerpc64.
31627         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31628         default multiarch memmove for powerpc64.
31629         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31630         multiarch for powerpc64.
31631         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31632         for POWER7/powerpc64.
31633         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31634         memmove for POWER7/powerpc64.
31636         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31637         glibc default one.
31639         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31640         __ELF_NATIVE_CLASS equal to 64.
31642 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31644         * sysdeps/nptl/lowlevellock.h: File removed.
31646         * NEWS: NPTL is no longer an add-on!
31647         * nptl/internaltypes.h: Moved ...
31648         * sysdeps/nptl/internaltypes.h: ... here.
31649         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31650         * sysdeps/nptl/fork.c: Likewise.
31651         * sysdeps/nptl/gai_misc.h: Likewise.
31652         * sysdeps/nptl/librt-cancellation.c: Likewise.
31653         * sysdeps/nptl/jmp-unwind.c: Likewise.
31654         * sysdeps/nptl/setxid.h: Likewise.
31655         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31656         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31657         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31658         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31659         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31660         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31661         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31662         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31663         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31664         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31665         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31666         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31667         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31668         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31669         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31670         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31671         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31672         * nptl/Makeconfig: Moved ...
31673         * sysdeps/nptl/Makeconfig: ... here.
31674         * nptl/configure: File removed.
31675         * nptl/ANNOUNCE: File removed.
31676         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31677         * sysdeps/unix/sysv/linux/configure: Regenerated.
31679         * nptl/Makefile (routines): Add libc_pthread_init,
31680         libc_multiple_threads, register-atfork and unregister-atfork.
31681         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31682         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31683         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31684         pthread-pi-defines.sym, structsem.sym.
31685         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31686         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31687         [$(subdir) = nptl] (tests): Add tst-setgetname.
31688         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31689         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31690         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31691         [!LIBC_SIGACTION]: Remove aliases.
31692         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31693         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31694         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31695         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31696         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31697         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31698         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31699         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31700         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31701         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31702         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31703         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31704         __libc_allocate_rtsig_private.
31705         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31706         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31707         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31708         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31709         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31710         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31711         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31712         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31713         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31714         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31715         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31716         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31717         * nptl/internaltypes.h: ... here.
31718         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31719         * sysdeps/nptl/jmp-unwind.c: ... here.
31720         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31721         * nptl/libc-lowlevellock.c: ... here.
31722         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31723         * nptl/libc_multiple_threads.c: ... here.
31724         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31725         * nptl/libc_pthread_init.c: ... here.
31726         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31727         * nptl/lowlevelbarrier.sym: ... here.
31728         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31729         * nptl/lowlevelcond.sym: ... here.
31730         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31731         * nptl/lowlevellock.c: ... here.
31732         * nptl/lowlevellock.h: Moved ...
31733         * sysdeps/nptl/lowlevellock.h: ... here.
31734         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31735         * nptl/lowlevelrobustlock.c: ... here.
31736         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31737         * nptl/lowlevelrobustlock.sym: ... here.
31738         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31739         * nptl/lowlevelrwlock.sym: ... here.
31740         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31741         * nptl/pt-fork.c: ... here.
31742         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31743         * nptl/pthread-pi-defines.sym: ... here.
31744         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31745         * nptl/pthread_attr_getaffinity.c: ... here.
31746         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31747         * nptl/pthread_attr_setaffinity.c: ... here.
31748         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31749         * nptl/pthread_mutex_cond_lock.c: ... here.
31750         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31751         Update #include.
31752         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31753         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31754         * nptl/pthread_once.c: ... here, replacing old file.
31755         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31756         * nptl/pthread_yield.c: ... here.
31757         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31758         * nptl/register-atfork.c: ... here.
31759         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31760         * nptl/sem_post.c: ... here.
31761         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31762         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31763         * nptl/sem_timedwait.c: ... here.
31764         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31765         * nptl/sem_trywait.c: ... here.
31766         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31767         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31768         * nptl/sem_wait.c: ... here.
31769         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31770         * nptl/structsem.sym: ... here.
31771         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31772         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31773         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31774         * nptl/unregister-atfork.c: ... here.
31775         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31776         * nptl/unwindbuf.sym: ... here.
31777         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31778         * sysdeps/nptl/fork.c: ... here.
31779         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31780         * sysdeps/nptl/fork.h: ... here.
31781         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31782         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31783         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31784         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31785         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31786         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31787         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31788         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31789         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31790         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31791         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31792         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31793         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31794         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31795         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31796         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31797         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31798         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31799         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31800         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31801         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31802         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31803         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31804         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31805         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31806         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31807         * sysdeps/unix/sysv/linux/raise.c: ... here.
31808         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31809         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31810         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31811         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31812         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31813         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31814         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31815         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31816         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31817         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31818         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31819         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31820         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31821         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31822         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31824 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31826         * sysdeps/generic/memcopy.h: Add comment for
31827         MEMCPY_OK_FOR_FWD_MEMMOVE.
31829 2014-07-04  Will Newton  <will.newton@linaro.org>
31831         * string/memchr.c: Merge from gnulib.
31832         [_LIBC]: Remove conditionals.
31833         (__ptr_t): Remove define.
31834         (LONG_MAX_32_BITS): Likewise.
31835         (LONG_MAX): Likewise.
31836         (MEMCHR): Use ANSI prototype and optimize algorithm.
31838         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31840 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31842         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31843         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31845         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31846         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31847         in a bare environment with no <stdlib.h> installed.
31848         * sysdeps/nptl/configure: Regenerated.
31850         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31852         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31853         AC_EGREP_CPP for kernel header checks, so they only succeed if
31854         including <linux/version.h> actually works right.
31855         * sysdeps/unix/sysv/linux/configure: Regenerated.
31857         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31858         value so it's not diagnosed as unused.
31860         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31861         thing) with "ifeq ($(subdir),rt)".
31863 2014-07-03  Richard Henderson  <rth@redhat.com>
31865         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31866         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31867         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31869         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31870         (math_force_eval): New.
31872         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31873         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31875         * sysdeps/alpha/fpu/s_round.c: Remove file.
31876         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31878         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31879         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31880         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31881         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31882         (_dl_start, print_statistics): Likewise.
31883         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31884         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31886         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31887         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31888         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31889         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31890         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31891         (HP_SMALL_TIMING_AVAIL): Define.
31892         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31893         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31894         (HP_SMALL_TIMING_AVAIL): Define.
31895         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31896         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31898         * sysdeps/aarch64/hp-timing.h: New file.
31900         * sysdeps/generic/hp-timing.h: Remove dead comment.
31901         * sysdeps/generic/hp-timing-common.h: New file.
31902         * sysdeps/alpha/hp-timing.h: Include it.
31903         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31904         * sysdeps/i386/i686/hp-timing.h: Likewise.
31905         * sysdeps/ia64/hp-timing.h: Likewise.
31906         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31907         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31908         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31909         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31910         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31911         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31912         (hp_timing_t): New.
31914         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31915         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31916         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31917         * elf/rtld.c (_dl_start_final): Likewise.
31918         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31919         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31920         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31921         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31922         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31923         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31924         (HP_TIMING_DIFF_INIT): Remove.
31925         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31926         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31927         (HP_TIMING_DIFF_INIT): Remove.
31928         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31929         * sysdeps/i386/i686/hp-timing.c: Remove file.
31930         * sysdeps/x86_64/hp-timing.c: Remove file.
31931         * sysdeps/ia64/hp-timing.c: Remove file.
31932         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31933         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31934         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31935         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31937         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31938         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31939         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31940         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31942         (HP_TIMING_ACCUM): Remove.
31943         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31944         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31945         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31947         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31948         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31949         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31950         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31951         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31952         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31953         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31954         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31956         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31958 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31960         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31962 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31964         Sync up with gettext.
31965         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31966         [_MSC_VER]: Include malloc.h
31967         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31968         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31969         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31970         TEMP_FAILURE_RETRY.  Cast return of alloca.
31971         [!_LIBC] Call gl_rwlock_init.
31972         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31974 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31976         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31977         before checking its value.
31979 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31981         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31983         * debug/memcpy_chk.c: Don't include pagecopy.h.
31984         * debug/mempcpy_chk.c: Likewise.
31985         * string/memcpy.c: Likewise.
31986         * string/memmove.c: Likewise.
31987         * sysdeps/powerpc/memmove.c: Likewise.
31988         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31989         definition of PAGE_COPY_FWD_MAYBE here...
31990         * sysdeps/generic/pagecopy.h: ... from here.
31991         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31993 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31994             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31996         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31998         optimizations.
31999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32000         (__libc_ifunc_impl_list): Likewise.
32001         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32002         multiarch strcat for PPC64.
32003         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32004         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32006 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32008         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32010 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32012         * intl/loadmsgcat.c: Remove declaration of
32013         get_sysdep_segment_value.
32014         (get_sysdep_segment_value): Use ISO C style.
32015         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32016         semicolon.  Fix typo and formatting in comment.
32017         (_nl_unload_domain): Use ISO C style.
32019         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32021 2014-07-02  Will Newton  <will.newton@linaro.org>
32023         * malloc/obstack.c: Merge from gnulib master.
32024         [HAVE_CONFIG_H]: Remove conditional code.
32025         [!_LIBC]: Include config.h.
32026         [!ELIDE_CODE]: Don't include inttypes.h, include
32027         stdint.h unconditionally.
32028         (print_and_abort): Mark as _Noreturn.
32029         (_obstack_allocated_p): Mark as __attribute_pure__.
32030         (obstack_free): Rename to __obstack_free.
32031         [!__attribute__]: Remove conditional code.
32032         * malloc/obstack.h: Merge from gnulib master.
32033         [__cplusplus]: Move conditional down.
32034         [!__attribute_pure__]: Define __attribute_pure__ here
32035         if it is not already defined.
32036         (_obstack_memory_used): Mark as __attribute_pure__.
32037         [!__obstack_free]: Define as obstack_free.
32038         [__GNUC__]: Remove check for ancient NeXT gcc.
32040 2014-07-02  Will Newton  <will.newton@linaro.org>
32041             Paul Eggert  <eggert@cs.ucla.edu>
32043         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32045 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32047         * resolv/gethnamaddr.c: Add comment warning that the file is
32048         not maintained.
32050 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32052         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32053         entries.
32055         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32056         entry for aio_cancel and aio_cancel64.
32057         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32058         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32059         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32060         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32061         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32062         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32063         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32064         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32065         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32066         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32067         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32068         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32069         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32071 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32073         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32074         * nptl/pthread_mutex_lock.c: Likewise.
32075         * nptl/pthread_mutex_timedlock.c: Likewise.
32076         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32078 2014-07-01  Richard henderson  <rth@redhat.com>
32080         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32081         (__isnan, __isnanl): Remove.
32082         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32084         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32086 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32088         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32090 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32092         * resolv/nss_dns/dns-host.c (getanswer_r)
32093         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32095 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32097         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32098         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32099         undefine.
32100         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32101         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32103 2014-07-01  Roland McGrath <roland@hack.frob.com>
32105         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32106         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32108         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32109         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32111         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32112         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32113         ... here.
32114         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32115         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32117         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32118         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32119         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32120         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32122         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32123         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32124         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32125         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32126         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32127         Moved ...
32128         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32129         ... here.
32130         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32131         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32132         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32133         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32134         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32135         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32136         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32137         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32138         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32139         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32140         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32141         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32142         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32143         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32144         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32145         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32146         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32147         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32148         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32149         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32150         ... here.
32151         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32152         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32153         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32154         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32155         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32156         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32157         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32158         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32160 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32162         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32163         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32164         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32165         Add sysdep.
32167 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32171 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32173         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32174         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32176         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32178         * sysdeps/arm/libm-test-ulps: Regenerated.
32180 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32181             Roland McGrath <roland@hack.frob.com>
32183         * test-skeleton.c (signal_handler): Kill the whole process group
32184         before killing the child individually.
32185         (main): Report any failure on `setpgid'.
32187 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32189         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32190         from _TLS_H to _ARM_NPTL_TLS_H.
32191         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32192         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32194 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32196         [BZ #16539]
32197         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32198         (__expm1l): Return argument unchanged when small but not
32199         subnormal.
32201         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32202         include macro name.
32203         (_FP_UNPACK_RAW_1_P): Likewise.
32204         (_FP_PACK_RAW_1): Likewise.
32205         (_FP_PACK_RAW_1_P): Likewise.
32206         (_FP_MUL_MEAT_1_wide): Likewise.
32207         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32208         (_FP_MUL_MEAT_1_hard): Likewise.
32209         (_FP_DIV_MEAT_1_imm): Likewise.
32210         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32211         (_FP_DIV_MEAT_1_udiv): Likewise.
32212         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32213         (_FP_UNPACK_RAW_2): Likewise.
32214         (_FP_UNPACK_RAW_2_P): Likewise.
32215         (_FP_PACK_RAW_2): Likewise.
32216         (_FP_PACK_RAW_2_P): Likewise.
32217         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32218         (_FP_MUL_MEAT_2_wide): Likewise.
32219         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32220         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32221         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32222         (_FP_MUL_MEAT_2_gmp): Likewise.
32223         (_FP_DIV_MEAT_2_udiv): Likewise.
32224         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32225         (_FP_FRAC_SRL_4): Likewise.
32226         (_FP_FRAC_SRST_4): Likewise.
32227         (_FP_FRAC_SRS_4): Likewise.
32228         (_FP_UNPACK_RAW_4): Likewise.
32229         (_FP_UNPACK_RAW_4_P): Likewise.
32230         (_FP_PACK_RAW_4): Likewise.
32231         (_FP_PACK_RAW_4_P): Likewise.
32232         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32233         (_FP_MUL_MEAT_4_wide): Likewise.
32234         (_FP_MUL_MEAT_4_gmp): Likewise.
32235         (umul_ppppmnnn): Likewise.
32236         (_FP_DIV_MEAT_4_udiv): Likewise.
32237         (__FP_FRAC_ADD_4): Likewise.
32238         (__FP_FRAC_SUB_3): Likewise.
32239         (__FP_FRAC_SUB_4): Likewise.
32240         (__FP_FRAC_DEC_3): Likewise.
32241         (__FP_FRAC_DEC_4): Likewise.
32242         (__FP_FRAC_ADDI_4): Likewise.
32243         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32244         (_FP_FRAC_SRL_8): Likewise.
32245         (_FP_FRAC_SRS_8): Likewise.
32247         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32248         include macro name.
32249         (FP_UNPACK_RAW_EP): Likewise.
32250         (FP_PACK_RAW_E): Likewise.
32251         (FP_PACK_RAW_EP): Likewise.
32252         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32253         (_FP_ISSIGNAN): Likewise.
32254         (_FP_ADD_INTERNAL): Likewise.
32255         (_FP_FMA): Likewise.
32256         (_FP_CMP): Likewise.
32257         (_FP_SQRT): Likewise.
32258         (_FP_TO_INT): Likewise.
32259         (_FP_FROM_INT): Likewise.
32260         (FP_EXTEND): Likewise.
32261         (_FP_DIV_MEAT_N_loop): Likewise.
32263 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32265         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32266         throughout.
32268 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32270         [BZ #17097]
32271         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32272         result with correct sign in case of exponents that produce
32273         overflow except for X very close to 1.
32275 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32277         mktime: merge #if/#ifdef usage from glibc
32278         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32279         as that works with both Glibc's and Gnulib's style.
32280         See thread starting at Siddhesh Poyarekar's bug report at:
32281         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32283 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32285         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32286         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32287         * sysdeps/tile/tilegx/memmove.c: Remove file.
32289 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32291         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32292         abi-name definition.
32293         * scripts/soversions.awk: Do not handle or generate ABI lines.
32294         * shlib-versions: Remove ABI entries.
32295         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32296         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32298 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32301         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32302         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32303         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32305         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32307         Moved ...
32308         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32309         ... here.
32310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32311         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32313         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32315         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32317         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32319         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32321         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32323         Moved ...
32324         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32326         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32328         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32330         Moved ...
32331         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32333         Moved ...
32334         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32335         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32336         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32338         Moved ...
32339         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32341         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32343         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32345         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32347         Moved ...
32348         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32350         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32351         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32352         Moved ...
32353         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32354         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32355         Moved ...
32356         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32357         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32358         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32360         Moved ...
32361         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32362         ... here.
32363         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32364         Identical file removed.
32365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32366         Moved ...
32367         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32368         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32369         Identical file removed.
32370         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32371         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32372         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32373         Moved ...
32374         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32375         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32376         Identical file removed.
32377         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32378         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32379         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32380         Identical file removed.
32381         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32382         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32384         Identical file removed.
32385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32386         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32388         Identical file removed.
32389         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32390         Moved ...
32391         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32392         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32393         Identical file removed.
32394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32395         Moved ...
32396         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32398         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32399         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32400         Identical file removed.
32401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32402         Moved ...
32403         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32404         ... here.
32405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32406         Identical file removed.
32407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32408         Moved ...
32409         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32411         Identical file removed.
32412         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32413         Moved ...
32414         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32415         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32416         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32417         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32418         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32420         Moved ...
32421         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32422         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32423         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32425         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32426         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32427         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32428         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32429         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32431 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32433         [BZ #17092]
32434         * nscd/nscd.c (monitor_child): Return exit status of child
32435         instead of return value from wait syscall.
32437 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32439         * configure.ac (libc_commonpagesize): Remove variable.
32440         (libc_relro_required): Likewise.
32441         (libc_cv_z_relro): Remove configure test.
32442         * configure: Regenerated.
32443         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32444         variable.
32445         (libc_relro_required): Likewise.
32446         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32447         (libc_relro_required): Likewise.
32448         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32449         (libc_relro_required): Likewise.
32450         * sysdeps/arm/preconfigure: Regenerated.
32451         * sysdeps/ia64/preconfigure: Remove file.
32452         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32453         variable.
32454         (libc_relro_required): Likewise.
32456         [BZ #16561]
32457         [BZ #16562]
32458         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32459         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32460         recompute overflowing results in original rounding mode.
32461         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32462         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32463         recompute overflowing results in original rounding mode.
32464         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32465         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32466         recompute overflowing results in original rounding mode.
32467         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32468         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32469         recompute overflowing results in original rounding mode.
32470         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32471         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32472         recompute overflowing results in original rounding mode.
32473         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32474         (libc_feholdsetround_ctx): New macro.
32475         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32476         * sysdeps/i386/fpu/libm-test-ulps: Update.
32477         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32479 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32481         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32482         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32483         corresponding .cpsetup call.
32485 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32487         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32488         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32489         * sysdeps/arm/Makefile [$(subdir) = csu]
32490         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32491         (static-only-routines): Add aeabi_read_tp here.
32492         (shared-only-routines): Add libc-aeabi_read_tp here.
32493         (CFLAGS-libc-start.c): Add -fexceptions here.
32494         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32495         (sysdep_routines, static-only-routines, shared-only-routines):
32496         Don't add to these here.
32497         (CFLAGS-libc-start.c): Likewise.
32499         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32500         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32501         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32502         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32503         * sysdeps/arm/Makefile [$(subdir) = rt]
32504         (librt-sysdep_routines, librt-shared-only-routines):
32505         Append rt-aeabi_unwind_cpp_pr1 here.
32506         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32507         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32508         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32509         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32510         Append nptl-aeabi_unwind_cpp_pr1 here.
32511         (tests): Filter out tst-cleanupx4 here.
32512         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32513         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32514         Don't do those here.
32516 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32518         * scripts/list-sources.sh: Do not handle ports specially.
32520 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32522         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32523         * sysdeps/arm/feupdateenv.c: Likewise.
32525         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32527 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32529         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32530         trailing whitespace removed.
32531         * scripts/config.guess: Update to version 2014-03-23.
32532         * scripts/config.sub: Update to version 2014-05-01
32533         * scripts/install-sh: Update to version 2013-12-25.23.
32534         * scripts/move-if-change: Update from gnulib.
32536 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32538         * debug/memmove_chk.c: Remove pagecopy.h include.
32540 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32542         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32543         identical to gnulib mktime.
32545 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32547         * configure.ac: Do not test for machine being rs6000.  Do not test
32548         for powerpc*-*soft.
32549         * configure: Regenerated.
32551         [BZ #11505]
32552         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32553         test.
32554         * configure: Regenerated.
32555         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32556         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32557         Remove configure test.
32558         * sysdeps/arm/configure: Regenerated.
32559         * sysdeps/nptl/configure.ac: Do not check
32560         libc_cv_asm_cfi_directives.
32561         * sysdeps/nptl/configure: Regenerated.
32562         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32563         * sysdeps/x86_64/nptl/configure: Remove generated file.
32564         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32565         unconditional.
32566         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32568 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32570         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32571         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32572         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32573         it is defined.
32575         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32576         instead of whether it is defined.
32577         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32578         * sysdeps/hppa/dl-machine.h: Likewise.
32579         * sysdeps/ia64/dl-machine.h: Likewise.
32580         * sysdeps/m68k/dl-machine.h: Likewise.
32581         * sysdeps/microblaze/dl-machine.h: Likewise.
32582         * sysdeps/mips/dl-machine.: Likewise.
32583         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32584         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32585         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32586         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32587         * sysdeps/sh/dl-machine.h: Likewise.
32588         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32589         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32590         * sysdeps/tile/dl-machine.h: Likewise.
32591         * sysdeps/x86_64/dl-machine.h: Likewise.
32593         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32594         code.
32595         (verify_persistent_db): Likewise.
32597 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32600         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32602         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32604         Moved ...
32605         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32606         ... here.
32607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32608         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32610         Identical file removed.
32611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32612         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32614         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32616         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32618         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32620         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32622         Moved ...
32623         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32625         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32627         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32629         Moved ...
32630         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32632         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32634         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32636         Identical file removed.
32637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32638         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32640         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32642         Moved ...
32643         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32644         ... here.
32645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32646         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32648         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32650         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32652         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32654         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32656         Moved ...
32657         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32659         Moved ...
32660         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32662         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32664         Moved ...
32665         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32667         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32669         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32670         folded into ...
32671         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32672         * sysdeps/unix/sysv/linux/s390/Versions
32673         (libpthread: GLIBC_2.19): New version set.
32674         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32675         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32676         (librt: GLIBC_2.3.3): New version set.
32677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32678         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32679         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32680         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32681         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32682         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32683         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32684         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32685         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32686         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32687         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32688         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32689         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32690         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32691         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32692         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32693         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32694         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32695         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32696         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32697         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32698         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32699         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32700         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32701         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32702         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32703         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32704         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32705         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32706         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32707         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32708         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32709         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32713         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32714         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32715         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32716         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32717         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32719         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32720         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32721         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32723         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32724         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32725         (__libc_vfork): Define the function under this name.
32726         [!NOT_IN_libc] (__vfork): Make this an alias.
32727         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32729         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32730         (__libc_vfork): Define the function under this name.
32731         [!NOT_IN_libc] (__vfork): Make this an alias.
32732         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32733         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32734         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32736         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32737         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32739         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32740         code that was previously under [RESET_PID].
32741         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32742         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32745         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32746         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32747         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32748         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32749         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32750         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32751         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32752         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32753         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32754         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32755         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32756         Moved ...
32757         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32758         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32759         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32760         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32761         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32762         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32763         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32764         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32765         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32766         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32767         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32768         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32769         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32770         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32771         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32772         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32773         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32774         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32775         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32776         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32777         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32778         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32779         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32780         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32781         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32782         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32783         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32784         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32785         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32787 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32789         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32790         that was previously under [RESET_PID].
32791         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32793 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32795         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32796         not undefine and redefine.
32797         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32798         [O_CLOEXEC]: Make code unconditional.
32799         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32800         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32801         <kernel-features.h>.
32802         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32803         conditional variable definition.
32804         (shm_open) [O_CLOEXEC]: Make code unconditional.
32805         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32806         code.
32808         * configure.ac (USE_REGPARMS): Don't define here.
32809         * configure: Regenerated.
32810         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32811         * sysdeps/i386/configure: Regenerated.
32813         * nptl/createthread.c: Don't include kernel-features.h.
32814         * nptl/pthread_cancel.c: Likewise.
32815         * nptl/pthread_condattr_setclock.c: Likewise.
32816         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32817         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32818         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32819         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32820         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32821         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32822         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32824         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32825         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32826         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32827         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32828         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32829         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32830         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32831         * nscd/gai.c: Likewise.
32832         * nss/nss_db/db-open.c: Likewise.
32833         * sysdeps/generic/ldsodefs.h: Likewise.
32834         * sysdeps/sh/nptl/tls.h: Likewise.
32835         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32836         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32837         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32838         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32839         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32840         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32841         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32842         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32843         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32844         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32845         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32846         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32847         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32848         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32849         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32850         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32851         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32852         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32853         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32854         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32855         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32856         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32857         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32858         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32859         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32860         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32861         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32862         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32863         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32864         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32865         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32866         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32867         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32868         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32869         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32870         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32871         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32872         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32873         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32874         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32875         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32876         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32877         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32878         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32879         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32880         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32881         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32882         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32883         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32884         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32885         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32886         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32887         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32888         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32889         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32890         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32891         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32892         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32915         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32916         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32917         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32918         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32919         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32920         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32921         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32922         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32923         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32924         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32925         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32926         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32927         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32928         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32929         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32930         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32931         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32932         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32933         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32934         * sysdeps/unix/sysv/linux/system.c: Likewise.
32935         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32936         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32937         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32938         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32939         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32940         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32941         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32943         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32944         * configure: Regenerated.
32945         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32947         * configure.ac (base_machine): Do not set specially for particular
32948         machines here.
32949         * configure: Regenerated.
32950         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32951         settings from configure.ac.
32952         * sysdeps/i386/preconfigure: New file.
32953         * sysdeps/s390/preconfigure: Likewise.
32954         * sysdeps/sh/preconfigure: Likewise.
32955         * sysdeps/sparc/preconfigure: Likewise.
32957 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32959         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32960         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32961         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32962         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32963         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32964         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32965         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32966         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32967         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32968         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32969         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32970         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32971         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32972         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32973         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32974         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32975         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32976         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32977         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32979         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32980         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32981         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32982         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32983         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32984         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32985         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32986         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32987         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32988         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32989         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32990         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32991         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32992         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32993         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32994         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32995         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32996         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32997         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32998         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32999         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33000         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33001         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33002         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33003         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33004         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33005         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33006         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33007         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33008         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33009         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33010         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33011         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33012         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33013         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33014         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33015         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33016         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33019         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33021         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33023         Moved ...
33024         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33025         ... here.
33026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33027         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33029         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33031         Moved ...
33032         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33034         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33036         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33038         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33040         Moved ...
33041         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33043         Moved ...
33044         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33046         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33048         Moved ...
33049         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33051         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33053         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33055         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33057         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33059         Moved ...
33060         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33061         ... here.
33062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33063         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33065         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33067         Moved ...
33068         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33070         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33072         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33074         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33076         Moved ...
33077         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33079         Moved ...
33080         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33082         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33084         Moved ...
33085         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33087         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33089         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33091 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33093         * timezone/checktab.awk: Update from tzcode 2014e.
33094         * timezone/private.h: Likewise.
33095         * timezone/tzfile.h: Likewise.
33096         * timezone/zdump.c: Likewise.
33097         * timezone/zic.c: Likewise.
33099         * sysdeps/unix/sysv/linux/kernel-features.h
33100         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33101         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33102         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33103         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33104         Remove conditional code.
33106 2014-06-25  Will Newton  <will.newton@linaro.org>
33108         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33109         (_dl_arm_cap_flags): Add HWCAP2 values.
33110         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33111         (_DL_HWCAP_COUNT): Increase to 37.
33112         (_DL_HWCAP_LAST): New define.
33113         (_DL_HWCAP2_LAST): New define.
33114         (_dl_procinfo): Add support for printing
33115         AT_HWCAP2 entries.
33116         (_dl_string_hwcap): Use _dl_hwcap_string.
33118 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33122 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33124         * README: Do not mention ports directory.
33126         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33127         Remove macro.
33128         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33129         <kernel-features.h>.
33130         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33131         conditional variable definition.
33132         (__futimes): Update comment.
33133         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33134         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33136         [BZ #16560]
33137         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33138         arguments close to 0.
33139         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33140         Likewise.
33141         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33142         Likewise.
33143         * math/auto-libm-test-in: Add more tests of exp10.
33144         * math/auto-libm-test-out: Regenerated.
33145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33147         * sysdeps/unix/sysv/linux/kernel-features.h
33148         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33149         * sysdeps/unix/sysv/linux/readv.c: Do not include
33150         <kernel-features.h>.
33151         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33152         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33153         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33154         unconditional.
33155         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33156         conditional code.
33157         * sysdeps/unix/sysv/linux/writev.c: Do not include
33158         <kernel-features.h>.
33159         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33160         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33161         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33162         unconditional.
33163         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33164         conditional code.
33166 2014-06-25  Will Newton  <will.newton@linaro.org>
33168         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33169         comment changes throughout the file.  Remove checks
33170         for HAVE_*_H definitions that are not required.
33171         (__gen_tempname): Call abort if an unknown kind value is
33172         passed.
33174 2014-06-25  Andreas Schwab  <schwab@suse.de>
33176         [BZ #17086]
33177         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33178         scalbln, scalblnf, scalblnl in libc.
33180 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33182         [BZ #17086]
33183         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33184         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33185         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33187 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33189         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33190         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33191         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33192         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33193         Update #include.
33194         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33195         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33196         Update #include.
33197         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33198         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33199         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33200         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33201         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33202         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33203         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33204         * sysdeps/x86/bits/semaphore.h: ... here.
33205         * sysdeps/x86/nptl/elide.h: Moved ...
33206         * sysdeps/x86/elide.h: ... here.
33207         * sysdeps/x86_64/nptl/Implies: File removed.
33208         * sysdeps/i386/nptl/Implies: File removed.
33210 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33212         [BZ #16539]
33213         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33214         return the argument for normal arguments with exponent below -64.
33215         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33216         Likewise.
33217         * math/auto-libm-test-in: Add another test of expm1.
33218         * math/auto-libm-test-out: Regenerated.
33220         [BZ #16287]
33221         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33222         calling __erfcl for arguments at least 16.
33223         * math/auto-libm-test-in: Add more tests of erf.
33224         * math/auto-libm-test-out: Regenerated.
33226         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33227         individual architectures.
33228         * sysdeps/unix/sysv/linux/configure: Regenerated.
33229         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33230         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33231         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33232         (ldd_rewrite_script): Define variable.
33233         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33235         file.
33236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33237         generated file.
33238         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33239         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33240         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33241         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33242         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33243         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33244         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33245         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33247 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33249         [BZ #17084]
33250         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33251         Rename member __data.d to __data.__elision_data.
33253 2014-06-24  Wilco  <wdijkstr@arm.com>
33255         * NEWS: Add 16918 to fixed bug list.
33257 2014-06-24  Wilco  <wdijkstr@arm.com>
33259         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33261 2014-06-24  Wilco  <wdijkstr@arm.com>
33263         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33264         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33265         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33266         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33267         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33268         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33269         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33270         Use _FPU_MASK_RM.
33272 2014-06-24  Wilco  <wdijkstr@arm.com>
33274         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33276 2014-06-24  Wilco  <wdijkstr@arm.com>
33278         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33279         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33280         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33281         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33283 2014-06-24  Wilco  <wdijkstr@arm.com>
33285         [BZ #16918]
33286         * sysdeps/arm/feupdateenv.c (feupdateenv):
33287         Rewrite to reduce FPSCR accesses and fix return value.
33289 2014-06-24  Wilco  <wdijkstr@arm.com>
33291         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33292         Optimize to avoid unnecessary FPSCR writes.
33293         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33294         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33295         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33296         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33298 2014-06-24  Wilco  <wdijkstr@arm.com>
33300         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33301         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33302         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33303         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33304         Call libc_fetestexcept_vfp.
33305         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33306         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33307         __SOFTFP__ ifdef so that they can be built for softfp.
33309 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33311         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33312         argument type signed char.
33314         * Makerules (check-abi): Dump diff of symlist if the test
33315         fails.
33317 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33319         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33320         using abort.
33322         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33323         Remove unused variable ST.
33325 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33327         [BZ #16354]
33328         [BZ #17061]
33329         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33330         small arguments before calling __expm1.
33331         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33332         small arguments before calling __expm1f.
33333         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33334         small arguments before calling __expm1l.
33335         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33336         Likewise.
33337         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33338         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33339         spurious underflow for some cosh tests.
33340         * math/auto-libm-test-out: Regenerated.
33341         * sysdeps/i386/fpu/libm-test-ulps: Update.
33343         [BZ #17050]
33344         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33345         (__ieee754_y1): Set errno if return value overflows.
33346         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33347         (__ieee754_y1f): Set errno if return value overflows.
33348         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33349         (__ieee754_y1l): Set errno if return value overflows.
33350         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33351         (__ieee754_y1l): Set errno if return value overflows.
33352         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33353         * math/auto-libm-test-out: Regenerated.
33355         * math/gen-auto-libm-tests.c: Document use of
33356         ignore-zero-inf-sign.
33357         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33358         (input_flags): Add ignore-zero-inf-sign.
33359         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33360         * math/gen-libm-test.pl (generate_testfile): Handle
33361         ignore-zero-inf-sign.
33362         * math/auto-libm-test-in: Mark some cpow tests with
33363         ignore-zero-inf-sign and some with xfail-rounding.
33364         * math/auto-libm-test-out: Regenerated.
33365         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33366         * sysdeps/i386/fpu/libm-test-ulps: Update.
33367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33369         [BZ #16315]
33370         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33371         overflowing or underflowing operations take place with sign of
33372         result.
33373         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33374         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33375         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33376         (__ieee754_pow): Recompute overflowing and underflowing results in
33377         original rounding mode.
33378         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33379         (__powl_helper): Allow negative argument X and scale negated value
33380         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33381         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33382         overflowing or underflowing operations take place with sign of
33383         result.
33384         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33385         Include <math.h>.
33386         * math/auto-libm-test-in: Add more tests of pow.
33387         * math/auto-libm-test-out: Regenerated.
33388         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33389         (pow_tonearest_test_data): Remove.
33390         (pow_test_tonearest): Likewise.
33391         (pow_towardzero_test_data): Likewise.
33392         (pow_test_towardzero): Likewise.
33393         (pow_downward_test_data): Likewise.
33394         (pow_test_downward): Likewise.
33395         (pow_upward_test_data): Likewise.
33396         (pow_test_upward): Likewise.
33397         (main): Don't call removed functions.
33398         * sysdeps/i386/fpu/libm-test-ulps: Update.
33399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33401 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33404         Moved ...
33405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33407         Moved ...
33408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33410         Moved ...
33411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33413         Moved ...
33414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33416         File removed.
33417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33418         File removed.
33419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33420         File removed.
33421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33422         File removed.
33423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33424         File removed.
33425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33426         File removed.
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33428         File removed.
33429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33430         File removed.
33431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33432         File removed.
33433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33434         File removed.
33435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33436         File removed.
33437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33438         File removed.
33439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33440         Moved ...
33441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33443         Moved ...
33444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33445         ... here.
33446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33447         Moved ...
33448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33450         Moved ...
33451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33453         Moved ...
33454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33456         Moved ...
33457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33459         Moved ...
33460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33462         Moved ...
33463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33465         Moved ...
33466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33469         ... here.
33470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33471         Moved ...
33472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33474         Moved ...
33475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33476         ... here.
33477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33478         Moved ...
33479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33480         ... here.
33481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33482         Moved ...
33483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33484         ... here.
33485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33486         Moved ...
33487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33489         Moved ...
33490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33494         Moved ...
33495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33496         ... here.
33497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33498         Moved ...
33499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33500         ... here.
33501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33502         Moved ...
33503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33505         Moved ...
33506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33508         Moved ...
33509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33511         Moved ...
33512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33514         Moved ...
33515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33516         ... here.
33517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33518         Moved ...
33519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33521         Moved ...
33522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33524         Moved ...
33525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33527         Moved ...
33528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33532         Moved ...
33533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33535         Moved ...
33536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33538         Moved ...
33539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33540         ... here.
33541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33542         Moved ...
33543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33544         ... here.
33545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33546         Moved ...
33547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33548         ... here.
33549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33550         Moved ...
33551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33553         Moved ...
33554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33556         Moved ...
33557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33559         Moved ...
33560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33561         ... here.
33562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33563         Moved ...
33564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33565         ... here.
33566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33567         Moved ...
33568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33569         ... here.
33570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33571         Moved ...
33572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33574         Moved ...
33575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33577 2014-06-23  Will Newton  <will.newton@linaro.org>
33578             Wilco  <wdijkstr@arm.com>
33580         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33581         implementation.  Include get-rounding-mode.h.
33582         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33583         [!libc_feholdsetround_noex_ctx]: Define
33584         libc_feholdsetround_noex_ctx.
33585         [!libc_feholdsetround_noexf_ctx]: Define
33586         libc_feholdsetround_noexf_ctx.
33587         [!libc_feholdsetround_noexl_ctx]: Define
33588         libc_feholdsetround_noexl_ctx.
33589         (libc_feholdsetround_ctx): New function.
33590         (libc_feresetround_ctx): New function.
33591         (libc_feholdsetround_noex_ctx): New function.
33592         (libc_feresetround_noex_ctx): New function.
33594 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33596         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33597         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33598         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33599         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33600         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33601         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33603         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33604         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33605         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33606         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33607         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33608         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33610         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33612         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33613         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33614         Moved ...
33615         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33616         ... here.
33617         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33618         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33619         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33620         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33622         Moved ...
33623         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33624         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33625         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33627         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33629         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33630         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33631         Moved ...
33632         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33633         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33634         Moved ...
33635         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33636         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33637         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33638         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33639         Moved ...
33640         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33641         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33642         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33643         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33644         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33645         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33646         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33647         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33648         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33649         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33650         Moved ...
33651         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33652         ... here.
33653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33654         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33656         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33658         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33659         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33660         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33661         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33662         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33663         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33664         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33665         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33666         Moved ...
33667         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33668         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33669         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33671         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33673         Moved ...
33674         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33675         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33676         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33677         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33678         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33680         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33681         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33682         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33683         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33684         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33685         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33686         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33687         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33688         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33689         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33690         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33691         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33692         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33693         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33694         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33695         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33696         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33697         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33698         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33699         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33700         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33701         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33702         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33703         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33704         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33705         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33706         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33707         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33709 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33711         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33712         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33713         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33714         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33715         (IPV6_PMTUDISC_INTERFACE): Likewise.
33716         (IPV6_PMTUDISC_OMIT): Likewise.
33718 2014-06-23  Andreas Schwab  <schwab@suse.de>
33720         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33721         Remove unused errout label.
33723 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33725         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33726         macro: hardware supports Vector Crypto instructions.
33728 2014-06-23  Will Newton  <will.newton@linaro.org>
33730         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33731         rather than __builtin_expect.
33733         * elf/dl-lookup.c (undefined_msg): Remove variable.
33734         (_dl_lookup_symbol_x): Replace undefined_msg with string
33735         literal.
33737         * elf/dl-lookup.c (do_lookup_unique): New function.
33738         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33739         to a separate function.
33741 2014-06-23  Andreas Schwab  <schwab@suse.de>
33743         [BZ #17079]
33744         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33745         before reading the next line.
33747 2014-06-23  Will Newton  <will.newton@linaro.org>
33749         * test-skeleton.c (signal_handler): Use printf and %m
33750         rather than perror.  Use printf rather than fprintf to
33751         stderr.  Use puts rather than fputs to stderr.
33752         (main): Likewise.
33754 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33756         * nscd/nscd.c (thread_info_t): Remove typedef.
33757         (thread_info): Remove variable.
33759 2014-06-21  Allan McRae  <allan@archlinux.org>
33761         * NEWS: Mention CVE-2014-4043.
33763 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33765         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33766         * nptl/smp.h: ... here.
33768         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33770         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33771         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33772         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33773         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33775         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33776         * nptl/stack-aliasing.h: New file.
33777         * sysdeps/i386/i686/stack-aliasing.h: New file.
33778         * sysdeps/i386/i686/nptl/Makefile: File removed.
33779         * sysdeps/x86_64/stack-aliasing.h: New file.
33780         * sysdeps/x86_64/nptl/Makefile
33781         (CFLAGS-pthread_create.c): Variable removed.
33783         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33784         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33785         old file.
33786         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33787         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33788         old file.
33790 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33792         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33793         (__ASSUME_SIGFRAME_V2): Remove macro.
33794         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33795         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33796         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33797         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33798         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33799         Declare as function.  Remove conditional macro definitions.
33800         (__default_rt_sa_restorer): Likewise.
33801         (__default_sa_restorer_v1): Remove declaration.
33802         (__default_sa_restorer_v2): Likewise.
33803         (__default_rt_sa_restorer_v1): Likewise.
33804         (__default_rt_sa_restorer_v2): Likewise.
33805         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33806         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33807         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33809 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33811         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33812         (libpthread-routines): Add sysdep.
33813         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33814         * sysdeps/unix/sysv/linux/sparc/Versions
33815         (libpthread: GLIBC_2.3.3): New version set.
33816         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33817         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33818         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33819         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33820         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33821         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33822         Moved ...
33823         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33824         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33825         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33826         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33827         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33828         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33829         * sysdeps/sparc/nptl/sem_init.c: ... here.
33830         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33831         * sysdeps/sparc/nptl/sem_post.c: ... here.
33832         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33833         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33834         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33835         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33836         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33837         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33838         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33839         (libpthread-routines): Add cpu_relax.
33840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33841         File removed.
33842         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33843         (librt: GLIBC_2.3.3): New version set.
33844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33845         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33846         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33847         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33850         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33852         Moved ...
33853         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33855         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33857         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33859         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33861         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33863         Moved ...
33864         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33865         Update #include.
33866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33867         Moved ...
33868         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33869         Update #include.
33870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33871         Moved ...
33872         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33873         Update #include.
33874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33875         Moved ...
33876         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33877         Update #include.
33878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33879         Moved ...
33880         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33881         Update #include.
33882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33883         Moved ...
33884         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33885         Update #include.
33886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33887         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33891         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33893         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33895         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33897         Moved ...
33898         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33900         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33902         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33904 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33906         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33907         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33908         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33909         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33910         * nscd/nscd.c: Likewise.
33911         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33912         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33913         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33914         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33916         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33917         <kernel-features.h>.
33918         (init_mq_netlink): Remove conditional have_sock_cloexec
33919         definitions.  Remove code conditional on have_sock_cloexec < 0.
33920         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33921         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33922         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33923         <kernel-features.h>.
33924         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33925         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33927 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33929         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33930         Add tests for memset_chk and memset.
33932         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33933         with AVX2_Usable.
33935 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33937         [BZ #16046]
33938         * elf/tst-dl-iter-static.c: New file.
33939         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33941         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33942         error.
33944 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33946         * sysdeps/unix/sysv/linux/kernel-features.h
33947         (__ASSUME_F_GETOWN_EX): Remove macro.
33948         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33949         <kernel-features.h>.
33950         (miss_F_GETOWN_EX): Remove variable or macro.
33951         (do_fcntl): Do not check miss_F_GETOWN_EX.
33952         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33954         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33955         Remove macro.
33956         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33957         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33958         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33960         * sysdeps/unix/sysv/linux/kernel-features.h
33961         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33962         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33963         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33964         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33966 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33968         [BZ #17075]
33969         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33970         Fix calculation of the symbol's value.
33971         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33972         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33973         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33974         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33975         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33976         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33977         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33978         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33979         (modules-names): Add `tst-armtlsdescmod',
33980         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33981         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33982         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33983         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33984         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33985         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33986         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33987         ($(objpfx)tst-armtlsdescloc): New dependency.
33988         ($(objpfx)tst-armtlsdescextnow): Likewise.
33989         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33990         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33991         TLS scheme support.
33992         * sysdeps/arm/configure: Regenerate.
33994 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33996         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33997         (__atfct_seterrno_2): Likewise.
33998         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33999         <kernel-features.h>.
34000         (__ASSUME_ATFCTS): Do not undefine and redefine.
34001         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34002         (__have_atfcts): Remove conditional definition.
34003         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34004         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34005         unreachable if [__ASSUME_ATFCTS].
34006         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34007         not undefine and redefine.
34008         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34009         <kernel-features.h>.
34010         (faccessat) [__NR_faccessat]: Make code unconditional.
34011         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34012         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34013         <kernel-features.h>.
34014         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34015         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34016         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34017         <kernel-features.h>.
34018         (fchownat) [__NR_fchownat]: Make code unconditional.
34019         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34020         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34021         <kernel-features.h>.
34022         (futimesat) [__NR_futimesat]: Make code unconditional.
34023         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34024         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34025         <kernel-features.h>.
34026         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34027         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34028         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34029         <kernel-features.h>.
34030         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34031         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34032         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34033         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34034         <kernel-features.h>.
34035         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34036         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34037         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34038         <kernel-features.h>.
34039         (linkat) [__NR_linkat]: Make code unconditional.
34040         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34041         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34042         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34043         <kernel-features.h>.
34044         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34045         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34046         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34047         <kernel-features.h>.
34048         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34049         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34050         * sysdeps/unix/sysv/linux/openat.c: Do not include
34051         <kernel-features.h>.
34052         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34053         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34054         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34055         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34056         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34057         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34058         <kernel-features.h>.
34059         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34060         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34061         result of INLINE_SYSCALL directly, not via int variable.
34062         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34063         <kernel-features.h>.
34064         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34065         (renameat) [__NR_renameat]: Make code unconditional.
34066         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34067         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34068         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34069         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34070         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34071         (__ASSUME_ATFCTS): Do not undefine and redefine.
34072         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34073         <kernel-features.h>.
34074         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34075         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34076         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34077         <kernel-features.h>.
34078         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34079         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34080         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34081         (__ASSUME_ATFCTS): Do not undefine and redefine.
34082         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34083         <kernel-features.h>.
34084         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34085         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34086         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34087         <kernel-features.h>.
34088         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34089         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34091 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34093         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34095 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34097         [BZ #17069]
34098         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34099         constructed tree before returning error.
34100         * posix/bug-regexp36.c: Expand test case.
34102 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34104         [BZ #6803]
34105         * math/libm-test.inc (scalbln_test_date):
34106         Add errno expectations.
34107         * math/w_scalblnf.c: New File.
34108         Add wrapper which checks for setting errno to ERANGE.
34109         Add weak_alias for corresponding scalbln function.
34110         * math/w_scalbln.c: Likewise.
34111         * math/w_scalblnl.c: Likewise.
34112         * math/Makefile (libm-calls): Add w_scalbln.
34113         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34114         Remove weak_alias for corresponding scalbln function.
34115         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34116         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34117         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34118         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34119         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34120         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34121         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34122         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34123         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34124         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34125         Remove long_double_symbol for scalblnl function in libm, libc.
34126         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34127         Add wrapper which checks for setting errno to ERANGE.
34128         Add long_double_symbol for scalblnl function in libm, libc.
34129         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34130         Remove long_double_symbol for scalblnl in libm.
34131         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34132         Add wrapper which checks for setting errno to ERANGE.
34133         Add long_double_symbol for scalblnl function in libm.
34134         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34135         Do not use wrapper because of own implementation.
34137 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34139         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34140         3 bytes for __pad1 for x32.
34141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34143 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34144             H.J. Lu  <hongjiu.lu@intel.com>
34146         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34147         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34148         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34149         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34150         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34152 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34154         [BZ #17069]
34155         * posix/regcomp.c (parse_expression): Deallocate partially
34156         constructed tree before returning error.
34157         * posix/Makefile.c (tests): Add bug-regex36.
34158         (generated): Add bug-regex36.mtrace.
34159         (tests-special): Add $(objpfx)bug-regex36-mem.out
34160         (bug-regex36-ENV): New variable.
34161         ($(objpfx)bug-regex36-mem.out): New rule.
34162         * posix/bug-regex36.c: New file.
34164 2014-06-19  Will Newton  <will.newton@linaro.org>
34166         * malloc/malloc.c (systrim): If extra is zero then return
34167         early.
34169 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34171         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34173 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34175         * sysdeps/aarch64/strchr.S: New file.
34177 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34179         [BZ #17022]
34180         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34181         from arguments -2 or below.
34182         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34183         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34185 2014-06-18  Andreas Schwab  <schwab@suse.de>
34187         [BZ #17062]
34188         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34189         of a bracket expr not to run off the end of the string.
34190         * posix/Makefile (tests): Add tst-fnmatch3.
34191         * posix/tst-fnmatch3.c: New file.
34193 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34195         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34196         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34197         [$(cross-compiling) = no]: Likewise.
34198         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34199         [$(cross-compiling) = no]: Likewise.
34201 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34203         [BZ #17031]
34204         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34205         double, adjusted for any remainder from the high double.
34206         * math/libm-test.inc (nearbyint): Add tests.
34207         (rint): Likewise.
34209 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34211         * nptl/sysdeps/powerpc/Makefile: Moved ...
34212         * sysdeps/powerpc/nptl/Makefile: ... here.
34213         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34214         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34215         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34216         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34217         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34218         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34219         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34220         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34221         * nptl/sysdeps/powerpc/tls.h: Moved ...
34222         * sysdeps/powerpc/nptl/tls.h: ... here.
34224 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34226         [BZ #16681]
34227         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34228         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34229         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34230         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34231         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34232         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34233         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34234         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34235         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34237 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34239         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34241 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34243         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34244         defined operator.
34246         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34247         $TIMEOUTFACTOR.
34249 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34251         [BZ #17058]
34252         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34253         non-executed part of the test.
34255 2014-06-16  Andreas Schwab  <schwab@suse.de>
34257         * string/bits/string2.h (strdup, strndup): Update feature guard.
34259 2014-06-14  David S. Miller  <davem@davemloft.net>
34261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34263 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34265         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34266         that was previously under [RESET_PID].
34267         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34269         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34270         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34271         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34273         (__libc_vfork): New strong alias.
34274         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34276 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34278         * sysdeps/generic/elide.h: New file.
34280 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34282         * Makefile (installed-headers): Adjust path of pthread.h header.
34284 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34286         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34287         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34288         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34289         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34291         * nptl/sysdeps/s390/Makefile: Moved ...
34292         * sysdeps/s390/nptl/Makefile: ... here.
34293         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34294         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34295         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34296         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34297         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34298         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34299         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34300         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34301         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34302         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34303         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34304         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34305         * nptl/sysdeps/s390/tls.h: Moved ...
34306         * sysdeps/s390/nptl/tls.h: ... here.
34308         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34309         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34311 2014-06-13  David S. Miller  <davem@davemloft.net>
34313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34316         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34320         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34321         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34322         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34323         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34324         Remove RESET_PID cpp guards.
34325         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34326         Remove RESET_PID cpp guards.
34327         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34329 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34331         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34332         __sp to uintptr_t.
34334 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34336         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34337         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34338         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34339         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34340         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34341         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34342         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34343         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34344         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34345         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34346         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34347         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34348         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34349         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34350         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34351         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34352         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34353         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34355         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34357         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34358         (pthread_rwlock_rdlock): Add elision.
34359         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34360         (pthread_rwlock_wrlock): Add elision.
34361         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34362         (pthread_rwlock_trywrlock): Add elision.
34363         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34364         (pthread_rwlock_tryrdlock): Add elision.
34365         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34366         (pthread_rwlock_tryrdlock): Add elision unlock.
34367         * nptl/sysdeps/pthread/pthread.h:
34368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34369         (PTHREAD_RWLOCK_INITIALIZER,
34370         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34371         Handle new elision field.
34372         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34373         * sysdeps/arm/nptl/bits/pthreadtypes.h
34374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34375         * sysdeps/sh/nptl/bits/pthreadtypes.h
34376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34377         * sysdeps/tile/nptl/bits/pthreadtypes.h
34378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34379         * sysdeps/a/nptl/bits/pthreadtypes.h
34380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34381         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34382         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34383         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34384         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34385         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34386         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34387         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34388         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34389         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34390         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34391         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34392         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34393         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34394         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34395         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34396         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34397         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34398         (elision_init): Set try_xbegin to zero when no RTM.
34399         * sysdeps/x86/nptl/bits/pthreadtypes.h
34400         (pthread_rwlock_t): Change __pad1 to __rwelision.
34401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34403 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34405         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34406         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34407         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34408         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34410 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34412         [BZ #16996]
34413         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34414         that the cached result has been set before returning it.
34416 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34418         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34419         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34420         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34421         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34422         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34423         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34425         * nptl/sysdeps/sparc/Makefile: Moved ...
34426         * sysdeps/sparc/nptl/Makefile: ... here.
34427         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34428         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34429         * nptl/sysdeps/sparc/tls.h: Moved ...
34430         * sysdeps/sparc/nptl/tls.h: ... here.
34431         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34432         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34433         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34434         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34435         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34436         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34437         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34438         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34439         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34440         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34441         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34442         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34443         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34444         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34445         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34446         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34447         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34448         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34449         Update #include.
34450         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34451         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34452         Update #include.
34453         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34454         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34455         Update #include.
34456         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34457         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34458         Update #include.
34460         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34462         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34463         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34465         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34466         (struct list_links): Type removed.
34467         (struct thread_node, struct timer_node): Replace struct list_links
34468         with struct list_head.
34469         (list_unlink_ip): Likewise.
34470         * sysdeps/pthread/timer_routines.c
34471         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34472         (list_append, list_insbefore): Likewise.
34473         (list_init): Function removed.
34474         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34475         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34476         * sysdeps/pthread/Makefile: ... here, new file.
34478         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34479         * sysdeps/nptl/Implies: ... here.
34480         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34481         * nptl/sysdeps/pthread/list.h: Moved ...
34482         * include/list.h: ... here.
34483         * nptl/sysdeps/pthread/createthread.c: Moved ...
34484         * nptl/createthread.c: ... here.
34485         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34486         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34487         * nptl/pt-longjmp.c: ... here.
34488         * nptl/sysdeps/pthread/Makefile: Moved ...
34489         * sysdeps/nptl/Makefile: ... here.
34490         * nptl/sysdeps/pthread/Subdirs: Moved ...
34491         * sysdeps/nptl/Subdirs: ... here.
34492         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34493         * sysdeps/nptl/aio_misc.h: ... here.
34494         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34495         * sysdeps/nptl/bits/libc-lock.h: ... here.
34496         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34497         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34498         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34499         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34500         * nptl/sysdeps/pthread/configure: Moved ...
34501         * sysdeps/nptl/configure: ... here.
34502         * nptl/sysdeps/pthread/configure.ac: Moved ...
34503         * sysdeps/nptl/configure.ac: ... here.
34504         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34505         * sysdeps/nptl/gai_misc.h: ... here.
34506         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34507         * sysdeps/nptl/librt-cancellation.c: ... here.
34508         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34509         * sysdeps/nptl/malloc-machine.h: ... here.
34510         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34511         * sysdeps/nptl/pthread-functions.h: ... here.
34512         * nptl/sysdeps/pthread/pthread.h: Moved ...
34513         * sysdeps/nptl/pthread.h: ... here.
34514         * nptl/sysdeps/pthread/setxid.h: Moved ...
34515         * sysdeps/nptl/setxid.h: ... here.
34516         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34517         * sysdeps/nptl/sigfillset.c: ... here.
34518         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34519         * sysdeps/nptl/tcb-offsets.h: ... here.
34520         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34521         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34522         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34523         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34524         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34525         * sysdeps/pthread/allocalim.h: ... here.
34526         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34527         * sysdeps/pthread/bits/sigthread.h: ... here.
34528         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34529         * sysdeps/pthread/flockfile.c: ... here.
34530         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34531         * sysdeps/pthread/ftrylockfile.c: ... here.
34532         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34533         * sysdeps/pthread/funlockfile.c: ... here.
34534         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34535         * sysdeps/pthread/posix-timer.h: ... here.
34536         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34537         * sysdeps/pthread/timer_create.c: ... here.
34538         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34539         * sysdeps/pthread/timer_delete.c: ... here.
34540         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34541         * sysdeps/pthread/timer_getoverr.c: ... here.
34542         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34543         * sysdeps/pthread/timer_gettime.c: ... here.
34544         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34545         * sysdeps/pthread/timer_routines.c: ... here.
34546         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34547         * sysdeps/pthread/timer_settime.c: ... here.
34548         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34549         * sysdeps/pthread/tst-timer.c: ... here.
34550         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34551         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34553         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34554         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34556         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34557         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34558         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34559         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34560         Update #include target.
34561         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34562         * sysdeps/i386/i686/nptl/Makefile: ... here.
34563         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34564         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34565         Update #include target.
34566         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34567         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34568         * nptl/sysdeps/i386/Makefile: Moved ...
34569         * sysdeps/i386/nptl/Makefile: ... here.
34570         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34571         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34572         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34573         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34574         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34575         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34576         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34577         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34578         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34579         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34580         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34581         * nptl/sysdeps/i386/tls.h: Moved ...
34582         * sysdeps/i386/nptl/tls.h: ... here.
34584         * sysdeps/sh/Makefile [$(subdir) = csu]
34585         (gen-as-const-headers): Add tcb-offsets.sym.
34586         * nptl/sysdeps/sh/Makefile: File removed.
34587         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34588         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34589         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34590         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34591         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34592         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34593         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34594         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34595         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34596         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34597         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34598         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34599         * nptl/sysdeps/sh/tls.h: Moved ...
34600         * sysdeps/sh/nptl/tls.h: ... here.
34601         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34602         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34603         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34604         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34605         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34606         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34607         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34608         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34609         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34610         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34611         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34612         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34614         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34616         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34617         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34618         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34619         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34620         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34621         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34622         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34623         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34624         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34625         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34626         Moved ...
34627         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34628         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34629         Moved ...
34630         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34631         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34632         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34633         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34634         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34635         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34636         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34637         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34638         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34639         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34640         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34641         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34642         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34643         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34644         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34645         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34646         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34647         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34648         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34650 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34652         * posix/spawn_faction_addopen.c: Include string.h.
34654 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34656         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34657         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34658         * nptl/sysdeps/x86_64/Makefile: Moved ...
34659         * sysdeps/x86_64/nptl/Makefile: ... here.
34660         * nptl/sysdeps/x86_64/configure: Moved ...
34661         * sysdeps/x86_64/nptl/configure: ... here.
34662         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34663         * sysdeps/x86_64/nptl/configure.ac: ... here.
34664         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34665         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34666         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34667         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34668         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34669         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34670         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34671         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34672         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34673         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34674         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34675         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34676         * nptl/sysdeps/x86_64/tls.h: Moved ...
34677         * sysdeps/x86_64/nptl/tls.h: ... here.
34678         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34679         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34680         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34681         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34683         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34685 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34689 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34691         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34692         type.
34693         [POSIX] (off_t): Likewise.
34694         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34695         [POSIX] (S_ISBLK): Require macro.
34696         [POSIX] (S_ISCHR): Likewise.
34697         [POSIX] (S_ISDIR): Likewise.
34698         [POSIX] (S_ISFIFO): Likewise.
34699         [POSIX] (S_ISREG): Likewise.
34700         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34701         optional-macro.
34702         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34703         type.
34704         [POSIX] (time_t): Likewise.
34705         [POSIX] (timer_t): Likewise.
34707 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34709         [BZ #17048]
34710         * posix/spawn_int.h (struct __spawn_action): Make the path string
34711         non-const to support deallocation.
34712         * posix/spawn_faction_addopen.c
34713         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34714         * posix/spawn_faction_destroy.c
34715         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34716         path in all spawn_do_open actions.
34717         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34718         posix_spawn_file_actions_addopen.
34720 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34722         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34723         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34724         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34725         conditional code always true.
34726         (__libc_vfork): New alias.
34728 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34730         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34731         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34733         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34735         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34736         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34738         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34739         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34741         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34742         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34744 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34746         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34747         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34748         multiarch strcmp for PPC64.
34749         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34750         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34752         multiarch optimizations.
34753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34754         (__libc_ifunc_impl_list): Likewise.
34756 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34758         * benchtests/scripts/validate_benchout.py: New script.
34759         * benchtests/Makefile (bench-func): Call it.
34760         * benchtests/scripts/benchout.schema.json: New file.
34762 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34764         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34765         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34766         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34767         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34768         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34769         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34770         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34771         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34772         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34773         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34774         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34775         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34776         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34777         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34778         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34779         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34781         Moved ...
34782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34783         ... here.
34784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34785         Moved ...
34786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34788         Moved ...
34789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34790         ... here.
34791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34792         Moved ...
34793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34794         ... here.
34795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34796         Moved ...
34797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34799         Moved ...
34800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34801         ... here.
34802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34803         Moved ...
34804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34805         ... here.
34806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34807         Moved ...
34808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34810         Moved ...
34811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34812         ... here.
34813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34814         Moved ...
34815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34816         ... here.
34817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34818         Moved ...
34819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34820         ... here.
34821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34822         Moved ...
34823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34825         Moved ...
34826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34827         ... here.
34828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34829         Moved ...
34830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34831         ... here.
34832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34833         Moved ...
34834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34835         ... here.
34836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34837         Moved ...
34838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34840         Moved ...
34841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34842         ... here.
34843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34844         Moved ...
34845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34846         ... here.
34847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34848         Moved ...
34849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34851         Moved ...
34852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34853         ... here.
34854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34855         Moved ...
34856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34858         Moved ...
34859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34861         Moved ...
34862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34863         ... here.
34864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34865         Moved ...
34866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34867         ... here.
34868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34869         Moved ...
34870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34871         ... here.
34872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34873         Moved ...
34874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34876         Moved ...
34877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34878         ... here.
34879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34880         Moved ...
34881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34882         ... here.
34883         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34884         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34886         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34888         Moved ...
34889         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34890         ... here.
34891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34892         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34894         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34895         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34896         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34897         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34898         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34899         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34900         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34901         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34902         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34903         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34904         Moved ...
34905         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34906         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34907         Moved ...
34908         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34909         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34910         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34911         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34912         Moved ...
34913         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34915         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34916         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34917         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34918         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34919         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34921 2014-06-10  Wilco  <wdijkstr@arm.com>
34923         * math/test-fenv-return.c: New file.
34924         * math/Makefile: Add new test test-fenv-return.
34926 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34928         [BZ #17042]
34929         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34930         when x - 1 is zero.
34931         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34932         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34933         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34934         0.0L for an argument of 1.0L.
34935         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34936         Likewise.
34937         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34938         value when x - 1 is zero.
34939         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34940         * sysdeps/i386/fpu/libm-test-ulps: Update.
34941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34943 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34945         [BZ #15119]
34946         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34948 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34950         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34951         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34953 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34955         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34956         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34958         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34959         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34961         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34962         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34964         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34965         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34967         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34968         if not already defined.
34969         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34970         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34971         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34972         (TLS_INIT_TP): Use it.
34973         (TLS_DEFINE_INIT_TP): New macro.
34974         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34976 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34978         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34979         constant.
34980         [POSIX] (IXANY): Likewise.
34981         [POSIX] (OLCUC): Likewise.
34982         [POSIX || POSIX2008] (CBAUD): Do not allow.
34983         [POSIX || POSIX2008] (DEFECHO): Likewise.
34984         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34985         [POSIX || POSIX2008] (ECHOKE): Likewise.
34986         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34987         [POSIX || POSIX2008] (EXTA): Likewise.
34988         [POSIX || POSIX2008] (EXTB): Likewise.
34989         [POSIX || POSIX2008] (FLUSHO): Likewise.
34990         [POSIX || POSIX2008] (LOBLK): Likewise.
34991         [POSIX || POSIX2008] (PENDIN): Likewise.
34992         [POSIX || POSIX2008] (SWTCH): Likewise.
34993         [POSIX || POSIX2008] (VDISCARD): Likewise.
34994         [POSIX || POSIX2008] (VDSUSP): Likewise.
34995         [POSIX || POSIX2008] (VLNEXT): Likewise.
34996         [POSIX || POSIX2008] (VREPRINT): Likewise.
34997         [POSIX || POSIX2008] (VSTATUS): Likewise.
34998         [POSIX || POSIX2008] (VWERASE): Likewise.
34999         (B*): Change to B[0123456789]*.
35000         * conform/data/time.h-data [POSIX || UNIX98]
35001         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35002         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35003         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35004         [POSIX] (tm_*): Do not allow.
35006 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35008         * Makefile (install): Don't set LANGUAGE.
35009         * Makefile.in (install): Likewise.
35010         * assert/Makefile (test-assert-ENV): Remove variable.
35011         (test-assert-perr-ENV): Likewise.
35012         * elf/Makefile (neededtest4-ENV): Likewise.
35013         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35014         [$(cross-compiling) = no]: Don't set LANGUAGE.
35015         * io/ftwtest-sh (LANG): Remove variable.
35016         * libio/Makefile (tst-widetext-ENV): Likewise.
35017         * manual/install.texi (Running make install): Don't refer to
35018         environment settings for make install.
35019         * INSTALL: Regenerated.
35020         * nptl/tst-tls6.sh: Don't set LANG.
35021         * posix/globtest.sh (LANG): Remove variable.
35022         * string/Makefile (tester-ENV): Likewise.
35023         (inl-tester-ENV): Likewise.
35024         (noinl-tester-ENV): Likewise.
35025         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35026         [$(cross-compiling) = no]: Don't set LANGUAGE.
35027         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35028         without explicit environment settings.
35030 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35032         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35033         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35034         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35035         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35037 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35039         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35040         other files in the crypt directory.
35041         * crypt/crypt.c: Remove duplicate includes.
35042         * crypt/crypt-entry.c: Likewise.
35043         * crypt/crypt_util.c: Likewise.
35045 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35047         * Makeconfig (run-program-env): New variable.
35048         (run-program-prefix-before-env): Likewise.
35049         (run-program-prefix-after-env): Likewise.
35050         (run-program-prefix): Define in terms of new variables.
35051         (built-program-cmd-before-env): New variable.
35052         (built-program-cmd-after-env): Likewise.
35053         (built-program-cmd): Define in terms of new variables.
35054         (test-program-prefix-before-env): New variable.
35055         (test-program-prefix-after-env): Likewise.
35056         (test-program-prefix): Define in terms of new variables.
35057         (test-program-cmd-before-env): New variable.
35058         (test-program-cmd-after-env): Likewise.
35059         (test-program-cmd): Define in terms of new variables.
35060         * Rules (make-test-out): Use $(run-program-env).
35061         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35062         (help): Do not mention environment variables.  Mention
35063         --timeoutfactor option.
35064         (timeoutfactor): New variable.
35065         (blacklist_exports): Remove function.
35066         (exports): Remove variable.
35067         (command): Do not include ${exports}.
35068         * manual/install.texi (Configuring and compiling): Do not mention
35069         test wrappers preserving environment variables.  Mention that last
35070         assignment to a variable must take precedence.
35071         * INSTALL: Regenerated.
35072         * benchtests/Makefile (run-bench): Use $(run-program-env).
35073         * catgets/Makefile ($(objpfx)test1.cat): Use
35074         $(built-program-cmd-before-env), $(run-program-env) and
35075         $(built-program-cmd-after-env).
35076         ($(objpfx)test2.cat): Do not specify environment variables
35077         explicitly.
35078         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35079         $(run-program-env) and $(built-program-cmd-after-env).
35080         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35081         $(run-program-env) and $(test-program-cmd-after-env).
35082         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35083         explicitly.
35084         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35085         run_program_env and test_program_cmd_after_env arguments.
35086         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35087         * elf/tst-pathopt.sh: Use run_program_env argument.
35088         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35089         $(test-wrapper-env) and $(run-program-env).
35090         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35091         run_program_env arguments.
35092         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35093         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35094         $(test-program-prefix-before-env), $(run-program-env) and
35095         $(test-program-prefix-after-env).
35096         ($(objpfx)tst-gettext2.out): Likewise.
35097         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35098         run_program_env and test_program_prefix_after_env arguments.
35099         * intl/tst-gettext2.sh: Likewise.
35100         * intl/tst-gettext4.sh: Do not set environment variables
35101         explicitly.
35102         * intl/tst-gettext6.sh: Likewise.
35103         * intl/tst-translit.sh: Likewise.
35104         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35105         $(test-program-prefix-before-env), $(run-program-env) and
35106         $(test-program-prefix-after-env).
35107         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35108         run_program_env and test_program_prefix_after_env arguments.
35109         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35110         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35111         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35112         explicitly with each use of ${test_wrapper_env}.
35113         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35114         $(test-program-prefix-before-env), $(run-program-env) and
35115         $(test-program-prefix-after-env).
35116         * posix/tst-getconf.sh: Do not set environment variables
35117         explicitly.
35118         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35119         run_program_env and test_program_prefix_after_env arguments.
35120         * stdio-common/tst-printf.sh: Do not set environment variables
35121         explicitly.
35122         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35123         $(test-program-prefix-before-env), $(run-program-env) and
35124         $(test-program-prefix-after-env).
35125         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35126         run_program_env and test_program_prefix_after_env arguments.
35127         Split $test calls into $test_pre and $test.
35128         * timezone/Makefile (build-testdata): Use
35129         $(built-program-cmd-before-env), $(run-program-env) and
35130         $(built-program-cmd-after-env).
35132 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35134         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35135         strlen for non SHARED builds.
35137 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35139         * nptl/allocatestack.c (check_list): Inlined function...
35140         (__reclaim_stacks): ... here.
35142 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35144         [BZ #15698]
35145         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35146         memory overrun.
35148 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35150         * Rules (make-test-out): Include
35151         LOCPATH=$(common-objpfx)localedata in default environment.
35152         * debug/Makefile (tst-chk1-ENV): Remove variable.
35153         (tst-chk2-ENV): Likewise.
35154         (tst-chk3-ENV): Likewise.
35155         (tst-chk4-ENV): Likewise.
35156         (tst-chk5-ENV): Likewise.
35157         (tst-chk6-ENV): Likewise.
35158         (tst-lfschk1-ENV): Likewise.
35159         (tst-lfschk2-ENV): Likewise.
35160         (tst-lfschk3-ENV): Likewise.
35161         (tst-lfschk4-ENV): Likewise.
35162         (tst-lfschk5-ENV): Likewise.
35163         (tst-lfschk6-ENV): Likewise.
35164         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35165         (tst-iconv7-ENV): Likewise.
35166         * intl/Makefile (LOCPATH-ENV): Likewise.
35167         (tst-codeset-ENV): Likewise.
35168         (tst-gettext3-ENV): Likewise.
35169         (tst-gettext5-ENV): Likewise.
35170         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35171         (tst-fopenloc-ENV): Likewise.
35172         (tst-fgetws-ENV): Remove variable.
35173         (tst-ungetwc1-ENV): Likewise.
35174         (tst-ungetwc2-ENV): Likewise.
35175         (bug-ungetwc2-ENV): Likewise.
35176         (tst-swscanf-ENV): Likewise.
35177         (bug-ftell-ENV): Likewise.
35178         (tst-fgetwc-ENV): Likewise.
35179         (tst-fseek-ENV): Likewise.
35180         (tst-ftell-partial-wide-ENV): Likewise.
35181         (tst-ftell-active-handler-ENV): Likewise.
35182         (tst-ftell-append-ENV): Likewise.
35183         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35184         (tst-regexloc-ENV): Likewise.
35185         (bug-regex1-ENV): Likewise.
35186         (tst-regex-ENV): Likewise.
35187         (tst-regex2-ENV): Likewise.
35188         (bug-regex5-ENV): Likewise.
35189         (bug-regex6-ENV): Likewise.
35190         (bug-regex17-ENV): Likewise.
35191         (bug-regex18-ENV): Likewise.
35192         (bug-regex19-ENV): Likewise.
35193         (bug-regex20-ENV): Likewise.
35194         (bug-regex22-ENV): Likewise.
35195         (bug-regex23-ENV): Likewise.
35196         (bug-regex25-ENV): Likewise.
35197         (bug-regex26-ENV): Likewise.
35198         (bug-regex30-ENV): Likewise.
35199         (bug-regex32-ENV): Likewise.
35200         (bug-regex33-ENV): Likewise.
35201         (bug-regex34-ENV): Likewise.
35202         (bug-regex35-ENV): Likewise.
35203         (tst-rxspencer-ENV): Likewise.
35204         (tst-rxspencer-no-utf8-ENV): Likewise.
35205         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35206         (tst-sscanf-ENV): Likewise.
35207         (tst-swprintf-ENV): Likewise.
35208         (tst-swscanf-ENV): Likewise.
35209         (test-vfprintf-ENV): Likewise.
35210         (scanf13-ENV): Likewise.
35211         (bug14-ENV): Likewise.
35212         (tst-grouping-ENV): Likewise.
35213         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35214         (tst-strtod3-ENV): Likewise.
35215         (tst-strtod4-ENV): Likewise.
35216         (tst-strtod5-ENV): Likewise.
35217         (testmb2-ENV): Likewise./
35218         * string/Makefile (tst-strxfrm-ENV): Likewise.
35219         (tst-strxfrm2-ENV): Likewise.
35220         (bug-strcoll1-ENV): Likewise.
35221         (test-strcasecmp-ENV): Likewise.
35222         (test-strncasecmp-ENV): Likewise.
35223         * time/Makefile (tst-strptime-ENV): Likewise.
35224         (tst-ftime_l-ENV): Likewise.
35225         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35226         (tst-mbrtowc-ENV): Likewise.
35227         (tst-wcrtomb-ENV): Likewise.
35228         (tst-mbrtowc2-ENV): Likewise.
35229         (tst-c16c32-1-ENV): Likewise.
35230         (tst-mbsnrtowcs-ENV): Likewise.
35232 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35234         * manual/resource.texi (How to get information about the memory
35235         subsystem?): Fix typo.
35236         Reported by Peon de la Parra Ivan <peon@keba.com>
35238 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35240         [BZ #16882]
35241         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35242         (pthread_spin_lock): Branch out of spin loop to proper location.
35243         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35244         (pthread_spin_lock): Likewise.
35246         * nptl/tst-spin4.c: New test.
35247         * nptl/Makefile (tests): Add tst-spin4.
35249 2014-06-03  Andreas Schwab  <schwab@suse.de>
35251         [BZ #15946]
35252         * resolv/res_send.c (send_dg): Reload file descriptor after
35253         calling reopen.
35255 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35257         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35259 2014-06-03  Richard Henderson  <rth@redhat.com>
35261         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35262         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35263         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35264         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35265         in the SAVE_PID block.
35266         (__libc_vfork): New alias.
35267         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35269         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35270         child in registers, not on the stack.  Remove RESET_PID conditionals.
35271         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35273 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35275         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35277 2014-06-03  Wilco  <wdijkstr@arm.com>
35279         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35280         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35281         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35282         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35283         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35284         Likewise.
35286 2014-06-03  Wilco  <wdijkstr@arm.com>
35288         * sysdeps/aarch64/fpu/math_private.h
35289         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35290         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35291         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35292         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35293         Fix declarations.
35295 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35297         * crypt/crypt-private.h: Include ufc-crypt.h.
35298         (__b64_from_24bit): Declare extern.
35299         * crypt/crypt_util.c(__b64_from_24bit): New function.
35300         (b64t): New static const variable.
35301         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35302         (b64t): Remove variable.
35303         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35304         * crypt/sha256-crypt.c: Include crypt-private.h.
35305         (b64t): Remove variable.
35306         (__sha256_crypt_r): Remove b64_from_24bit and replace
35307         with __b64_from_24bit.
35308         * crypt/sha512-crypt.c: Likewise.
35310 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35312         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35313         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35314         Label the code __libc_vfork rather than __vfork.
35315         [!NOT_IN_libc] (vfork): Define as weak alias.
35316         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35317         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35318         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35320 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35322         * malloc/malloc.c (malloc_info): Fix format specifier for
35323         n_mmaps.
35325 2014-06-02  Wilco  <wdijkstr@arm.com>
35327         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35328         FPCR write.
35330 2014-06-02  Wilco  <wdijkstr@arm.com>
35332         [BZ #17009]
35333         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35334         Rewrite to reduce FPCR/FPSR accesses.
35336 2014-06-01  David S. Miller  <davem@davemloft.net>
35338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35340 2014-05-31  David S. Miller  <davem@davemloft.net>
35342         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35343         to occur in round to nearest mode when |x| >= 2.0
35345 2014-05-30  Richard Henderson  <rth@twiddle.net>
35347         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35348         (PSEUDO_RET_NOERRNO): Remove.
35349         (ret): Don't redefine.
35350         (ret_NOERRNO): Define in terms of ret.
35351         (ret_ERRVAL): Likewise.
35353         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35354         use of PSEUDO_RET; perform the error check directly.
35356 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35358         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35359         with __int128_t.
35361 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35363         * malloc/malloc (malloc_info): Fix formatting.
35365 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35366             Roland McGrath  <roland@hack.frob.com>
35368         * malloc/malloc (malloc_info): Also print mmapped statistics.
35370 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35372         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35373         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35375 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35377         * malloc/malloc.c (malloc_info): Inline mi_arena.
35379 2014-05-29  Richard Henderson  <rth@twiddle.net>
35381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35382         Remove comma before expanding ASM_ARGS_##nr.
35383         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35384         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35385         of ASM_ARGS_##nr.
35386         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35387         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35388         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35389         (ASM_ARGS_1): Add leading comma.
35391         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35392         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35393         to __errno_location.
35394         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35395         Remove the expected plt for __errno_location.
35397         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35398         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35399         call to __read_tp.
35401         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35402         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35403         it and break it down.
35404         (DOCARGS_0, DOCARGS_1): Do nothing.
35405         (DOCARGS_2): Update to store into the new stack frame.
35406         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35407         (UNDOCARGS_1): Update to restore from the new stack frame.
35408         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35409         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35411         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35412         (SINGLE_THREAD_P): New parameter for result regno.
35413         (PSEUDO): Update to match; use cbz instead of beq.
35415         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35416         Use ENTRY to define the _nocancel entry point.  Share the syscall
35417         and syscall error check paths with the cancel path.
35418         (PSEUDO_END): New.
35420         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35421         whitespace; tabs before and after asm mnemonics.
35423 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35425         [BZ #15132]
35426         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35427         Call fstat64 or stat64 internally, depending on arguments passed.
35428         Replace stat buffer argument with file descriptor argument.
35429         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35430         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35431         Pass fd to __internal_statvfs instead of calling fstat64.
35432         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35433         Pass fd to __internal_statvfs64 instead of calling fstat64.
35434         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35435         Pass -1 to __internal_statvfs instead of calling stat64.
35436         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35437         Pass -1 to __internal_statvfs64 instead of calling stat64.
35439 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35441         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35442         that was previously under [RESET_PID].
35443         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35445         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35446         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35448 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35450         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35452         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35453         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35455 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35457         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35459 2014-05-27  Andreas Schwab  <schwab@suse.de>
35461         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35462         TLS_INIT_TP macro.
35463         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35464         * elf/rtld.c (init_tls, dl_main): Likewise.
35465         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35466         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35467         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35468         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35469         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35470         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35471         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35472         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35473         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35474         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35475         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35476         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35477         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35478         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35479         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35480         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35481         * sysdeps/generic/tls.h: Update description.
35483 2014-05-27  Will Newton  <will.newton@linaro.org>
35485         [BZ #16990]
35486         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35487         and restore r2 rather than just restoring.
35489 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35491         [BZ #16724]
35492         * libio/tst-ftell-append.c: New test case.
35493         * libio/Makefile (tests): Add test case.
35494         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35495         append mode.
35496         * libio/wfileops.c (do_ftell_wide): Likewise.
35498 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35502         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35503         ...
35504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35506         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35507         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35508         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35509         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35510         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35511         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35512         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35513         Moved ...
35514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35515         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35516         Moved ...
35517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35518         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35519         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35520         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35521         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35522         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35523         ...
35524         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35525         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35526         Moved ...
35527         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35528         here.
35529         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35530         ...
35531         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35532         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35533         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35535         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35536         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35537         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35538         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35541         merge into ...
35542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35544         ...
35545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35547         ...
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35549         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35550         Moved ...
35551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35552         here.
35553         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35554         Moved ...
35555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35556         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35557         Moved ...
35558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35561         conditional [RESET_PID].
35562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35564         removed.
35565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35566         removed.
35568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35569         <tcb-offsets.h>.
35570         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35571         (__libc_vfork): New strong alias.
35572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35573         removed.
35574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35575         Removed.
35577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35578         <tcb-offsets.h>.
35579         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35580         (__libc_vfork): New strong alias.
35581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35582         removed.
35583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35584         removed.
35586 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35588         * malloc/malloc.c (mi_arena): New function.
35589         (malloc_info): Remove nested function mi_arena. Call non-nosted
35590         function mi_arena.
35592 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35594         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35595         by insrwi.
35596         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35597         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35598         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35599         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35600         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35601         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35602         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35604 2014-05-26  Andreas Schwab  <schwab@suse.de>
35606         [BZ #16984]
35607         * locale/programs/repertoire.c (repertoire_read): Add slash
35608         between I18NPATH element and file name.
35609         * locale/programs/locfile.c (locfile_read): Likewise.
35611 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35613         * nptl/pthread_mutexattr_settype.c
35614         (__pthread_mutexattr_settype):
35615         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35617 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35619         * nptl/tst-mutex5 (do_test):
35620         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35622 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35624         * benchtests/README: Document 'init' directive.
35625         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35626         BENCH_INIT.
35627         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35628         (parse_file): Recognize 'init' directive.
35630 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35632         [BZ #16796]
35633         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35634         alignment of struct pthread.
35636 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35638         [BZ #16878]
35639         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35640         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35641         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35642         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35644 2014-05-25  Richard Henderson  <rth@twiddle.net>
35646         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35647         (SINGLE_THREAD_P_PIC): Remove.
35648         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35649         (SINGLE_THREAD_P_PIC): Remove.
35651         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35652         branch to syscall error ...
35653         (PSEUDO): ... here.
35654         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35655         from __local_syscall_error to .Lsyscall_error.
35656         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35657         (SYSCALL_ERROR): Update label name.
35659         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35660         Do not use DOARGS/UNDOARGS.
35661         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35662         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35663         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35664         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35665         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35667         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35668         block comment.
35670         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35671         define if !NOT_IN_libc.
35672         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35673         define with non-default symbol versions.
35675 2014-05-23  Richard Henderson  <rth@twiddle.net>
35677         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35678         (vfork, __vfork): Define via compat_symbol.
35680         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35681         [!HAVE_IFUNC] (vfork_compat): Remove.
35682         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35684 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35686         [BZ #16978]
35687         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35688         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35689         variable.
35691 2014-05-23  Richard Henderson  <rth@twiddle.net>
35693         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35694         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35695         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35696         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35698         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35699         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35700         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35701         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35702         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35703         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35704         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35705         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35706         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35707         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35708         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35709         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35710         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35711         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35712         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35713         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35714         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35715         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35716         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35717         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35718         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35719         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35720         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35721         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35722         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35723         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35724         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35725         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35726         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35727         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35728         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35729         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35730         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35731         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35732         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35733         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35734         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35735         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35736         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35737         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35738         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35739         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35740         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35741         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35742         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35743         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35744         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35745         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35746         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35747         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35748         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35749         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35750         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35751         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35752         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35753         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35755         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35756         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35757         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35758         before exiting on error.
35759         (__libc_vfork): New strong alias.
35760         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35761         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35763         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35764         that was previously under [RESET_PID].
35765         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35767         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35769 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35771         [BZ #16977]
35772         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35773         value when x - 1 is zero.
35774         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35775         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35776         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35777         0.0L for an argument of 1.0L.
35778         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35779         Likewise.
35780         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35781         value when x - 1 is zero.
35782         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35783         * sysdeps/i386/fpu/libm-test-ulps: Update.
35784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35786 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35788         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35789         alphasort and versionsort.
35791 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35793         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35794         macro.
35795         [copysignf]: Likewise.
35797 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35799         * crypt/md5-crypt.c: Fix formatting.
35801 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35803         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35804         (b64_from_24bit): New function.
35806 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35808         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35809         libc_hidden_builtin_def to ifunc.
35810         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35811         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35813 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35815         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35816         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35818 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35820         * nscd/Depend (linuxthreads): Remove.
35821         (nptl): Add.
35822         * resolv/Depend (linuxthreads): Remove.
35823         * rt/Depend (linuxthreads): Remove.
35825         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35826         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35827         $(common-objpfx)elf/.
35828         (link-libc-before-gnulib): Likewise.
35829         (elfobjdir): Remove variable.
35830         * Makefile (install): Use $(elf-objpfx) instead of
35831         $(common-objpfx)elf/.
35832         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35833         $(elfobjdir)/.
35834         (link-libc-deps): Likewise.
35835         ($(common-objpfx)libc.so): Likewise.
35836         ($(common-objpfx)linkobj/libc.so): Likewise.
35837         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35838         instead of $(common-objpfx)elf/.
35839         (symbolic-link-list): Likewise.
35840         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35841         [$(cross-compiling) = no]: Likewise.
35842         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35843         $(elfobjdir)/.
35844         (static-gnulib-arch): Likewise.
35845         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35846         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35847         $(common-objpfx)elf/.
35849 2014-05-21  Richard Henderson  <rth@redhat.com>
35851         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35852         (SINGLE_THREAD_P): Use the correct width load.  Fold
35853         into the ldr offset.
35855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35856         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35858 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35860         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35861         (libgcc_s_resume): Use __attribute_used__.
35862         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35863         Likewise.
35865 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35867         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35868         optimization when used with float constants.
35870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35872 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35874         [BZ #16915]
35875         * locale/nl_langinfo_l.c: Make direct reference to every
35876         _nl_current_CATEGORY symbol.
35877         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35878         (tests-static): Add tst-langinfo-static.
35879         (tests-special): Add tst-langinfo-static.out.
35880         ($(objpfx)tst-langinfo.out): Redirect output.
35881         ($(objpfx)tst-langinfo-static.out): New.
35882         * localedata/tst-langinfo.sh: Send output to stdout.
35883         * localedata/tst-langinfo-static.c: New file.
35885         [BZ #16965]
35886         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35887         when the shift amount is modulo the limb size.
35889 2014-05-20  Richard Henderson  <rth@redhat.com>
35891         [BZ #16967]
35892         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35893         Change type of sa_flags from unsigned int to int.
35895         [BZ #16966]
35896         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35898         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35900 2014-05-20  Will Newton  <will.newton@linaro.org>
35902         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35903         Test the return value of the system call in the nocancel case.
35905 2014-05-20  Will Newton  <will.newton@linaro.org>
35906             Yvan Roux  <yvan.roux@linaro.org>
35908         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35909         #include of asm/ptrace.h.
35910         (PTRACE_GET_THREAD_AREA): Remove #undef.
35911         (PTRACE_GETHBPREGS): Likewise.
35912         (PTRACE_SETHBPREGS): Likewise.
35913         (struct user_regs_struct): New structure.
35914         (struct user_fpsimd_struct): New structure.
35915         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35916         #include of asm/ptrace.h and second #include of sys/user.h.
35917         (PTRACE_GET_THREAD_AREA): Remove #undef.
35918         (PTRACE_GETHBPREGS): Likewise.
35919         (PTRACE_SETHBPREGS): Likewise.
35920         (ELF_NGREG): Use new struct user_regs_struct.
35921         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35923 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35925         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35926         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35928 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35930         [BZ #16958]
35931         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35932         membar to avoid block loads/stores to overlap previous stores.
35934 2014-05-17  Richard Henderson  <rth@redhat.com>
35936         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35937         Create the __##syscall_name##_nocancel entry point.
35938         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35939         Remove; let the sysdep-cancel.h code create it.
35941 2014-05-17  David S. Miller  <davem@davemloft.net>
35943         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35944         Protect with __USE_GNU.
35945         (TIOCSET_TEMPT): Likewise.
35946         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35947         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35948         these are already provided in bits/ioctl-types.h
35950 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35952         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35953         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35955         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35956         Use wait4 regardless of [__NR_waitpid].
35958 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35960         PR libgcc/60166
35961         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35962         (_FP_NANSIGN_Q): Set the quiet bit.
35964 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35966         * benchtests/Makefile
35967         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35968         not $(common-objpfx)math/libm.so.
35969         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35970         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35971         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35972         $(common-objpfx)dlfcn/libdl.so.
35973         ($(objpfx)tst-audit8): Depend on $(libm), not
35974         $(common-objpfx)math/libm.so.
35975         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35976         not $(common-objpfx)dlfcn/libdl.so.
35977         * math/Makefile
35978         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35979         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35980         [$(build-shared) = yes].
35981         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35982         $(common-objpfx)nptl/libpthread.so.
35983         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35984         $(common-objpfx)math/libm.so$(libm.so-version) or
35985         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35986         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35987         $(common-objpfx)dlfcn/libdl.so.
35988         * setjmp/Makefile (link-libm): Remove variable.
35989         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35990         * stdio-common/Makefile (link-libm): Remove variable.
35991         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35992         * stdlib/Makefile (link-libm): Remove variable.
35993         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35994         ($(objpfx)tst-strtod-round): Likewise.
35995         ($(objpfx)tst-tininess): Likewise.
35996         ($(objpfx)tst-strtod-underflow): Likewise.
35997         ($(objpfx)tst-strtod6): Likewise.
35998         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35999         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36000         $(common-objpfx)dlfcn/libdl.so.
36002 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36004         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36005         BSD terminal modes definitions.
36007 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36009         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36010         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36012         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36013         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36014         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36015         Don't do #include_next.
36016         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36017         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36018         Don't do #include_next.
36019         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36020         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36021         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36022         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36024 2014-05-16  Allan McRae  <allan@archlinux.org>
36026         * po/sv.po: Update Swedish translation from translation project.
36028         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36029         in sed expression.
36031 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36033         [BZ #16917]
36034         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36035         errno if the TIOCGPTN ioctl fails with an error different than
36036         EINVAL.
36037         * login/tst-ptsname.c: New file.
36038         * login/Makefile (tests): Add tst-ptsname.
36040         [BZ #16943]
36041         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36042         and prlimit64.
36044 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36046         [BZ #16849]
36047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36048         herrno to return EAI_AGAIN.
36050 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36052         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36053         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36054         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36055         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36056         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36057         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36058         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36059         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36060         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36061         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36062         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36063         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36064         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36065         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36066         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36067         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36068         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36069         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36070         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36071         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36072         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36073         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36074         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36075         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36076         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36077         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36078         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36079         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36080         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36081         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36083         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36085         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36087         Moved ...
36088         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36090         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36092         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36094         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36096         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36098         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36100         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36102         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36104         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36106         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36108         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36110         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36112         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36114         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36116         Moved ...
36117         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36119         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36121         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36123         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36125         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36127         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36129         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36131         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36133         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36135         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36137         Moved ...
36138         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36140         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36142         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36143         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36144         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36145         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36146         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36147         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36148         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36149         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36150         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36151         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36152         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36153         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36154         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36155         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36156         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36157         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36158         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36159         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36160         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36161         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36162         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36163         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36164         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36165         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36166         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36167         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36168         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36169         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36170         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36171         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36172         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36174         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36175         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36177         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36178         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36179         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36180         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36181         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36182         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36183         Moved ...
36184         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36185         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36186         Moved ...
36187         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36188         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36189         Moved ...
36190         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36191         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36192         Moved ...
36193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36194         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36195         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36196         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36197         Moved ...
36198         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36199         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36200         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36201         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36202         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36203         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36204         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36205         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36206         Moved ...
36207         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36208         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36209         Moved ...
36210         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36211         ... here.
36212         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36213         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36214         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36215         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36216         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36217         Moved ...
36218         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36219         ... here.
36220         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36221         Moved ...
36222         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36223         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36224         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36225         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36226         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36227         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36228         Moved ...
36229         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36230         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36231         Moved ...
36232         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36233         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36234         Moved ...
36235         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36236         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36237         Moved ...
36238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36239         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36240         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36241         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36242         Moved ...
36243         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36244         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36245         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36246         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36247         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36248         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36249         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36250         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36251         Moved ...
36252         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36253         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36254         Moved ...
36255         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36256         ... here.
36257         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36258         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36259         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36260         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36261         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36262         Moved ...
36263         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36264         ... here.
36265         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36266         Moved ...
36267         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36268         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36269         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36270         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36271         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36272         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36273         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36274         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36275         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36276         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36277         Moved ...
36278         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36279         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36280         Moved ...
36281         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36282         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36283         Moved ...
36284         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36285         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36286         Moved ...
36287         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36288         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36289         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36290         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36291         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36292         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36293         Moved ...
36294         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36295         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36296         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36297         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36298         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36299         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36300         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36301         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36302         Moved ...
36303         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36304         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36305         Moved ...
36306         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36307         ... here.
36308         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36309         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36310         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36311         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36312         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36313         Moved ...
36314         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36315         ... here.
36316         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36317         Moved ...
36318         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36319         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36320         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36321         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36322         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36323         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36324         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36325         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36326         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36327         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36328         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36330         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36331         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36333         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36334         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36336         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36337         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36338         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36339         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36340         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36341         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36342         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36343         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36344         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36345         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36347         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36348         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36349         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36350         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36352         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36354         Moved ...
36355         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36356         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36357         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36359         Moved ...
36360         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36361         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36362         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36363         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36364         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36365         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36366         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36367         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36368         Moved ...
36369         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36370         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36371         Moved ...
36372         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36373         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36374         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36375         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36376         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36377         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36378         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36379         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36380         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36381         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36382         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36383         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36384         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36385         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36386         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36387         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36388         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36390         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36391         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36392         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36393         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36394         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36396         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36397         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36398         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36399         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36400         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36401         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36402         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36403         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36404         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36405         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36408         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36410         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36411         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36412         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36413         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36414         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36415         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36416         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36417         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36418         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36419         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36420         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36421         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36422         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36423         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36424         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36425         Update #include.
36426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36427         Likewise.
36428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36429         Likewise.
36430         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36431         Likewise.
36432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36433         Likewise.
36434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36435         Likewise.
36436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36437         Likewise.
36438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36439         Likewise.
36440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36441         Likewise.
36442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36443         Likewise.
36444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36448         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36449         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36450         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36451         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36453         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36454         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36455         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36456         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36457         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36458         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36460         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36461         that was previously under [RESET_PID].
36462         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36463         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36464         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36466         * sysdeps/i386/nptl/Implies: New file.
36467         * sysdeps/x86_64/nptl/Implies: New file.
36468         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36469         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36470         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36471         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36473         * sysdeps/unix/sysv/linux/i386/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         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36477         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36479         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36480         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36481         (__libc_vfork): New strong alias.
36482         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36483         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36485         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36486         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36487         (__libc_vfork): New strong alias.
36488         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36489         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36490         * nptl/pt-vfork.c: New file.
36491         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36492         (libpthread: GLIBC_2.20): New version set (empty).
36494 2014-05-14  Will Newton  <will.newton@linaro.org>
36496         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36497         rather than #if.
36499 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36501         [BZ #16564]
36502         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36503         arguments with exponent 65 or above.
36504         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36505         arguments 0x1p113L or above.
36506         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36507         to arguments 0x1p107L or above.
36508         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36509         positive arguments with exponent 65 or above.
36510         * math/auto-libm-test-in: Add more tests of log1p.
36511         * math/auto-libm-test-out: Regenerated.
36513         [BZ #16928]
36514         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36515         non-finite arguments is +0.
36516         * math/s_cacosf.c (__cacosf): Likewise.
36517         * math/s_cacosl.c (__cacosl): Likewise.
36518         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36519         * sysdeps/i386/fpu/libm-test-ulps: Update.
36520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36522         [BZ #16927]
36523         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36524         value.
36525         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36526         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36527         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36528         for explicit high bit of mantissa when testing for argument equal
36529         to 1.
36530         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36531         * sysdeps/i386/fpu/libm-test-ulps: Update.
36532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36534         [BZ #16516]
36535         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36536         (__erf): Scale by 16 instead of 8 in potentially underflowing
36537         case.  Ensure exception if result actually underflows.
36538         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36539         (__erff): Scale by 16 instead of 8 in potentially underflowing
36540         case.  Ensure exception if result actually underflows.
36541         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36542         (efx8): Remove variable.
36543         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36544         case.  Ensure exception if result actually underflows.
36545         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36546         (efx8): Remove variable.
36547         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36548         case.  Ensure exception if result actually underflows.
36549         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36550         (efx8): Remove variable.
36551         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36552         case.  Ensure exception if result actually underflows.
36553         * math/auto-libm-test-in: Add more tests of erf.
36554         * math/auto-libm-test-out: Regenerated.
36556 2014-05-14  Andreas Schwab  <schwab@suse.de>
36558         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36559         Remove code conditionalized on USE___THREAD.
36561         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36562         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36563         not definedness.
36565 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36567         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36568         Define unconditionally.
36569         (__ASSUME_O_CLOEXEC): Likewise.
36570         (__ASSUME_SOCK_CLOEXEC): Likewise.
36571         (__ASSUME_IN_NONBLOCK): Likewise.
36572         (__ASSUME_PIPE2): Likewise.
36573         (__ASSUME_EVENTFD2): Likewise.
36574         (__ASSUME_SIGNALFD4): Likewise.
36575         (__ASSUME_DUP3): Likewise.
36576         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36577         (__ASSUME_DUP3): Do not define.
36578         (__ASSUME_EVENTFD2): Likewise.
36579         (__ASSUME_IN_NONBLOCK): Likewise.
36580         (__ASSUME_O_CLOEXEC): Likewise.
36581         (__ASSUME_PIPE2): Likewise.
36582         (__ASSUME_SIGNALFD4): Likewise.
36583         (__ASSUME_SOCK_CLOEXEC): Likewise.
36584         (__ASSUME_UTIMES): Undefine.
36585         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36586         (__ASSUME_UTIMES): Do not define.
36587         (__ASSUME_O_CLOEXEC): Likewise.
36588         (__ASSUME_SOCK_CLOEXEC): Likewise.
36589         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36590         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36591         0x020621].
36592         (__ASSUME_PIPE2): Likewise.
36593         (__ASSUME_EVENTFD2): Likewise.
36594         (__ASSUME_SIGNALFD4): Likewise.
36595         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36596         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36597         Do not define.
36598         (__ASSUME_EVENTFD2): Likewise.
36599         (__ASSUME_SIGNALFD4): Likewise.
36600         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36601         (__ASSUME_32BITUIDS): Likewise.
36602         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36603         (__ASSUME_IPC64): Likewise.
36604         (__ASSUME_ST_INO_64_BIT): Likewise.
36605         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36606         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36607         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36608         (__ASSUME_UTIMES): Do not define.
36609         (__ASSUME_PSELECT): Likewise.
36610         (__ASSUME_PPOLL): Likewise.
36611         (__ASSUME_O_CLOEXEC): Likewise.
36612         (__ASSUME_SOCK_CLOEXEC): Likewise.
36613         (__ASSUME_IN_NONBLOCK): Likewise.
36614         (__ASSUME_PIPE2): Likewise.
36615         (__ASSUME_EVENTFD2): Likewise.
36616         (__ASSUME_SIGNALFD4): Likewise.
36617         (__ASSUME_DUP3): Likewise.
36618         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36619         (__ASSUME_UTIMES): Likewise.
36620         (__ASSUME_O_CLOEXEC): Likewise.
36621         (__ASSUME_SOCK_CLOEXEC): Likewise.
36622         (__ASSUME_IN_NONBLOCK): Likewise.
36623         (__ASSUME_PIPE2): Likewise.
36624         (__ASSUME_EVENTFD2): Likewise.
36625         (__ASSUME_SIGNALFD4): Likewise.
36626         (__ASSUME_DUP3): Likewise.
36627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36628         (__ASSUME_UTIMES): Likewise.
36629         (__ASSUME_O_CLOEXEC): Likewise.
36630         (__ASSUME_SOCK_CLOEXEC): Likewise.
36631         (__ASSUME_IN_NONBLOCK): Likewise.
36632         (__ASSUME_PIPE2): Likewise.
36633         (__ASSUME_EVENTFD2): Likewise.
36634         (__ASSUME_SIGNALFD4): Likewise.
36635         (__ASSUME_DUP3): Likewise.
36636         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36637         Likewise.
36638         (__ASSUME_UTIMES): Likewise.
36639         (__ASSUME_EVENTFD2): Likewise.
36640         (__ASSUME_SIGNALFD4): Likewise.
36641         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36642         (__ASSUME_O_CLOEXEC): Likewise.
36643         (__ASSUME_SOCK_CLOEXEC): Likewise.
36644         (__ASSUME_IN_NONBLOCK): Likewise.
36645         (__ASSUME_PIPE2): Likewise.
36646         (__ASSUME_EVENTFD2): Likewise.
36647         (__ASSUME_SIGNALFD4): Likewise.
36648         (__ASSUME_DUP3): Likewise.
36649         (__ASSUME_UTIMES): Undefine.
36651         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36652         feclearexcept.  Remove symbol versioning code.
36653         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36654         symbol versioning code.
36655         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36656         symbol versioning code.
36657         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36658         feupdateenv.  Remove symbol versioning code.
36659         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36660         fegetexceptflag.  Remove symbol versioning code.
36661         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36662         fesetexceptflag.  Remove symbol versioning code.
36663         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36664         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36665         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36666         (__posix_fadvise64_l32): Remove prototype.
36667         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36668         code.
36670 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36672         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36673         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36674         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36675         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36677 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36679         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36680         current working directory
36682 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36684         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36685         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36686         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36687         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36688         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36689         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36690         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36691         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36692         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36693         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36694         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36695         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36696         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36697         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36698         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36699         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36700         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36701         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36702         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36703         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36704         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36705         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36706         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36707         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36708         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36709         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36710         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36711         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36712         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36713         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36714         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36715         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36716         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36717         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36718         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36719         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36720         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36721         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36722         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36723         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36724         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36725         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36727         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36728         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36730         * sysdeps/unix/sysv/linux/arm/Makefile
36731         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36732         Add rt-aeabi_unwind_cpp_pr1.
36733         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36734         Add nptl-aeabi_unwind_cpp_pr1.
36735         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36736         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36737         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36738         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36739         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36740         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36742         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36743         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36744         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36745         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36747         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36748         Deconditionalize the code that was previously under [RESET_PID].
36749         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36751         * sysdeps/generic/exit-thread.h: New file.
36752         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36753         * include/unistd.h (__exit_thread): Remove declaration.
36754         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36755         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36756         * csu/libc-start.c: Include <exit-thread.h>.
36757         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36758         * nptl/pthread_create.c: Include <exit-thread.h>.
36759         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36760         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36761         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36762         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36763         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36764         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36765         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36766         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36767         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36768         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36769         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36770         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36771         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36772         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36773         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36774         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36775         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36777 2014-05-13  Andreas Schwab  <schwab@suse.de>
36779         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36781 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36783         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36784         (__ASSUME_UTIMES): Do not condition on kernel version.
36785         (__ASSUME_PSELECT): Define unconditionally.
36786         (__ASSUME_PPOLL): Likewise.
36787         (__ASSUME_ATFCTS): Likewise.
36788         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36789         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36790         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36791         (__ASSUME_UTIMENSAT): Define unconditionally.
36792         (__ASSUME_PRIVATE_FUTEX): Likewise.
36793         (__ASSUME_FALLOCATE): Likewise.
36794         (__ASSUME_O_CLOEXEC): Likewise.
36795         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36796         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36797         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36798         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36799         (__ASSUME_IN_NONBLOCK): Likewise.
36800         (__ASSUME_PIPE2): Likewise.
36801         (__ASSUME_EVENTFD2): Likewise.
36802         (__ASSUME_SIGNALFD4): Likewise.
36803         (__ASSUME_DUP3): Likewise.
36804         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36805         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36806         (__ASSUME_AT_RANDOM): Likewise.
36807         (__ASSUME_PREADV): Likewise.
36808         (__ASSUME_PWRITEV): Likewise.
36809         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36810         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36811         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36812         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36813         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36814         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36815         (__ASSUME_O_CLOEXEC): Define unconditionally.
36816         (__ASSUME_PSELECT): Do not undefine conditionally.
36817         (__ASSUME_PPOLL): Likewise.
36818         (__ASSUME_ATFCTS): Likewise.
36819         (__ASSUME_SET_ROBUST_LIST): Likewise.
36820         (__ASSUME_UTIMENSAT): Likewise.
36821         (__ASSUME_FDATASYNC): Define unconditionally.
36822         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36823         (__ASSUME_SIGFRAME_V2): Likewise.
36824         )__ASSUME_EVENTFD2): Likewise.
36825         (__ASSUME_SIGNALFD4): Likewise.
36826         (__ASSUME_PSELECT): Do not undefine conditionally.
36827         (__ASSUME_PPOLL): Likewise.
36828         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36829         (__ASSUME_PSELECT): Define unconditionally.
36830         (__ASSUME_PPOLL): Likewise.
36831         (__ASSUME_O_CLOEXEC): Likewise.
36832         (__ASSUME_SOCK_CLOEXEC): Likewise.
36833         (__ASSUME_IN_NONBLOCK): Likewise.
36834         (__ASSUME_PIPE2): Likewise.
36835         (__ASSUME_EVENTFD2): Likewise.
36836         (__ASSUME_SIGNALFD4): Likewise.
36837         (__ASSUME_DUP3): Likewise.
36838         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36839         (__ASSUME_O_CLOEXEC): Likewise.
36840         (__ASSUME_SOCK_CLOEXEC): Likewise.
36841         (__ASSUME_IN_NONBLOCK): Likewise.
36842         (__ASSUME_PIPE2): Likewise.
36843         (__ASSUME_EVENTFD2): Likewise.
36844         (__ASSUME_SIGNALFD4): Likewise.
36845         (__ASSUME_DUP3): Likewise.
36846         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36847         (__ASSUME_EVENTFD2): Likewise.
36848         (__ASSUME_SIGNALFD4): Likewise.
36849         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36851 2014-05-12  Andreas Schwab  <schwab@suse.de>
36853         [BZ #16932]
36854         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36855         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36856         than maximum RPC packet size.
36857         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36858         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36859         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36860         (_nss_nis_getservbyport_r): Likewise.
36862 2014-05-12  Will Newton  <will.newton@linaro.org>
36864         * malloc/Makefile (tests): Add tst-mallopt.
36865         * malloc/tst-mallopt.c: New file.
36867 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36869         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36870         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36872 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36874         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36875         (tst-tlsmod6.so): Likewise.
36877 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36879         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36881 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36883         [BZ #16064]
36884         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36885         and <dl-procinfo.h>.
36886         (__fegetenv): Save SSE state in envp->__eip if supported.
36887         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36888         envp->__eip if supported.
36889         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36890         and <dl-procinfo.h>.
36891         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36892         __data_offset and __data_selector in environment to 0.  Set SSE
36893         state if supported.
36894         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36895         test-fenv-sse.
36896         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36897         -mfpmath=sse.
36898         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36900 2014-05-09  Will Newton  <will.newton@linaro.org>
36902         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36903         and libc_relro_required for ARM.
36904         * sysdeps/arm/preconfigure: Regenerate.
36906 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36907             Stefan Liebler  <stli@linux.vnet.ibm.com>
36909         * config.make.in (enable-lock-elision): New Makefile variable.
36910         * configure.ac: Likewise.
36911         * configure: Regenerate.
36912         * sysdeps/s390/configure.ac:
36913         Add check for gcc transactions support.
36914         * sysdeps/s390/configure: Regenerate.
36915         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36916         Build elision files if enabled.
36917         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36918         Add lock elision support for s390.
36919         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36920         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36921         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36922         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36923         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36924         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36925         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36926         Likewise.
36927         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36928         Likewise.
36929         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36930         Likewise.
36931         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36932         Likewise.
36933         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36934         (__lll_timedlock_elision, __lll_lock_elision)
36935         (__lll_unlock_elision, __lll_trylock_elision)
36936         (lll_timedlock_elision, lll_lock_elision)
36937         (lll_unlock_elision, lll_trylock_elision): Add.
36938         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36939         (pthread_mutex_t): Add lock elision support for s390.
36941 2014-05-14  Wilco  <wdijkstr@arm.com>
36943         * sysdeps/arm/fclrexcpt.c: Cleanup.
36944         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36945         * sysdeps/arm/feenablxcpt.c: Cleanup.
36946         * sysdeps/arm/fegetenv.c: Cleanup.
36947         * sysdeps/arm/fegetexcept.c: Cleanup.
36948         * sysdeps/arm/fegetround.c: Cleanup.
36949         * sysdeps/arm/feholdexcpt.c: Cleanup.
36950         * sysdeps/arm/fesetenv.c: Cleanup.
36951         * sysdeps/arm/fesetround.c: Cleanup.
36952         * sysdeps/arm/feupdateenv.c: Cleanup.
36953         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36954         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36955         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36956         * sysdeps/arm/ftestexcept.c: Cleanup.
36957         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36958         * sysdeps/arm/setfpucw.c: Cleanup.
36960 2014-05-09  Will Newton  <will.newton@linaro.org>
36962         * sysdeps/arm/armv7/strcmp.S: New file.
36963         * NEWS: Mention addition of ARMv7 optimized strcmp.
36965 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36967         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36968         look for %.ac rather than %.in.
36970         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36971         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36972         * sysdeps/mach/hurd/configure: Regenerated.
36973         * sysdeps/unix/sysv/linux/configure: Regenerated.
36975         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36977 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36979         [BZ# 16922]
36980         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36981         (LONG_SUB): Ditto.
36982         (PTR_SUB): Ditto.
36984 2014-05-07  Andreas Schwab  <schwab@suse.de>
36986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36987         when skipping over non-matching result from nscd.
36989 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36991         [BZ #16876]
36992         * nptl/sockperf.c (client): Check socket return value.
36994         [BZ #16877]
36995         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36996         nscd security class.
36998 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37000         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37001         * sysdeps/arm/unwind.h: ... here.
37003 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37005         [BZ# 16916]
37006         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37007         Define.
37009 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37011         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37012         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37013         multiarch strncpy for PPC64.
37014         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37015         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37017         multiarch optimizations.
37018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37019         (__libc_ifunc_impl_list): Likewise.
37020         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37021         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37022         multiarch stpncpy for PPC64.
37023         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37024         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37026 2014-05-06  Andreas Schwab  <schwab@suse.de>
37028         [BZ #16912]
37029         * gmon/mcount.c (_MCOUNT_DECL): Use
37030         atomic_compare_and_exchange_bool_acq instead of
37031         catomic_compare_and_exchange_bool_acq.
37033 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37035         * elf/Makefile (others, install-bin): Remove pldd.
37036         (pldd-modules): Variable removed.
37037         ($(objpfx)pldd): Target removed.
37038         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37039         (others, install-bin): Append pldd here.
37040         ($(objpfx)pldd): New target.
37042         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37043         to 0, so the first #if test emitted later doesn't see it undefined.
37044         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37045         * sysdeps/gnu/errlist.c: Regenerated.
37047 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37049         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37050         [libc_hidden_builtin_def]: Define to empty value.
37051         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37052         [libc_hidden_builtin_def]: Likewise.
37053         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37054         [libc_hidden_builtin_def]: Likewise.
37055         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37056         [libc_hidden_builtin_def]: Likewise.
37057         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37058         __redirect_memcpy and define ifunc as default hidden symbol.
37059         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37060         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37062 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37064         * locale/iso-4217.def: Reintroduce XDR currency.
37066 2014-05-04  Allan McRae  <allan@archlinux.org>
37068         * po/eo.po: Update Esperanto translation from translation project.
37070 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37072         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37073         and FEATURE_INDEX_MAX to 1.
37074         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37076 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37078         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37079         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37080         * iconvdata/big5.c (ONE_DIRECTION): Define.
37081         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37082         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37083         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37084         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37085         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37086         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37087         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37088         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37089         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37090         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37091         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37092         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37093         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37094         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37095         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37096         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37097         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37098         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37099         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37100         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37101         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37102         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37103         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37104         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37105         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37106         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37107         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37108         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37109         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37110         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37111         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37112         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37113         * iconvdata/johab.c (ONE_DIRECTION): Define.
37114         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37115         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37116         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37117         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37118         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37119         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37120         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37121         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37122         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37123         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37125 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37127         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37128         (_IO_JUMPS_OFFSET): Define to 0.
37130         * nptl/sysdeps/pthread/bits/libc-lock.h
37131         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37132         (__libc_lock_define_initialized_recursive): Always define using
37133         initializer.  Modern compilers treat uninitialized (implicit zero) and
37134         explicit zero initializers the same (i.e. put the datum in bss).
37136 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37138         * nscd/nscd-client.h: Include <string.h>.
37140 2014-05-01  David S. Miller  <davem@davemloft.net>
37142         [BZ #16885]
37143         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37144         multiple zero bytes exist at the end of a string.
37145         Reported by Aurelien Jarno <aurelien@aurel32.net>
37147         * string/test-strcmp.c (check): Add explicit test for situations where
37148         there are multiple zero bytes after the first.
37150 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37152         [BZ #16890]
37153         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37154         when compiling wprintf.
37155         * stdio-common/tstdiomisc.c (t3): New function.
37156         (main): Call it.
37158 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37160         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37161         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37162         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37163         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37165 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37167         * stdlib/longlong.h: Updated from GCC.
37169 2014-05-01  Will Newton  <will.newton@linaro.org>
37170             Bernard Ogden  <bernie.ogden@linaro.org>
37172         * NEWS: Update fixed bug list.
37174         [BZ #15119]
37175         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37177 2014-04-30  David S. Miller  <davem@davemloft.net>
37179         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37180         (libc_feholdexcept_setround_sparc_ctx): New function.
37181         (libc_fesetenv_sparc_ctx): Likewise.
37182         (libc_feupdateenv_sparc_ctx): Likewise.
37183         (libc_feholdsetround_sparc_ctx): Likewise.
37184         (libc_feholdexcept_setround_ctx): Define.
37185         (libc_feholdexcept_setroundf_ctx): Likewise.
37186         (libc_feholdexcept_setroundl_ctx): Likewise.
37187         (libc_fesetenv_ctx): Likewise.
37188         (libc_fesetenvf_ctx): Likewise.
37189         (libc_fesetenvl_ctx): Likewise.
37190         (libc_feupdateenv_ctx): Likewise.
37191         (libc_feupdateenvf_ctx): Likewise.
37192         (libc_feupdateenvl_ctx): Likewise.
37193         (libc_feresetround_ctx): Likewise.
37194         (libc_feresetroundf_ctx): Likewise.
37195         (libc_feresetroundl_ctx): Likewise.
37196         (libc_feholdsetround_ctx): Likewise.
37197         (libc_feholdsetroundf_ctx): Likewise.
37198         (libc_feholdsetroundl_ctx): Likewise.
37200         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37201         with __USE_GNU instead of XOPEN cpp guards.
37203         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37204         0.
37206         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37207         with XOPEN cpp guards.
37209 2014-04-30  Julian Brown  <julian@codesourcery.com>
37211         [BZ #16888]
37212         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37213         handling.
37215 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37217         [BZ #9894]
37218         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37219         Change to 2.6.32.
37220         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37221         * sysdeps/unix/sysv/linux/configure: Regenerated.
37222         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37223         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37224         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37225         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37226         * README: Update reference to required Linux kernel version.
37227         * manual/install.texi (Linux): Update reference to required Linux
37228         kernel headers version.
37229         * INSTALL: Regenerated.
37231         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37232         header inclusion.
37233         [POSIX] (limits.h): Likewise.
37234         [POSIX] (math.h): Likewise.
37235         [POSIX] (sys/wait.h): Likewise.
37236         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37237         function.
37238         [POSIX] (stddef.h): Do not allow header inclusion.
37240 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37242         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37244 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37246         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37247         Return immediately after lll_futex_wake.
37249 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37251         [BZ #16791]
37252         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37253         structure.
37254         (datahead_init_pos): Call datahead_init_common early.
37255         (datahead_init_neg): Likewise.
37257         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37258         datahead_init_neg): New functions.
37259         * nscd/aicache.c (addhstaiX): Use them.
37260         * nscd/grpcache.c (cache_addgr): Likewise.
37261         * nscd/hstcache.c (cache_addhst): Likewise.
37262         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37263         * nscd/netgroupcache.c (do_notfound): Likewise.
37264         (addgetnetgrentX): Likewise.
37265         (addinnetgrX): Likewise.
37266         * nscd/pwdcache.c (cache_addpw): Likewise.
37267         * nscd/servicescache.c (cache_addserv): Likewise.
37269 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37270             Atsushi Onoe  <atsushi@onoe.org>
37272         [BZ #14308]
37273         [BZ #12994]
37274         [BZ #13651]
37275         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37276         one response is valid.
37277         * resolv/res_send.c (send_dg): Check for validity of other
37278         response if the current response is a referral.
37280 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37282         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37284 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37286         [BZ #16823]
37287         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37288         Always divide by positive zero when computing -Inf result.
37289         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37290         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37292 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37294         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37295         FPSCR if value do not change.
37296         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37297         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37298         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37299         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37300         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37301         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37302         function.
37304 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37306         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37307         * sysdeps/unix/sysv/linux/hppa: Move directory from
37308         ports/systeps/unix/sysv/linux/hppa.
37309         * README: Update listing for hppa-*-linux-gnu.
37311 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37313         [BZ #16754]
37314         * manual/stdio.texi (Hook functions): Fix types of stream hook
37315         functions.
37316         [BZ #16854]
37317         * socket/sys/socket.h: Fix typo in comment.
37319 2014-04-28  Wilco  <wdijkstr@arm.com>
37321         * sysdeps/arm/fenv_private.h: New file.
37322         * sysdeps/arm/math_private.h: New file.
37323         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37325 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37327         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37328         with __int128_t.
37329         (La_x86_64_retval): Likewise.
37331 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37333         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37334         fpsr if value didn't change.
37335         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37336         to fpcr if value didn't change.
37337         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37338         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37339         fpsr or fpcr if value didn't change.
37340         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37341         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37342         fpcr if value didn't change.
37343         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37344         to fpsr if value didn't change.
37346 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37348         * nptl/tst-sem3.c: Use test-skeleton.c
37349         (main): Rename to do_test.  Use return instead of
37350         exit.
37351         * nptl/tst-sem4.c: Use test-skeleton.c
37352         (main): Rename to do_test.
37354 2014-04-22  David S. Miller  <davem@davemloft.net>
37356         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37357         (struct sigaction): New struct member __glibc_reserved0, change
37358         type of sa_flags to int.
37360 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37362         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37363         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37365 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37367         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37368         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37370 2014-04-22  Will Newton  <will.newton@linaro.org>
37371             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37373         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37374         (__longjmp): Add longjmp and longjmp_target SystemTap
37375         probes.
37376         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37377         (__sigsetjmp): Add setjmp SystemTap probe.
37379 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37381         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37382         match manual order.
37384 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37386         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37388         * sysdeps/powerpc/fpu/fenv_private.h
37389         (libc_feholdexcept_setroundl_ctx): Define to
37390         libc_feholdexcept_setround_ppc_ctx.
37391         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37392         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37393         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37394         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37396 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37398         * sysdeps/aarch64/math-tests.h: New file.
37400 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37402         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37403         New.
37404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37405         Check and set bit_AVX2_Usable.
37406         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37407         macro.
37408         (bit_AVX2): Likewise.
37409         (index_AVX2_Usable): Likewise.
37410         (CPUID_AVX2): Likewise.
37411         (HAS_AVX2): Likewise.
37413 2014-04-17  Will Newton  <will.newton@linaro.org>
37415         * manual/setjmp.texi (System V contexts): Add note that
37416         calling setcontext on a context created by a call to a
37417         signal handler is undefined.  Update text to note that
37418         setcontext from a signal handler is possible but not
37419         recommended.
37421         [BZ #16629]
37422         * stdlib/tst-setcontext.c: Include signal.h.
37423         (main): Check that the signal stack before and
37424         after swapcontext is the same.
37426         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37427         Re-implement to restore registers in user code and avoid
37428         rt_sigreturn system call.
37430 2014-04-17  Wilco  <wdijkstr@arm.com>
37432         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37433         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37434         * math/test-fenv.c: Skip exception trap tests on targets which only
37435         support non-stop mode.
37437 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37438             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37440         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37441         (libc_feholdsetround_aarch64_ctx)
37442         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37443         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37444         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37445         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37446         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37447         (libc_feresetround_noexl_ctx): Define.
37449 2014-04-16  Richard Henderson  <rth@redhat.com>
37451         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37453         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37454         unwind tables.
37456         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37457         const from the non-libc, non-ldso copy.
37459         * sysdeps/alpha/libm-test-ulps: Regenerate.
37461 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37462             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37464         * sysdeps/aarch64/fpu/math_private.h: New file.
37466 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37468         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37470 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37472         [BZ #16275]
37473         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37474         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37475         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37476         Intel MPX bound registers before _dl_profile_fixup.
37477         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37478         registers after _dl_profile_fixup.  Save and restore bound
37479         registers bnd0/bnd1 when calling _dl_call_pltexit.
37480         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37481         (LR_BND_OFFSET): Likewise.
37482         (LRV_BND0_OFFSET): Likewise.
37483         (LRV_BND1_OFFSET): Likewise.
37485 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37487         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37488         to...
37489         * sysdeps/mach/hurd/i386/tls.h: ... here.
37490         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37491         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37492         fields.
37494 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37496         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37498 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37500         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37502 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37504         [BZ #14770]
37505         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37506         * sysdeps/s390/configure: Regenerate.
37508         [BZ #16824]
37509         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37510         Set round-to-nearest internally to reduce error accumulation.
37512 2014-04-16  Alan Modra  <amodra@gmail.com>
37514         [BZ #16740]
37515         [BZ #16619]
37516         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37517         * math/libm-test.inc (frexp_test_data): Add tests.
37518         * NEWS: Update fixed bug list.
37520 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37522         * benchtests/Makefile: Depend on libraries in build directory.
37523         (bench-math): Separate out math tests.
37524         (bench-pthread): Separate out pthread tests.
37525         (bench): Include math and pthread tests.
37527 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37529         [BZ #16831]
37530         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37531         _dl_debug_initialize.
37533         * configure.ac: Remove SELinux header check.
37534         * configure: Regenerate.
37535         * nscd/selinux.c (perms): Array of const char* to permission names.
37536         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37537         default policy. Call string_to_security_class and string_to_av_perm to
37538         translate strings. Enforce default policy and call avs_has_perm with
37539         results of translated strings.
37541 2014-04-13  David S. Miller  <davem@davemloft.net>
37543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37545 2014-04-12  Allan McRae  <allan@archlinux.org>
37547         [BZ #16838]
37548         * manual/string.texi (Collation Functions): Fix qsort argument
37549         order in example.
37550         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37552 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37554         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37555         Make the test a no-op if there are no exceptions defined.
37557 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37559         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37560         enable-hardcoded-path-in-tests
37562 2014-04-11  Will Newton  <will.newton@linaro.org>
37564         * benchtests/Makefile (extra-objs): Add json-lib.o.
37565         (bench-func): Tidy up JSON output.
37566         * benchtests/bench-skeleton.c: Include json-lib.h.
37567         (main): Use JSON library functions to do output of
37568         benchmark results.
37569         * benchtests/bench-timing-type.c (main): Output the
37570         timing type simply, leaving formatting to the user.
37571         * benchtests/json-lib.c: New file.
37572         * benchtests/json-lib.h: Likewise.
37574 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37576         [BZ #15215]
37577         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37578         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37579         memory barriers.  Add comments.
37580         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37581         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37582         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37583         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37584         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37585         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37587 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37589         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37590         * sysdeps/s390/s390-64/configure.ac: ... this ...
37591         * sysdeps/s390/configure.ac: ... to here.
37592         * sysdeps/s390/s390-32/configure: Delete file.
37593         * sysdeps/s390/s390-64/configure: Delete file.
37594         * sysdeps/s390/configure: Regenerate.
37596 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37598         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37600 2014-04-11  Will Newton  <will.newton@linaro.org>
37602         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37603         to zero if it is not defined elsewhere.  (mtrim): Test
37604         the value of MALLOC_DEBUG with #if rather than #ifdef.
37606 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37608         * benchtests/pthread_once-inputs: New file.
37609         * benchtests/pthread_once-source.c: New file.
37610         * benchtests/README: Update documentation.
37612 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37613             H.J. Lu  <hongjiu.lu@intel.com>
37615         [BZ #16275]
37616         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37617         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37618         * sysdeps/x86_64/configure: Regenerated.
37619         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37620         macro.
37621         (REGISTER_SAVE_RAX): Likewise.
37622         (REGISTER_SAVE_RCX): Likewise.
37623         (REGISTER_SAVE_RDX): Likewise.
37624         (REGISTER_SAVE_RSI): Likewise.
37625         (REGISTER_SAVE_RDI): Likewise.
37626         (REGISTER_SAVE_R8): Likewise.
37627         (REGISTER_SAVE_R9): Likewise.
37628         (REGISTER_SAVE_BND0): Likewise.
37629         (REGISTER_SAVE_BND1): Likewise.
37630         (REGISTER_SAVE_BND2): Likewise.
37631         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37632         bound registers when calling _dl_fixup.
37634 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37636         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37637         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37638         of its definition.
37639         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37640         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37641         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37642         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37643         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37644         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37645         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37647 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37649         [BZ #15514]
37650         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37651         pathconf(_PC_NAME_MAX).
37653 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37655         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37656         Remove macro usage.
37657         (__PTHREAD_SPINS): Move definition to ...
37658         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37659         (__PTHREAD_SPINS): ... here.
37660         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37661         (__PTHREAD_SPIN): Likewise.
37662         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37663         (__PTHREAD_SPIN): Likewise.
37664         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37665         (__PTHREAD_SPIN): Likewise.
37666         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37667         (__PTHREAD_SPIN): Likewise.
37668         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37669         (__PTHREAD_SPIN): Likewise.
37670         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37671         (__PTHREAD_SPIN): Likewise.
37672         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37673         (__PTHREAD_SPIN): Likewise.
37674         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37675         (__PTHREAD_SPIN): Likewise.
37676         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37677         (__PTHREAD_SPIN): Likewise.
37678         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37679         (__PTHREAD_SPIN): Likewise.
37680         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37681         (__PTHREAD_SPIN): Likewise.
37682         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37683         (__PTHREAD_SPIN): Likewise.
37685         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37686         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37687         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37688         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37689         imply folder.
37690         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37691         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37692         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37693         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37694         correct imply path.
37695         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37696         strlen symbol for non multi-arch builds.
37697         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37698         missing hidden_def and weak_alias.
37700 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37702         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37704 2014-04-07  Will Newton  <will.newton@linaro.org>
37706         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37707         and contents.  [!_LIBC] Remove #ifndef and contents.
37708         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37709         * string/memccpy.c (__memccpy): Use ANSI prototype.
37710         * string/memfrob.c (memfrob): Likewise.
37711         * string/strcoll.c (STRCOLL): Likewise.
37712         * string/strlen.c (strlen): Likewise.
37713         * string/strtok.c (STRTOK): Likewise.
37714         * string/strcat.c: Remove unused #include of memcopy.h.
37715         (strcat): Use ANSI prototype.
37716         * string/strchr.c: Remove unused #include of memcopy.h.
37717         (strchr): Use ANSI prototype.
37718         * string/strcmp.c: Remove unused #include of memcopy.h.
37719         (strcmp): Use ANSI prototype.
37720         * string/strcpy.c: Remove unused #include of memcopy.h.
37721         (strcpy): Use ANSI prototype.
37723 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37725         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37726         * config.make.in (config-extra-cppflags): Set it from
37727         libc_extra_cppflags.
37728         * configure.ac (libc_extra_cflags): Make it accumulate over
37729         configure fragments.
37730         (libc_extra_cppflags): New flag.
37731         * configure. Regenerate.
37732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37733         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37734         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37737         [BZ #16815]
37738         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37739         result for FE_DOWNWARD rounding mode.
37740         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37741         Likewise.
37742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37744 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37746         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37747         in function argument name.
37749 2014-04-03  David Svoboda  <svoboda@cert.org>
37751         [BZ #5666]
37752         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37753         explicitly.
37755 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37757         * elf/dl-unmap-segments.h: New file.
37758         * sysdeps/generic/ldsodefs.h
37759         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37760         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37761         * elf/dl-fptr.c: Likewise.
37762         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37763         * sysdeps/aarch64/tlsdesc.c: Likewise.
37764         * sysdeps/arm/tlsdesc.c: Likewise.
37765         * sysdeps/i386/tlsdesc.c: Likewise.
37766         * sysdeps/tile/dl-runtime.c: Likewise.
37767         * sysdeps/x86_64/tlsdesc.c: Likewise.
37768         * elf/dl-load.h: New file.
37769         * elf/dl-load.c: Include it.
37770         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37771         Macros moved to dl-load.h.
37772         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37773         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37774         Use _dl_unmap_segments in place of __munmap.
37775         Break out segment-mapping loop into ...
37776         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37778 2014-04-03  Will Newton  <will.newton@linaro.org>
37780         * elf/dl-lookup.c (do_lookup_x): Remove comment
37781         referring to nested function and move variable
37782         declarations down to before first use.
37784 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37786         [BZ #16799]
37787         [BZ #16800]
37788         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37789         with 0 numerator.
37790         * math/s_catanf.c (__catanf): Likewise.
37791         * math/s_catanh.c (__catanh): Likewise.
37792         * math/s_catanhf.c (__catanhf): Likewise.
37793         * math/s_catanhl.c (__catanhl): Likewise.
37794         * math/s_catanl.c (__catanl): Likewise.
37795         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37796         by positive zero when computing -Inf result.
37797         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37798         (catanh_test): Likewise.
37799         * sysdeps/i386/fpu/libm-test-ulps: Update.
37800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37802         [BZ #16789]
37803         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37804         instead of using underflowing value in computing result.
37805         * math/s_clog10.c (__clog10): Likewise.
37806         * math/s_clog10f.c (__clog10f): Likewise.
37807         * math/s_clog10l.c (__clog10l): Likewise.
37808         * math/s_clogf.c (__clogf): Likewise.
37809         * math/s_clogl.c (__clogl): Likewise.
37810         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37811         (clog10_test): Likewise.
37812         * sysdeps/i386/fpu/libm-test-ulps: Update.
37813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37815 2014-04-02  Alan Modra  <amodra@gmail.com>
37817         [BZ #16739]
37818         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37819         output when value is near a power of two.  Use int64_t for lx and
37820         remove casts.  Use decimal rather than hex exponent constants.
37821         Don't use long double multiplication when double will suffice.
37822         * math/libm-test.inc (nextafter_test_data): Add tests.
37823         * NEWS: Add 16739 and 16786 to bug list.
37825         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37827         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37829 2014-04-01  Will Newton  <will.newton@linaro.org>
37831         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37832         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37834 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37836         [BZ #13347]
37837         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37838         * nptl/tst-setuid2.c: New file.
37839         * nptl/Makefile (xtests): Add tst-setuid2.
37841 2014-04-01  Alan Modra  <amodra@gmail.com>
37843         [BZ #16786]
37844         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37846 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37848         [BZ #6803]
37849         [BZ #6804]
37850         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37851         set errno as appropriate.
37852         * math/w_scalbf.c (__scalbf): Likewise.
37853         * math/w_scalbl.c (__scalbl): Likewise.
37854         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37855         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37856         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37857         Add more NaN tests.
37859         [BZ #16349]
37860         * math/w_atan2.c: Include <errno.h>.
37861         (__atan2): Set errno for result underflowing to zero.
37862         * math/w_atan2f.c: Include <errno.h>.
37863         (__atan2f): Set errno for result underflowing to zero.
37864         * math/w_atan2l.c: Include <errno.h>.
37865         (__atan2l): Set errno for result underflowing to zero.
37866         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37867         tests.
37868         * math/auto-libm-test-out: Regenerated.
37870 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37872         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37873         Encode instruction correctly in little endian.
37874         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37875         Likewise.
37876         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37877         Likewise.
37878         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37879         Likewise.
37880         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37881         Likewise.
37883 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37885         [BZ #9894]
37886         * sysdeps/unix/sysv/linux/kernel-features.h
37887         [__sparc__ && !__arch64__ && !__sparc_v9__]
37888         (__ASSUME_SET_ROBUST_LIST): Do not define.
37889         [__sparc__ && !__arch64__ && !__sparc_v9__]
37890         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37891         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37892         Likewise.
37893         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37894         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37895         (__ASSUME_REQUEUE_PI): Likewise.
37896         (__ASSUME_SET_ROBUST_LIST): Likewise.
37897         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37898         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37899         Undefine.
37900         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37901         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37902         Likewise.
37903         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37904         Likewise.
37905         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37906         Likewise.
37907         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37908         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37909         Undefine.
37910         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37911         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37912         Likewise.
37914         [BZ #16648]
37915         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37916         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37917         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37919 2014-03-31  Will Newton  <will.newton@linaro.org>
37921         * benchtests/Makefile (bench): Add ffs and ffsll to list
37922         of tests.
37923         * benchtests/ffs-inputs: New file.
37924         * benchtests/ffsll-inputs: Likewise.
37926 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37928         [BZ #16770]
37929         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37930         too large before casting to int.
37931         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37932         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37933         * math/libm-test.inc (scalb_test_data): Add more tests.
37935 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37937         * benchtests/Makefile (DETAILED_OPT): New make option.
37938         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37939         set.
37940         * benchtests/bench-skeleton.c: Include stdbool.h.
37941         (main): Store and print timings per input.
37942         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37943         member to each argument value.
37944         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37945         (_print_arg_data): Initialize per-input timing to 0.
37947         * benchtests/Makefile (timing-type): New binary.
37948         (bench-clean): Also remove bench-timing-type.
37949         (bench): New target for timing-type.
37950         (bench-func): Print output in JSON format.
37951         * benchtests/bench-skeleton.c (main): Print output in JSON
37952         format.
37953         * benchtests/bench-timing-type.c: New file.
37954         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37955         (TIMING_PRINT_STATS): Remove.
37956         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37957         name separately.
37959         * benchtests/bench-modf.c: Remove.
37960         * benchtests/modf-inputs: New inputs file.
37962 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37964         [BZ #16362]
37965         * math/s_clog10.c (M_PI_LOG10E): New macro.
37966         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37967         imaginary parts are 0.
37968         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37969         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37970         imaginary parts are 0.
37971         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37972         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37973         imaginary parts are 0.
37974         * math/libm-test.inc (clog10_test_data): Update expected results
37975         for when real and imaginary parts are 0.
37977 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37979         * elf/dl-load.c: Finish conversion of __builtin_expect into
37980         __glibc_{un}likely.
37982 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37984         [BZ #16348]
37985         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37986         1+x for argument with exponent below -67.
37987         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37988         Likewise.
37989         * math/auto-libm-test-in: Add more tests of exp.
37990         * math/auto-libm-test-out: Regenerated.
37992 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37994         [BZ #16759]
37995         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37996         (nscd_getnetgrent): Use it.
37998         [BZ #16760]
37999         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38000         of stpcpy.
38002 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38004         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38005         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38006         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38007         (lll_robust_unlock): Remove out of line section. Use cfi
38008         intrinsics.
38009         (LLL_STUB_UNWIND_INFO*): Remove.
38010         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38011         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38012         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38013         (lll_robust_unlock): Remove out of line section. Use cfi
38014         intrinsics.
38015         (LLL_STUB_UNWIND_INFO*): Remove.
38017 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38019         [BZ #16758]
38020         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38021         blank values.
38023 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38025         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38027 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38029         [BZ #16198]
38030         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38031         fnstenv.
38032         * math/test-fenv-preserve.c: New file.
38033         * math/Makefile (tests): Add test-fenv-preserve.
38035 2014-03-26  Will Newton <will.newton@linaro.org>
38037         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38039 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38041         * scripts/versionlist.awk: Partition the version sets and emit all
38042         GLIBC_* (sorted) before all others (sorted).
38044 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38046         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38047         GLIBC_2.2.5 version.
38049 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38051         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38052         calls.
38054         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38055         previous change.
38057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38059 2014-03-25  Andreas Schwab  <schwab@suse.de>
38061         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38062         label to be used after in6ailist is initialized.
38064 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38066         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38067         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38069 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38071         [BZ #16357]
38072         [BZ #16599]
38073         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38074         min_plus_half.
38075         (fp_formats): Update initializers.
38076         (init_fp_formats): Initialize new field.
38077         (output_for_one_input_case): Allow underflow for results up to
38078         min_plus_half.
38079         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38080         * math/auto-libm-test-in: Don't mark some underflows from asin and
38081         atanh as spurious.
38082         * math/auto-libm-test-out: Regenerated.
38083         * sysdeps/i386/fpu/libm-test-ulps: Update.
38084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38086 2014-03-25  Andreas Schwab  <schwab@suse.de>
38088         * libio/Makefile (tst-ftell-partial-wide-ENV)
38089         (tst-ftell-active-handler-ENV): Define.
38091 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38093         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38095 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38097         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38099 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38101         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38102         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38103         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38105 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38107         [BZ #16634]
38108         * elf/dl-load.c (open_verify): Add mode parameter.
38109         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38110         (open_path): Change from boolean 'secure' to complete flag 'mode'
38111         (_dl_map_object): Adjust.
38112         * elf/Makefile (tests): Add tst-dlopen-aout.
38113         * elf/tst-dlopen-aout.c: New test.
38115 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38117         [BZ #16714]
38118         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38119         (struct stat): Rename member pad0 to __glibc_reserved0.
38121         [BZ #16712]
38122         * sysdeps/s390/s390-32/bits/wordsize.h
38123         (__WORDSIZE32_SIZE_ULONG): New define.
38124         * sysdeps/s390/s390-64/bits/wordsize.h
38125         (__WORDSIZE32_SIZE_ULONG): Likewise.
38126         * sysdeps/generic/stdint.h (SIZE_MAX):
38127         Define as UL if __WORDSIZE32_SIZE_ULONG.
38129         [BZ #16713]
38130         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38131         (__glibc_reserved0): New variable.
38132         (sa_flags): Change type to int.
38134         * posix/Makefile (before-compile): Use += before-compile instead
38135         of a :=.
38137         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38138         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38140 2014-03-20  Andreas Schwab  <schwab@suse.de>
38142         [BZ #16743]
38143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38144         non-matching result from nscd.
38146 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38148         * scripts/bench.py: Moved to ...
38149         * benchtests/scripts/bench.py: ... here.
38150         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38152 2014-03-24  Andreas Schwab  <schwab@suse.de>
38154         [BZ #16002]
38155         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38156         alloca_account and account alloca use for struct in6ailist.
38158 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38160         [BZ #16284]
38161         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38162         rounding mode to recompute results that overflow to infinity or
38163         underflow to zero.
38164         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38165         bug 16284.
38166         * math/auto-libm-test-out: Regenerated.
38167         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38168         (ccosh_test): Likewise.
38169         (csin_test_data): Use plus_oflow.
38170         (csin_test): Use ALL_RM_TEST.
38171         (csinh_test_data): Use plus_oflow.
38172         (csinh_test): Use ALL_RM_TEST.
38173         * sysdeps/i386/fpu/libm-test-ulps: Update.
38174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38176 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38178         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38179         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38180         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38182         [BZ #16731]
38183         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38184         when x - 1 is zero.
38185         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38186         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38187         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38188         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38189         argument is 1.
38190         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38191         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38192         zero.
38193         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38194         * sysdeps/i386/fpu/libm-test-ulps: Update.
38195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38197 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38199         * scripts/bench.pl: Remove file.
38200         * scripts/bench.py: New benchmark script.
38201         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38202         * benchtests/README: Mention python dependency.
38203         * scripts/pylintrc: New file.
38204         * scripts/pylint: New file.
38206         * bits/mathdef.h: Use #ifdef instead of #if.
38207         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38208         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38209         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38210         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38211         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38212         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38214 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38215             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38217         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38219         and strpbrk-ppc64 objects.
38220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38221         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38222         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38223         multiarch strpbrk for POWER7.
38224         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38225         multiarch strpbrk for PPC64.
38226         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38227         ifunc selector.
38228         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38229         strpbrk for POWER7.
38231 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38233         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38234         (atan_test): Likewise.
38235         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38236         (atanh_test): Use ALL_RM_TEST.
38237         (atan2_test_data): Likewise.
38238         (cabs_test): Likewise.
38239         (cacosh_test): Likewise.
38240         (carg_test): Likewise.
38241         (casin_test): Likewise.
38242         (casinh_test): Likewise.
38243         (cbrt_test): Likewise.
38244         (csqrt_test): Likewise.
38245         (erf_test): Likewise.
38246         (erfc_test): Likewise.
38247         (pow10_test): Likewise.
38248         (exp2_test): Likewise.
38249         (hypot_test): Likewise.
38250         (j0_test): Likewise.
38251         (j1_test): Likewise.
38252         (lgamma_test): Likewise.
38253         (gamma_test): Likewise.
38254         (sincos_test): Likewise.
38255         (tanh_test): Likewise.
38256         (y0_test): Likewise.
38257         (y1_test): Likewise.
38258         * sysdeps/i386/fpu/libm-test-ulps: Update.
38259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38261 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38263         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38265         and strcspn-ppc64 objects.
38266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38267         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38268         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38269         multiarch strcspn for POWER7.
38270         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38271         multiarch strcspn for PPC64.
38272         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38273         ifunc selector.
38274         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38275         strcspn for POWER7.
38277 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38279         * math/gen-libm-test.pl (generate_testfile): Expect only function
38280         name as argument to AUTO_TESTS_* and pass results for all rounding
38281         modes to parse_args.
38282         (parse_auto_input): Separate inputs of automatic tests from
38283         outputs before storing in %auto_tests.
38284         * math/libm-test.inc (acos_test_data): Update call to
38285         AUTO_TESTS_f_f.
38286         (acos_test): Use ALL_RM_TEST.
38287         (acos_tonearest_test_data): Remove.
38288         (acos_test_tonearest): Likewise.
38289         (acos_towardzero_test_data): Likewise.
38290         (acos_test_towardzero): Likewise.
38291         (acos_downward_test_data): Likewise.
38292         (acos_test_downward): Likewise.
38293         (acos_upward_test_data): Likewise.
38294         (acos_test_upward): Likewise.
38295         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38296         (asin_test_data): Likewise.
38297         (asin_test): Use ALL_RM_TEST.
38298         (asin_tonearest_test_data): Remove.
38299         (asin_test_tonearest): Likewise.
38300         (asin_towardzero_test_data): Likewise.
38301         (asin_test_towardzero): Likewise.
38302         (asin_downward_test_data): Likewise.
38303         (asin_test_downward): Likewise.
38304         (asin_upward_test_data): Likewise.
38305         (asin_test_upward): Likewise.
38306         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38307         (atan_test_data): Likewise.
38308         (atanh_test_data): Likewise.
38309         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38310         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38311         (carg_test_data): Likewise.
38312         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38313         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38314         (ccosh_test_data): Likewise.
38315         (cexp_test_data): Likewise.
38316         (clog_test_data): Likewise.
38317         (clog10_test_data): Likewise.
38318         (cos_test_data): Update call to AUTO_TESTS_f_f.
38319         (cos_test): Use ALL_RM_TEST.
38320         (cos_tonearest_test_data): Remove.
38321         (cos_test_tonearest): Likewise.
38322         (cos_towardzero_test_data): Likewise.
38323         (cos_test_towardzero): Likewise.
38324         (cos_downward_test_data): Likewise.
38325         (cos_test_downward): Likewise.
38326         (cos_upward_test_data): Likewise.
38327         (cos_test_upward): Likewise.
38328         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38329         (cosh_test): Use ALL_RM_TEST.
38330         (cosh_tonearest_test_data): Remove.
38331         (cosh_test_tonearest): Likewise.
38332         (cosh_towardzero_test_data): Likewise.
38333         (cosh_test_towardzero): Likewise.
38334         (cosh_downward_test_data): Likewise.
38335         (cosh_test_downward): Likewise.
38336         (cosh_upward_test_data): Likewise.
38337         (cosh_test_upward): Likewise.
38338         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38339         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38340         (ctan_test_data): Likewise.
38341         (ctan_test): Use ALL_RM_TEST.
38342         (ctan_tonearest_test_data): Remove.
38343         (ctan_test_tonearest): Likewise.
38344         (ctan_towardzero_test_data): Likewise.
38345         (ctan_test_towardzero): Likewise.
38346         (ctan_downward_test_data): Likewise.
38347         (ctan_test_downward): Likewise.
38348         (ctan_upward_test_data): Likewise.
38349         (ctan_test_upward): Likewise.
38350         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38351         (ctanh_test): Use ALL_RM_TEST.
38352         (ctanh_tonearest_test_data): Remove.
38353         (ctanh_test_tonearest): Likewise.
38354         (ctanh_towardzero_test_data): Likewise.
38355         (ctanh_test_towardzero): Likewise.
38356         (ctanh_downward_test_data): Likewise.
38357         (ctanh_test_downward): Likewise.
38358         (ctanh_upward_test_data): Likewise.
38359         (ctanh_test_upward): Likewise.
38360         (erf_test_data): Update call to AUTO_TESTS_f_f.
38361         (erfc_test_data): Likewise.
38362         (exp_test_data): Likewise.
38363         (exp_test): Use ALL_RM_TEST.
38364         (exp_tonearest_test_data): Remove.
38365         (exp_test_tonearest): Likewise.
38366         (exp_towardzero_test_data): Likewise.
38367         (exp_test_towardzero): Likewise.
38368         (exp_downward_test_data): Likewise.
38369         (exp_test_downward): Likewise.
38370         (exp_upward_test_data): Likewise.
38371         (exp_test_upward): Likewise.
38372         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38373         (exp10_test): Use ALL_RM_TEST.
38374         (exp10_tonearest_test_data): Remove.
38375         (exp10_test_tonearest): Likewise.
38376         (exp10_towardzero_test_data): Likewise.
38377         (exp10_test_towardzero): Likewise.
38378         (exp10_downward_test_data): Likewise.
38379         (exp10_test_downward): Likewise.
38380         (exp10_upward_test_data): Likewise.
38381         (exp10_test_upward): Likewise.
38382         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38383         (expm1_test_data): Likewise.
38384         (expm1_test): Use ALL_RM_TEST.
38385         (expm1_tonearest_test_data): Remove.
38386         (expm1_test_tonearest): Likewise.
38387         (expm1_towardzero_test_data): Likewise.
38388         (expm1_test_towardzero): Likewise.
38389         (expm1_downward_test_data): Likewise.
38390         (expm1_test_downward): Likewise.
38391         (expm1_upward_test_data): Likewise.
38392         (expm1_test_upward): Likewise.
38393         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38394         (fma_test): Use ALL_RM_TEST.
38395         (fma_towardzero_test_data): Remove.
38396         (fma_test_towardzero): Likewise.
38397         (fma_downward_test_data): Likewise.
38398         (fma_test_downward): Likewise.
38399         (fma_upward_test_data): Likewise.
38400         (fma_test_upward): Likewise.
38401         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38402         (j0_test_data): Update call to AUTO_TESTS_f_f.
38403         (j1_test_data): Likewise.
38404         (jn_test_data): Update call to AUTO_TESTS_if_f.
38405         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38406         (log_test_data): Update call to AUTO_TESTS_f_f.
38407         (log10_test_data): Likewise.
38408         (log1p_test_data): Likewise.
38409         (log2_test_data): Likewise.
38410         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38411         (pow_tonearest_test_data): Likewise.
38412         (sin_test_data): Update call to AUTO_TESTS_f_f.
38413         (sin_test): Use ALL_RM_TEST.
38414         (sin_tonearest_test_data): Remove.
38415         (sin_test_tonearest): Likewise.
38416         (sin_towardzero_test_data): Likewise.
38417         (sin_test_towardzero): Likewise.
38418         (sin_downward_test_data): Likewise.
38419         (sin_test_downward): Likewise.
38420         (sin_upward_test_data): Likewise.
38421         (sin_test_upward): Likewise.
38422         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38423         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38424         (sinh_test): Use ALL_RM_TEST.
38425         (sinh_tonearest_test_data): Remove.
38426         (sinh_test_tonearest): Likewise.
38427         (sinh_towardzero_test_data): Likewise.
38428         (sinh_test_towardzero): Likewise.
38429         (sinh_downward_test_data): Likewise.
38430         (sinh_test_downward): Likewise.
38431         (sinh_upward_test_data): Likewise.
38432         (sinh_test_upward): Likewise.
38433         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38434         (sqrt_test): Use ALL_RM_TEST.
38435         (sqrt_tonearest_test_data): Remove.
38436         (sqrt_test_tonearest): Likewise.
38437         (sqrt_towardzero_test_data): Likewise.
38438         (sqrt_test_towardzero): Likewise.
38439         (sqrt_downward_test_data): Likewise.
38440         (sqrt_test_downward): Likewise.
38441         (sqrt_upward_test_data): Likewise.
38442         (sqrt_test_upward): Likewise.
38443         (tan_test_data): Update call to AUTO_TESTS_f_f.
38444         (tan_test): Use ALL_RM_TEST.
38445         (tan_tonearest_test_data): Remove.
38446         (tan_test_tonearest): Likewise.
38447         (tan_towardzero_test_data): Likewise.
38448         (tan_test_towardzero): Likewise.
38449         (tan_downward_test_data): Likewise.
38450         (tan_test_downward): Likewise.
38451         (tan_upward_test_data): Likewise.
38452         (tan_test_upward): Likewise.
38453         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38454         (tgamma_test_data): Likewise.
38455         (y0_test_data): Likewise.
38456         (y1_test_data): Likewise.
38457         (yn_test_data): Update call to AUTO_TESTS_if_f.
38458         (main): Do not call removed functions.
38460 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38462         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38463         (ldexp_test_data): Remove.
38464         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38465         scalbn_test_data.
38466         (scalb_test): Use ALL_RM_TEST.
38468 2014-03-19  Andreas Schwab  <schwab@suse.de>
38470         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38472 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38474         [BZ #16649]
38475         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38476         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38477         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38478         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38479         (__ASSUME_PREADV): Undefine.
38480         (__ASSUME_PWRITEV): Likewise.
38482 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38484         * bits/mman-linux.h: Add comment about non-Linux use.
38485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38486         bits/mman-linux.h resting place.
38488         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38489         * bits/mman-linux.h: ... here.
38491 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38493         * conform/conformtest.pl: Add standard definition when calling C
38494         preprocessor on data files.
38495         (checknamespace): Remove unused variable.
38497 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38499         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38500         minus_oflow, plus_uflow and minus_uflow in expected results.
38501         * math/libm-test.inc (scalbn_test_data): Add more tests of
38502         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38503         minus_uflow.
38504         (scalbn_test): Use ALL_RM_TEST.
38505         (scalbln_test_data): Add more tests of negative arguments.  Use
38506         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38507         (scalbln_test): Use ALL_RM_TEST.
38509 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38511         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38513 2014-03-18  Will Newton  <will.newton@linaro.org>
38515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38516         inaccurate comment.
38518 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38520         * Makerules [!subdir] (check-abi): Exit with error status if a
38521         test failed.
38523 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38525         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38526         for rint.  Include results for all rounding modes.
38527         (nearbyint_test): Use ALL_RM_TEST.
38528         (rint_test_data): Include all tests used for nearbyint.
38530 2014-03-17  Will Newton  <will.newton@linaro.org>
38532         * nptl/sysdeps/pthread/pthread.h: Revert previous
38533         change.
38535         * sysdeps/generic/ldsodefs.h: Revert previous
38536         change.
38538         * libio/genops.c: Revert previous change.
38539         * libio/libioP.h: Likewise.
38540         * stdio-common/vfprintf.c: Likewise.
38542         * sysdeps/generic/math_private.h: Revert previous
38543         change.
38545         * sysdeps/generic/math_private.h: Check whether
38546         HAVE_RM_CTX is defined with #ifdef rather
38547         than #if.
38549         * argp/argp-fmtstream.h: Check whether
38550         __STRICT_ANSI__ is defined with #ifdef rather
38551         than #if.
38552         * argp/argp.h: Likewise.
38554         * libio/genops.c: Check whether
38555         _IO_JUMPS_OFFSET is defined with #ifdef rather
38556         than #if.
38557         * libio/libioP.h: Likewise.
38558         * stdio-common/vfprintf.c: Likewise.
38560         * sysdeps/generic/ldsodefs.h: Check whether
38561         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38562         than #if.
38564         * nptl/sysdeps/pthread/pthread.h: Check
38565         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38566         its value.
38568 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38570         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38571         setting O_APPEND.
38572         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38573         test case.
38575         [BZ #16680]
38576         * libio/fileops.c (_IO_file_open): Seek to end of file but
38577         don't cache the offset.
38578         (get_file_offset): Remove function.
38579         (do_ftell): Use cached offset when available.
38580         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38581         don't cache the offset.
38582         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38583         case.
38584         (do_one_test): Call it.
38585         (do_ftell_test): Fix up expected old offset for a+ mode.
38586         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38587         available.
38589         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38590         up test status with function return status.
38591         (do_write_test): Likewise.
38592         (do_append_test): Likewise.
38594         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38595         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38596         Remove.
38598 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38600         * math/gen-libm-test.pl (parse_args): Handle results specified for
38601         each rounding mode separately.
38602         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38603         tests and results from lrint_tonearest_test_data,
38604         lrint_towardzero_test_data, lrint_downward_test_data and
38605         lrint_upward_test_data.
38606         (lrint_test): Use ALL_RM_TEST.
38607         (lrint_tonearest_test_data): Remove.
38608         (lrint_test_tonearest): Likewise.
38609         (lrint_towardzero_test_data): Likewise.
38610         (lrint_test_towardzero): Likewise.
38611         (lrint_downward_test_data): Likewise.
38612         (lrint_test_downward): Likewise.
38613         (lrint_upward_test_data): Likewise.
38614         (lrint_test_upward): Likewise.
38615         (llrint_test_data): Merge in per-rounding-mode tests and results
38616         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38617         llrint_downward_test_data and llrint_upward_test_data.
38618         (llrint_test): Use ALL_RM_TEST.
38619         (llrint_tonearest_test_data): Remove.
38620         (llrint_test_tonearest): Likewise.
38621         (llrint_towardzero_test_data): Likewise.
38622         (llrint_test_towardzero): Likewise.
38623         (llrint_downward_test_data): Likewise.
38624         (llrint_test_downward): Likewise.
38625         (llrint_upward_test_data): Likewise.
38626         (llrint_test_upward): Likewise.
38627         (rint_test_data): Merge in per-rounding-mode tests and results
38628         from rint_tonearest_test_data, rint_towardzero_test_data,
38629         rint_downward_test_data and rint_upward_test_data.  Add
38630         per-rounding-mode results for tests not in those arrays.
38631         (rint_test): Use ALL_RM_TEST.
38632         (rint_tonearest_test_data): Remove.
38633         (rint_test_tonearest): Likewise.
38634         (rint_towardzero_test_data): Likewise.
38635         (rint_test_towardzero): Likewise.
38636         (rint_downward_test_data): Likewise.
38637         (rint_test_downward): Likewise.
38638         (rint_upward_test_data): Likewise.
38639         (rint_test_upward): Likewise.
38640         (main): Don't call removed functions.
38642 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38644         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38645         "Compiled on ..." crapola.  It is anti-useful.
38647 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38649         * scripts/evaluate-test.sh: Handle fourth argument to determine
38650         whether test run should stop on failure.
38651         * Makeconfig (stop-on-test-failure): New variable.
38652         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38653         $(stop-on-test-failure).
38654         * Makefile (tests): Give a summary of results from testing and
38655         exit with failure status if they include an ERROR or FAIL.
38656         (xtests): Likewise.
38657         * manual/install.texi (Configuring and compiling): Mention
38658         stop-on-test-failure=y.
38659         * INSTALL: Regenerated.
38661 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38663         * scripts/versionlist.awk: New file.
38664         * Makerules [$(build-shared) = yes]
38665         (postclean-generated): Add Versions.def, not Versions.def.v and
38666         Versions.def.v.i.
38667         ($(common-objpfx)Versions.def.v.i): Target removed.
38668         ($(common-objpfx)Versions.def): New target.
38669         ($(common-objpfx)Versions.all): Depend on that rather that
38670         $(common-objpfx)Versions.def.v.
38671         * Versions.def: File removed.
38673         * Makeconfig (+gccwarn): Add -Wundef.
38674         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38675         a dl-sysdep.h breaking its contract.
38676         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38677         * include/stackinfo.h: New file.
38678         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38679         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38680         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38681         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38682         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38683         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38684         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38685         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38686         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38687         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38688         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38689         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38690         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38691         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38692         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38694 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38696         [BZ #16707]
38697         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38698         implementation.
38699         * math/libm-test.inc (round_test_data): Add more tests.
38701         [BZ #16706]
38702         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38703         implementation.
38704         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38706         [BZ #16701]
38707         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38708         implementation.
38709         * math/libm-test.inc (ceil_test_data): Add more tests.
38711         * math/libm-test.inc (trunc_test_data): Add more tests related to
38712         BZ#16414.
38714 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38716         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38717         with #if rather than #ifdef.
38718         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38720 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38722         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38723         first.  Disable AVX-512 GCC support if assembler doesn't support
38724         it.
38725         * sysdeps/x86_64/configure: Regenerated.
38727 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38729         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38730         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38731         (__old_pthread_attr_setstack): Likewise.
38732         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38733         [!_STACK_GROWS_DOWN]: Likewise.
38735 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38737         * config.make.in (have-bash2): Delete.
38738         * configure.ac (libc_cv_have_bash2): Delete.
38739         * configure: Regenerate.
38740         * elf/Makefile (common-ldd-rewrite): Rename to ...
38741         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38742         (sh-ldd-rewrite): Delete.
38743         (bash-ldd-rewrite): Delete.
38744         (have-bash2): Delete checks.
38745         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38746         ldd-rewrite.
38748         * config.make.in (have-ksh): Delete.
38749         (KSH): Delete.
38750         * configure.ac (libc_cv_have_ksh): Delete.
38751         * configure: Regenerate.
38753         * elf/Makefile: Delete $(have-ksh) check.
38754         ($(objpfx)sotruss): Change KSH to BASH.
38755         * elf/sotruss.ksh: Rename to ...
38756         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38757         function style to match POSIX.  Drop ksh vim mode setting.
38759         * manual/time.texi (Specifying the Time Zone with TZ): Change
38760         Tuesday to Thursday.
38762         * debug/tst-longjmp_chk2.c: Update header comment.
38763         (stackoverflow_handler): Add comment.  Call assert on pass value.
38765 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38767         [BZ #16194]
38768         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38769         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38770         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38771         (La_x86_64_vector): Add zmm.
38772         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38773         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38774         ($(objpfx)tst-audit10): New target.
38775         ($(objpfx)tst-audit10.out): Likewise.
38776         (tst-audit10-ENV): New.
38777         (AVX512-CFLAGS): Likewise.
38778         (CFLAGS-tst-audit10.c): Likewise.
38779         (CFLAGS-tst-auditmod10a.c): Likewise.
38780         (CFLAGS-tst-auditmod10b.c): Likewise.
38781         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38782         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38783         * sysdeps/x86_64/configure: Regenerated.
38784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38785         AVX-512 zmm register support.
38786         (_dl_x86_64_save_sse): Likewise.
38787         (_dl_x86_64_restore_sse): Likewise.
38788         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38789         size vector registers.
38790         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38791         (ZMM_SIZE): Likewise.
38792         * sysdeps/x86_64/tst-audit10.c: New file.
38793         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38794         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38796 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38798         * configure.ac (HAVE_EHDR_START): New check.
38799         * configure: Regenerated.
38800         * config.h.in (HAVE_EHDR_START): New #undef.
38801         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38802         assuming the lowest-addressed segment maps the start of the file.
38804 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38806         * INSTALL: Regenerated.
38808 2014-03-13  Will Newton  <will.newton@linaro.org>
38810         * manual/setjmp.texi (System V contexts): Improve
38811         clarity and grammar of documentation.
38813 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38815         [BZ #16381]
38816         * elf/Makefile (tests): Add tst-pie2.
38817         (tests-pie): Add tst-pie2.
38818         * elf/tst-pie2.c: New file.
38819         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38820         for ET_EXEC.
38821         * elf/rtld.c (map_doit): Load executable as lt_executable.
38822         (dl_main): Likewise.
38824 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38826         [BZ #16642]
38827         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38828         (__ASSUME_PSELECT): Undefine.
38830 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38832         [BZ #16689]
38833         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38834         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38835         static build.
38836         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38837         selector for static builds.
38839 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38841         [BZ #16695]
38842         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38843         key in the buffer.
38845 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38847         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38848         IFUNC selector for static builds.
38850 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38852         * sysdeps/mips/math_private.h [__mips_hard_float]
38853         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38854         libc_feresetround_mips_ctx.
38855         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38856         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38857         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38859         [BZ #16677]
38860         * math/s_nextafter.c (__nextafter): Do not return value from
38861         overflowing computation.
38862         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38863         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38864         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38865         Likewise.
38866         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38867         Likewise.
38868         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38869         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38871 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38873         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38874         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38875         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38876         the new mov targetting sp.
38878 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38880         [BZ #16683]
38881         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38882         Define it for static builds as well.
38883         (NO_BZERO_IMPL): Likewise.
38885 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38887         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38888         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38889         multiarch strspn for PPC64.
38890         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38891         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38893         (__libc_ifunc_impl_list): Likewise.
38894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38895         multiarch optimizations
38896         * string/strspn.c (strspn): Using macro to redefine symbol name.
38898 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38899             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38901         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38902         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38903         multiarch strncat for PPC64.
38904         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38905         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38907         (__libc_ifunc_impl_list): Likewise.
38908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38909         multiarch optimizations
38911 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38913         [BZ #16639]
38914         * nscd/nscd.service: Make service type forking.
38916 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38918         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38919         sign in non default rounding modes.
38920         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38922 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38924         * math/libm-test.inc (ALL_RM_TEST): New macro.
38925         (ceil_test): Use ALL_RM_TEST.
38926         (cimag_test): Likewise.
38927         (conj_test): Likewise.
38928         (copysign_test): Likewise.
38929         (cproj_test): Likewise.
38930         (creal_test): Likewise.
38931         (fabs_test): Likewise.
38932         (floor_test): Likewise.
38933         (fmax_test): Likewise.
38934         (fmin_test): Likewise.
38935         (fmod_test): Likewise.
38936         (fpclassify_test): Likewise.
38937         (frexp_test): Likewise.
38938         (ilogb_test): Likewise.
38939         (isfinite_test): Likewise.
38940         (finite_test): Likewise.
38941         (isgreater_test): Likewise.
38942         (isgreaterequal_test): Likewise.
38943         (isinf_test): Likewise.
38944         (isless_test): Likewise.
38945         (islessequal_test): Likewise.
38946         (islessgreater_test): Likewise.
38947         (isnan_test): Likewise.
38948         (isnormal_test): Likewise.
38949         (issignaling_test): Likewise.
38950         (isunordered_test): Likewise.
38951         (logb_test): Likewise.
38952         (logb_downward_test_data): Remove.
38953         (logb_test_downward): Likewise.
38954         (lround_test): Use ALL_RM_TEST.
38955         (llround_test): Likewise.
38956         (modf_test): Likewise.
38957         (nexttoward_test): Likewise.
38958         (remainder_test): Likewise.
38959         (drem_test): Likewise.
38960         (remainder_tonearest_test_data): Likewise.
38961         (remainder_test_tonearest): Likewise.
38962         (drem_test_tonearest): Likewise.
38963         (remainder_towardzero_test_data): Likewise.
38964         (remainder_test_towardzero): Likewise.
38965         (drem_test_towardzero): Likewise.
38966         (remainder_downward_test_data): Likewise.
38967         (remainder_test_downward): Likewise.
38968         (drem_test_downward): Likewise.
38969         (remainder_upward_test_data): Likewise.
38970         (remainder_test_upward): Likewise.
38971         (drem_test_upward): Likewise.
38972         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38973         (round_test): Use ALL_RM_TEST.
38974         (signbit_test): Likewise.
38975         (trunc_test): Likewise.
38976         (significand_test): Likewise.
38977         (main): Don't call removed functions.
38979 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38981         [BZ #16674]
38982         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38983         || __USE_XOPEN2K8].
38984         (ILL_ILLOPN): Likewise.
38985         (ILL_ILLADR): Likewise.
38986         (ILL_ILLTRP): Likewise.
38987         (ILL_PRVOPC): Likewise.
38988         (ILL_PRVREG): Likewise.
38989         (ILL_COPROC): Likewise.
38990         (ILL_BADSTK): Likewise.
38991         (FPE_INTDIV): Likewise.
38992         (FPE_INTOVF): Likewise.
38993         (FPE_FLTDIV): Likewise.
38994         (FPE_FLTOVF): Likewise.
38995         (FPE_FLTUND): Likewise.
38996         (FPE_FLTRES): Likewise.
38997         (FPE_FLTINV): Likewise.
38998         (FPE_FLTSUB): Likewise.
38999         (SEGV_MAPERR): Likewise.
39000         (SEGV_ACCERR): Likewise.
39001         (BUS_ADRALN): Likewise.
39002         (BUS_ADRERR): Likewise.
39003         (BUS_OBJERR): Likewise.
39004         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39005         (TRAP_TRACE): Likewise.
39006         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39007         __USE_XOPEN2K8].
39008         (CLD_KILLED): Likewise.
39009         (CLD_DUMPED): Likewise.
39010         (CLD_TRAPPED): Likewise.
39011         (CLD_STOPPED): Likewise.
39012         (CLD_CONTINUED): Likewise.
39013         (POLL_IN): Likewise.
39014         (POLL_OUT): Likewise.
39015         (POLL_MSG): Likewise.
39016         (POLL_ERR): Likewise.
39017         (POLL_PRI): Likewise.
39018         (POLL_HUP): Likewise.
39019         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39020         Likewise.
39021         (ILL_ILLOPN): Likewise.
39022         (ILL_ILLADR): Likewise.
39023         (ILL_ILLTRP): Likewise.
39024         (ILL_PRVOPC): Likewise.
39025         (ILL_PRVREG): Likewise.
39026         (ILL_COPROC): Likewise.
39027         (ILL_BADSTK): Likewise.
39028         (FPE_INTDIV): Likewise.
39029         (FPE_INTOVF): Likewise.
39030         (FPE_FLTDIV): Likewise.
39031         (FPE_FLTOVF): Likewise.
39032         (FPE_FLTUND): Likewise.
39033         (FPE_FLTRES): Likewise.
39034         (FPE_FLTINV): Likewise.
39035         (FPE_FLTSUB): Likewise.
39036         (SEGV_MAPERR): Likewise.
39037         (SEGV_ACCERR): Likewise.
39038         (BUS_ADRALN): Likewise.
39039         (BUS_ADRERR): Likewise.
39040         (BUS_OBJERR): Likewise.
39041         (BUS_MCEERR_AR): Likewise.
39042         (BUS_MCEERR_AO): Likewise.
39043         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39044         (TRAP_TRACE): Likewise.
39045         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39046         __USE_XOPEN2K8].
39047         (CLD_KILLED): Likewise.
39048         (CLD_DUMPED): Likewise.
39049         (CLD_TRAPPED): Likewise.
39050         (CLD_STOPPED): Likewise.
39051         (CLD_CONTINUED): Likewise.
39052         (POLL_IN): Likewise.
39053         (POLL_OUT): Likewise.
39054         (POLL_MSG): Likewise.
39055         (POLL_ERR): Likewise.
39056         (POLL_PRI): Likewise.
39057         (POLL_HUP): Likewise.
39058         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39059         (ILL_ILLOPN): Likewise.
39060         (ILL_ILLADR): Likewise.
39061         (ILL_ILLTRP): Likewise.
39062         (ILL_PRVOPC): Likewise.
39063         (ILL_PRVREG): Likewise.
39064         (ILL_COPROC): Likewise.
39065         (ILL_BADSTK): Likewise.
39066         (FPE_INTDIV): Likewise.
39067         (FPE_INTOVF): Likewise.
39068         (FPE_FLTDIV): Likewise.
39069         (FPE_FLTOVF): Likewise.
39070         (FPE_FLTUND): Likewise.
39071         (FPE_FLTRES): Likewise.
39072         (FPE_FLTINV): Likewise.
39073         (FPE_FLTSUB): Likewise.
39074         (SEGV_MAPERR): Likewise.
39075         (SEGV_ACCERR): Likewise.
39076         (BUS_ADRALN): Likewise.
39077         (BUS_ADRERR): Likewise.
39078         (BUS_OBJERR): Likewise.
39079         (BUS_MCEERR_AR): Likewise.
39080         (BUS_MCEERR_AO): Likewise.
39081         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39082         (TRAP_TRACE): Likewise.
39083         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39084         __USE_XOPEN2K8].
39085         (CLD_KILLED): Likewise.
39086         (CLD_DUMPED): Likewise.
39087         (CLD_TRAPPED): Likewise.
39088         (CLD_STOPPED): Likewise.
39089         (CLD_CONTINUED): Likewise.
39090         (POLL_IN): Likewise.
39091         (POLL_OUT): Likewise.
39092         (POLL_MSG): Likewise.
39093         (POLL_ERR): Likewise.
39094         (POLL_PRI): Likewise.
39095         (POLL_HUP): Likewise.
39096         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39097         Likewise.
39098         (ILL_ILLOPN): Likewise.
39099         (ILL_ILLADR): Likewise.
39100         (ILL_ILLTRP): Likewise.
39101         (ILL_PRVOPC): Likewise.
39102         (ILL_PRVREG): Likewise.
39103         (ILL_COPROC): Likewise.
39104         (ILL_BADSTK): Likewise.
39105         (ILL_BADIADDR): Likewise.
39106         (ILL_BREAK): Likewise.
39107         (FPE_INTDIV): Likewise.
39108         (FPE_INTOVF): Likewise.
39109         (FPE_FLTDIV): Likewise.
39110         (FPE_FLTOVF): Likewise.
39111         (FPE_FLTUND): Likewise.
39112         (FPE_FLTRES): Likewise.
39113         (FPE_FLTINV): Likewise.
39114         (FPE_FLTSUB): Likewise.
39115         (FPE_DECOVF): Likewise.
39116         (FPE_DECDIV): Likewise.
39117         (FPE_DECERR): Likewise.
39118         (FPE_INVASC): Likewise.
39119         (FPE_INVDEC): Likewise.
39120         (SEGV_MAPERR): Likewise.
39121         (SEGV_ACCERR): Likewise.
39122         (SEGV_PSTKOVF): Likewise.
39123         (BUS_ADRALN): Likewise.
39124         (BUS_ADRERR): Likewise.
39125         (BUS_OBJERR): Likewise.
39126         (BUS_MCEERR_AR): Likewise.
39127         (BUS_MCEERR_AO): Likewise.
39128         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39129         (TRAP_TRACE): Likewise.
39130         (TRAP_BRANCH): Likewise.
39131         (TRAP_HWBKPT): Likewise.
39132         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39133         __USE_XOPEN2K8].
39134         (CLD_KILLED): Likewise.
39135         (CLD_DUMPED): Likewise.
39136         (CLD_TRAPPED): Likewise.
39137         (CLD_STOPPED): Likewise.
39138         (CLD_CONTINUED): Likewise.
39139         (POLL_IN): Likewise.
39140         (POLL_OUT): Likewise.
39141         (POLL_MSG): Likewise.
39142         (POLL_ERR): Likewise.
39143         (POLL_PRI): Likewise.
39144         (POLL_HUP): Likewise.
39145         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39146         (ILL_ILLOPN): Likewise.
39147         (ILL_ILLADR): Likewise.
39148         (ILL_ILLTRP): Likewise.
39149         (ILL_PRVOPC): Likewise.
39150         (ILL_PRVREG): Likewise.
39151         (ILL_COPROC): Likewise.
39152         (ILL_BADSTK): Likewise.
39153         (FPE_INTDIV): Likewise.
39154         (FPE_INTOVF): Likewise.
39155         (FPE_FLTDIV): Likewise.
39156         (FPE_FLTOVF): Likewise.
39157         (FPE_FLTUND): Likewise.
39158         (FPE_FLTRES): Likewise.
39159         (FPE_FLTINV): Likewise.
39160         (FPE_FLTSUB): Likewise.
39161         (SEGV_MAPERR): Likewise.
39162         (SEGV_ACCERR): Likewise.
39163         (BUS_ADRALN): Likewise.
39164         (BUS_ADRERR): Likewise.
39165         (BUS_OBJERR): Likewise.
39166         (BUS_MCEERR_AR): Likewise.
39167         (BUS_MCEERR_AO): Likewise.
39168         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39169         (TRAP_TRACE): Likewise.
39170         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39171         __USE_XOPEN2K8].
39172         (CLD_KILLED): Likewise.
39173         (CLD_DUMPED): Likewise.
39174         (CLD_TRAPPED): Likewise.
39175         (CLD_STOPPED): Likewise.
39176         (CLD_CONTINUED): Likewise.
39177         (POLL_IN): Likewise.
39178         (POLL_OUT): Likewise.
39179         (POLL_MSG): Likewise.
39180         (POLL_ERR): Likewise.
39181         (POLL_PRI): Likewise.
39182         (POLL_HUP): Likewise.
39183         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39184         (ILL_ILLOPN): Likewise.
39185         (ILL_ILLADR): Likewise.
39186         (ILL_ILLTRP): Likewise.
39187         (ILL_PRVOPC): Likewise.
39188         (ILL_PRVREG): Likewise.
39189         (ILL_COPROC): Likewise.
39190         (ILL_BADSTK): Likewise.
39191         (FPE_INTDIV): Likewise.
39192         (FPE_INTOVF): Likewise.
39193         (FPE_FLTDIV): Likewise.
39194         (FPE_FLTOVF): Likewise.
39195         (FPE_FLTUND): Likewise.
39196         (FPE_FLTRES): Likewise.
39197         (FPE_FLTINV): Likewise.
39198         (FPE_FLTSUB): Likewise.
39199         (SEGV_MAPERR): Likewise.
39200         (SEGV_ACCERR): Likewise.
39201         (BUS_ADRALN): Likewise.
39202         (BUS_ADRERR): Likewise.
39203         (BUS_OBJERR): Likewise.
39204         (BUS_MCEERR_AR): Likewise.
39205         (BUS_MCEERR_AO): Likewise.
39206         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39207         (TRAP_TRACE): Likewise.
39208         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39209         __USE_XOPEN2K8].
39210         (CLD_KILLED): Likewise.
39211         (CLD_DUMPED): Likewise.
39212         (CLD_TRAPPED): Likewise.
39213         (CLD_STOPPED): Likewise.
39214         (CLD_CONTINUED): Likewise.
39215         (POLL_IN): Likewise.
39216         (POLL_OUT): Likewise.
39217         (POLL_MSG): Likewise.
39218         (POLL_ERR): Likewise.
39219         (POLL_PRI): Likewise.
39220         (POLL_HUP): Likewise.
39221         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39222         (ILL_ILLOPN): Likewise.
39223         (ILL_ILLADR): Likewise.
39224         (ILL_ILLTRP): Likewise.
39225         (ILL_PRVOPC): Likewise.
39226         (ILL_PRVREG): Likewise.
39227         (ILL_COPROC): Likewise.
39228         (ILL_BADSTK): Likewise.
39229         (FPE_INTDIV): Likewise.
39230         (FPE_INTOVF): Likewise.
39231         (FPE_FLTDIV): Likewise.
39232         (FPE_FLTOVF): Likewise.
39233         (FPE_FLTUND): Likewise.
39234         (FPE_FLTRES): Likewise.
39235         (FPE_FLTINV): Likewise.
39236         (FPE_FLTSUB): Likewise.
39237         (SEGV_MAPERR): Likewise.
39238         (SEGV_ACCERR): Likewise.
39239         (BUS_ADRALN): Likewise.
39240         (BUS_ADRERR): Likewise.
39241         (BUS_OBJERR): Likewise.
39242         (BUS_MCEERR_AR): Likewise.
39243         (BUS_MCEERR_AO): Likewise.
39244         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39245         (TRAP_TRACE): Likewise.
39246         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39247         __USE_XOPEN2K8].
39248         (CLD_KILLED): Likewise.
39249         (CLD_DUMPED): Likewise.
39250         (CLD_TRAPPED): Likewise.
39251         (CLD_STOPPED): Likewise.
39252         (CLD_CONTINUED): Likewise.
39253         (POLL_IN): Likewise.
39254         (POLL_OUT): Likewise.
39255         (POLL_MSG): Likewise.
39256         (POLL_ERR): Likewise.
39257         (POLL_PRI): Likewise.
39258         (POLL_HUP): Likewise.
39259         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39260         (ILL_ILLOPN): Likewise.
39261         (ILL_ILLADR): Likewise.
39262         (ILL_ILLTRP): Likewise.
39263         (ILL_PRVOPC): Likewise.
39264         (ILL_PRVREG): Likewise.
39265         (ILL_COPROC): Likewise.
39266         (ILL_BADSTK): Likewise.
39267         (ILL_DBLFLT): Likewise.
39268         (ILL_HARDWALL): Likewise.
39269         (FPE_INTDIV): Likewise.
39270         (FPE_INTOVF): Likewise.
39271         (FPE_FLTDIV): Likewise.
39272         (FPE_FLTOVF): Likewise.
39273         (FPE_FLTUND): Likewise.
39274         (FPE_FLTRES): Likewise.
39275         (FPE_FLTINV): Likewise.
39276         (FPE_FLTSUB): Likewise.
39277         (SEGV_MAPERR): Likewise.
39278         (SEGV_ACCERR): Likewise.
39279         (BUS_ADRALN): Likewise.
39280         (BUS_ADRERR): Likewise.
39281         (BUS_OBJERR): Likewise.
39282         (BUS_MCEERR_AR): Likewise.
39283         (BUS_MCEERR_AO): Likewise.
39284         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39285         (TRAP_TRACE): Likewise.
39286         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39287         __USE_XOPEN2K8].
39288         (CLD_KILLED): Likewise.
39289         (CLD_DUMPED): Likewise.
39290         (CLD_TRAPPED): Likewise.
39291         (CLD_STOPPED): Likewise.
39292         (CLD_CONTINUED): Likewise.
39293         (POLL_IN): Likewise.
39294         (POLL_OUT): Likewise.
39295         (POLL_MSG): Likewise.
39296         (POLL_ERR): Likewise.
39297         (POLL_PRI): Likewise.
39298         (POLL_HUP): Likewise.
39299         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39300         (ILL_ILLOPN): Likewise.
39301         (ILL_ILLADR): Likewise.
39302         (ILL_ILLTRP): Likewise.
39303         (ILL_PRVOPC): Likewise.
39304         (ILL_PRVREG): Likewise.
39305         (ILL_COPROC): Likewise.
39306         (ILL_BADSTK): Likewise.
39307         (FPE_INTDIV): Likewise.
39308         (FPE_INTOVF): Likewise.
39309         (FPE_FLTDIV): Likewise.
39310         (FPE_FLTOVF): Likewise.
39311         (FPE_FLTUND): Likewise.
39312         (FPE_FLTRES): Likewise.
39313         (FPE_FLTINV): Likewise.
39314         (FPE_FLTSUB): Likewise.
39315         (SEGV_MAPERR): Likewise.
39316         (SEGV_ACCERR): Likewise.
39317         (BUS_ADRALN): Likewise.
39318         (BUS_ADRERR): Likewise.
39319         (BUS_OBJERR): Likewise.
39320         (BUS_MCEERR_AR): Likewise.
39321         (BUS_MCEERR_AO): Likewise.
39322         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39323         (TRAP_TRACE): Likewise.
39324         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39325         __USE_XOPEN2K8].
39326         (CLD_KILLED): Likewise.
39327         (CLD_DUMPED): Likewise.
39328         (CLD_TRAPPED): Likewise.
39329         (CLD_STOPPED): Likewise.
39330         (CLD_CONTINUED): Likewise.
39331         (POLL_IN): Likewise.
39332         (POLL_OUT): Likewise.
39333         (POLL_MSG): Likewise.
39334         (POLL_ERR): Likewise.
39335         (POLL_PRI): Likewise.
39336         (POLL_HUP): Likewise.
39337         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39338         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39340         [BZ #16670]
39341         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39342         before #include of <time.h>.
39343         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39344         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39345         (test-xfail-UNIX98/sched.h/conform): Likewise.
39347 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39349         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39350         error absence of trapping exception support.
39351         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39353 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39355         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39356         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39357         * timezone/Makefile (testdata): Move definition above include of
39358         Rules.
39359         (test-zones): New variable.
39360         (tests-special): Add zone files.
39361         (build-testdata): Use $(evaluate-test).
39363         * elf/Makefile (tests-special): Rename tests to end with .out.
39364         ($(objpfx)noload-mem): Likewise.
39365         ($(objpfx)tst-leaks1-mem): Likewise.
39366         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39367         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39368         $(objpfx)test-iconvconfig.out.
39369         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39370         set -e inside subshell and redirect output to file.
39371         * iconvdata/Makefile (generated): Rename tests to end with .out.
39372         Correct type.
39373         (tests-special): Rename tests to end with .out.
39374         ($(objpfx)mtrace-tst-loading): Likewise.
39375         * intl/Makefile (generated): Likewise.
39376         (tests-special): Likewise.
39377         ($(objpfx)mtrace-tst-gettext): Likewise.
39378         * misc/Makefile (generated): Likewise.
39379         (tests-special): Likewise.
39380         ($(objpfx)tst-error1-mem): Likewise.
39381         * nptl/Makefile (tests-special): Likewise.
39382         ($(objpfx)tst-stack3-mem): Likewise.
39383         (generated): Likewise.
39384         * posix/Makefile (generated): Likewise.
39385         (tests-special): Likewise.
39386         (xtests-special): Likewise.
39387         ($(objpfx)tst-fnmatch-mem): Likewise.
39388         ($(objpfx)bug-regex2-mem): Likewise.
39389         ($(objpfx)bug-regex14-mem): Likewise.
39390         ($(objpfx)bug-regex21-mem): Likewise.
39391         ($(objpfx)bug-regex31-mem): Likewise.
39392         ($(objpfx)tst-vfork3-mem): Likewise.
39393         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39394         ($(objpfx)tst-pcre-mem): Likewise.
39395         ($(objpfx)tst-boost-mem): Likewise.
39396         ($(objpfx)bug-ga2-mem): Likewise.
39397         ($(objpfx)bug-glob2-mem): Likewise.
39398         * resolv/Makefile (generate): Likewise.
39399         (tests-special): Likewise.
39400         (xtests-special): Likewise.
39401         (generated): Likewise.
39402         ($(objpfx)mtrace-tst-leaks): Likewise.
39403         ($(objpfx)mtrace-tst-leaks2): Likewise.
39405         * scripts/merge-test-results.sh: New file.
39406         * Makefile (tests-special-notdir): New variable.
39407         (tests): Run merge-test-results.sh.
39408         (xtests): Likewise.
39409         * Rules (tests-special-notdir): New variable.
39410         (xtests-special-notdir): Likewise.
39411         (tests): Run merge-test-results.sh
39412         (xtests): Likewise.
39414         * Makeconfig (test-xfail-name): New variable.
39415         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39416         compute variable name for expected failures.
39417         * conform/Makefile (conformtest-headers-data): New variable.
39418         (conformtest-standards): Likewise.
39419         (conformtest-headers-ISO): Likewise.
39420         (conformtest-headers-ISO99): Likewise.
39421         (conformtest-headers-ISO11): Likewise.
39422         (conformtest-headers-POSIX): Likewise.
39423         (conformtest-headers-XPG3): Likewise.
39424         (conformtest-headers-XPG4): Likewise.
39425         (conformtest-headers-UNIX98): Likewise.
39426         (conformtest-headers-XOPEN2K): Likewise.
39427         (conformtest-headers-POSIX2008): Likewise.
39428         (conformtest-headers-XOPEN2K8): Likewise.
39429         (conformtest-header-list-base): Likewise.
39430         (conformtest-header-list-tests): Likewise.
39431         (conformtest-header-base): Likewise.
39432         (conformtest-header-tests): Likewise.
39433         (tests-special): Add $(conformtest-header-list-tests).  If
39434         [$(fast-check) && !$(cross-compiling)], add
39435         $(conformtest-header-tests) instead of
39436         $(objpfx)run-conformtest.out.
39437         (generated): Add $(conformtest-header-list-base).  If
39438         [$(fast-check) && !$(cross-compiling)], add
39439         $(conformtest-header-base).  Remove previous setting.
39440         ($(conformtest-header-list-tests)): New target.
39441         (test-xfail-run-conformtest): Remove variable.
39442         ($(objpfx)run-conformtest.out): Remove target.
39443         (test-xfail-ISO11/complex.h/conform): New variable.
39444         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39445         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39446         (test-xfail-XPG3/varargs.h/conform): Likewise.
39447         (test-xfail-XPG4/varargs.h/conform): Likewise.
39448         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39449         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39450         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39451         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39452         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39453         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39454         (test-xfail-XPG3/ftw.h/conform): Likewise.
39455         (test-xfail-XPG3/grp.h/conform): Likewise.
39456         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39457         (test-xfail-XPG3/limits.h/conform): Likewise.
39458         (test-xfail-XPG3/pwd.h/conform): Likewise.
39459         (test-xfail-XPG3/search.h/conform): Likewise.
39460         (test-xfail-XPG3/signal.h/conform): Likewise.
39461         (test-xfail-XPG3/stdio.h/conform): Likewise.
39462         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39463         (test-xfail-XPG3/string.h/conform): Likewise.
39464         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39465         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39466         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39467         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39468         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39469         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39470         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39471         (test-xfail-XPG3/termios.h/conform): Likewise.
39472         (test-xfail-XPG3/time.h/conform): Likewise.
39473         (test-xfail-XPG3/unistd.h/conform): Likewise.
39474         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39475         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39476         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39477         (test-xfail-XPG4/netdb.h/conform): Likewise.
39478         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39479         (test-xfail-XPG4/signal.h/conform): Likewise.
39480         (test-xfail-XPG4/stdio.h/conform): Likewise.
39481         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39482         (test-xfail-XPG4/stropts.h/conform): Likewise.
39483         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39484         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39485         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39486         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39487         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39488         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39489         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39490         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39491         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39492         (test-xfail-XPG4/termios.h/conform): Likewise.
39493         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39494         (test-xfail-XPG4/unistd.h/conform): Likewise.
39495         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39496         (test-xfail-POSIX/sched.h/conform): Likewise.
39497         (test-xfail-POSIX/signal.h/conform): Likewise.
39498         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39499         (test-xfail-POSIX/tar.h/conform): Likewise.
39500         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39501         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39502         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39503         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39504         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39505         (test-xfail-UNIX98/sched.h/conform): Likewise.
39506         (test-xfail-UNIX98/signal.h/conform): Likewise.
39507         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39508         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39509         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39510         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39511         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39512         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39513         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39514         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39515         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39516         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39517         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39518         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39519         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39520         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39521         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39522         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39523         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39524         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39525         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39526         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39527         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39528         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39529         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39530         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39531         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39532         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39533         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39534         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39535         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39536         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39537         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39538         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39539         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39540         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39541         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39542         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39543         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39544         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39545         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39546         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39547         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39548         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39549         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39550         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39551         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39552         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39553         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39554         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39555         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39556         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39557         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39558         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39559         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39560         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39561         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39562         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39563         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39564         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39565         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39566         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39567         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39568         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39569         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39570         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39571         (conformtest-cc-flags): Likewise.
39572         ($(conformtest-header-tests): New target.
39573         * conform/check-header-lists.sh: New file.
39574         * conform/run-conformtest.sh: Remove.
39576         * conform/conformtest.pl: Allow ' and \ in values given for
39577         constants.
39578         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39579         inclusion.
39580         [POSIX] (sys/types.h): Likewise.
39581         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39582         inclusion.
39583         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39584         inclusion.
39585         * conform/data/signal.h-data (SIGIO): Remove expectation.
39586         [XPG3] (SIGBUS): Do not expect.
39587         [POSIX || XPG3] (SIGPOLL): Likewise.
39588         [POSIX || XPG3] (SIGPROF): Likewise.
39589         [POSIX || XPG3] (SIGSYS): Likewise.
39590         [XPG3] (SIGTRAP): Likewise.
39591         [POSIX || XPG3] (SIGURG): Likewise.
39592         [POSIX || XPG3] (SIGVTALRM): Likewise.
39593         [POSIX || XPG3] (SIGXCPU): Likewise.
39594         [POSIX || XPG3] (SIGXFSZ): Likewise.
39595         [POSIX] (SA_SIGINFO): Expect.
39596         [XPG3] (siginfo_t): Do not expect type or contents.
39597         [POSIX] (si_pid): Do not expect element.
39598         [POSIX] (si_uid): Likewise.
39599         [POSIX] (si_addr): Likewise.
39600         [POSIX] (si_status): Likewise.
39601         [POSIX] (si_band): Likewise.
39602         [XPG4] (si_value): Likewise.
39603         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39604         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39605         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39606         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39607         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39608         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39609         [POSIX || XPG3] (ILL_COPROC): Likewise.
39610         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39611         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39612         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39613         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39614         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39615         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39616         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39617         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39618         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39619         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39620         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39621         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39622         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39623         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39624         [POSIX || XPG3] (CLD_EXITED): Likewise.
39625         [POSIX || XPG3] (CLD_KILLED): Likewise.
39626         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39627         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39628         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39629         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39630         [POSIX || XPG3] (POLL_IN): Likewise.
39631         [POSIX || XPG3] (POLL_OUT): Likewise.
39632         [POSIX || XPG3] (POLL_MSG): Likewise.
39633         [POSIX || XPG3] (POLL_ERR): Likewise.
39634         [POSIX || XPG3] (POLL_PRI): Likewise.
39635         [POSIX || XPG3] (POLL_HUP): Likewise.
39636         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39637         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39638         (SIG*): Do not allow.
39639         [XPG3] (si_*): Likewise.
39640         [XPG3] (SI_*): Likewise.
39641         [XPG3 || XPG4] (sigev_*): Likewise.
39642         [XPG3 || XPG4] (SIGEV_*): Likewise.
39643         [XPG3 || XPG4] (sival_*): Likewise.
39644         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39645         [POSIX || XPG3] (BUS_*): Likewise.
39646         [POSIX || XPG3] (CLD_*): Likewise.
39647         [POSIX || XPG3] (FPE_*): Likewise.
39648         [POSIX || XPG3] (ILL_*): Likewise.
39649         [POSIX || XPG3] (POLL_*): Likewise.
39650         [POSIX || XPG3] (SEGV_*): Likewise.
39651         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39652         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39653         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39654         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39655         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39656         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39657         Specify type and value.
39658         (TVERSLEN): Likewise.
39659         (REGTYPE): Likewise.
39660         (AREGTYPE): Likewise.
39661         (LNKTYPE): Likewise.
39662         (SYMTYPE): Likewise.
39663         (CHRTYPE): Likewise.
39664         (BLKTYPE): Likewise.
39665         (DIRTYPE): Likewise.
39666         (FIFOTYPE): Likewise.
39667         (CONTTYPE): Likewise.
39668         (TSUID): Likewise.
39669         (TSGID): Likewise.
39670         (TSVTX): Likewise.
39671         (TUREAD): Likewise.
39672         (TUWRITE): Likewise.
39673         (TUEXEC): Likewise.
39674         (TGREAD): Likewise.
39675         (TGWRITE): Likewise.
39676         (TGEXEC): Likewise.
39677         (TOREAD): Likewise.
39678         (TOWRITE): Likewise.
39679         (TOEXEC): Likewise.
39680         [POSIX] (TSVTX): Expect constant.
39682 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39684         * Makefile (tests): Change dependencies to ....
39685         (tests-special): ... additions to this variable.
39686         (tests): Depend on $(tests-special).
39687         * Makerules (check-abi-list): New variable.
39688         (check-abi): Depend on $(check-abi-list).
39689         [$(subdir) = elf] (tests-special): Add
39690         $(objpfx)check-abi-libc.out.
39691         [$(build-shared) = yes && subdir] (tests-special): Add
39692         $(check-abi-list).
39693         [$(build-shared) = yes && subdir] (tests): Do not depend on
39694         check-abi.
39695         * Rules (tests): Depend on $(tests-special).
39696         (xtests): Depend on $(xtests-special).
39697         * catgets/Makefile (tests): Change dependencies to ....
39698         (tests-special): ... additions to this variable.
39699         * conform/Makefile (tests): Change dependencies to ....
39700         (tests-special): ... additions to this variable.
39701         * elf/Makefile (tests): Change dependencies to ....
39702         (tests-special): ... additions to this variable.
39703         * grp/Makefile (tests): Change dependencies to ....
39704         (tests-special): ... additions to this variable.
39705         * iconv/Makefile (xtests): Change dependencies to ....
39706         (xtests-special): ... additions to this variable.
39707         * iconvdata/Makefile (tests): Change dependencies to ....
39708         (tests-special): ... additions to this variable.
39709         * intl/Makefile (tests): Change dependencies to ....
39710         (tests-special): ... additions to this variable.  Also add
39711         $(objpfx)tst-gettext.out.
39712         * io/Makefile (tests): Change dependencies to ....
39713         (tests-special): ... additions to this variable.
39714         * libio/Makefile (tests): Change dependencies to ....
39715         (tests-special): ... additions to this variable.
39716         * malloc/Makefile (tests): Change dependencies to ....
39717         (tests-special): ... additions to this variable.
39718         * misc/Makefile (tests): Change dependencies to ....
39719         (tests-special): ... additions to this variable.
39720         * nptl/Makefile (tests): Change dependencies to ....
39721         (tests-special): ... additions to this variable.
39722         * nptl_db/Makefile (tests): Change dependencies to ....
39723         (tests-special): ... additions to this variable.
39724         * posix/Makefile (tests): Change dependencies to ....
39725         (tests-special): ... additions to this variable.
39726         (xtests): Change dependencies to ....
39727         (xtests-special): ... additions to this variable.
39728         * resolv/Makefile (tests): Change dependencies to ....
39729         (tests-special): ... additions to this variable.
39730         (xtests): Change dependencies to ....
39731         (xtests-special): ... additions to this variable.
39732         * stdio-common/Makefile (tests): Change dependencies to ....
39733         (tests-special): ... additions to this variable.
39734         (do-tst-unbputc): Remove target.
39735         (do-tst-printf): Likewise.
39736         * stdlib/Makefile (tests): Change dependencies to ....
39737         (tests-special): ... additions to this variable.
39738         * string/Makefile (tests): Change dependencies to ....
39739         (tests-special): ... additions to this variable.
39740         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39741         (tests-special): ... additions to this variable.
39743         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39744         whole file.
39745         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39746         whole file.
39747         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39748         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39750         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39751         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39752         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39753         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39754         * conform/data/libgen.h-data [XPG3]: Likewise.
39755         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39756         * conform/data/ndbm.h-data [XPG3]: Likewise.
39757         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39758         * conform/data/netdb.h-data [XPG3]: Likewise.
39759         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39760         * conform/data/poll.h-data [XPG3]: Likewise.
39761         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39762         * conform/data/strings.h-data [XPG3]: Likewise.
39763         * conform/data/stropts.h-data [XPG3]: Likewise.
39764         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39765         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39766         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39767         Likewise.
39768         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39769         * conform/data/sys/time.h-data [XPG3]: Likewise.
39770         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39771         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39772         * conform/data/sys/un.h-data [XPG3]: Likewise.
39773         * conform/data/syslog.h-data [XPG3]: Likewise.
39774         * conform/data/ucontext.h-data [XPG3]: Likewise.
39775         * conform/data/utmpx.h-data [XPG3]: Likewise.
39776         * conform/data/varargs.h-data [UNIX98]: Enable file.
39778         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39780         * math/libm-test.inc (struct test_f_f_data): Move expected results
39781         into structure for each rounding mode.
39782         (struct test_ff_f_data): Likewise.
39783         (struct test_ff_f_data_nexttoward): Likewise.
39784         (struct test_fi_f_data): Likewise.
39785         (struct test_fl_f_data): Likewise.
39786         (struct test_if_f_data): Likewise.
39787         (struct test_fff_f_data): Likewise.
39788         (struct test_c_f_data): Likewise.
39789         (struct test_f_f1_data): Likewise.
39790         (struct test_fF_f1_data): Likewise.
39791         (struct test_ffI_f1_data): Likewise.
39792         (struct test_c_c_data): Likewise.
39793         (struct test_cc_c_data): Likewise.
39794         (struct test_f_i_data): Likewise.
39795         (struct test_ff_i_data): Likewise.
39796         (struct test_f_l_data): Likewise.
39797         (struct test_f_L_data): Likewise.
39798         (struct test_fFF_11_data): Likewise.
39799         (RM_): New macro.
39800         (RM_FE_DOWNWARD): Likewise.
39801         (RM_FE_TONEAREST): Likewise.
39802         (RM_FE_TOWARDZERO): Likewise.
39803         (RM_FE_UPWARD): Likewise.
39804         (RUN_TEST_LOOP_f_f): Update references to expected results.
39805         (RUN_TEST_LOOP_2_f): Likewise.
39806         (RUN_TEST_LOOP_fff_f): Likewise.
39807         (RUN_TEST_LOOP_c_f): Likewise.
39808         (RUN_TEST_LOOP_f_f1): Likewise.
39809         (RUN_TEST_LOOP_fF_f1): Likewise.
39810         (RUN_TEST_LOOP_fI_f1): Likewise.
39811         (RUN_TEST_LOOP_ffI_f1): Likewise.
39812         (RUN_TEST_LOOP_c_c): Likewise.
39813         (RUN_TEST_LOOP_cc_c): Likewise.
39814         (RUN_TEST_LOOP_f_i): Likewise.
39815         (RUN_TEST_LOOP_f_i_tg): Likewise.
39816         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39817         (RUN_TEST_LOOP_f_b): Likewise.
39818         (RUN_TEST_LOOP_f_b_tg): Likewise.
39819         (RUN_TEST_LOOP_f_l): Likewise.
39820         (RUN_TEST_LOOP_f_L): Likewise.
39821         (RUN_TEST_LOOP_fFF_11): Likewise.
39822         * math/gen-libm-test.pl (parse_args): Output four copies of
39823         expected results for each test.
39825         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39826         (__ASSUME_UTIMES): Remove.
39827         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39828         (__ASSUME_UTIMES): Likewise.
39830         * math/gen-auto-libm-tests.c: Update comment on output format.
39831         (output_for_one_input_case): Generate before-rounding and
39832         after-rounding information as conditions on output flags not
39833         floating-point format.
39834         * math/auto-libm-test-out: Regenerated.
39835         * math/gen-libm-test.pl (cond_value): New function.
39836         (or_cond_value): Use cond_value.
39837         (generate_testfile): Handle conditional exceptions.
39839 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39841         * math/libm-test.inc (max_valid_error): New variable.
39842         (init_max_error): Take new argument specifying whether function
39843         results are exactly determined.  Set max_valid_error and bound
39844         other variables for errors based on this argument.
39845         (set_max_error): Do not record results above max_valid_error.
39846         (check_float_internal): Only accept errors of up to 0.5ulps if
39847         also at most max_valid_error.
39848         (START): Take new argument EXACT and pass it to init_max_error.
39849         (acos_test): Update call to START.
39850         (acos_test_tonearest): Likewise.
39851         (acos_test_towardzero): Likewise.
39852         (acos_test_downward): Likewise.
39853         (acos_test_upward): Likewise.
39854         (acosh_test): Likewise.
39855         (asin_test): Likewise.
39856         (asin_test_tonearest): Likewise.
39857         (asin_test_towardzero): Likewise.
39858         (asin_test_downward): Likewise.
39859         (asin_test_upward): Likewise.
39860         (asinh_test): Likewise.
39861         (atan_test): Likewise.
39862         (atanh_test): Likewise.
39863         (atan2_test): Likewise.
39864         (cabs_test): Likewise.
39865         (cacos_test): Likewise.
39866         (cacosh_test): Likewise.
39867         (carg_test): Likewise.
39868         (casin_test): Likewise.
39869         (casinh_test): Likewise.
39870         (catan_test): Likewise.
39871         (catanh_test): Likewise.
39872         (cbrt_test): Likewise.
39873         (ccos_test): Likewise.
39874         (ccosh_test): Likewise.
39875         (ceil_test): Likewise.
39876         (cexp_test): Likewise.
39877         (cimag_test): Likewise.
39878         (clog_test): Likewise.
39879         (clog10_test): Likewise.
39880         (conj_test): Likewise.
39881         (copysign_test): Likewise.
39882         (cos_test): Likewise.
39883         (cos_test_tonearest): Likewise.
39884         (cos_test_towardzero): Likewise.
39885         (cos_test_downward): Likewise.
39886         (cos_test_upward): Likewise.
39887         (cosh_test): Likewise.
39888         (cosh_test_tonearest): Likewise.
39889         (cosh_test_towardzero): Likewise.
39890         (cosh_test_downward): Likewise.
39891         (cosh_test_upward): Likewise.
39892         (cpow_test): Likewise.
39893         (cproj_test): Likewise.
39894         (creal_test): Likewise.
39895         (csin_test): Likewise.
39896         (csinh_test): Likewise.
39897         (csqrt_test): Likewise.
39898         (ctan_test): Likewise.
39899         (ctan_test_tonearest): Likewise.
39900         (ctan_test_towardzero): Likewise.
39901         (ctan_test_downward): Likewise.
39902         (ctan_test_upward): Likewise.
39903         (ctanh_test): Likewise.
39904         (ctanh_test_tonearest): Likewise.
39905         (ctanh_test_towardzero): Likewise.
39906         (ctanh_test_downward): Likewise.
39907         (ctanh_test_upward): Likewise.
39908         (erf_test): Likewise.
39909         (erfc_test): Likewise.
39910         (exp_test): Likewise.
39911         (exp_test_tonearest): Likewise.
39912         (exp_test_towardzero): Likewise.
39913         (exp_test_downward): Likewise.
39914         (exp_test_upward): Likewise.
39915         (exp10_test): Likewise.
39916         (exp10_test_tonearest): Likewise.
39917         (exp10_test_towardzero): Likewise.
39918         (exp10_test_downward): Likewise.
39919         (exp10_test_upward): Likewise.
39920         (pow10_test): Likewise.
39921         (exp2_test): Likewise.
39922         (expm1_test): Likewise.
39923         (expm1_test_tonearest): Likewise.
39924         (expm1_test_towardzero): Likewise.
39925         (expm1_test_downward): Likewise.
39926         (expm1_test_upward): Likewise.
39927         (fabs_test): Likewise.
39928         (fdim_test): Likewise.
39929         (floor_test): Likewise.
39930         (fma_test): Likewise.
39931         (fma_test_towardzero): Likewise.
39932         (fma_test_downward): Likewise.
39933         (fma_test_upward): Likewise.
39934         (fmax_test): Likewise.
39935         (fmin_test): Likewise.
39936         (fmod_test): Likewise.
39937         (fpclassify_test): Likewise.
39938         (frexp_test): Likewise.
39939         (hypot_test): Likewise.
39940         (ilogb_test): Likewise.
39941         (isfinite_test): Likewise.
39942         (finite_test): Likewise.
39943         (isgreater_test): Likewise.
39944         (isgreaterequal_test): Likewise.
39945         (isinf_test): Likewise.
39946         (isless_test): Likewise.
39947         (islessequal_test): Likewise.
39948         (islessgreater_test): Likewise.
39949         (isnan_test): Likewise.
39950         (isnormal_test): Likewise.
39951         (issignaling_test): Likewise.
39952         (isunordered_test): Likewise.
39953         (j0_test): Likewise.
39954         (j1_test): Likewise.
39955         (jn_test): Likewise.
39956         (ldexp_test): Likewise.
39957         (lgamma_test): Likewise.
39958         (gamma_test): Likewise.
39959         (lrint_test): Likewise.
39960         (lrint_test_tonearest): Likewise.
39961         (lrint_test_towardzero): Likewise.
39962         (lrint_test_downward): Likewise.
39963         (lrint_test_upward): Likewise.
39964         (llrint_test): Likewise.
39965         (llrint_test_tonearest): Likewise.
39966         (llrint_test_towardzero): Likewise.
39967         (llrint_test_downward): Likewise.
39968         (llrint_test_upward): Likewise.
39969         (log_test): Likewise.
39970         (log10_test): Likewise.
39971         (log1p_test): Likewise.
39972         (log2_test): Likewise.
39973         (logb_test): Likewise.
39974         (logb_test_downward): Likewise.
39975         (lround_test): Likewise.
39976         (llround_test): Likewise.
39977         (modf_test): Likewise.
39978         (nearbyint_test): Likewise.
39979         (nextafter_test): Likewise.
39980         (nexttoward_test): Likewise.
39981         (pow_test): Likewise.
39982         (pow_test_tonearest): Likewise.
39983         (pow_test_towardzero): Likewise.
39984         (pow_test_downward): Likewise.
39985         (pow_test_upward): Likewise.
39986         (remainder_test): Likewise.
39987         (drem_test): Likewise.
39988         (remainder_test_tonearest): Likewise.
39989         (drem_test_tonearest): Likewise.
39990         (remainder_test_towardzero): Likewise.
39991         (drem_test_towardzero): Likewise.
39992         (remainder_test_downward): Likewise.
39993         (drem_test_downward): Likewise.
39994         (remainder_test_upward): Likewise.
39995         (drem_test_upward): Likewise.
39996         (remquo_test): Likewise.
39997         (rint_test): Likewise.
39998         (rint_test_tonearest): Likewise.
39999         (rint_test_towardzero): Likewise.
40000         (rint_test_downward): Likewise.
40001         (rint_test_upward): Likewise.
40002         (round_test): Likewise.
40003         (scalb_test): Likewise.
40004         (scalbn_test): Likewise.
40005         (scalbln_test): Likewise.
40006         (signbit_test): Likewise.
40007         (sin_test): Likewise.
40008         (sin_test_tonearest): Likewise.
40009         (sin_test_towardzero): Likewise.
40010         (sin_test_downward): Likewise.
40011         (sin_test_upward): Likewise.
40012         (sincos_test): Likewise.
40013         (sinh_test): Likewise.
40014         (sinh_test_tonearest): Likewise.
40015         (sinh_test_towardzero): Likewise.
40016         (sinh_test_downward): Likewise.
40017         (sinh_test_upward): Likewise.
40018         (sqrt_test): Likewise.
40019         (sqrt_test_tonearest): Likewise.
40020         (sqrt_test_towardzero): Likewise.
40021         (sqrt_test_downward): Likewise.
40022         (sqrt_test_upward): Likewise.
40023         (tan_test): Likewise.
40024         (tan_test_tonearest): Likewise.
40025         (tan_test_towardzero): Likewise.
40026         (tan_test_downward): Likewise.
40027         (tan_test_upward): Likewise.
40028         (tanh_test): Likewise.
40029         (tgamma_test): Likewise.
40030         (trunc_test): Likewise.
40031         (y0_test): Likewise.
40032         (y1_test): Likewise.
40033         (yn_test): Likewise.
40034         (significand_test): Likewise.
40036         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40037         individual tests in comment.
40038         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40039         (prev_max_error): New variable.
40040         (prev_real_max_error): Likewise.
40041         (prev_imag_max_error): Likewise.
40042         (compare_ulp_data): Don't refer to test names in comment.
40043         (find_test_ulps): Remove function.
40044         (find_function_ulps): Likewise.
40045         (find_complex_function_ulps): Likewise.
40046         (init_max_error): Take function name as argument.  Look up ulps
40047         for that function.
40048         (print_ulps): Remove function.
40049         (print_max_error): Use prev_max_error instead of calling
40050         find_function_ulps.
40051         (print_complex_max_error): Use prev_real_max_error and
40052         prev_imag_max_error instead of calling find_complex_function_ulps.
40053         (check_float_internal): Take max_ulp parameter instead of calling
40054         find_test_ulps.  Don't call print_ulps.
40055         (check_float): Update call to check_float_internal.
40056         (check_complex): Update calls to check_float_internal.
40057         (START): Pass argument to init_max_error.
40058         * math/gen-libm-test.pl (%results): Don't include "kind"
40059         information.
40060         (parse_ulps): Don't handle ulps of individual tests.
40061         (print_ulps_file): Likewise.
40062         (output_ulps): Likewise.
40063         * math/README.libm-test: Update.
40064         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40065         individual tests.
40066         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40067         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40068         * sysdeps/arm/libm-test-ulps: Likewise.
40069         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40070         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40071         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40072         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40073         * sysdeps/microblaze/libm-test-ulps: Likewise.
40074         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40075         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40076         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40077         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40078         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40079         * sysdeps/sh/libm-test-ulps: Likewise.
40080         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40081         * sysdeps/tile/libm-test-ulps: Likewise.
40082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40084 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40086         * math/libm-test.inc (print_complex_max_error): Check separately
40087         whether real and imaginary errors are within allowed range and
40088         pass 0 to print_complex_function_ulps instead of value within
40089         allowed range.
40091 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40093         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40094         formatting.
40095         (get_handles_fopen): Likewise.
40096         (do_write_test): Likewise.
40098         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40100         * libio/fileops.c (do_ftell): Use cached offset when
40101         available.
40102         * libio/iofwide.c (do_ftell_wide): Likewise.
40103         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40104         _IO_file_attach.
40105         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40107         [BZ #16532]
40108         * libio/libioP.h (get_file_offset): New function.
40109         * libio/fileops.c (get_file_offset): Likewise.
40110         (do_ftell): Likewise.
40111         (_IO_new_file_seekoff): Split out ftell logic.
40112         * libio/wfileops.c (do_ftell_wide): Likewise.
40113         (_IO_wfile_seekoff): Split out ftell logic.
40114         * libio/tst-ftell-active-handler.c: New test case.
40115         * libio/Makefile (tests): Add it.
40117 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40119         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40120         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40122 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40124         [BZ #16639]
40125         * nscd/connections.c (nscd_init): Call do_exit.
40126         (start_threads): Call do_exit and notify_parent.
40127         (begin_drop_privileges): Call do_exit.
40128         (finish_drop_privileges): Likewise.
40129         * nscd/selinux.c (preserve_capabilities): Likewise.
40130         (install_real_capabilities): Likewise.
40131         (nscd_selinux_enabled): Likewise.
40132         (avc_create_thread): Likewise.
40133         (avc_alloc_lock): Likewise.
40134         (nscd_avc_init): Likewise.
40135         * nscd/nscd.c (parent_fd): New static variable.
40136         (main): Create a pipe between parent and child processes.
40137         Skip closing parent_fd.
40138         (monitor_child): New function.
40139         (do_exit): Likewise.
40140         (notify_parent): Likewise.
40141         * nscd/nscd.h (notify_parent): Likewise.
40142         (do_exit): Likewise.
40144 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40146         * malloc/malloc.c (__libc_calloc): Revert last change.
40148 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40152 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40154         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40156         implementation.
40157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40158         (__libc_ifunc_impl_list): Likewise.
40159         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40160         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40161         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40162         * string/strrchr.c: Define STRRCHR.
40164 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40166         * benchtest/bench-strtok.c (simple_strtok): Delete.
40167         (strtok_string): Use as benchmark.
40168         * string/strtok (STRTOK): New macro.
40170 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40172         * manual/threads.texi: Add header and standard comments to all
40173         functions.
40175         * elf/dl-lookup.c (check_match): New function.
40176         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40177         (do_lookup_x): Remove nested function check_match. Use non-nested
40178         function check_match.
40180 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40182         * csu/Makefile (generated, before-compile): Use += rather than =.
40183         * catgets/Makefile (generated, generated-dirs): Likewise.
40184         * debug/Makefile (generated): Likewise.
40185         * dlfcn/Makefile (generated): Likewise.
40186         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40187         * iconvdata/Makefile (before-compile, generated): Likewise.
40188         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40189         * libio/Makefile (generated): Likewise.
40190         * malloc/Makefile (generated): Likewise.
40191         * manual/Makefile (generated, generated-dirs): Likewise.
40192         * misc/Makefile (generated): Likewise.
40193         * posix/Makefile (generated): Likewise.
40194         * resolv/Makefile (generated): Likewise.
40195         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40196         * timezone/Makefile (generated, generated-dirs): Likewise.
40198         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40200 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40203         power8 implementation.
40204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40205         file: POWER8 llround ifunc implementation.
40206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40207         (__lllround): Add POWER8 implementation.
40208         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40209         POWER8 llround implementation.
40211         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40212         power8 implementation.
40213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40214         file: POWER8 llrint ifunc implementation.
40215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40216         Add POWER8 implementation.
40217         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40218         POWER8 llrint implementation.
40220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40221         power8 implementation.
40222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40223         file: POWER8 finite ifunc implementation.
40224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40225         Add POWER8 implementation.
40226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40227         Likewise.
40228         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40229         POWER8 finite implementation.
40230         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40233         power8 implementation.
40234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40235         file: POWER8 isinf ifunc implementation.
40236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40237         POWER8 implementation.
40238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40239         Likewise.
40240         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40241         isinf implementation.
40242         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40244         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40245         (INIT_ARCH): Add hwcap2 initialization.
40246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40247         power8 implementation.
40248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40249         file: POWER8 isnan ifunc implementation.
40250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40251         POWER8 implementation.
40252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40253         Likewise.
40254         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40255         isnan implementation.
40256         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40258 2014-02-27  Joey Ye  <joey.ye@arm.com>
40260         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40261         (_FP_NANFRAC_Q): Set to zero.
40263 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40265         [BZ #16623]
40266         * math/auto-libm-test-in: New test inputs.
40267         * math/auto-libm-test-out: Regenerate.
40268         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40269         and DA.
40270         (__cos): Likewise.
40271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40273 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40275         * scripts/evaluate-test.sh: Take new argument indicating whether
40276         failure is expected.
40277         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40278         indicating whether failure is expected.
40279         * conform/Makefile (test-xfail-run-conformtest): New variable.
40280         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40281         level.
40282         * posix/Makefile (test-xfail-annexc): New variable.
40283         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40285 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40287         * argp/Makefile: Include Makeconfig immediately after defining
40288         subdir.
40289         * assert/Makefile: Likewise.
40290         * benchtests/Makefile: Likewise.
40291         * catgets/Makefile: Likewise.
40292         * conform/Makefile: Likewise.
40293         * crypt/Makefile: Likewise.
40294         * csu/Makefile: Likewise.
40295         (all): Remove target.
40296         * ctype/Makefile: Include Makeconfig immediately after defining
40297         subdir.
40298         * debug/Makefile: Likewise.
40299         * dirent/Makefile: Likewise.
40300         * dlfcn/Makefile: Likewise.
40301         * gmon/Makefile: Likewise.
40302         * gnulib/Makefile: Likewise.
40303         * grp/Makefile: Likewise.
40304         * gshadow/Makefile: Likewise.
40305         * hesiod/Makefile: Likewise.
40306         * hurd/Makefile: Likewise.
40307         (all): Remove target.
40308         * iconvdata/Makefile: Include Makeconfig immediately after
40309         defining subdir.
40310         * inet/Makefile: Likewise.
40311         * intl/Makefile: Likewise.
40312         * io/Makefile: Likewise.
40313         * libio/Makefile: Likewise.
40314         (all): Remove target.
40315         * locale/Makefile: Include Makeconfig immediately after defining
40316         subdir.
40317         * login/Makefile: Likewise.
40318         * mach/Makefile: Likewise.
40319         (all): Remove target.
40320         * malloc/Makefile: Include Makeconfig immediately after defining
40321         subdir.
40322         (all): Remove target.
40323         * manual/Makefile: Include Makeconfig immediately after defining
40324         subdir.
40325         * math/Makefile: Likewise.
40326         * misc/Makefile: Likewise.
40327         * nis/Makefile: Likewise.
40328         * nss/Makefile: Likewise.
40329         * po/Makefile: Likewise.
40330         (all): Remove target.
40331         * posix/Makefile: Include Makeconfig immediately after defining
40332         subdir.
40333         * pwd/Makefile: Likewise.
40334         * resolv/Makefile: Likewise.
40335         * resource/Makefile: Likewise.
40336         * rt/Makefile: Likewise.
40337         * setjmp/Makefile: Likewise.
40338         * shadow/Makefile: Likewise.
40339         * signal/Makefile: Likewise.
40340         * socket/Makefile: Likewise.
40341         * soft-fp/Makefile: Likewise.
40342         * stdio-common/Makefile: Likewise.
40343         * stdlib/Makefile: Likewise.
40344         * streams/Makefile: Likewise.
40345         * string/Makefile: Likewise.
40346         * sunrpc/Makefile: Likewise.
40347         (all): Remove target.
40348         * sysvipc/Makefile: Include Makeconfig immediately after defining
40349         subdir.
40350         * termios/Makefile: Likewise.
40351         * time/Makefile: Likewise.
40352         * timezone/Makefile: Likewise.
40353         (all): Remove target.
40354         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40355         subdir.
40356         * wctype/Makefile: Likewise.
40358 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40360         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40361         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40362         (libc_feholdexcept_setround_mips): Ditto.
40363         (libc_feholdsetround): New.
40364         (libc_feholdsetroundf): New.
40365         (libc_feholdsetroundl): New.
40366         (libc_feupdateenv_test_mips): New.
40367         (libc_feupdateenv_test): New.
40368         (libc_feupdateenv_testf): New.
40369         (libc_feupdateenv_testl): New.
40370         (libc_feresetround): New.
40371         (libc_feresetroundf): New.
40372         (libc_feresetroundl): New.
40373         (libc_fetestexcept_mips): New.
40374         (libc_fetestexcept): New.
40375         (libc_fetestexceptf): New.
40376         (libc_fetestexceptl): New.
40377         (HAVE_RM_CTX): New.
40378         (libc_feholdexcept_setround_mips_ctx): New.
40379         (libc_feholdexcept_setround_ctx): New.
40380         (libc_feholdexcept_setroundf_ctx): New.
40381         (libc_feholdexcept_setroundl_ctx): New.
40382         (libc_fesetenv_mips_ctx): New.
40383         (libc_fesetenv_ctx): New.
40384         (libc_fesetenv_ctxf): New.
40385         (libc_fesetenv_ctxl): New.
40386         (libc_feupdateenv_mips_ctx): New.
40387         (libc_feupdateenv_ctx): New.
40388         (libc_feupdateenvf_ctx): New.
40389         (libc_feupdateenvl_ctx): New.
40390         (libc_feholdsetround_mips_ctx): New.
40391         (libc_feholdsetround_ctx): New.
40392         (libc_feholdsetroundf_ctx): New.
40393         (libc_feholdsetroundl_ctx): New.
40394         (libc_feresetround_mips_ctx): New.
40395         (libc_feresetround_ctx): New.
40396         (libc_feresetroundf_ctx): New.
40397         (libc_feresetroundl_ctx): New.
40399 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40401         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40403         * manual/ipc.texi: New file.
40404         * manual/Makefile (chapters): Add ipc.
40405         * manual/job.texi: Add "Inter-Process Communication" to next.
40406         * manual/process.texi: Add "Inter-Process Communication" to prev.
40408 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40412 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40414         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40416         * manual/arith.texi: Fix spaces after sentences.
40417         * manual/charset.texi: Likewise.
40418         * manual/errno.texi: Likewise.
40419         * manual/install.texi: Likewise.
40420         * manual/llio.texi: Likewise.
40421         * manual/locale.texi: Likewise.
40422         * manual/maint.texi: Likewise.
40423         * manual/math.texi: Likewise.
40424         * manual/memory.texi: Likewise.
40425         * manual/message.texi: Likewise.
40426         * manual/probes.texi: Likewise.
40427         * manual/resource.texi: Likewise.
40428         * manual/signal.texi: Likewise.
40429         * manual/socket.texi: Likewise.
40430         * manual/stdio.texi: Likewise.
40431         * manual/string.texi: Likewise.
40432         * manual/time.texi: Likewise.
40433         * manual/users.texi: Likewise.
40435 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40437         [BZ #16632]
40438         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40439         _DEFAULT_SOURCE is defined.
40441 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40442             Carlos O'Donell  <carlos@redhat.com>
40444         [BZ #16613]
40445         * elf/dl-tls.c (_dl_count_modids): New function.
40446         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40447         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40448         audit library and increment generation counter.
40449         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40450         * elf/tst-audit9.c: New file.
40451         * elf/tst-auditmod9a.c: New file.
40452         * elf/tst-auditmod9b.c: New file.
40453         * elf/Makefile: Add rules to build and run tst-audit9.
40455 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40457         [BZ #15347]
40458         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40460 2014-02-25  Will Newton  <will.newton@linaro.org>
40462         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40463         (__longjmp): Restore sp and lr before restoring callee
40464         saved registers.  Add longjmp and longjmp_target
40465         SystemTap probe point.
40466         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40467         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40468         Define to zero to match jmpbuf layout.
40469         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40470         (__sigsetjmp): Save sp and lr before saving callee
40471         saved registers.  Add setjmp SystemTap probe point.
40473 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40475         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40477 2014-02-24  Andreas Schwab  <schwab@suse.de>
40479         [BZ #15804]
40480         * elf/pldd.c (wait_for_ptrace_stop): New function.
40481         (main): Call it after attaching.
40483 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40485         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40486         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40487         Versions files is now verboten.
40488         * hurd/Versions (libc: GLIBC_2.0):
40489         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40490         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40491         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40492         * mach/Versions: Likewise.
40494         * csu/Versions: Remove unused %include.
40495         * resolv/Versions: Likewise.
40497 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40499         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40500         ($(objpfx)check-local-headers.out): Likewise.
40501         ($(objpfx)begin-end-check.out): Likewise.
40502         * Makerules (check-abi-%.out): Likewise.
40503         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40504         ($(objpfx)test2.cat): Likewise.
40505         ($(objpfx)de/libc.cat): Likewise.
40506         ($(objpfx)test-gencat.out): Likewise.
40507         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40508         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40509         ($(objpfx)noload-mem): Likewise.
40510         ($(objpfx)tst-pathopt.out): Likewise.
40511         ($(objpfx)tst-rtld-load-self.out): Likewise.
40512         ($(objpfx)tst-array1-cmp.out): Likewise.
40513         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40514         ($(objpfx)tst-array2-cmp.out): Likewise.
40515         ($(objpfx)tst-array3-cmp.out): Likewise.
40516         ($(objpfx)tst-array4-cmp.out): Likewise.
40517         ($(objpfx)tst-array5-cmp.out): Likewise.
40518         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40519         ($(objpfx)check-textrel.out): Likewise.
40520         ($(objpfx)check-execstack.out): Likewise.
40521         ($(objpfx)check-localplt.out): Likewise.
40522         ($(objpfx)order2-cmp.out): Likewise.
40523         ($(objpfx)tst-leaks1-mem): Likewise.
40524         ($(objpfx)tst-leaks1-static-mem): Likewise.
40525         ($(objpfx)tst-initorder-cmp.out): Likewise.
40526         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40527         ($(objpfx)tst-unused-dep.out): Likewise.
40528         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40529         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40530         * iconv/Makefile (test-iconvconfig): Likewise.
40531         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40532         ($(objpfx)iconv-test.out): Likewise.
40533         ($(objpfx)tst-tables.out): Likewise.
40534         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40535         ($(objpfx)tst-gettext.out): Likewise.
40536         ($(objpfx)tst-translit.out): Likewise.
40537         ($(objpfx)tst-gettext2.out): Likewise.
40538         ($(objpfx)tst-gettext4.out): Likewise.
40539         ($(objpfx)tst-gettext6.out): Likewise.
40540         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40541         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40542         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40543         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40544         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40545         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40546         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40547         ($(objpfx)wordexp-tst.out): Likewise.
40548         ($(objpfx)annexc.out): Likewise.
40549         ($(objpfx)tst-fnmatch-mem): Likewise.
40550         ($(objpfx)bug-regex2-mem): Likewise.
40551         ($(objpfx)bug-regex14-mem): Likewise.
40552         ($(objpfx)bug-regex21-mem): Likewise.
40553         ($(objpfx)bug-regex31-mem): Likewise.
40554         ($(objpfx)tst-vfork3-mem): Likewise.
40555         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40556         ($(objpfx)tst-pcre-mem): Likewise.
40557         ($(objpfx)tst-boost-mem): Likewise.
40558         ($(objpfx)tst-getconf.out): Likewise.
40559         ($(objpfx)bug-ga2-mem): Likewise.
40560         ($(objpfx)bug-glob2-mem): Likewise.
40561         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40562         ($(objpfx)mtrace-tst-leaks2): Likewise.
40563         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40564         ($(objpfx)tst-printf.out): Likewise.
40565         ($(objpfx)tst-setvbuf1.out): Likewise.
40566         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40567         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40568         ($(objpfx)tst-fmtmsg.out): Likewise.
40569         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40570         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40572         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40573         * bits/sigaction.h [__USE_MISC]: Likewise.
40574         * bits/waitstatus.h: Update #endif comments.
40575         * ctype/ctype.h: Likewise.
40576         * dirent/dirent.h: Likewise.
40577         [__USE_MISC]: Remove redundant conditionals.
40578         * grp/grp.h: Update #endif comments.
40579         [__USE_GNU]: Remove redundant conditionals.
40580         [__USE_MISC]: Likewise.
40581         * inet/netinet/in.h [__USE_GNU]: Likewise.
40582         * io/sys/stat.h [__USE_MISC]: Likewise.
40583         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40584         * libio/bits/stdio.h: Update #endif comments.
40585         [__USE_MISC]: Remove redundant conditionals.
40586         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40587         * libio/stdio.h: Update #endif comments.
40588         [__USE_MISC]: Remove redundant conditionals.
40589         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40590         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40591         * math/math.h: Update #else and #endif comments.
40592         [__USE_MISC]: Remove redundant conditionals.
40593         * misc/sys/uio.h: Update #endif comments.
40594         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40595         * posix/glob.h [__USE_MISC]: Likewise.
40596         * posix/sys/types.h: Update #endif comments.
40597         [__USE_MISC]: Remove redundant conditionals.
40598         * posix/sys/wait.h: Update #endif comments.
40599         [__USE_MISC]: Remove redundant conditionals.
40600         * posix/unistd.h: Update #endif comments.
40601         [__USE_MISC]: Remove redundant conditionals.
40602         * pwd/pwd.h [__USE_GNU]: Likewise.
40603         [__USE_MISC]: Likewise.
40604         * resolv/netdb.h [__USE_GNU]: Likewise.
40605         * signal/signal.h: Update #endif comments.
40606         [__USE_MISC]: Remove redundant conditionals.
40607         * stdlib/stdlib.h: Update #else and #endif comments.
40608         [__USE_MISC]: Remove redundant conditionals.
40609         [__USE_GNU]: Likewise.
40610         * string/bits/string2.h [__USE_MISC]: Likewise.
40611         * string/string.h: Update #endif comments.
40612         [__USE_MISC]: Remove redundant conditionals.
40613         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40614         Likewise.
40615         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40616         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40617         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40618         Likewise.
40619         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40620         Likewise.
40621         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40622         comments.
40623         [__USE_MISC]: Remove redundant conditionals.
40624         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40625         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40626         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40627         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40628         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40629         Likewise.
40630         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40631         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40632         Likewise.
40633         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40634         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40635         Likewise.
40636         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40637         Likewise.
40638         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40639         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40640         Likewise.
40641         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40642         Likewise.
40643         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40644         * sysdeps/x86/bits/string.h: Update #endif comments.
40645         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40646         conditionals.
40647         * time/sys/time.h: Update #endif comments.
40648         * time/time.h: Likewise.
40649         [__USE_MISC]: Remove redundant conditionals.
40651 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40653         [BZ #16600]
40654         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40656 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40658         * Versions.def (librt): Add GLIBC_2.17.
40660 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40662         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40663         synonym for _SYS_AUXV_H to allow direct inclusion.
40664         * sysdeps/sparc/bits/hwcap.h: Likewise.
40665         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40666         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40667         * sysdeps/sparc/sysdep.h: Likewise.
40669 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40671         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40673 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40675         * benchtests/bench-strrchr.c: Print length instead of position.
40677 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40679         [BZ #16611]
40680         * sysdeps/unix/sysv/linux/kernel-features.h
40681         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40682         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40683         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40684         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40685         Likewise.
40686         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40687         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40688         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40689         (__ASSUME_SENDMMSG): Define instead of using previous
40690         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40691         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40692         (__ASSUME_SENDMMSG_SYSCALL): Define.
40693         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40694         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40695         Likewise.
40696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40697         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40698         Likewise.
40699         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40700         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40701         Likewise.
40702         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40703         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40704         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40705         [__ASSUME_SENDMMSG]: Change conditionals to
40706         [__ASSUME_SENDMMSG_SOCKETCALL].
40707         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40708         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40709         Define.
40710         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40711         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40712         Likewise.
40713         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40714         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40715         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40716         [!__ASSUME_SENDMMSG]: Change conditional to
40717         [!__ASSUME_SENDMMSG_SOCKETCALL].
40718         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40719         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40720         Define.
40722         [BZ #16610]
40723         * sysdeps/unix/sysv/linux/kernel-features.h
40724         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40725         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40726         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40727         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40728         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40729         [__i386__ || __sparc__]
40730         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40731         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40732         (__ASSUME_RECVMMSG): Define instead of using previous
40733         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40734         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40735         (__ASSUME_RECVMMSG_SYSCALL): Define.
40736         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40737         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40738         Likewise.
40739         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40740         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40741         Likewise.
40742         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40743         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40744         Likewise.
40745         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__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/microblaze/kernel-features.h
40751         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40752         Define.
40753         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40754         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40755         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40756         Likewise.
40757         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40758         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40759         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40760         [!__ASSUME_RECVMMSG]: Change condition to
40761         [!__ASSUME_RECVMMSG_SOCKETCALL].
40762         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40763         (__ASSUME_RECVMMSG_SYSCALL): Define.
40765         [BZ #16609]
40766         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40767         __powerpc__ || __s390__ || __sh__ || __sparc__]
40768         (__ASSUME_SOCKETCALL): Define.
40769         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40770         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40771         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40772         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40773         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40774         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40775         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40776         (__ASSUME_ACCEPT4): Define instead of using previous
40777         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40778         __powerpc__ || __sparc__ || __s390__)] condition.
40779         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40780         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40781         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40782         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40783         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40784         [!__ASSUME_ACCEPT4]: Change condition to
40785         [!__ASSUME_ACCEPT4_SOCKETCALL].
40786         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40787         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40788         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40789         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40790         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40791         __ASSUME_ACCEPT4_SYSCALL.
40792         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40793         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40794         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40795         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40796         __ASSUME_ACCEPT4_SYSCALL.
40797         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40798         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40799         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40800         [__ASSUME_ACCEPT4]: Change condition to
40801         [__ASSUME_ACCEPT4_SOCKETCALL].
40802         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40803         (__ASSUME_SOCKETCALL): Define.
40804         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40805         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40806         (__ASSUME_SOCKETCALL): Define.
40807         (__ASSUME_ACCEPT4): Remove.
40808         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40809         Define.
40810         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40811         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40812         Likewise.
40813         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40814         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40816         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40817         macro.
40818         (HWCAP_ARM_LPAE): Likewise.
40819         (HWCAP_ARM_EVTSTRM): Likewise.
40820         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40821         Add vpfd32, lpae and evtstrm.
40822         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40823         Increase to 22.
40825 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40827         * math/auto-libm-test-in: Add tests of clog10.
40828         * math/auto-libm-test-out: Regenerated.
40829         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40830         * sysdeps/i386/fpu/libm-test-ulps: Update.
40831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40833 2014-02-18  Andreas Schwab  <schwab@suse.de>
40835         [BZ #16574]
40836         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40837         Store non-zero if the second buffer was newly allocated.
40838         (send_dg): Likewise.
40839         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40840         to send_vc and send_dg.
40841         (res_nsend): Pass NULL for ansp2_malloced.
40842         * resolv/res_query.c (__libc_res_nquery): Add parameter
40843         answerp2_malloced and pass it down to __libc_res_nsend.
40844         (res_nquery): Pass additional NULL to __libc_res_nquery.
40845         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40846         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40847         second answer buffer if answerp2_malloced was set.
40848         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40849         (__libc_res_nquerydomain): Add parameter
40850         answerp2_malloced and pass it down to __libc_res_nquery.
40851         (res_nquerydomain): Pass additional NULL to
40852         __libc_res_nquerydomain.
40853         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40854         additional NULL to __libc_res_nsend and __libc_res_nquery.
40855         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40856         additional NULL to __libc_res_nsearch.
40857         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40858         parameter of __libc_res_nsearch to check for separately allocated
40859         second buffer.
40860         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40861         __libc_res_nquery.
40862         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40863         additional NULL to __libc_res_nquery.
40864         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40865         __libc_res_nsearch.
40866         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40867         * include/resolv.h: Update prototypes of __libc_res_nquery,
40868         __libc_res_nsearch, __libc_res_nsend.
40870 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40872         * math/auto-libm-test-in: Add tests of fma.
40873         * math/auto-libm-test-out: Regenerated.
40874         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40875         (fma_towardzero_test_data): Likewise.
40876         (fma_downward_test_data): Likewise.
40877         (fma_upward_test_data): Likewise.
40878         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40879         mpc_mode.
40880         (rounding_modes): Add values for new field.
40881         (func_calc_method): Add value mpfr_fff_f.
40882         (func_calc_desc): Add mpfr_fff_f union field.
40883         (test_function): Add field exact_args.
40884         (FUNC): Add macro argument EXACT_ARGS.
40885         (FUNC_mpfr_f_f): Update call to FUNC.
40886         (FUNC_mpfr_f_f): Likewise.
40887         (FUNC_mpfr_ff_f): Likewise.
40888         (FUNC_mpfr_if_f): Likewise.
40889         (FUNC_mpc_c_f): Likewise.
40890         (FUNC_mpc_c_c): Likewise.
40891         (test_functions): Add fma.  Update calls to FUNC.
40892         (handle_input_arg): Add argument exact_args.
40893         (add_test): Update call to handle_input_arg.
40894         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40895         (output_for_one_input_case): Update call to calc_generic_results.
40896         Recalculate exact zero results in each rounding mode.
40898         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40899         non-negative before setting low bit.
40900         * math/auto-libm-test-in: Mark one asin test possibly having
40901         spurious underflow.
40902         * math/auto-libm-test-out: Regenerated.
40903         * sysdeps/i386/fpu/libm-test-ulps: Update.
40904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40906 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40908         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40909         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40910         ports/sysdeps/unix/sysv/linux/microblaze.
40911         * README: Add missing listing for microblaze*-*-linux-gnu.
40913 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40915         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40916         duplicate code
40918 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40920         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40921         * sysdeps/unix/sysv/linux/ia64: Move directory from
40922         ports/sysdeps/unix/sysv/linux/ia64.
40923         * README: Update listing for ia64-*-linux-gnu.
40925 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40926             Joseph Myers  <joseph@codesourcery.com>
40928         * Makeconfig (test-name): New variable.
40929         (evaluate-test): Likewise.
40930         * Makerules (do-test-clean): Remove .test-result files.
40931         (common-mostlyclean): Likewise.
40932         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40933         * scripts/evaluate-test.sh: New file.
40935 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40937         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40938         separate $(objpfx)tst-fopenloc-cmp.out and
40939         $(objpfx)tst-fopenloc-mem.out targets.
40940         (tests): Update dependencies.
40941         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40942         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40943         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40944         (tst-rxspencer-no-utf8-ARGS): New variable.
40945         (tst-rxspencer-no-utf8-ENV): Likewise.
40946         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40947         instead of $(objpfx)tst-rxspencer-mem.
40948         ($(objpfx)tst-rxspencer-mem): Change target to
40949         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40950         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40951         * posix/tst-rxspencer-no-utf8.c: New file.
40953         * elf/Makefile ($(objpfx)order.out): Remove rule.
40954         [$(run-built-tests) = yes] (tests): Depend on
40955         $(objpfx)order-cmp.out.
40956         ($(objpfx)order-cmp.out): New rule.
40957         [$(run-built-tests) = yes] (tests): Depend on
40958         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40959         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40960         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40961         $(objpfx)tst-array5-static-cmp.out.
40962         ($(objpfx)tst-array1.out): Remove rule.
40963         ($(objpfx)tst-array1-cmp.out): New rule.
40964         ($(objpfx)tst-array1-static.out): Remove rule.
40965         ($(objpfx)tst-array1-static-cmp.out): New rule.
40966         ($(objpfx)tst-array2.out): Remove rule.
40967         ($(objpfx)tst-array2-cmp.out): New rule.
40968         ($(objpfx)tst-array3.out): Remove rule.
40969         ($(objpfx)tst-array3-cmp.out): New rule.
40970         ($(objpfx)tst-array4.out): Remove rule.
40971         ($(objpfx)tst-array4-cmp.out): New rule.
40972         ($(objpfx)tst-array5.out): Remove rule.
40973         ($(objpfx)tst-array5-cmp.out): New rule.
40974         ($(objpfx)tst-array5-static.out): Remove rule.
40975         ($(objpfx)tst-array5-static-cmp.out): New rule.
40976         [$(run-built-tests) = yes] (tests): Depend on
40977         $(objpfx)order2-cmp.out.
40978         ($(objpfx)order2.out): Remove rule.
40979         ($(objpfx)order2-cmp.out): New rule.
40980         ($(objpfx)tst-initorder.out): Remove rule.
40981         [$(run-built-tests) = yes] (tests): Depend on
40982         $(objpfx)tst-initorder-cmp.out.
40983         ($(objpfx)tst-initorder-cmp.out): New rule.
40984         ($(objpfx)tst-initorder2.out): Remove rule.
40985         [$(run-built-tests) = yes] (tests): Depend on
40986         $(objpfx)tst-initorder2-cmp.out.
40987         ($(objpfx)tst-initorder2-cmp.out): New rule.
40988         [$(run-built-tests) = yes] (tests): Depend on
40989         $(objpfx)tst-unused-dep-cmp.out.
40990         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40991         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40992         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40993         on $(objpfx)tst-setvbuf1-cmp.out.
40994         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40995         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40996         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40997         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40998         ($(objpfx)tst-svc.out): Remove rule.
40999         ($(objpfx)tst-svc-cmp.out): New rule.
41001 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41003         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41004         * ctype/ctype.h [__USE_MISC]: Likewise.
41005         * dirent/dirent.h [__USE_MISC]: Likewise.
41006         * grp/grp.h [__USE_MISC]: Likewise.
41007         * io/fcntl.h [__USE_MISC]: Likewise.
41008         * io/sys/stat.h [__USE_MISC]: Likewise.
41009         * libio/stdio.h [__USE_MISC]: Likewise.
41010         * posix/unistd.h [__USE_MISC]: Likewise.
41011         * pwd/pwd.h [__USE_MISC]: Likewise.
41012         * stdlib.h [__USE_MISC]: Likewise.
41013         * string/bits/string2.h [__USE_MISC]: Likewise.
41014         * string/string.h [__USE_MISC]: Likewise.
41015         * time/time.h [__USE_MISC]: Likewise.
41017 2014-02-13  Andreas Schwab  <schwab@suse.de>
41019         [BZ #16574]
41020         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41021         second answer buffer if it was separately allocated.
41023 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41025         * sysdeps/mips/math-tests.h: Include <features.h>.
41026         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41027         (ROUNDING_TESTS_long_double): Do not define.
41028         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41029         (EXCEPTION_TESTS_long_double): Likewise.
41030         * sysdeps/mips/mips64/libm-test-ulps: Update.
41032         * include/features.h (__USE_BSD): Remove macro definitions.
41033         (__USE_SVID): Likewise.
41034         (_BSD_SOURCE): Likewise.
41035         (_SVID_SOURCE): Likewise.
41036         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41037         from definition of _DEFAULT_SOURCE.
41038         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41039         [_DEFAULT_SOURCE].
41040         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41041         * bits/mman.h [__USE_BSD]: Likewise.
41042         * bits/termios.h [__USE_BSD]: Likewise.
41043         * bits/waitstatus.h [__USE_BSD]: Likewise.
41044         * ctype/ctype.h [__USE_SVID]: Likewise.
41045         * dirent/dirent.h [__USE_BSD]: Likewise.
41046         * grp/grp.h [__USE_SVID]: Likewise.
41047         [__USE_BSD]: Likewise.
41048         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41049         * io/fcntl.h [__USE_BSD]: Likewise.
41050         * io/ftw.h [__USE_BSD]: Likewise.
41051         * io/sys/stat.h [__USE_BSD]: Likewise.
41052         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41053         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41054         * libio/stdio.h [__USE_SVID]: Likewise.
41055         [__USE_BSD]: Likewise.
41056         * math/math.h [__USE_SVID]: Likewise.
41057         [__USE_BSD]: Likewise.
41058         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41059         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41060         * misc/search.h [__USE_SVID]: Likewise.
41061         * misc/sys/mman.h [__USE_BSD]: Likewise.
41062         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41063         * misc/sys/uio.h [__USE_BSD]: Likewise.
41064         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41065         * posix/glob.h [__USE_BSD]: Likewise.
41066         * posix/regex.h [__USE_BSD]: Likewise.
41067         * posix/sys/types.h [__USE_BSD]: Likewise.
41068         [__USE_SVID]: Likewise.
41069         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41070         * posix/sys/wait.h [__USE_BSD]: Likewise.
41071         [__USE_SVID]: Likewise.
41072         * posix/unistd.h [__USE_BSD]: Likewise.
41073         [__USE_SVID]: Likewise.
41074         * pwd/pwd.h [__USE_SVID]: Likewise.
41075         * resolv/netdb.h [__USE_BSD]: Likewise.
41076         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41077         * signal/signal.h [__USE_BSD]: Likewise.
41078         [__USE_SVID]: Likewise.
41079         * socket/sys/socket.h [__USE_BSD]: Likewise.
41080         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41081         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41082         [__USE_SVID]: Likewise.
41083         * string/bits/string2.h [__USE_BSD]: Likewise.
41084         [__USE_SVID]: Likewise.
41085         * string/bits/string3.h [__USE_BSD]: Likewise.
41086         * string/endian.h [__USE_BSD]: Likewise.
41087         * string/string.h [__USE_SVID]: Likewise.
41088         [__USE_BSD]: Likewise.
41089         * string/strings.h [__USE_BSD]: Likewise.
41090         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41091         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41092         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41093         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41094         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41095         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41096         Likewise.
41097         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41098         Likewise.
41099         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41100         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41101         Likewise.
41102         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41103         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41104         Likewise.
41105         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41106         Likewise.
41107         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41108         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41109         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41110         Likewise.
41111         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41112         Likewise.
41113         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41114         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41115         * termios/termios.h [__USE_BSD]: Likewise.
41116         * time/sys/time.h [__USE_BSD]: Likewise.
41117         * time/time.h [__USE_BSD]: Likewise.
41118         [__USE_SVID]: Likewise.
41120         * Makefile (subdir_targets): Remove subdir_lint.out.
41122         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41123         (do-tst-printf): Likewise.
41124         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41125         $(objpfx)tst-printf.out.
41127         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41129         * Makerules (check-abi-%): Change target to
41130         $(objpfx)check-abi-%.out.
41131         (check-abi target): Update dependencies.
41132         (check-abi-pattern variable): Redirect output of diff to $@.
41133         (check-abi variable): Likewise.
41134         * elf/Makefile (check-abi): Update dependencies.
41136         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41137         unused.
41138         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41139         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41140         subnormal range.
41141         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41142         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41143         value has largest subnormal exponent.
41144         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41145         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41146         * sysdeps/aarch64/soft-fp/sfp-machine.h
41147         (_FP_TININESS_AFTER_ROUNDING): New macro.
41148         * sysdeps/alpha/soft-fp/sfp-machine.h
41149         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41150         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41151         Likewise.
41152         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41153         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41154         * sysdeps/mips/soft-fp/sfp-machine.h
41155         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41156         * sysdeps/powerpc/soft-fp/sfp-machine.h
41157         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41158         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41159         Likewise.
41160         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41161         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41162         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41163         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41164         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41165         Likewise.
41167 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41169         [BZ #16545]
41170         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41171         model 1.
41173 2014-02-12  Richard Henderson  <rth@redhat.com>
41175         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41176         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41177         * sysdeps/unix/sysv/linux/alpha: Move directory from
41178         ports/sysdeps/unix/sysv/linux/alpha.
41179         * README: Update listing for alpha-*-linux-gnu.
41181 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41183         * include/features.h: Update comment documenting feature test
41184         macros.
41185         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41186         _DEFAULT_SOURCE.
41187         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41188         (_SVID_SOURCE): Likewise.
41189         (_DEFAULT_SOURCE): Update description of default features.
41190         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41191         with _GNU_SOURCE.
41192         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41193         (S_ISVTX): Likewise.
41194         * manual/math.texi (Mathematical Constants): Likewise.
41195         * manual/signal.texi (Interrupted Primitives): Likewise.
41196         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41197         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41198         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41199         Don't refer to _SVID_SOURCE in warning text.
41201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41203         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41204         already defined.
41205         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41206         * sysdeps/mips/dl-lookup.c: Remove.
41207         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41209 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41211         [BZ #16447]
41212         * math/auto-libm-test-in: Add testcase for expl.
41213         * math/auto-libm-test-out: Regenerate.
41214         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41215         calculation of unsafe.
41216         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41218 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41220         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41221         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41222         ports/sysdeps/unix/sysv/linux/aarch64.
41223         * README: Update listing for aarch64*-*-linux-gnu.
41225 2014-02-11  Will Newton  <will.newton@linaro.org>
41227         * manual/probes.texi (Mathematical Function Probes): Use
41228         "triggered" instead of "hit".
41230         * manual/probes.texi (Internal Probes): Add documentation
41231         of setjmp, longjmp and longjmp_target probes.
41233         * include/stap-probe.h: Add comment about probe argument
41234         format.
41236         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41237         definition.  (tr_where, tr_freehook, tr_mallochook,
41238         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41240 2014-02-11  David S. Miller  <davem@davemloft.net>
41242         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41243         processing int_tests.
41245 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41247         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41248         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41249         * sysdeps/unix/sysv/linux/mips: Move directory from
41250         ports/sysdeps/unix/sysv/linux/mips.
41251         * README: Update listing for mips-*-linux-gnu and
41252         mips64-*-linux-gnu.
41254 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41256         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41257         * sysdeps/unix/sysv/linux/m68k: Move directory from
41258         ports/sysdeps/unix/sysv/linux/m68k.
41259         * README: Update listing for m68k-*-linux-gnu.
41261 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41263         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41264         * sysdeps/unix/sysv/linux/generic: Move directory from
41265         ports/sysdeps/unix/sysv/linux/generic.
41266         * sysdeps/unix/sysv/linux/tile: Move directory from
41267         ports/sysdeps/unix/sysv/linux/tile.
41268         * README: Update listing for tile*-*-linux-gnu.
41270 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41272         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41273         __builtin_expect.
41274         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41275         * catgets/open_catalog.c (__open_catalog): Likewise.
41276         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41277         * debug/confstr_chk.c: Likewise.
41278         * debug/fread_chk.c (__fread_chk): Likewise.
41279         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41280         * debug/getgroups_chk.c: Likewise.
41281         * debug/mbsnrtowcs_chk.c: Likewise.
41282         * debug/mbsrtowcs_chk.c: Likewise.
41283         * debug/mbstowcs_chk.c: Likewise.
41284         * debug/memcpy_chk.c: Likewise.
41285         * debug/memmove_chk.c: Likewise.
41286         * debug/mempcpy_chk.c: Likewise.
41287         * debug/memset_chk.c: Likewise.
41288         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41289         * debug/strcat_chk.c (__strcat_chk): Likewise.
41290         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41291         * debug/strncat_chk.c (__strncat_chk): Likewise.
41292         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41293         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41294         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41295         * debug/wcpncpy_chk.c: Likewise.
41296         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41297         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41298         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41299         * debug/wcsncpy_chk.c: Likewise.
41300         * debug/wcsnrtombs_chk.c: Likewise.
41301         * debug/wcsrtombs_chk.c: Likewise.
41302         * debug/wcstombs_chk.c: Likewise.
41303         * debug/wmemcpy_chk.c: Likewise.
41304         * debug/wmemmove_chk.c: Likewise.
41305         * debug/wmempcpy_chk.c: Likewise.
41306         * debug/wmemset_chk.c: Likewise.
41307         * dirent/scandirat.c (SCANDIRAT): Likewise.
41308         * dlfcn/dladdr1.c (dladdr1): Likewise.
41309         * dlfcn/dladdr.c (dladdr): Likewise.
41310         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41311         * dlfcn/dlerror.c (__dlerror): Likewise.
41312         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41313         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41314         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41315         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41316         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41317         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41318         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41319         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41320         Likewise.
41321         * elf/dl-conflict.c: Likewise.
41322         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41323         * elf/dl-dst.h: Likewise.
41324         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41325         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41326         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41327         * elf/dl-init.c (call_init, _dl_init): Likewise.
41328         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41329         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41330         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41331         Likewise.
41332         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41333         Likewise.
41334         * elf/dl-minimal.c (__libc_memalign): Likewise.
41335         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41336         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41337         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41338         * elf/dl-sym.c (do_sym): Likewise.
41339         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41340         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41341         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41342         * elf/dl-writev.h (_dl_writev): Likewise.
41343         * elf/ldconfig.c (search_dir): Likewise.
41344         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41345         (dl_main): Likewise.
41346         * elf/setup-vdso.h (setup_vdso): Likewise.
41347         * grp/compat-initgroups.c (compat_call): Likewise.
41348         * grp/fgetgrent.c (fgetgrent): Likewise.
41349         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41350         * grp/putgrent.c (putgrent): Likewise.
41351         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41352         Likewise.
41353         * hurd/hurdinit.c: Likewise.
41354         * iconvdata/8bit-gap.c (struct): Likewise.
41355         * iconvdata/ansi_x3.110.c : Likewise.
41356         * iconvdata/big5.c : Likewise.
41357         * iconvdata/big5hkscs.c : Likewise.
41358         * iconvdata/cp1255.c: Likewise.
41359         * iconvdata/cp1258.c : Likewise.
41360         * iconvdata/cp932.c : Likewise.
41361         * iconvdata/euc-cn.c: Likewise.
41362         * iconvdata/euc-jisx0213.c : Likewise.
41363         * iconvdata/euc-jp.c: Likewise.
41364         * iconvdata/euc-jp-ms.c : Likewise.
41365         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41366         * iconvdata/gb18030.c : Likewise.
41367         * iconvdata/gbbig5.c (const): Likewise.
41368         * iconvdata/gbgbk.c: Likewise.
41369         * iconvdata/gbk.c : Likewise.
41370         * iconvdata/ibm1364.c : Likewise.
41371         * iconvdata/ibm930.c : Likewise.
41372         * iconvdata/ibm932.c: Likewise.
41373         * iconvdata/ibm933.c : Likewise.
41374         * iconvdata/ibm935.c : Likewise.
41375         * iconvdata/ibm937.c : Likewise.
41376         * iconvdata/ibm939.c : Likewise.
41377         * iconvdata/ibm943.c: Likewise.
41378         * iconvdata/iso_11548-1.c: Likewise.
41379         * iconvdata/iso-2022-cn.c : Likewise.
41380         * iconvdata/iso-2022-cn-ext.c : Likewise.
41381         * iconvdata/iso-2022-jp-3.c: Likewise.
41382         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41383         * iconvdata/iso-2022-kr.c : Likewise.
41384         * iconvdata/iso646.c (gconv_end): Likewise.
41385         * iconvdata/iso_6937-2.c : Likewise.
41386         * iconvdata/iso_6937.c : Likewise.
41387         * iconvdata/iso8859-1.c: Likewise.
41388         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41389         * iconvdata/shift_jisx0213.c : Likewise.
41390         * iconvdata/sjis.c : Likewise.
41391         * iconvdata/t.61.c : Likewise.
41392         * iconvdata/tcvn5712-1.c : Likewise.
41393         * iconvdata/tscii.c: Likewise.
41394         * iconvdata/uhc.c : Likewise.
41395         * iconvdata/unicode.c (gconv_end): Likewise.
41396         * iconvdata/utf-16.c (gconv_end): Likewise.
41397         * iconvdata/utf-32.c (gconv_end): Likewise.
41398         * iconvdata/utf-7.c (base64): Likewise.
41399         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41400         * iconv/gconv_close.c (__gconv_close): Likewise.
41401         * iconv/gconv_open.c (__gconv_open): Likewise.
41402         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41403         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41404         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41405         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41406         (ucs4le_internal_loop_single): Likewise.
41407         * iconv/iconv.c (iconv): Likewise.
41408         * iconv/iconv_close.c: Likewise.
41409         * iconv/loop.c (SINGLE): Likewise.
41410         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41411         * include/atomic.h: Likewise.
41412         * inet/inet6_option.c (option_alloc): Likewise.
41413         * intl/bindtextdom.c (set_binding_values): Likewise.
41414         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41415         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41416         * intl/localealias.c (read_alias_file): Likewise.
41417         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41418         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41419         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41420         * libio/fmemopen.c (fmemopen): Likewise.
41421         * libio/iofgets.c (_IO_fgets): Likewise.
41422         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41423         * libio/iofgetws.c (fgetws): Likewise.
41424         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41425         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41426         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41427         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41428         * locale/findlocale.c (_nl_find_locale): Likewise.
41429         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41430         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41431         Likewise.
41432         * locale/setlocale.c (setlocale): Likewise.
41433         * login/programs/pt_chown.c (main): Likewise.
41434         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41435         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41436         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41437         (mmap, mmap64, mremap, munmap): Likewise.
41438         * math/e_exp2l.c: Likewise.
41439         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41440         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41441         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41442         * math/s_catan.c (__catan): Likewise.
41443         * math/s_catanf.c (__catanf): Likewise.
41444         * math/s_catanh.c (__catanh): Likewise.
41445         * math/s_catanhf.c (__catanhf): Likewise.
41446         * math/s_catanhl.c (__catanhl): Likewise.
41447         * math/s_catanl.c (__catanl): Likewise.
41448         * math/s_ccosh.c (__ccosh): Likewise.
41449         * math/s_ccoshf.c (__ccoshf): Likewise.
41450         * math/s_ccoshl.c (__ccoshl): Likewise.
41451         * math/s_cexp.c (__cexp): Likewise.
41452         * math/s_cexpf.c (__cexpf): Likewise.
41453         * math/s_cexpl.c (__cexpl): Likewise.
41454         * math/s_clog10.c (__clog10): Likewise.
41455         * math/s_clog10f.c (__clog10f): Likewise.
41456         * math/s_clog10l.c (__clog10l): Likewise.
41457         * math/s_clog.c (__clog): Likewise.
41458         * math/s_clogf.c (__clogf): Likewise.
41459         * math/s_clogl.c (__clogl): Likewise.
41460         * math/s_csin.c (__csin): Likewise.
41461         * math/s_csinf.c (__csinf): Likewise.
41462         * math/s_csinh.c (__csinh): Likewise.
41463         * math/s_csinhf.c (__csinhf): Likewise.
41464         * math/s_csinhl.c (__csinhl): Likewise.
41465         * math/s_csinl.c (__csinl): Likewise.
41466         * math/s_csqrt.c (__csqrt): Likewise.
41467         * math/s_csqrtf.c (__csqrtf): Likewise.
41468         * math/s_csqrtl.c (__csqrtl): Likewise.
41469         * math/s_ctan.c (__ctan): Likewise.
41470         * math/s_ctanf.c (__ctanf): Likewise.
41471         * math/s_ctanh.c (__ctanh): Likewise.
41472         * math/s_ctanhf.c (__ctanhf): Likewise.
41473         * math/s_ctanhl.c (__ctanhl): Likewise.
41474         * math/s_ctanl.c (__ctanl): Likewise.
41475         * math/w_pow.c: Likewise.
41476         * math/w_powf.c: Likewise.
41477         * math/w_powl.c: Likewise.
41478         * math/w_scalb.c (sysv_scalb): Likewise.
41479         * math/w_scalbf.c (sysv_scalbf): Likewise.
41480         * math/w_scalbl.c (sysv_scalbl): Likewise.
41481         * misc/error.c (error_tail): Likewise.
41482         * misc/pselect.c (__pselect): Likewise.
41483         * nis/nis_callback.c (__nis_create_callback): Likewise.
41484         * nis/nis_call.c (__nisfind_server): Likewise.
41485         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41486         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41487         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41488         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41489         * nis/nis_lookup.c (nis_lookup): Likewise.
41490         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41491         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41492         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41493         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41494         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41495         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41496         * nis/nss_compat/compat-initgroups.c (add_group)
41497         (internal_getgrent_r): Likewise.
41498         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41499         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41500         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41501         (internal_getspnam_r): Likewise.
41502         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41503         (_nss_nis_getaliasbyname_r): Likewise.
41504         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41505         (_nss_nis_getntohost_r): Likewise.
41506         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41507         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41508         (_nss_nis_getgrgid_r): Likewise.
41509         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41510         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41511         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41512         (_nss_nis_gethostbyname4_r): Likewise.
41513         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41514         (initgroups_netid): Likewise.
41515         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41516         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41517         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41518         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41519         (_nss_nis_getprotobynumber_r): Likewise.
41520         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41521         (_nss_nis_getsecretkey): Likewise.
41522         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41523         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41524         (_nss_nis_getpwuid_r): Likewise.
41525         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41526         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41527         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41528         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41529         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41530         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41531         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41532         Likewise.
41533         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41534         (_nss_nisplus_getntohost_r): Likewise.
41535         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41536         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41537         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41538         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41539         Likewise.
41540         * nis/nss_nisplus/nisplus-initgroups.c
41541         (_nss_nisplus_initgroups_dyn): Likewise.
41542         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41543         (_nss_nisplus_getnetbyaddr_r): Likewise.
41544         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41545         (_nss_nisplus_getprotobynumber_r): Likewise.
41546         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41547         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41548         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41549         Likewise.
41550         * nis/nss_nisplus/nisplus-service.c
41551         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41552         (_nss_nisplus_getservbyport_r): Likewise.
41553         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41554         (_nss_nisplus_getspnam_r): Likewise.
41555         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41556         Likewise.
41557         * nscd/aicache.c (addhstaiX): Likewise.
41558         * nscd/cache.c (cache_search, prune_cache): Likewise.
41559         * nscd/connections.c (register_traced_file, send_ro_fd)
41560         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41561         (main_loop_epoll): Likewise.
41562         * nscd/grpcache.c (addgrbyX): Likewise.
41563         * nscd/hstcache.c (addhstbyX): Likewise.
41564         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41565         * nscd/mem.c (gc, mempool_alloc): Likewise.
41566         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41567         (addinnetgrX): Likewise.
41568         * nscd/nscd-client.h (__nscd_acquire_maplock)
41569         (__nscd_drop_map_ref): Likewise.
41570         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41571         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41572         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41573         Likewise.
41574         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41575         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41576         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41577         (__nscd_get_map_ref): Likewise.
41578         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41579         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41580         Likewise.
41581         * nscd/pwdcache.c (addpwbyX): Likewise.
41582         * nscd/selinux.c (preserve_capabilities): Likewise.
41583         * nscd/servicescache.c (addservbyX): Likewise.
41584         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41585         * posix/fnmatch.c (fnmatch): Likewise.
41586         * posix/getopt.c (_getopt_internal_r): Likewise.
41587         * posix/glob.c (glob, glob_in_dir): Likewise.
41588         * posix/wordexp.c (exec_comm_child): Likewise.
41589         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41590         (getanswer_r, gaih_getanswer_slice): Likewise.
41591         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41592         * resolv/res_init.c: Likewise.
41593         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41594         * resolv/res_query.c (__libc_res_nquery): Likewise.
41595         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41596         Likewise.
41597         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41598         * stdio-common/perror.c (perror): Likewise.
41599         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41600         * stdio-common/tmpnam.c (tmpnam): Likewise.
41601         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41602         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41603         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41604         Likewise.
41605         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41606         * stdlib/putenv.c (putenv): Likewise.
41607         * stdlib/setenv.c (__add_to_environ): Likewise.
41608         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41609         * stdlib/strtol_l.c (INTERNAL): Likewise.
41610         * string/memmem.c (memmem): Likewise.
41611         * string/strerror.c (strerror): Likewise.
41612         * string/strnlen.c (__strnlen): Likewise.
41613         * string/test-memmem.c (simple_memmem): Likewise.
41614         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41615         * sunrpc/pm_getport.c (__get_socket): Likewise.
41616         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41617         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41618         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41619         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41620         Likewise.
41621         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41622         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41623         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41624         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41625         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41626         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41627         Likewise.
41628         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41629         Likewise.
41630         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41631         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41632         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41633         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41634         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41636         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41637         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41638         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41639         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41640         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41641         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41642         Likewise.
41643         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41644         Likewise.
41645         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41646         Likewise.
41647         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41648         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41649         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41650         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41651         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41652         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41653         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41654         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41655         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41656         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41657         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41659         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41660         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41661         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41662         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41663         Likewise.
41664         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41665         Likewise.
41666         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41667         Likewise.
41668         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41669         Likewise.
41670         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41672         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41673         Likewise.
41674         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41675         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41676         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41677         * sysdeps/posix/sleep.c: Likewise.
41678         * sysdeps/posix/tempname.c: Likewise.
41679         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41680         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41681         Likewise.
41682         * sysdeps/powerpc/powerpc32/dl-machine.h
41683         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41684         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41686         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41687         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41688         Likewise.
41689         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41690         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41691         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41692         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41693         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41694         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41695         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41696         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41697         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41698         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41699         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41700         (elf_machine_lazy_rel): Likewise.
41701         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41702         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41703         (elf_machine_lazy_rel): Likewise.
41704         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41705         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41706         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41707         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41708         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41709         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41710         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41711         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41712         Likewise.
41713         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41714         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41715         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41716         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41717         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41718         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41719         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41720         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41721         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41722         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41723         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41724         Likewise.
41725         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41726         (__posix_fallocate64_l64): Likewise.
41727         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41728         (posix_fallocate): Likewise.
41729         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41730         Likewise.
41731         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41732         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41733         (getifaddrs_internal): Likewise.
41734         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41735         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41736         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41737         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41738         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41739         (__posix_fallocate64_l64): Likewise.
41740         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41741         Likewise.
41742         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41743         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41744         (__get_clockfreq): Likewise.
41745         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41746         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41747         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41750         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41751         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41752         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41753         Likewise.
41754         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41755         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41756         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41757         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41758         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41759         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41760         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41761         Likewise.
41762         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41763         (posix_fallocate): Likewise.
41764         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41765         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41766         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41767         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41768         (elf_machine_rela, elf_machine_rela_relative)
41769         (elf_machine_lazy_rel): Likewise.
41770         * time/asctime.c (asctime_internal): Likewise.
41771         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41772         * time/tzset.c (__tzset_parse_tz): Likewise.
41773         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41774         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41775         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41776         * wcsmbs/wcsmbsload.h: Likewise.
41778         [BZ #15894]
41779         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41781         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41782         (arena_get2): Remove THREAD_STATS conditionals.
41783         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41784         (__malloc_stats, int): Likewise.
41786 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41788         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41789         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41791         * manual/setjmp.texi: Fix typos/grammar errors.
41793         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41794         Only return early when n is <= 0.  Delete unused return statement.
41796         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41797         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41798         * debug/tst-longjmp_chk3.c: New file.
41800         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41801         (test_main): Replace code with set_fortify_handler call.
41802         * debug/test-strcpy_chk.c: Likewise.
41803         * debug/tst-chk1.c: Likewise.
41804         * debug/tst-longjmp_chk.c: Likewise.
41805         * test-skeleton.c: Include fcntl.h & paths.h
41806         (set_fortify_handler): Define.
41808         * debug/tst-longjmp_chk.c: Add header comment and include
41809         ../test-skeleton.c.
41810         (do_test): Mark static.
41811         (TEST_FUNCTION): Define.
41813         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41814         (IP_PMTUDISC_INTERFACE): Likewise.
41815         (IP_MULTICAST_IF): Likewise.
41816         (IP_MULTICAST_TTL): Likewise.
41817         (IP_MULTICAST_LOOP): Likewise.
41818         (IP_ADD_MEMBERSHIP): Likewise.
41819         (IP_DROP_MEMBERSHIP): Likewise.
41820         (IP_UNBLOCK_SOURCE): Likewise.
41821         (IP_BLOCK_SOURCE): Likewise.
41822         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41823         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41824         (IP_MSFILTER): Likewise.
41825         (MCAST_JOIN_GROUP): Likewise.
41826         (MCAST_BLOCK_SOURCE): Likewise.
41827         (MCAST_UNBLOCK_SOURCE): Likewise.
41828         (MCAST_LEAVE_GROUP): Likewise.
41829         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41830         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41831         (MCAST_MSFILTER): Likewise.
41832         (IP_MULTICAST_ALL): Likewise.
41833         (IP_UNICAST_IF): Likewise.
41835         * timezone/Makefile: Delete $(have-ksh) check.
41836         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41837         * timezone/tzselect.ksh: Add +x mode bits.
41839         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41840         (ANON_INODE_FS_MAGIC): Likewise.
41841         (BDEVFS_MAGIC): Likewise.
41842         (BINFMTFS_MAGIC): Likewise.
41843         (BTRFS_TEST_MAGIC): Likewise.
41844         (CRAMFS_MAGIC_WEND): Likewise.
41845         (DEBUGFS_MAGIC): Likewise.
41846         (ECRYPTFS_SUPER_MAGIC): Likewise.
41847         (EXT3_SUPER_MAGIC): Likewise.
41848         (EXT4_SUPER_MAGIC): Likewise.
41849         (FUTEXFS_SUPER_MAGIC): Likewise.
41850         (HOSTFS_SUPER_MAGIC): Likewise.
41851         (HUGETLBFS_MAGIC): Likewise.
41852         (MINIX3_SUPER_MAGIC): Likewise.
41853         (MTD_INODE_FS_MAGIC): Likewise.
41854         (NILFS_SUPER_MAGIC): Likewise.
41855         (OPENPROM_SUPER_MAGIC): Likewise.
41856         (PIPEFS_MAGIC): Likewise.
41857         (PSTOREFS_MAGIC): Likewise.
41858         (QNX6_SUPER_MAGIC): Likewise.
41859         (RAMFS_MAGIC): Likewise.
41860         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41861         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41862         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41863         (SECURITYFS_MAGIC): Likewise.
41864         (SELINUX_MAGIC): Likewise.
41865         (SMACK_MAGIC): Likewise.
41866         (SOCKFS_MAGIC): Likewise.
41867         (SQUASHFS_MAGIC): Likewise.
41868         (STACK_END_MAGIC): Likewise.
41869         (TMPFS_MAGIC): Likewise.
41870         (USBDEVICE_SUPER_MAGIC): Likewise.
41871         (V9FS_MAGIC): Likewise.
41872         (XENFS_SUPER_MAGIC): Likewise.
41873         (CRAMFS_MAGIC): Fix typo in comment.
41874         (EXT2_SUPER_MAGIC): Update comment.
41875         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41877 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41879         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41880         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41881         * sysdeps/unix/sysv/linux/arm: Move directory from
41882         ports/sysdeps/unix/sysv/linux/arm.
41883         * README: Update listing for arm-*-linux-gnueabi.
41885         * README: Remove mention of am33.
41887 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41889         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41890         than the comma operator, to avoid "rhs of comma has no effect"
41891         compiler warnings.
41892         (__sigfillset, __sigandset, __sigorset): Likewise.
41893         * include/signal.h (__sigemptyset): Likewise.
41894         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41896 2014-02-07  Allan McRae  <allan@archlinux.org>
41898         * version.h (RELEASE): Set to "development".
41899         (VERSION): Set to "2.19.90"
41900         * NEWS: Add 2.20 section.
41902 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41904         [BZ #16529]
41905         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41907 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41909         * manual/contrib.texi: Update entry for Carlos O'Donell,
41910         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41912 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41914         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41916         * sysdeps/unix/sysv/linux/kernel-features.h
41917         [__LINUX_KERNEL_VERSION >= 0x020621]
41918         (__ASSUME_PROC_PID_TASK_COMM): Define.
41920 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41922         [BZ #16398]
41923         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41924         conversion when destination buffer does not have enough space.
41925         * libio/tst-ftell-partial-wide.c: New test case.
41926         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41928         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41929         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41930         Leonard and Allan McRae.
41932 2014-02-04  David S. Miller  <davem@davemloft.net>
41934         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41935         32-bit.
41937 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41940         New file
41941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41942         New file
41943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41944         New file.
41945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41946         New file.
41947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41948         New file.
41949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41950         New file.
41951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41952         New file.
41953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41954         New file.
41955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41956         New file.
41957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41958         New file.
41959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41960         New file.
41961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41962         New file.
41963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41964         New file.
41966 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41968         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41969         * shlib-versions: Likewise.
41971 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41972             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41974         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41975         (abilist-pattern): New variable, set to %-le.abilist.
41977         * Makerules (abilist-pattern): New variable.
41978         (vpath): Use $(abilist-pattern) in place of %.abilist.
41979         (check-abi-% pattern rule): Likewise.
41980         (check-abi, update-abi): Likewise.
41982 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41986 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41988         * manual/startup.texi: Add next, previous, and top entries for
41989         the `Program Arguments' and `Environment Variables' nodes.
41991 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41993         * manual/macros.texi: Add comments before MTASC-safety macros.
41995         * manual/users.texi: Document MTASC-safety properties.
41997         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41998         (pthread_getspecific, pthread_setspecific): Format with
41999         @deftypefun, and add @safety note.
42000         * manual/signal.texi: Move comments that analyze the above
42001         functions to their home place.
42003 2014-02-03  Allan McRae  <allan@archlinux.org>
42005         * po/sl.po: Update Slovenian translation from translation project.
42007 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42009         * manual/time.texi (timegm): Add missing blank after @c.
42010         Reported by Joseph Myers <joseph@codesourcery.com>.
42012 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42014         * manual/check-safety.sh: New.
42015         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42017         * manual/terminal.texi: Document MTASC-safety properties.
42019         * manual/filesys.texi: Document MTASC-safety properties.
42021         * manual/errno.texi: Document MTASC-safety properties.
42023         * manual/intro.texi: Document safety identifiers and
42024         conditionals.
42026         * manual/string.texi (wcstok): Fix prototype.
42027         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42029         * manual/time.texi: Document MTASC-safety properties.
42031         * manual/string.texi: Document MTASC-safety properties.
42033         * manual/threads.texi: Document MTASC-safety properties.
42035         * manual/stdio.texi: Document MTASC-safety properties.
42037         * manual/syslog.texi: Document MTASC-safety properties.
42039         * manual/sysinfo.texi: Document MTASC-safety properties.
42041         * manual/startup.texi: Document MTASC-safety properties.
42043         * manual/socket.texi: Document MTASC-safety properties.
42045         * manual/signal.texi: Document MTASC-safety properties.
42047 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42049         * manual/setjmp.texi: Document MTASC-safety properties.
42051         * manual/search.texi: Document MTASC-safety properties.
42053         * manual/resource.texi: Document MTASC-safety properties.
42055         * manual/process.texi: Document MTASC-safety properties.
42057         * manual/platform.texi: Document MTASC-safety properties.
42059         * manual/pipe.texi: Document MTASC-safety properties.
42061         * manual/pattern.texi: Document MTASC-safety properties.
42063         * manual/message.texi: Document MTASC-safety properties.
42065         [BZ #12751]
42066         * manual/memory.texi: Document MTASC-safety properties.
42068         * manual/math.texi: Document MTASC-safety properties.
42070         * manual/locale.texi: Document MTASC-safety properties.
42072         * manual/llio.texi: Document MTASC-safety properties.
42074         * manual/libdl.texi: New.
42076         * manual/lang.texi: Document MTASC-safety properties.
42078         * manual/job.texi: Document MTASC-safety properties.
42080         * manual/getopt.texi: Document MTASC-safety properties.
42082         * manual/ctype.texi: Document MTASC-safety properties.
42084 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42086         [BZ #16046]
42087         * csu/libc-tls.c (static_map): Remove variable.
42088         (__libc_setup_tls): Use main executable's link map for TLS data.
42089         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42090         casing for LM_ID_BASE and GL(dl_nns).
42091         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42092         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42093         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42094         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42095         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42096         member.
42097         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42098         l_phnum members.
42100 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42102         * manual/debug.texi: Document MTASC-safety properties.
42104 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42106         [BZ #16510]
42107         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42108         of __x86_64__ when disabling x87 inline functions.
42110 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42112         * manual/charset.texi: Document MTASC-safety properties.
42114         * manual/crypt.texi: Document MTASC-safety properties.
42116         * manual/conf.texi: Document MTASC-safety properties.
42118         * manual/arith.texi: Document MTASC-safety properties.
42120         * manual/argp.texi: Document MTASC-safety properties.
42122         * manual/macros.texi: Introduce macros to document multi
42123         thread, asynchronous signal and asynchronous cancellation
42124         safety properties.
42125         * manual/intro.texi: Introduce the properties themselves.
42127 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42129         * sysdeps/sh/sh4/Makefile: New file.
42131 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42133         * math/gen-libm-test.pl ($srcdir): New variable.
42134         ($auto_input): Use it.
42136 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42138         [BZ #16506]
42139         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42140         access beyond array bounds when parsing netgroups file.
42142         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42143         the old buffer before realloc.
42145 2014-01-27  Allan McRae  <allan@archlinux.org>
42147         * po/fr.po: Update French translation from translation project.
42149 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42151         * sysdeps/sh/libm-test-ulps: Regenerate.
42153 2014-01-24  David S. Miller  <davem@davemloft.net>
42155         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42157 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42159         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42160         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42162 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42164         [BZ #16474]
42165         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42166         string pointers after reallocation.
42168 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42170         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42171         __SH4A__ instead of __SH_FPU_ANY__.
42173 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42175         * sysdeps/sh/fpu_control.h: New file.
42176         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42177         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42178         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42179         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42180         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42181         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42182         * sysdeps/sh/sys/ucontext.h: Remove.
42183         * sysdeps/sh/sys: Remove directory.
42185 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42187         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42188         s390/sys/ucontext.h.
42189         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42190         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42192 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42194         [BZ #15605]
42195         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42197 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42199         [BZ#16431]
42200         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42201         Adjust the vDSO correctly for internal calls.
42202         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42204 2014-01-20  Allan McRae  <allan@archlinux.org>
42206         * po/ca.po: Update Catalan translation from translation project.
42208 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42210         * sysdeps/s390/sotruss-lib.c: New file.
42212 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42214         [BZ#16430]
42215         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42216         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42217         local calls issues by not having a PLT stub required for IFUNC calls.
42218         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42220 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42222         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42223         * math/test-fpucw-static.c: Likewise.
42225 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42227         [BZ #16453]
42228         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42230 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42232         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42233         implementation for powerpc.
42235 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42237         [BZ #14782]
42238         * sysdeps/posix/system.c (__libc_system): Do not enable
42239         asynchronous cancellation.
42241 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42243         [BZ #16427]
42244         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42245         handling only for numbers special also in the IEEE case.
42247 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42249         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42251 2014-01-11  Allan McRae  <allan@archlinux.org>
42253         * po/bg.po: Update Bulgarian translation from translation project.
42255         * po/de.po: Update German translation from translation project.
42257 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42259         * sysdeps/generic/gcc-compat.h: New file.
42261 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42263         * benchtests/asin-inputs: Correct slow inputs.
42264         * benchtests/acos-inputs: Likewise.
42266 2014-01-10  Allan McRae  <allan@archlinux.org>
42268         * po:sv.po: Update Swedish translation from translation project.
42270         * po/vi.po: Update Vietnamese translation from translation project.
42272         * po/eo.po: Update Esperanto translation from translation project.
42274         * po/cs.po: Update Czech translation from translation project.
42276         * po/nl.po: Update Dutch translation from translation project.
42278         * po/pl.po: Update Polish translation from translation project.
42280         * po/ru.po: Update Russian translation from translation project.
42282         * po/uk.po: Update Ukrainian translation from translation project.
42284 2014-01-08  Brooks Moses  <bmoses@google.com>
42286         * elf/dl-load.c: Fix comment typo.
42288 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42290         * po/header.pot: Rename to...
42291         * po/pot.header: ... this.
42292         * po/Makefile: Use pot.header.
42294 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42295             Maxim Kuvyrkov  <maxim@kugelworks.com>
42297         [BZ #16394]
42298         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42299         SRC and DEST against LEN.
42301 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42303         [BZ #16414]
42304         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42305         implementation.
42306         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42308 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42312 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42314         [BZ #16408]
42315         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42316         for large positive arguments.
42318 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42320         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42322         * math/auto-libm-test-in: Mark various tests with
42323         xfail-rounding:ldbl-128ibm.
42324         * math/auto-libm-test-out: Regenerated.
42326         [BZ #16407]
42327         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42328         Increase overflow threshold.
42330 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42332         [BZ #14286]
42333         * stdio-common/vfprintf.c: Check for integer overflow.
42335 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42337         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42338         the first argument and return value of __tls_get_addr_internal.
42340 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42342         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42343         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42345 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42347         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42348         * sysdeps/s390/rtld-global-offsets.sym: New file.
42349         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42350         GLIBC_2.19 symbol.
42351         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42352         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42353         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42354         ... this.
42355         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42356         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42357         ... this.
42358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42359         Regenerate.
42360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42361         Regenerate.
42362         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42363         halfs of GPRs for high_gprs contexts.
42364         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42365         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42366         field.
42367         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42368         uc_flags field.
42369         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42370         64 bit versions:
42371         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42372         for high GPRs (uc_high_gprs) and for future extensions
42373         (__reserved).
42374         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42375         for future extensions (__reserved).
42376         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42377         64 bit versions:
42378         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42379         SC_HIGHGPRS offset definition.
42380         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42381         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42383         * Versions.def: Add GLIBC_2.19 for libpthread.
42384         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42385         siglongjmp for libpthread with GLIBC_2.19 symver.
42386         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42387         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42388         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42389         * sysdeps/s390/__longjmp.c: New file.
42390         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42391         * sysdeps/s390/longjmp.c: New file.
42392         * sysdeps/s390/setjmp.S: New file.
42393         * sysdeps/s390/sigjmp.S: New file.
42394         * sysdeps/s390/v1-longjmp.c: New file.
42395         * sysdeps/s390/v1-setjmp.h: New file.
42396         * sysdeps/s390/v1-sigjmp.c: New file.
42397         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42398         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42399         GLIBC_2.19 version.
42400         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42401         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42402         versioned symbols for ____longjmp_chk.
42403         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42404         Likewise.
42405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42406         Regenerate.
42407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42408         Regenerate.
42409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42410         Regenerate.
42411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42412         Regenerate.
42413         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42414         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42415         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42416         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42417         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42418         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42419         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42420         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42421         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42422         * sysdeps/s390/rtld-__longjmp.c: New file.
42423         * sysdeps/s390/rtld-setjmp.S: New file.
42425 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42427         [BZ #16400]
42428         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42429         Return -__logl (x) for small positive arguments without evaluating
42430         a polynomial.
42432 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42434         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42435         Rename to ...
42436         (__ptrace_peeksiginfo_args): ... this.
42437         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42438         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42439         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42441 2014-01-06  Allan McRae  <allan@archlinux.org>
42443         * inet/netinet/in.h: Fix typo in comment.
42445 2014-01-05  Andreas Jaeger  <aj@suse.de>
42447         * sysdeps/i386/fpu/libm-test-ulps: Update.
42449 2014-01-05  Allan McRae  <allan@archlinux.org>
42451         * po/libc.pot: Regenerated.
42453         * malloc/memusagestat.c: Fix gettext call formatting.
42455 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42457         * nscd/nscd.c: Improve usage() output.
42459 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42461         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42462         * sysdeps/unix/sysv/linux/configure: Regenerated.
42463         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42464         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42466 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42468         [BZ #16390]
42469         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42470         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42472 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42474         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42475         extra tokens at end of #undef directive.
42476         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42477         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42478         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42480 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42482         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42484         * math/auto-libm-test-in: Mark various tests with
42485         xfail-rounding:ldbl-128ibm.
42486         * math/auto-libm-test-out: Regenerated.
42488 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42490         [BZ #16386]
42491         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42492         numbers with subnormal high part when calculating exponent.
42494         [BZ #16385]
42495         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42496         fabs.
42498         [BZ #16384]
42499         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42500         M_LN2l.
42501         (__ieee754_acoshl): Use __log1pl not __log1p.
42503 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42505         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42506         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42507         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42508         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42509         (reused_arena, arena_get2): Convert to GNU style.
42510         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42511         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42512         (memalign_check, __malloc_set_state): Likewise.
42513         * malloc/mallocbug.c (main): Likewise.
42514         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42515         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42516         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42517         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42518         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42519         (__posix_memalign, malloc_info): Likewise.
42520         * malloc/malloc.h: Likewise.
42521         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42522         (mallochook, memalignhook, reallochook, mabort): Likewise.
42523         * malloc/mcheck.h: Likewise.
42524         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42525         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42526         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42527         * malloc/morecore.c (__default_morecore): Likewise.
42528         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42529         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42530         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42531         (print_and_abort): Likewise.
42532         * malloc/obstack.h: Likewise.
42533         * malloc/set-freeres.c (__libc_freeres): Likewise.
42534         * malloc/tst-mallocstate.c (main): Likewise.
42535         * malloc/tst-mtrace.c (main): Likewise.
42536         * malloc/tst-realloc.c (do_test): Likewise.
42538 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42540         [BZ #16366]
42541         * nscd/netgroupcache.c (do_notfound): New function.
42542         (addgetnetgrentX): Use it.
42544         [BZ # 16365]
42545         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42546         NSS_STATUS_NOTFOUND.
42548 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42550         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42553 2014-01-01  Allan McRae  <allan@archlinux.org>
42555         * scripts/update-copyrights: Update configure input file suffix.
42557         * NEWS: Update copyright year.
42558         * catgets/gencat.c: Likewise.
42559         * csu/version.c: Likewise.
42560         * debug/catchsegv.sh: Likewise.
42561         * debug/pcprofiledump.c: Likewise.
42562         * debug/xtrace.sh: Likewise.
42563         * elf/ldconfig.c: Likewise.
42564         * elf/ldd.bash.in: Likewise.
42565         * elf/pldd.c: Likewise.
42566         * elf/sotruss.ksh: Likewise.
42567         * elf/sprof.c: Likewise.
42568         * iconv/iconv_prog.c: Likewise.
42569         * iconv/iconvconfig.c: Likewise.
42570         * locale/programs/locale.c: Likewise.
42571         * locale/programs/localedef.c: Likewise.
42572         * login/programs/pt_chown.c: Likewise.
42573         * malloc/memusage.sh: Likewise.
42574         * malloc/memusagestat.c: Likewise.
42575         * malloc/mtrace.pl: Likewise.
42576         * manual/libc.texinfo: Likewise.
42577         * nscd/nscd.c: Likewise.
42578         * nss/getent.c: Likewise.
42579         * nss/makedb.c: Likewise.
42580         * posix/getconf.c: Likewise.
42581         * scripts/test-installation.pl: Likewise.
42583         * All files with FSF copyright notices: Update copyright dates
42584         using scripts/update-copyrights.
42585         * intl/plural.c: Regenerated.
42586         * locale/programs/charmap-kw.h: Likewise.
42587         * locale/programs/locfile-kw.h: Likewise.
42589 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42591         * sysdeps/unix/sysv/linux/configure: Regenerated.
42592         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42593         the linux/fanotify.h header.
42594         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42595         HAVE_LINUX_FANOTIFY_H is defined.
42597 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42599         * benchtests/cos-inputs: New inputs.
42600         * benchtests/sin-inputs: Likewise.
42602         * benchtests/atan-inputs: New inputs. Fix name of multiple
42603         precision fallback inputs.
42605         * benchtests/atanh-inputs: New inputs.
42606         * benchtests/tanh-inputs: Likewise.
42608         * benchtests/acosh-inputs: New inputs.
42609         * benchtests/asinh-inputs: Likewise.
42611         * benchtests/cosh-inputs: New inputs.
42612         * benchtests/sinh-inputs: Likewise.
42614         * benchtests/acos-inputs: Add more inputs.
42615         * benchtests/asin-inputs: Likewise.
42617 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42619         [BZ #16375]
42620         * manual/arith.texi: Fix spelling.
42621         * manual/charset.texi: Likewise.
42622         * manual/errno.texi: Likewise.
42623         * manual/filesys.texi: Likewise.
42624         * manual/lang.texi: Likewise.
42625         * manual/llio.texi: Likewise.
42626         * manual/locale.texi: Likewise.
42627         * manual/message.texi: Likewise.
42628         * manual/resource.texi: Likewise.
42629         * manual/search.texi: Likewise.
42630         * manual/setjmp.texi: Likewise.
42631         * manual/stdio.texi: Likewise.
42632         * manual/string.texi: Likewise.
42633         * manual/sysinfo.texi: Likewise.
42634         * manual/time.texi: Likewise.
42636 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42638         * po/sl.po: New file.
42640 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42642         * .gitignore: Add core/.gdbinit/.gdb_history.
42644 2013-12-27  Allan McRae  <allan@archlinux.org>
42646         [BZ #16369]
42647         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42648         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42650 2013-12-24  Brooks Moses  <bmoses@google.com>
42652         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42653         all compilers that claim C++98 compliance, not just GCC.
42654         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42655         Likewise.
42657 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42659         * NEWS: Restore accidentally deleted bug-fix entries.
42661 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42662             Ondřej Bílka  <neleai@seznam.cz>
42664         [BZ #15073]
42665         * malloc/malloc.c (_int_free): Perform sanity check only if we
42666         have_lock.
42668 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42670         [BZ #12986]
42671         * manual/stdio.texi (String Input Conversions): Clarify that character
42672         classes are not supported.
42674 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42678 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42680         [BZ #16337]
42681         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42682         Calculate results for small negative arguments directly rather
42683         than using reflection formula with special underflow handling.
42685         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42686         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42687         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42688         (fchflags): Likewise.
42689         (revoke): Likewise.
42690         (setlogin): Likewise.
42691         (sigaltstack): Likewise.
42692         (wait4): Likewise.
42693         (sigblock): Remove.
42694         (sigsetmask): Likewise.
42695         (wait3): Likewise.
42696         (waitpid): Likewise.
42697         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42698         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42699         file.
42700         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42701         * sysdeps/unix/bsd/Makefile: ... here.
42702         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42703         * sysdeps/unix/bsd/Versions: ... here.
42704         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42705         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42706         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42707         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42708         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42709         * sysdeps/unix/bsd/sigblock.c: ... here.
42710         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42711         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42712         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42713         * sysdeps/unix/bsd/sigvec.c: ... here.
42714         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42715         * sysdeps/unix/bsd/tcdrain.c: ... here.
42716         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42717         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42718         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42719         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42720         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42721         * sysdeps/unix/bsd/wait.c: ... here.
42722         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42723         * sysdeps/unix/bsd/wait3.c: ... here.
42724         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42725         * sysdeps/unix/bsd/waitpid.c: ... here.
42727 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42729         [BZ #16356]
42730         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42731         round-to-nearest for [!USE_AS_EXPM1L].
42732         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42733         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42734         more tests of exp and exp10.  Expect some exp10 tests to miss
42735         exceptions or fail in directed rounding modes.
42736         * math/auto-libm-test-out: Regenerated.
42737         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42738         (exp10_test_tonearest): New function.
42739         (exp10_towardzero_test_data): New array.
42740         (exp10_test_towardzero): New function.
42741         (exp10_downward_test_data): New array.
42742         (exp10_test_downward): New function.
42743         (exp10_upward_test_data): New array.
42744         (exp10_test_upward): New function.
42745         (main): Call the new functions.
42746         * sysdeps/i386/fpu/libm-test-ulps: Update.
42747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42749 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42751         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42752         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42753         * math/auto-libm-test-out: Regenerated.
42754         * math/libm-test.inc (acosh_test_data): Add more tests.
42755         (atanh_test_data): Likewise.
42756         (ceil_test_data): Likewise.
42757         (copysign_test_data): Likewise.
42758         * sysdeps/i386/fpu/libm-test-ulps: Update.
42759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42761         * timezone/checktab.awk: Update from tzcode 2013i.
42762         * timezone/private.h: Likewise.
42763         * timezone/scheck.c: Likewise.
42764         * timezone/tzfile.h: Likewise.
42765         * timezone/tzselect.ksh: Likewise.
42766         * timezone/zdump.c: Likewise.
42767         * timezone/zic.c: Likewise.
42769         * math/auto-libm-test-in: Add tests of cpow.
42770         * math/auto-libm-test-out: Regenerated.
42771         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42772         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42773         mpc_cc_c.
42774         (func_calc_desc): Add mpc_cc_c union field.
42775         (test_functions): Add cpow.
42776         (special_fill_2pi): New function.
42777         (special_real_inputs): Add 2pi.
42778         (calc_generic_results): Handle mpc_cc_c.
42779         * sysdeps/i386/fpu/libm-test-ulps: Update.
42780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42782         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42783         csqrt, ctan and ctanh.
42784         * math/auto-libm-test-out: Regenerated.
42785         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42786         (TEST_COND_x86): Likewise.
42787         (ccos_test_data): Use AUTO_TESTS_c_c.
42788         (ccosh_test_data): Likewise.
42789         (cexp_test_data): Likewise.
42790         (clog_test_data): Likewise.
42791         (csqrt_test_data): Likewise.
42792         (ctan_test_data): Likewise.
42793         (ctan_tonearest_test_data): Likewise.
42794         (ctan_towardzero_test_data): Likewise.
42795         (ctan_downward_test_data): Likewise.
42796         (ctan_upward_test_data): Likewise.
42797         (ctanh_test_data): Likewise.
42798         (ctanh_tonearest_test_data): Likewise.
42799         (ctanh_towardzero_test_data): Likewise.
42800         (ctanh_downward_test_data): Likewise.
42801         (ctanh_upward_test_data): Likewise.
42802         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42803         mpc_c_c.
42804         (func_calc_desc): Add mpc_c_c union field.
42805         (FUNC_mpc_c_c): New macro.
42806         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42807         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42808         ctanh.
42809         (special_fill_min_subnorm_p120): New function.
42810         (special_real_inputs): Add min_subnorm_p120.
42811         (calc_generic_results): Handle mpc_c_c.
42812         * sysdeps/i386/fpu/libm-test-ulps: Update.
42813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42815 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42817         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42818         (do_sin_slow): New functions.
42819         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42820         (cslow2, csloww1, csloww2): Use the new functions.
42822         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42823         Use M to change sign of result instead of X.  Assume X is
42824         positive.
42825         (csloww1): Likewise.
42826         (__sin): Adjust.
42827         (__cos): Adjust.
42829         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42830         arguments A and DA.
42831         (__sin): Adjust.
42832         (__cos): Likewise.
42834         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42835         (__cos): Likewise.
42836         (sloww1): Don't adjust sign of DX.
42837         (csloww1): Likewise.
42838         (sloww2): Use X directly and don't adjust sign of DX.
42839         (csloww2): Likewise.
42841 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42843         * math/auto-libm-test-in: Add tests of cabs and carg.
42844         * math/auto-libm-test-out: Regenerated.
42845         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42846         (carg_test_data): Likewise.
42847         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42848         mpc_c_f.
42849         (func_calc_desc): Add mpc_c_f union field.
42850         (test_functions): Add cabs and carg.
42851         (calc_generic_results): Handle mpc_c_f.
42853         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42854         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42855         as a macro and a compat symbol.
42856         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42857         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42858         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42859         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42860         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42861         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42862         not use .hidden.
42863         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42864         Likewise.
42865         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42866         Likewise.
42867         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42868         Likewise.
42869         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42870         Likewise.
42871         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42872         Likewise.
42873         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42874         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42875         from GLIBC_2.3.2.
42877 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42881 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42883         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42884         trailing whitespace removed.
42885         * scripts/config.guess: Update to version 2013-11-29.
42886         * scripts/config.sub: Update to version 2013-10-01.
42888         * math/auto-libm-test-in: Add tests of sincos.
42889         * math/auto-libm-test-out: Regenerated.
42890         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42891         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42892         mpfr_f_11.
42893         (func_calc_desc): Add mpfr_f_11 union field.
42894         (test_functions): Add sincos.
42895         (calc_generic_results): Handle mpfr_f_11.
42896         * sysdeps/i386/fpu/libm-test-ulps: Update.
42897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42899 2013-12-19  Andreas Schwab  <schwab@suse.de>
42901         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42902         CALL_MCOUNT.
42903         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42904         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42905         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42907 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42909         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42910         * sysdeps/i386/fpu/libm-test-ulps: Update.
42911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42913         [BZ #16293]
42914         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42915         round-to-nearest mode when using frndint.
42916         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42917         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42918         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42919         Likewise.
42920         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42921         sinh test to fail.
42922         * math/auto-libm-test-out: Regenerated.
42923         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42924         (TEST_COND_x86): Likewise.
42925         (expm1_tonearest_test_data): New array.
42926         (expm1_test_tonearest): New function.
42927         (expm1_towardzero_test_data): New array.
42928         (expm1_test_towardzero): New function.
42929         (expm1_downward_test_data): New array.
42930         (expm1_test_downward): New function.
42931         (expm1_upward_test_data): New array.
42932         (expm1_test_upward): New function.
42933         (main): Run the new test functions.
42934         * sysdeps/i386/fpu/libm-test-ulps: Update.
42935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42937         * include/features.h: Update comment documenting feature test
42938         macros.  Mention _DEFAULT_SOURCE in comment.
42939         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42940         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42941         _BSD_SOURCE and _SVID_SOURCE.
42942         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42943         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42944         !_SVID_SOURCE]: Likewise.
42945         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42946         (__USE_POSIX_IMPLICITLY): Define.
42947         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42948         (_POSIX_SOURCE): Undefine and redefine.
42949         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42950         (_POSIX_C_SOURCE): Likewise.
42951         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42952         (Feature Test Macros): Update documentation of default features.
42954 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42956         * benchtests/Makefile: Add bench-strtok.
42957         * benchtests/bench-strtok.c: New file: strtok benchtest.
42959 2013-12-19  Allan McRae  <allan@archlinux.org>
42961         * manual/install.texi: Suppress menu for plain text output.
42962         * INSTALL: Regenerated.
42964 2013-12-18  Brooks Moses  <bmoses@google.com>
42966         [BZ #15846]
42967         * misc/getauxval.c: Include errno.h.
42968         (__getauxval): Set errno to ENOENT if the requested type is not
42969         found.
42970         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42971         don't declare with __attribute_const__.
42972         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42973         * manual/startup.texi: Document that getauxval sets errno.
42975 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42977         * math/auto-libm-test-in: Add tests of jn and yn.
42978         * math/auto-libm-test-out: Regenerated.
42979         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42980         (yn_test_data): Likewise.
42981         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42982         mpfr_if_f.
42983         (func_calc_desc): Add mpfr_if_f union field.
42984         (FUNC_mpfr_if_f): New macro.
42985         (test_functions): Add jn and yn.
42986         (calc_generic_results): Assert type of second input for
42987         mpfr_ff_f.  Handle mpfr_if_f.
42988         (output_for_one_input_case): Disable all checking for arguments
42989         fitting floating-point types in case of an integer argument.
42990         * sysdeps/i386/fpu/libm-test-ulps: Update.
42991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42994         Don't expect fegetround reference in libm.so.
42996 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42998         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42999         $(config-cflags-nofma).
43001 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43003         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43004         * math/auto-libm-test-out: Regenerated.
43006         [BZ #16338]
43007         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43008         to determine exponent and adjust argument to have exponent of -1.
43009         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43010         log2.
43011         * math/auto-libm-test-out: Regenerated.
43012         * sysdeps/i386/fpu/libm-test-ulps: Update.
43013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43015 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43017         * manual/probes.texi: Remove cases when per-thread arenas are
43018         disabled.
43020 2013-12-18  Andreas Schwab  <schwab@suse.de>
43022         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43023         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43024         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43025         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43026         * sysdeps/i386/i686/multiarch/Makefile: Update.
43027         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43029 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43031         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43032         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43034 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43036         [BZ #15968]
43037         Support TZ transition times < 00:00:00.
43038         This is needed for version-3 tz-format files; it supports time
43039         stamps past 2037 for America/Godthab (the only entry in the tz
43040         database for which this change is relevant).
43041         * manual/time.texi (TZ Variable): Document transition times
43042         from -167:59:59 through -00:00:01.
43043         * time/tzset.c (tz_rule): Time of day is now signed.
43044         (__tzset_parse_tz): Parse negative time of day.
43046         Document TZ transition times >= 25:00:00.
43047         * manual/time.texi (TZ Variable): Document transition times from
43048         25:00:00 through 167:59:59.  These are already supported, and this
43049         support will help with version-3 tz-format files.
43051         * manual/time.texi (TZ Variable): Modernize North America example
43052         to reflect current (i.e., 2007-and-later) daylight saving rules.
43054         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43056 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43058         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43059         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43061         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43062         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43063         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43064         * sysdeps/unix/bsd/clock.c: Likewise.
43065         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43066         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43067         * sysdeps/unix/bsd/init-posix.c: Likewise.
43068         * sysdeps/unix/bsd/poll.c: Likewise.
43069         * sysdeps/unix/bsd/ptsname.c: Likewise.
43070         * sysdeps/unix/bsd/seekdir.c: Likewise.
43071         * sysdeps/unix/bsd/setegid.c: Likewise.
43072         * sysdeps/unix/bsd/seteuid.c: Likewise.
43073         * sysdeps/unix/bsd/setgid.c: Likewise.
43074         * sysdeps/unix/bsd/setrgid.c: Likewise.
43075         * sysdeps/unix/bsd/setruid.c: Likewise.
43076         * sysdeps/unix/bsd/setsid.c: Likewise.
43077         * sysdeps/unix/bsd/setuid.c: Likewise.
43078         * sysdeps/unix/bsd/sigaction.c: Likewise.
43079         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43080         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43081         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43082         * sysdeps/unix/bsd/telldir.c: Likewise.
43083         * sysdeps/unix/bsd/times.c: Likewise.
43084         * sysdeps/unix/bsd/usleep.c: Likewise.
43086         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43087         ($(objpfx)libbsd-compat.a): Remove rule.
43089         * include/features.h (__FAVOR_BSD): Do not define.
43090         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43091         features conflicting with POSIX.
43092         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43093         (_BSD_SOURCE): Remove description of not being a subset of other
43094         feature test macros.
43095         * manual/job.texi (getpgrp): Do not document BSD version.
43096         (getpgid): Do not document by reference to BSD getpgrp.
43097         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43098         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43099         * signal/signal.h [__FAVOR_BSD]: Likewise.
43100         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43101         instead of making contents conditional on [__FAVOR_BSD].
43102         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43104 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43108 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43110         [BZ #16314]
43111         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43112         values below 2**-450, not 2**-500.
43113         * math/auto-libm-test-in: Don't allow spurious underflow from
43114         hypot.
43115         * math/auto-libm-test-out: Regenerated.
43117         [BZ #16316]
43118         [BZ #16330]
43119         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43120         values of ha and hb and sort them after adjusting subnormal
43121         arguments.
43122         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43123         Likewise.
43124         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43125         values of ea and eb and sort them after adjusting subnormal
43126         arguments.
43127         * math/auto-libm-test-in: Do not expect some hypot tests of
43128         subnormals to fail.  Add more hypot tests.
43129         * math/auto-libm-test-out: Regenerated.
43131 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43133         [BZ #13304]
43134         * sysdeps/sh/s_fma.c: New file.
43135         * sysdeps/sh/s_fmaf.c: New file.
43136         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43137         version.
43138         * sysdeps/sh/Implies: Add sh/soft-fp.
43140 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43142         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43143         level of indirection to members `objname', `errstring', `malloced'.
43144         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43145         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43146         it as the __longjmp argument (just pass 1 instead).
43147         (_dl_catch_error): Initialize C with argument pointers and address of
43148         volatile local ERRCODE rather than copying values out of C at return.
43150 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43152         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43153         * math/auto-libm-test-out: Regenerated.
43154         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43155         (hypot_test_data): Likewise.
43156         (pow_test_data): Likewise.
43157         (pow_tonearest_test_data): Likewise.
43158         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43159         mpfr_ff_f.
43160         (func_calc_desc): Add mpfr_ff_f union field.
43161         (FUNC_mpfr_ff_f): New macro.
43162         (test_functions): Add atan2, hypot and pow.
43163         (special_fill_min): New function.
43164         (special_fill_minus_min): Likewise.
43165         (special_fill_min_subnorm): Likewise.
43166         (special_fill_minus_min_subnorm): Likewise.
43167         (special_real_inputs): Add min, -min, min_subnorm and
43168         -min_subnorm.
43169         (calc_generic_results): Handle mpfr_ff_f.
43170         * sysdeps/i386/fpu/libm-test-ulps: Update.
43171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43173 2013-12-16  Will Newton  <will.newton@linaro.org>
43175         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43176         (Aligned Memory Blocks): Add documentation for aligned_alloc
43177         and suggest it as an alternative to posix_memalign.
43178         (Hooks for Malloc): Document __memalign_hook is also called
43179         for aligned_alloc.  (Summary of Malloc): Add summary for
43180         aligned alloc.  Document __memalign_hook is also called
43181         for aligned_alloc.
43183 2013-12-16  Will Newton  <will.newton@linaro.org>
43185         * manual/memory.texi (Malloc Examples): Clarify default
43186         alignment documentation.  Suggest posix_memalign rather
43187         than memalign or valloc.
43188         (Aligned Memory Blocks): Remove suggestion to use memalign
43189         or valloc.  Remove obsolete comment about BSD.
43190         Document memalign errno values and mark the function obsolete.
43191         Document posix_memalign returned error codes.  Mark valloc
43192         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43193         called for posix_memalign and valloc.
43194         (Summary of Malloc): Add posix_memalign to function summary.
43195         __memalign_hook is also called for posix_memalign and valloc.
43197 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43199         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43200         TAYLOR_SIN.
43201         (__sin): Adjust.
43202         (__cos): Likewise.
43203         (sloww): Use mynumber union.  Expand ternary operator into
43204         if-else statements.
43205         (cslow): use mynumber union.
43207 2013-12-16  Allan McRae  <allan@archlinux.org>
43209         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43210         * configure: Regenerated.
43212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43214         [BZ #14120]
43215         * configure.ac: Added --enable-maintainer-mode. Check for
43216         autoconf when enabled.
43217         * configure: Regenerated.
43219         * nscd/nscd.service: New file.
43220         * nscd/nscd.tmpfiles: New file.
43222 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43224         [BZ #12100]
43225         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43226         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43227         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43228         (strstr): Add __strstr_sse2_unaligned ifunc.
43229         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43230         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43231         (strcasestr): Remove __strcasestr_sse42 ifunc.
43232         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43234         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43236 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43238         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43239         * sysdeps/sh/bits/fenv.h: ... here.
43240         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43242 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43244         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43247         hypotf multiarch implementations.
43248         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43249         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43250         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43251         multiarch hypot for PPC64.
43252         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43253         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43254         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43255         multiarch hypotf for PPC64.
43257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43258         modff multiarch implementations.
43259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43262         multiarch modf for PPC64.
43263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43266         multiarch modff for PPC64.
43268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43269         and logl multiarch implementations.
43270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43273         multiarch logb for PPC64.
43274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43277         multiarch logb for PPC64.
43278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43281         multiarch logb for PPC64.
43283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43284         isinff multiarch implementation.
43285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43286         file.
43287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43289         multiarch isinf for PPC64.
43290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43291         file.
43292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43293         multiarch isinff for PPC64.
43295         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43296         finitef multiarch implementation.
43297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43298         file.
43299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43301         multiarch finite for PPC64.
43302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43303         file.
43304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43305         multiarch finitef for PPC64.
43307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43308         lrint multiarch implementation.
43309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43310         file.
43311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43313         multiarch llrint for PPC64.
43314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43315         multiarch lrint for PPC64.
43317         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43318         copysignf multiarch implementation.
43319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43320         file.
43321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43322         file.
43323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43324         multiarch copysign for PPC64.
43325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43326         multiarch copysignf for PPC64.
43328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43329         multiarch implementation.
43330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43331         file.
43332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43333         file.
43334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43335         file.
43336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43337         file.
43338         multiarch llround for PPC64.
43339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43340         multiarch trunc for PPC64.
43341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43342         multiarch truncf for PPC64.
43344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43345         multiarch implementation.
43346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43347         file.
43348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43349         file.
43350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43351         file.
43352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43353         file.
43354         multiarch llround for PPC64.
43355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43356         multiarch round for PPC64.
43357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43358         multiarch roundf for PPC64.
43360         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43361         multiarch implementation.
43362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43363         file.
43364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43365         file.
43366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43367         file.
43368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43369         file.
43370         multiarch llround for PPC64.
43371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43372         multiarch floor for PPC64.
43373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43374         multiarch floorf for PPC64.
43376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43377         multiarch implementation.
43378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43379         file.
43380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43381         file.
43382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43383         file.
43384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43385         file.
43386         multiarch llround for PPC64.
43387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43388         multiarch ceil for PPC64.
43389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43390         multiarch ceilf for PPC64.
43392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43393         multiarch implementation.
43394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43395         file.
43396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43397         file.
43398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43399         file.
43400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43401         multiarch llround for PPC64.
43402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43403         multiarch lround for PPC64.
43405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43406         multiarch implementation.
43407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43410         file.
43411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43414         multiarch isnan for PPC64.
43415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43416         multiarch isnanf for PPC64.
43418         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43419         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43420         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43421         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43422         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43425         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43426         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43427         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43428         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43431         multiarch implementations.
43432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43433         (__libc_ifunc_impl_list): Likewise.
43434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43435         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43437         multiarch stpcpy for PPC64.
43439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43440         multiarch implementations.
43441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43442         (__libc_ifunc_impl_list): Likewise.
43443         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43444         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43445         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43446         multiarch strcpy for PPC64.
43448         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43449         redefine function name.
43450         (_wordcopy_fwd_dest_aligned): Likewise.
43451         (_wordcopy_bwd_aligned): Likewise.
43452         (_wordcopy_bwd_dest_aligned): Likewise.
43453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43454         multiarch implementations.
43455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43456         (__libc_ifunc_impl_list): Likewise.
43457         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43458         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43459         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43460         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43461         multiarch wcscpy for PPC64.
43463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43464         multiarch implementations.
43465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43466         (__libc_ifunc_impl_list): Likewise.
43467         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43468         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43469         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43470         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43471         multiarch wcscpy for PPC64.
43473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43474         multiarch implementations.
43475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43476         (__libc_ifunc_impl_list): Likewise.
43477         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43478         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43479         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43480         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43481         multiarch wcsrchr for PPC64.
43483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43484         multiarch implementations.
43485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43486         (__libc_ifunc_impl_list): Likewise.
43487         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43488         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43489         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43490         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43491         multiarch wcschr for PPC64.
43493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43494         multiarch implementations.
43495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43496         (__libc_ifunc_impl_list): Likewise.
43497         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43498         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43499         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43500         multiarch strchrnul for PPC64.
43502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43503         implementations.
43504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43505         (__libc_ifunc_impl_list): Likewise.
43506         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43507         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43508         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43509         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43510         strchr for PPC64.
43512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43513         implementations.
43514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43515         (__libc_ifunc_impl_list): Likewise.
43516         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43517         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43518         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43519         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43520         strncmp for PPC64.
43522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43523         multiarch implementations.
43524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43525         (__libc_ifunc_impl_list): Likewise.
43526         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43527         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43528         strncasecmp for PPC64.
43529         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43530         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43531         multiarch strncasecmp_l for PPC64.
43533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43534         multiarch implementations.
43535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43536         (__libc_ifunc_impl_list): Likewise.
43537         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43538         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43539         multiarch strcasecmp for PPC64.
43540         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43541         file.
43542         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43543         multiarch strcasecmp_l for PPC64.
43545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43546         implementations.
43547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43548         (__libc_ifunc_impl_list): Likewise.
43549         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43550         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43551         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43552         strnlen for PPC64.
43554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43555         implementations.
43556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43557         (__libc_ifunc_impl_list): Likewise.
43558         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43559         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43560         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43561         strlen for PPC64.
43563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43564         implementations.
43565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43566         (__libc_ifunc_impl_list): Likewise.
43567         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43568         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43569         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43570         rawmemrchr for PPC64.
43572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43573         implementation.
43574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43575         (__libc_ifunc_impl_list): Likewise.
43576         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43577         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43578         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43579         memrchr for PPC64.
43581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43582         implementation.
43583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43584         (__libc_ifunc_impl_list): Likewise.
43585         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43586         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43587         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43588         memchr for PPC64.
43590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43591         implementation.
43592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43593         (__libc_ifunc_impl_list): Likewise.
43594         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43595         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43596         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43597         mempcpy for PPC64.
43599         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43600         avoid cretion of __bzero symbol.
43601         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43602         Likewise.
43603         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43604         Likewise.
43605         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43606         Likewise.
43607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43608         multiarch implementations.
43609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43610         (__libc_ifunc_impl_list): Likewise.
43611         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43612         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43613         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43614         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43615         bzero for PPC32.
43616         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43617         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43618         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43619         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43620         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43621         memset for PPC64.
43622         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43624         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43626         implementations.
43627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43628         (__libc_ifunc_impl_list): Likewise.
43629         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43630         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43631         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43632         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43633         memcmp for PPC64.
43635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43636         multiarch for POWER/PPC64.
43637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43638         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43639         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43640         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43641         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43642         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43643         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43644         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43645         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43646         memcpy for PPC64.
43648         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43649         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43650         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43651         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43652         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43653         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43654         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43655         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43656         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43657         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43658         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43659         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43660         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43661         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43662         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43671 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43673         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43675 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43677         * benchtests/Makefile (bench): Add exp2 and log2.
43678         (LDLIBS-bench-exp2): Add -lm.
43679         (LDLIBS-bench-log2): Likewise.
43680         * benchtests/exp2-inputs: New inputs file.
43681         * benchtests/log2-inputs: New inputs file.
43682         * benchtests/log-inputs: Add new inputs.
43683         * benchtests/tan-inputs: Likewise.
43685 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43687         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43688         definition...
43689         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43690         (csloww2): ... from here.
43692         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43693         instead of structures.
43694         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43695         (POLYNOMIAL): Likewise.
43696         (TAYLOR_SLOW): Likewise.
43697         (__sin): Likewise.
43698         (__cos): Likewise.
43699         (slow1): Likewise.
43700         (slow2): Likewise.
43701         (sloww): Likewise.
43702         (sloww1); Likewise.
43703         (sloww2): Likewise.
43704         (bsloww1): Likewise.
43705         (bsloww2): Likewise.
43706         (cslow2): Likewise.
43707         (csloww): Likewise.
43708         (csloww1): Likewise.
43709         (csloww2): Likewise.
43711 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43713         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43714         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43715         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43716         * malloc/hooks.c (realloc_check): Likewise.
43718         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43719         * malloc/arena.c: Remove PER_THREAD conditional.
43720         [!PER_THREAD]: Remove code.
43721         (ptmalloc_unlock_all2): Likewise.
43722         (ptmalloc_init): Likewise.
43723         (_int_new_arena): Likewise.
43724         (arena_get2): Likewise.
43725         * malloc/hooks.c (__malloc_get_state): Likewise.
43726         (__malloc_set_state): Likewise.
43727         * malloc/malloc.c: Likewise.
43728         (struct malloc_state): Likewise.
43729         (struct malloc_par): Likewise.
43730         (__libc_realloc): Likewise.
43731         (__libc_mallopt): Likewise.
43733 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43735         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43737 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43739         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43740         macro to a function.  Check for zero perturb_byte.
43741         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43743         * malloc/malloc.c: (force_reg): Remove.
43744         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43745         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43746         force_reg by atomic_forced_read.
43747         * malloc/arena.c (ptmalloc_init): Likewise.
43748         * malloc/hooks.c (top_check): Likewise.
43750 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43754 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43758 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43760         * math/auto-libm-test-in: Add tests of lgamma.
43761         * math/auto-libm-test-out: Regenerated.
43762         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43763         (M_LOG_2_SQRT_PIl): Likewise.
43764         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43765         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43766         mpfr_f_f1.
43767         (func_calc_desc): Add mpfr_f_f1 union field.
43768         (ARGS1): New macro.
43769         (ARGS2): Likewise.
43770         (ARGS3): Likewise.
43771         (ARGS4): Likewise.
43772         (RET1): Likewise.
43773         (RET2): Likewise.
43774         (CALC): Likewise.
43775         (FUNC): Likewise.
43776         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43777         (test_functions): Add lgamma.
43778         (calc_generic_results): Handle mpfr_f_f1.
43779         * sysdeps/i386/fpu/libm-test-ulps: Update.
43780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43782 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43784         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43785         __mpn_add_n for PowerPC64/POWER7.
43786         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43787         __mpn_sub_n for PowerPC64/POWER7.
43789         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43790         __mpn_addmul_1 for PowerPC64.
43791         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43792         __mpn_submul_1 for PowerPC64.
43793         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43794         for PowerPC64.
43795         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43796         for PowerPC64.
43798 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43800         [BZ #15089]
43801         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43803 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43805         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43807         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43808         add multiarch folders.
43809         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43810         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43811         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43812         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43813         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43814         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43815         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43816         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43817         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43818         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43819         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43828         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43830         New file.
43831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43832         New file.
43833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43834         multiarch __ieee754_hypot for PowerPC32.
43835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43836         New file.
43837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43838         New file.
43839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43840         multiarch __ieee754_hypotf for PowerPC32.
43842         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43843         long_double_symbol only if __logbl is defined.
43844         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43845         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43846         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43847         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43848         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43849         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43850         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43851         path for implementation.
43852         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43853         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43855         logb, and logbl multiarch implementations for PowerPC32.
43856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43857         file.
43858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43859         file.
43860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43861         multiarch logb for PowerPC32.
43862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43863         file.
43864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43865         file.
43866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43867         multiarch logbf for PowerPC32.
43868         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43870         file.
43871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43872         multiarch logbl implementation for PowerPC32.
43874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43875         and modff multiarch implementations.
43876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43877         New file.
43878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43879         New file.
43880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43881         multiarch modf for PowerPC32.
43882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43883         New file.
43884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43885         New file.
43886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43887         multiarch modff for PowerPC32.
43889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43890         and lrintf multiarch implementations.
43891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43892         New file.
43893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43894         New file.
43895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43896         multiarch lrint for PowerPC32.
43897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43898         file: multiarch lrintf for PowerPC32.
43900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43901         and lroundf multiarch implementations.
43902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43903         New file.
43904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43905         New file.
43906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43907         New file.
43908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43909         multiarch lround for PowerPC32.
43910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43911         file: multiarch lroundf for PowerPC32.
43913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43914         copysign and copysignf multiarch implementations.
43915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43916         New file.
43917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43918         New file.
43919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43920         file: multiarch copysign for PowerPC32.
43921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43922         file: multiarch copysignf for PowerPC32.
43924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43925         and truncf multiarch implementations.
43926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43927         New file.
43928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43929         file.
43930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43931         multiarch trunc for PowerPC32.
43932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43933         New file.
43934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43935         New file.
43936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43937         multiarch truncf for PowerPC32.
43939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43940         and roundf multiarch implementations.
43941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43942         New file.
43943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43944         file.
43945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43946         multiarch round for PowerPC32.
43947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43948         New file.
43949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43950         New file.
43951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43952         multiarch roundf for PowerPC32.
43954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43955         and floorf multiarch implementations.
43956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43957         New file.
43958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43959         file.
43960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43961         multiarch floor for PowerPC32.
43962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43963         New file.
43964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43965         New file.
43966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43967         multiarch floorf for PowerPC32.
43969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43970         and ceilf multiarch implementations.
43971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43972         New file.
43973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43974         file.
43975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43976         multiarch ceil for PowerPC32.
43977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43978         New file.
43979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43980         file.
43981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43982         multiarch ceilf for PowerPC32.
43984         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43985         is defined.
43986         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43987         FINITEF is defined.
43988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43989         and finitef multiarch implementations.
43990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43991         New file.
43992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43993         file.
43994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43995         multiarch finite for PowerPC32.
43996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43997         New file.
43998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43999         file: multiarch finitef for PowerPC32.
44001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44002         and isinff multiarch implementations.
44003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44004         file.
44005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44006         file.
44007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44008         multiarch isinf for PowerPC32.
44009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44010         New file.
44011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44012         multiarch isinff for PowerPC32.
44014         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44015         alias when __isnan is defined.
44016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44017         and isnanf multiarch implementations.
44018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44019         file.
44020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44021         file.
44022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44023         file.
44024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44025         file.
44026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44027         multiarch isnan for PowerPC32.
44028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44029         New file.
44030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44031         New file.
44032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44033         multiarch isnanf for PowerPC32.
44035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44036         and sqrtf multiarch implementations.
44037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44038         file.
44039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44040         file.
44041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44042         multiarch sqrt for PowerPC32.
44043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44044         file.
44045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44046         file.
44047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44048         multiarch sqrtf for PowerPC32.
44050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44051         and llroundf multiarch implementations.
44052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44053         New file.
44054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44055         New file.
44056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44057         New file.
44058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44059         file: multiarch llround for PowerPC32.
44060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44061         file: multiarch llroundf for PowerPC32.
44063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44064         multiarch PowerPC32 fpu implementations.
44065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44066         New file.
44067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44068         New file.
44069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44070         multiarch llrint for PowerPC32.
44071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44072         New file.
44073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44074         New file.
44075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44076         file.
44078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44080         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44081         file.
44082         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44083         file.
44084         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44085         file.
44086         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44087         multiarch wordcopy for PPC32.
44088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44089         wordcopy objects.
44090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44091         (__libc_ifunc_impl_list): Likewise.
44092         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44093         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44094         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44095         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44096         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44097         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44099         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44101         file.
44102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44103         file.
44104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44105         file.
44106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44107         multiarch wcscpy for PPC32.
44108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44109         multiarch objects.
44110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44111         (__libc_ifunc_impl_list): Likewise.
44112         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44113         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44114         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44115         sysdeps/powerpc/power6/wcscpy.c.
44117         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44119         file.
44120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44121         file.
44122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44123         file.
44124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44125         multiarch wcsrchr for PPC32.
44126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44127         multiarch objects.
44128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44129         (__libc_ifunc_impl_list): Likewise.
44130         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44131         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44132         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44133         sysdeps/powerpc/power6/wcsrchr.c.
44135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44136         file.
44137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44138         file.
44139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44141         multiarch wcschr for PPc32.
44142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44143         multiarch objects.
44144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44145         (__libc_ifunc_impl_list): Likewise.
44146         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44147         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44148         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44149         sysdeps/powerpc/power6/wcschr.c.
44151         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44152         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44153         file.
44154         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44155         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44156         file: multiarch strchr for PPC32.
44157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44158         multiarch objects.
44159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44160         (__libc_ifunc_impl_list): Likewise.
44162         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44163         name.
44164         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44165         file.
44166         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44167         file.
44168         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44169         multiarch strchrnul for PPC32.
44170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44171         multiarch objects.
44172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44173         (__libc_ifunc_impl_list): Likewise.
44175         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44176         file.
44177         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44178         multiarch strncasecmp for PPC32.
44179         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44180         file.
44181         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44182         multiarch strncasecmp_l for PPC32.
44183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44184         strncasecmp multiarch objects.
44185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44186         (__libc_ifunc_impl_list): Likewise.
44188         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44189         file.
44190         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44191         multiarch strncasecmp for PPC32.
44192         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44193         New file.
44194         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44195         multiarch strcasecmp_l for PPC32.
44196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44197         multiarch objects.
44198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44199         (__libc_ifunc_impl_list): Likewise.
44201         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44202         file.
44203         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44204         file.
44205         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44206         multiarch strncmp for PPC32.
44207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44208         multiarch objects.
44209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44210         (__libc_ifunc_impl_list): Likewise.
44212         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44213         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44214         file.
44215         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44216         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44218         multiarch objects.
44219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44220         (__libc_ifunc_impl_list): Likewise.
44222         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44223         file.
44224         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44225         file.
44226         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44228         multiarch objects.
44229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44230         (__libc_ifunc_impl_list): Likewise.
44232         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44233         file.
44234         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44235         file.
44236         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44237         multiarch rawmemchr for PPC32.
44238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44239         multiarch objects.
44240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44241         (__libc_ifunc_impl_list): Likewise.
44243         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44244         file.
44245         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44246         file.
44247         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44248         file: memrchr multiarch for PPC32.
44249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44250         multiarch objects.
44251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44252         (__libc_ifunc_impl_list): Likewise.
44254         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44255         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44256         file.
44257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44258         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44259         multiarch memchr for PPC32.
44260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44261         multiarch objects.
44262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44263         (__libc_ifunc_impl_list): Likewise.
44265         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44266         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44267         file.
44268         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44269         file.
44270         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44271         file: multiarch mempcpy for PPC32.
44272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44273         multiarch objects.
44274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44275         (__libc_ifunc_impl_list): Likewise.
44277         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44278         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44279         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44280         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44281         multiarch bzero for PPC32.
44282         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44283         file.
44284         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44285         file.
44286         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44287         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44288         file: multiarch memset for PPC32.
44289         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44291         memset multiarch objects.
44292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44293         (__libc_ifunc_impl_list): Likewise.
44295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44296         file.
44297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44298         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44299         memcmp for PPC32.
44300         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44302         multiarch objects.
44303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44304         (__libc_ifunc_impl_list): Likewise.
44306         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44307         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44308         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44309         file.
44310         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44311         file.
44312         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44313         file.
44314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44315         multiarch memcpy for PPC32.
44316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44317         multiarch objects.
44318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44319         (__libc_ifunc_impl_list): Likewise.
44321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44322         support multiarch for POWER/PPC32.
44323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44324         Likewise.
44325         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44327         Implies file to make multiarch folder appers before the fpu and
44328         default folder for power4 configuration.
44330 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44332         * scripts/bench.pl: Append volatile keyword to type.
44334 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44336         * sysdeps/sh/sotruss-lib.c: New file.
44337         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44339 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44343 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44345         [BZ #6810]
44346         * math/w_tgamma.c: Include <errno.h>.
44347         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44348         * math/w_tgammaf.c: Include <errno.h>.
44349         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44350         * math/w_tgammal.c: Include <errno.h>.
44351         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44352         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44353         underflow.  Add more tgamma tests.
44354         * math/auto-libm-test-out: Regenerated.
44355         * sysdeps/i386/fpu/libm-test-ulps: Update.
44356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44358         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44359         sin, sinh, tan, tanh, tgamma, y0 and y1.
44360         * math/auto-libm-test-out: Regenerated.
44361         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44362         (TEST_COND_x86): Likewise.
44363         (M_E2l): Remove macro.
44364         (M_E3l): Likewise.
44365         (M_2_SQRT_PIl): Likewise.
44366         (M_SQRT_PIl): Likewise.
44367         (M_1_DIV_El): Likewise.
44368         (log_test_data): Use AUTO_TESTS_f_f.
44369         (log10_test_data): Likewise.
44370         (log1p_test_data): Likewise.
44371         (log2_test_data): Likewise.
44372         (sin_test_data): Likewise.
44373         (sin_tonearest_test_data): Likewise.
44374         (sin_towardzero_test_data): Likewise.
44375         (sin_downward_test_data): Likewise.
44376         (sin_upward_test_data): Likewise.
44377         (sinh_test_data): Likewise.
44378         (sinh_tonearest_test_data): Likewise.
44379         (sinh_towardzero_test_data): Likewise.
44380         (sinh_downward_test_data): Likewise.
44381         (sinh_upward_test_data): Likewise.
44382         (tan_test_data): Likewise.
44383         (tan_tonearest_test_data): Likewise.
44384         (tan_towardzero_test_data): Likewise.
44385         (tan_downward_test_data): Likewise.
44386         (tan_upward_test_data): Likewise.
44387         (tanh_test_data): Likewise.
44388         (tgamma_test_data): Likewise.
44389         (y0_test_data): Likewise.
44390         (y1_test_data): Likewise.
44391         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44392         (special_real_inputs): Add pi/4.
44393         * sysdeps/i386/fpu/libm-test-ulps: Update.
44394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44396 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44398         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44399         "longjmp_target" static probes.
44400         (__longjmp): Rename to __longjmp_symbol.
44401         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44402         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44403         on which longjmp to generate.
44404         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44405         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44406         probe.
44407         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44408         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44409         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44410         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44411         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44412         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44414         __longjmp_symbol based on which __longjmp to generate.
44415         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44416         probe.
44417         (setjmp): Rename to setjmp_symbol.
44418         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44419         (_setjmp): Rename to _setjmp_symbol.
44420         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44421         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44422         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44423         which setjmp to generate.
44424         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44425         "longjmp_target" static probes.
44427 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44429         * benchtests/README: Add note about output arguments.
44430         * benchtests/bench-sincos.c: Remove file.
44431         * benchtests/sincos-inputs: New file.
44432         * scripts/bench.pl: Identify output arguments and define
44433         static variables for them.
44435         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44437         [BZ #15941]
44438         * Makefile (INSTALL): Add install-plain.texi as the primary
44439         dependency.
44440         * manual/install-plain.texi: New file.
44441         * manual/install.texi: Include node directive only for
44442         non-plaintext output.
44444 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44446         * stdlib/longlong.h: Update from GCC.
44448         [BZ #6807]
44449         [BZ #15901]
44450         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44451         * math/w_j0f.c (y0f): Likewise.
44452         * math/w_j0l.c (__y0l): Likewise.
44453         * math/w_j1.c (y1): Likewise.
44454         * math/w_j1f.c (y1f): Likewise.
44455         * math/w_j1l.c (__y1l): Likewise.
44456         * math/w_jn.c (yn): Likewise.
44457         * math/w_jnf.c (ynf): Likewise.
44458         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44459         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44460         value for Bessel function domain errors outside _SVID_ mode.
44461         Adjust sign of return value for yn (negative integer, 0).
44462         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44463         by zero in return for negative x and set sign appropriately for
44464         negative n.
44465         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44466         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44467         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44468         expectations in error cases.
44469         (y1_test_data): Likewise.
44470         (yn_test_data): Likewise.
44471         * sysdeps/i386/fpu/libm-test-ulps: Update.
44472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44474 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44476         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44477         "64" to "64-v1".  Add "64-v2".
44478         (abi-64-options): Rename to ...
44479         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44480         (abi-64-condition): Rename to ...
44481         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44482         (abi-64-ld-soname): Rename to ...
44483         (abi-64-v1-ld-soname): ... this.
44484         (abi-64-v2-options): Define.
44485         (abi-64-v2-condition): Likewise.
44486         (abi-64-v2-ld-soname): Likewise.
44487         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44488         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44493 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44494             Alan Modra  <amodra@gmail.com>
44496         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44497         New versions for use with the ELFv2 ABI.
44498         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44499         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44500         declaration.
44501         (struct La_ppc64v2_retval): Likewise.
44502         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44503         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44504         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44505         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44506         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44507         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44508         Do not save or restore CR.
44509         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44510         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44511         return values for ELFv2 ABI.  Fix location of FPR return registers.
44512         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44513         updated values for _CALL_ELF == 2.
44514         (La_regs, La_retval, int_retval): Likewise.
44516 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44518         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44519         (FRAME_MIN_SIZE_PARM): Likewise.
44520         (FRAME_BACKCHAIN): Likewise.
44521         (FRAME_CR_SAVE): Likewise.
44522         (FRAME_LR_SAVE): Likewise.
44523         (FRAME_TOC_SAVE): Likewise.
44524         (FRAME_PARM_SAVE): Likewise.
44525         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44526         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44527         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44528         (call_mcount_parm_offset): New macro.
44529         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44530         (PROF): Use symbolic stack frame offsets.
44531         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44532         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44533         Redefine in terms of FRAME_MIN_SIZE.
44534         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44535         (_dl_profile_resolve): Likewise.  Update comment.
44536         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44537         symbols stack frame offsets.
44538         (__sigsetjmp): Likewise.
44539         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44540         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44541         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44542         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44545         (FRAME_BACKCHAIN): Remove.
44546         (FRAME_CR_SAVE): Likewise.
44547         (FRAME_LR_SAVE): Likewise.
44548         (FRAME_COMPILER_DW): Likewise.
44549         (FRAME_LINKER_DW): Likewise.
44550         (FRAME_TOC_SAVE): Likewise.
44551         (FRAME_PARM_SAVE): Likewise.
44552         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44553         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44554         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44556         (CHECK_SP): Use symbolic stack frame offsets.
44557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44558         zone" instead of caller's parameter save area for temp storage.
44559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44560         Likewise.  Also, use symbolic stack frame offsets.
44561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44562         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44563         our own stack frame instead of the caller's.
44564         (__socket): Use symbolic stack frame offsets.
44566 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44567             Alan Modra  <amodra@gmail.com>
44569         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44570         Define.
44571         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44572         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44573         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44574         New function.
44575         (elf_machine_fixup_plt): Call it.
44576         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44577         reloc arguments.
44578         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44579         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44580         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44581         r2 before calling target.
44583 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44584             Alan Modra  <amodra@gmail.com>
44586         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44587         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44588         versions of macros to support ELFv2 ABI.
44589         (LOCALENTRY): New macro.
44590         (ENTRY, EALIGN): Use it.
44591         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44592         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44593         fall through into ENTRY entry point.
44594         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44595         Only define if _CALL_ELF != 2.
44597         (elf_machine_matches_host): Verify ABI version matches.
44598         (RTLD_START): Use LOCALENTRY.
44599         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44600         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44601         (PLT_ENTRY_WORDS): New macro.
44602         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44603         (elf_machine_runtime_setup): Support ELFv2 ABI.
44604         (elf_machine_fixup_plt): Likewise.
44605         (elf_machine_plt_conflict): Likewise.
44606         (resolve_ifunc): Likewise.
44607         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44608         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44609         Likewise.
44610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44611         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44613         (makecontext): Support ELFv2 ABI.
44614         * elf/elf.h (EF_PPC64_ABI): Define.
44616 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44618         * sysdeps/powerpc/powerpc64/sysdep.h
44619         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44620         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44621         (ENTRY) [ASSEMBLER]: ... but instead here ...
44622         (EALIGN) [ASSEMBLER]: ... and here.
44623         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44624         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44625         (ENTRY_2) [!ASSEMBLER]: Use it.
44626         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44627         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44628         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44629         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44630         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44632         Use PPC64_LOAD_FUNCPTR.
44634         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44636 2013-12-04  Alan Modra  <amodra@gmail.com>
44638         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44639         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44640         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44641         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44643         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44644         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44645         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44646         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44647         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44648         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44650 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44653         (__makecontext): Fix incorrect CFI when backtracing out of
44654         context created via makecontext.
44655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44656         (__setcontext): Fix incorrect CFI during switch to new context.
44657         (__novec_setcontext): Likewise.
44659 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44661         [BZ #4772]
44662         * time/strptime_l.c (__strptime_internal): Allow modifiers
44663         in strptime.
44664         * time/tst-strptime.c (day_tests): Add testcase.
44666 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44668         * scripts/bench.pl: Skip over blank lines.
44670 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44672         [BZ #926]
44673         * manual/time.texi (Calendar Time): Clarify what timezone functions
44674         use.
44676 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44680 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44682         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44683         implementation.
44684         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44685         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44686         * debug/memset_chk.c (__memset_chk): Likewise.
44687         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44688         * debug/strncpy_chk.c: Likewise.
44690 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44692         [BZ #15268]
44693         [BZ #15425]
44694         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44695         (__ieee754_exp): For possibly underflowing results, check size of
44696         result and force underflow exception if required.
44697         * math/auto-libm-test-in: Add more tests of exp.
44698         * math/auto-libm-test-out: Regenerated.
44699         * sysdeps/i386/fpu/libm-test-ulps: Update.
44700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44702         [BZ #16283]
44703         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44704         * math/w_exp2f.c (__exp2f): Likewise.
44705         * math/w_exp2l.c (__exp2l): Likewise.
44706         * math/auto-libm-test-in: Do not allow missing errno on exp2
44707         underflow.
44708         * math/auto-libm-test-out: Regenerated.
44710 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44712         [BZ #16274]
44713         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44714         handle filename validation.
44715         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44716         (do_open): Delete.
44718 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44720         [BZ #6786]
44721         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44722         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44723         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44724         <float.h>.
44725         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44726         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44727         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44728         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44729         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44730         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44731         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44732         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44733         Add more erfc tests.
44734         * math/auto-libm-test-out: Regenerated.
44735         * sysdeps/i386/fpu/libm-test-ulps: Update.
44736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44738         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44739         exp2, expm1, j0 and j1.
44740         * math/auto-libm-test-out: Regenerated.
44741         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44742         (erfc_test_data): Likewise.
44743         (exp_test_data): Likewise.
44744         (exp_tonearest_test_data): Likewise.
44745         (exp_towardzero_test_data): Likewise.
44746         (exp_downward_test_data): Likewise.
44747         (exp_upward_test_data): Likewise.
44748         (exp10_test_data): Likewise.
44749         (exp2_test_data): Likewise.
44750         (expm1_test_data): Likewise.
44751         (j0_test_data): Likewise.
44752         (j1_test_data): Likewise.
44753         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44754         (input_flag_type): Add flag_xfail_rounding.
44755         (input_flags): Add xfail-rounding.
44756         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44757         (output_for_one_input_case): Handle flag_xfail_rounding.
44758         * sysdeps/i386/fpu/libm-test-ulps: Update.
44759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44761 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44763         [BZ #16289]
44764         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44765         division by 0.
44767 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44769         [BZ #16195]
44770         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44771         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44772         (STAP_PROBE0): New macro.
44773         (STAP_PROBE1): Likewise.
44774         (STAP_PROBE2): Likewise.
44775         (STAP_PROBE3): Likewise.
44776         (STAP_PROBE4): Likewise.
44778 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44780         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44782 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44784         * benchtests/Makefile (bench): Add sqrt.
44785         (LDLIBS-bench-sqrt): New.
44786         * benchtests/sqrt-input: New.
44788 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44790         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44791         (GAIH_EAI): Likewise.
44792         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44793         (gaih_inet): Likewise.
44794         (getaddrinfo): Don't use GAIH_EAI.
44796         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44797         (struct gaih): Remove definition.
44799 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44801         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44802         Use HERRNOP directly.
44804 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44808 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44810         * math/gen-auto-libm-tests.c (test_functions): Add more
44811         single-argument functions.
44812         (special_fill_pi_2): New function.
44813         (special_fill_minus_pi_2): Likewise.
44814         (special_fill_pi_6): Likewise.
44815         (special_fill_minus_pi_6): Likewise.
44816         (special_fill_pi_3): Likewise.
44817         (special_fill_2pi_3): Likewise.
44818         (special_fill_e): Likewise.
44819         (special_fill_1_e): Likewise.
44820         (special_fill_e_minus_1): Likewise.
44821         (special_real_inputs): Add more special inputs.
44822         (output_for_one_input_case): Do not require ERANGE on underflow to
44823         zero if round-to-nearest result does not underflow to zero, unless
44824         exact results required.
44825         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44826         atan, atanh, cbrt, cos and cosh.
44827         * math/auto-libm-test-out: Regenerated.
44828         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44829         (acos_tonearest_test_data): Likewise.
44830         (acos_towardzero_test_data): Likewise.
44831         (acos_downward_test_data): Likewise.
44832         (acos_upward_test_data): Likewise.
44833         (acosh_test_data): Likewise.
44834         (asin_test_data): Likewise.
44835         (asin_tonearest_test_data): Likewise.
44836         (asin_towardzero_test_data): Likewise.
44837         (asin_upward_test_data): Likewise.
44838         (asinh_test_data): Likewise.
44839         (atan_test_data): Likewise.
44840         (atanh_test_data): Likewise.
44841         (cbrt_test_data): Likewise.
44842         (cos_test_data): Likewise.
44843         (cos_tonearest_test_data): Likewise.
44844         (cos_towardzero_test_data): Likewise.
44845         (cos_downward_test_data): Likewise.
44846         (cos_upward_test_data): Likewise.
44847         (cosh_test_data): Likewise.
44848         (cosh_tonearest_test_data): Likewise.
44849         (cosh_towardzero_test_data): Likewise.
44850         (cosh_downward_test_data): Likewise.
44851         (cosh_upward_test_data): Likewise.
44852         * sysdeps/i386/fpu/libm-test-ulps: Update.
44853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44855 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44857         [BZ #6787]
44858         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44859         * math/w_exp10f.c (__exp10f): Likewise.
44860         * math/w_exp10l.c (__exp10l): Likewise.
44861         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44862         errno settings in existing tests.
44864         [BZ #14032]
44865         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44866         precision control set to double precision.
44867         * sysdeps/i386/fpu/w_sqrt.c: New file.
44868         * math/auto-libm-test-in: Add more tests.
44869         * math/auto-libm-test-out: Update.
44871         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44872         (sqrt_test_tonearest): New function.
44873         (sqrt_towardzero_test_data): New variable.
44874         (sqrt_test_towardzero): New function.
44875         (sqrt_downward_test_data): New variable.
44876         (sqrt_test_downward): New function.
44877         (sqrt_upward_test_data): New variable.
44878         (sqrt_test_upward): New function.
44879         (main): Call the new functions.
44881         * math/gen-auto-libm-tests.c: New file.
44882         * math/auto-libm-test-in: Likewise.
44883         * math/auto-libm-test-out: New generated file.
44884         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44885         variables.
44886         (%beautify): Add generated representations of zero.
44887         (top level): Set $auto_input and call parse_auto_input.
44888         (beautify): Remove trailing "f" from hex float constants.
44889         (parse_args): Handle XFAIL_TEST.
44890         (convert_condition): New function.
44891         (or_value): Likewise.
44892         (or_cond_value): Likewise.
44893         (generate_testfile): Handle AUTO_TESTS_* lines.
44894         (parse_auto_input): New function.
44895         * math/libm-test.inc (XFAIL_TEST): New macro.
44896         (ERRNO_UNCHANGED): Update value.
44897         (ERRNO_EDOM): Likewise.
44898         (ERRNO_ERANGE): Likewise.
44899         (IGNORE_RESULT): Likewise.
44900         (TEST_COND_flt_32): New macro.
44901         (TEST_COND_dbl_64): Likewise.
44902         (TEST_COND_ldbl_96_intel): Likewise.
44903         (TEST_COND_ldbl_96_m68k): Likewise.
44904         (TEST_COND_ldbl_128): Likewise.
44905         (TEST_COND_ldbl_128ibm): Likewise.
44906         (TEST_COND_long32): Likewise.
44907         (TEST_COND_long64): Likewise.
44908         (TEST_COND_before_rounding): Likewise.
44909         (TEST_COND_after_rounding): Likewise.
44910         (enable_test): Handle XFAIL_TEST flag.
44911         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44912         with finite results.
44913         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44914         auto-libm-test-out.
44916 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44917             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44919         [BZ #16214]
44920         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44921         __tls_get_addr_internal instead of __tls_get_offset in order to
44922         avoid GOT pointer dependency.  Make rtld export
44923         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44924         __tls_get_addr since we are a __tls_get_offset platform.
44925         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44926         GOT pointer being set up before.
44927         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44929 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44931         * manual/math.texi (Errors in Math Functions): Document accuracy
44932         goals.
44934         [BZ #15004]
44935         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44936         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44937         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44938         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44939         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44940         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44941         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44942         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44943         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44944         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44945         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44946         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44947         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44948         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44949         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44950         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44952         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44953         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44954         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44955         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44956         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44957         Likewise.
44958         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44959         Likewise.
44960         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44961         Likewise.
44962         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44963         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44964         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44965         atomic-feupdateenv and flt-rounds.
44966         * sysdeps/powerpc/nofpu/Versions (libc): Add
44967         __atomic_feholdexcept, __atomic_feclearexcept,
44968         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44969         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44970         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44971         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44972         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44973         here.
44974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44975         Update.
44977         * manual/arith.texi (FP Exceptions): Document that exceptions may
44978         not be raised when matherr is used.
44979         (Math Error Reporting): Document overflow in directed rounding
44980         modes.  Document that errno may not be set when finite values are
44981         returned on overflow.  Document intent to set errno on underflow
44982         only for underflow to zero.
44984         [BZ #16271]
44985         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44986         round-to-nearest then adjust result for other rounding modes.
44987         * include/fenv.h (fegetround): Use libm_hidden_proto.
44988         * math/fegetround.c (fegetround): Use libm_hidden_def.
44989         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44990         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44991         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44992         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44993         Likewise.
44994         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44995         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44996         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44997         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44999 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45001         [BZ #16077]
45002         * nss/Versions (libnss_files): Add
45003         _nss_files_gethostbyname3_r.
45004         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45005         New function.
45006         (HOST_DB_LOOKUP): Remove macro.
45007         (_nss_files_gethostbyname_r): Implement function without the
45008         HOST_DB_LOOKUP macro.
45009         (_nss_files_gethostbyname2_r): Likewise.
45011 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45013         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45015 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45017         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45018         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45019         warning.
45021 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45023         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45024         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45025         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45026         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45027         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45028         __fe_nomask_env_priv and attribute_hidden.
45029         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45030         (libc_feupdateenv_test_ppc): Likewise.
45031         (libc_feresetround_ppc): Likewise.
45032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45033         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45034         compat_symbol macro.
45035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45036         (__fe_nomask_env): Likewise.
45037         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45039 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45041         * string/Makefile: Remove ifunc tests.
45042         * string/test-string.h: Define TEST_IFUNC.
45043         * string/test-bcopy-ifunc.c: Remove.
45044         * string/test-bzero-ifunc.c: Likewise.
45045         * string/test-memccpy-ifunc.c: Likewise.
45046         * string/test-memchr-ifunc.c: Likewise.
45047         * string/test-memcmp-ifunc.c: Likewise.
45048         * string/test-memcpy-ifunc.c: Likewise.
45049         * string/test-memmem-ifunc.c: Likewise.
45050         * string/test-memmove-ifunc.c: Likewise.
45051         * string/test-mempcpy-ifunc.c: Likewise.
45052         * string/test-memrchr-ifunc.c: Likewise.
45053         * string/test-memset-ifunc.c: Likewise.
45054         * string/test-rawmemchr-ifunc.c: Likewise.
45055         * string/test-stpcpy-ifunc.c: Likewise.
45056         * string/test-stpncpy-ifunc.c: Likewise.
45057         * string/test-strcasecmp-ifunc.c: Likewise.
45058         * string/test-strcasestr-ifunc.c: Likewise.
45059         * string/test-strcat-ifunc.c: Likewise.
45060         * string/test-strchr-ifunc.c: Likewise.
45061         * string/test-strchrnul-ifunc.c: Likewise.
45062         * string/test-strcmp-ifunc.c: Likewise.
45063         * string/test-strcpy-ifunc.c: Likewise.
45064         * string/test-strcspn-ifunc.c: Likewise.
45065         * string/test-strlen-ifunc.c: Likewise.
45066         * string/test-strncasecmp-ifunc.c: Likewise.
45067         * string/test-strncat-ifunc.c: Likewise.
45068         * string/test-strncmp-ifunc.c: Likewise.
45069         * string/test-strncpy-ifunc.c: Likewise.
45070         * string/test-strnlen-ifunc.c: Likewise.
45071         * string/test-strpbrk-ifunc.c: Likewise.
45072         * string/test-strrchr-ifunc.c: Likewise.
45073         * string/test-strspn-ifunc.c: Likewise.
45074         * string/test-strstr-ifunc.c: Likewise.
45076 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45078         * benchtests/Makefile: Remove ifunc tests.
45079         * benchtests/bench-string.h: Define TEST_IFUNC.
45080         * benchtests/bench-bcopy-ifunc.c: Remove.
45081         * benchtests/bench-bzero-ifunc.c: Likewise.
45082         * benchtests/bench-memccpy-ifunc.c: Likewise.
45083         * benchtests/bench-memchr-ifunc.c: Likewise.
45084         * benchtests/bench-memcmp-ifunc.c: Likewise.
45085         * benchtests/bench-memcpy-ifunc.c: Likewise.
45086         * benchtests/bench-memmem-ifunc.c: Likewise.
45087         * benchtests/bench-memmove-ifunc.c: Likewise.
45088         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45089         * benchtests/bench-memrchr-ifunc.c: Likewise.
45090         * benchtests/bench-memset-ifunc.c: Likewise.
45091         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45092         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45093         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45094         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45095         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45096         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45097         * benchtests/bench-strcat-ifunc.c: Likewise.
45098         * benchtests/bench-strchr-ifunc.c: Likewise.
45099         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45100         * benchtests/bench-strcmp-ifunc.c: Likewise.
45101         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45102         * benchtests/bench-strcpy-ifunc.c: Likewise.
45103         * benchtests/bench-strcspn-ifunc.c: Likewise.
45104         * benchtests/bench-strlen-ifunc.c: Likewise.
45105         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45106         * benchtests/bench-strncat-ifunc.c: Likewise.
45107         * benchtests/bench-strncmp-ifunc.c: Likewise.
45108         * benchtests/bench-strncpy-ifunc.c: Likewise.
45109         * benchtests/bench-strnlen-ifunc.c: Likewise.
45110         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45111         * benchtests/bench-strrchr-ifunc.c: Likewise.
45112         * benchtests/bench-strsep-ifunc.c: Likewise.
45113         * benchtests/bench-strspn-ifunc.c: Likewise.
45114         * benchtests/bench-strstr-ifunc.c: Likewise.
45116 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45118         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45120 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45122         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45123         * rt/aio.h: Likewise.
45124         * sysdeps/gnu/bits/utmp.h: Likewise.
45125         * sysdeps/gnu/bits/utmpx.h: Likewise.
45126         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45127         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45128         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45129         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45130         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45131         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45132         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45133         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45134         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45135         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45136         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45137         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45138         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45140         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45141         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45142         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45143         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45144         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45145         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45146         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45147         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45148         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45149         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45150         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45151         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45152         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45153         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45154         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45155         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45156         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45157         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45158         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45159         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45160         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45161         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45162         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45163         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45164         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45165         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45166         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45167         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45169 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45171         [BZ #16245]
45172         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45173         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45175 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45177         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45178         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45179         Likewise.
45181 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45183         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45184         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45185         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45186         (__fesetround): Remove define.
45187         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45188         rounding and exceptions handling.
45189         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45190         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45191         (__fe_nomask_env): Likewise.
45192         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45193         __fegetround instead of fegetround.
45194         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45195         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45197 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45199         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45200         it's there.
45202         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45204 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45206         [BZ #11157]
45207         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45208         (encrypt_r): Likewise.
45209         * malloc/obstack.h (obstack_free): Likewise.
45210         * posix/unistd.h (encrypt): Likewise.
45212 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45214         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45215         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45216         DL_CALL_DT_FINI() that call the functions directly.
45217         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45218         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45219         * elf/dl-fini.c: Likewise.
45221 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45223         * malloc/hooks.c (memalign_check): Add alignment rounding.
45224         * malloc/malloc.c (_mid_memalign): New function.
45225         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45226         Implement by calling _mid_memalign.
45227         * manual/probes.texi (Memory Allocation Probes): Remove
45228         memory_valloc_retry and memory_pvalloc_retry.
45230 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45232         * locale/programs/locarchive.c (open_archive): Add const
45233         qualifier to ARCHIVEFNAME and copy default fname to
45234         DEFAULT_FNAME.
45236         [BZ #15601]
45237         * libio/tst-widetext.input: Rename Oriya to Odia.
45238         * locale/iso-639.def: Likewise.
45240         * manual/probes.texi (Mathematical Function Probes): Add
45241         documentation for sin, cos, asin and acos probes.
45242         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45243         (__sin32): Add slowasin probe.
45244         (__cos32): Add slowacos probe.
45245         (__mpsin): Add slowsin probe.
45246         (__mpcos): Add slowcos probe.
45248 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45250         [BZ #15483]
45251         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45252         thread-local __sim_exceptions_thread and global
45253         __sim_exceptions_global.
45254         (__sim_disabled_exceptions): Change to thread-local
45255         __sim_disabled_exceptions_thread and global
45256         __sim_disabled_exceptions_global.
45257         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45258         and global __sim_round_mode_global.
45259         (__simulate_exceptions): Use thread-local floating-point state and
45260         set global state from it as needed.
45261         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45262         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45263         __sim_round_mode_thread.
45264         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45265         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45266         and global __sim_exceptions_global.
45267         (__sim_disabled_exceptions): Change to thread-local
45268         __sim_disabled_exceptions_thread and global
45269         __sim_disabled_exceptions_global.
45270         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45271         and global __sim_round_mode_global.
45272         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45273         (SIM_SET_GLOBAL): Likewise.
45274         * sysdeps/powerpc/soft-fp/sfp-machine.h
45275         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45276         __sim_round_mode_thread.
45277         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45278         __sim_disabled_exceptions_thread.
45279         (__sim_exceptions): Change to __sim_exceptions_thread.
45280         (__sim_disabled_exceptions): Change to
45281         __sim_disabled_exceptions_thread.
45282         (__sim_round_mode): Change to __sim_round_mode_thread.
45283         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45284         thread-local floating-point state and set global state from it as
45285         needed.
45286         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45287         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45288         (__sim_disabled_exceptions): Remove extern declaration.
45289         (feenableexcept): Use thread-local floating-point state and set
45290         global state from it as needed.
45291         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45292         extern declaration.
45293         (__sim_disabled_exceptions): Likewise.
45294         (__sim_round_mode): Likewise.
45295         (__fegetenv): Use thread-local floating-point state.
45296         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45297         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45298         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45299         floating-point state and set global state from it as needed.
45300         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45301         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45302         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45303         Likewise.
45304         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45305         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45306         Likewise.
45307         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45308         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45309         Use __sim_round_mode_thread.
45310         * math/test-fenv-tls.c: New file.
45311         * math/Makefile (tests): Add test-fenv-tls.
45312         ($(objpfx)test-fenv-tls): Depend on
45313         $(common-objpfx)nptl/libpthread.so.
45315 2013-11-19  Andreas Schwab  <schwab@suse.de>
45317         * locale/programs/locale.c (show_info): Decode wordarray elements.
45318         * locale/categories.def (LC_MONETARY): Add element for
45319         _NL_MONETARY_CRNCYSTR.
45320         * locale/C-monetary.c (conversion_rate): New variable.
45321         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45322         element.
45324 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45326         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45327         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45329 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45331         * elf/Makefile (tst-auxv): New test.
45332         * elf/tst-auxv.c: New
45333         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45335 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45337         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45338         (hidden_proto): Caller changed.
45339         (hidden_tls_proto): New macro.
45340         (libc_hidden_tls_proto): Likewise.
45341         (rtld_hidden_tls_proto): Likewise.
45342         (libm_hidden_tls_proto): Likewise.
45343         (libresolv_hidden_tls_proto): Likewise.
45344         (librt_hidden_tls_proto): Likewise.
45345         (libdl_hidden_tls_proto): Likewise.
45346         (libnss_files_hidden_tls_proto): Likewise.
45347         (libnsl_hidden_tls_proto): Likewise.
45348         (libnss_nisplus_hidden_tls_proto): Likewise.
45349         (libutil_hidden_tls_proto): Likewise.
45351 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45353         [BZ #10253]
45354         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45355         (decompose_rpath): Defer expansion to fillin_rpath.
45356         (_dl_init_paths): Pass linkmap to fillin_rpath.
45358 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45360         * benchtests/Makefile: Add strsep.
45361         * benchtests/bench-strsep.c: New file: strsep benchtest.
45362         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45364 2013-11-18  Andreas Schwab  <schwab@suse.de>
45366         * locale/programs/locale.c (show_info) [case byte]: Check for
45367         '\377' instead of '\177'.
45368         * locale/C-monetary.c (not_available): Always use "\377".
45369         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45370         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45371         detect unavailable sign_posn locale elements.
45372         * locale/localeconv.c (__localeconv): For grouping and
45373         mon_grouping handle "\177" and "\377" like no grouping.
45374         (INT_ELEM): New macro.  Use it to set all numeric members.
45375         * locale/programs/ld-monetary.c (monetary_read)
45376         <tok_mon_grouping>: Normalize single -1 to the empty string.
45377         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45378         Likewise.
45380 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45382         [BZ #16055]
45383         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45384         when we match (nil).
45385         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45387 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45389         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45390         (NO_TEST_INLINE): Update value.
45391         (ERRNO_UNCHANGED): Likewise.
45392         (ERRNO_EDOM): Likewise.
45393         (ERRNO_ERANGE): Likewise.
45394         (IGNORE_RESULT): Likewise.
45395         (check_float_internal): Check signs of NaN results if
45396         TEST_NAN_SIGN used.
45397         (check_complex): Pass TEST_NAN_SIGN flag through to second
45398         check_float_internal call.
45399         (copysign_test_data): Add tests with quiet NaNs as second
45400         argument.  Use TEST_NAN_SIGN.
45401         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45402         TEST_NAN_SIGN.
45403         (signbit_test_data): Add tests of quiet NaN argument.
45404         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45406         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45407         $ignore_result.
45408         (parse_args): Handle function results specified as IGNORE.
45409         * math/libm-test.inc (IGNORE_RESULT): New macro.
45410         (check_float_internal): Do not check numerical result if flag
45411         IGNORE_RESULT set.
45412         (check_complex): Pass through IGNORE_RESULT to second
45413         check_float_internal call.
45414         (check_int): Do not check numerical result if flag IGNORE_RESULT
45415         set.
45416         (check_long): Likewise.
45417         (check_bool): Likewise.
45418         (check_longlong): Likewise.
45419         (lrint_test_data): Add tests of infinite and NaN arguments.
45420         (lrint_tonearest_test_data): Likewise.
45421         (lrint_towardzero_test_data): Likewise.
45422         (lrint_downward_test_data): Likewise.
45423         (lrint_upward_test_data): Likewise.
45424         (llrint_test_data): Likewise.
45425         (llrint_tonearest_test_data): Likewise.
45426         (llrint_towardzero_test_data): Likewise.
45427         (llrint_downward_test_data): Likewise.
45428         (llrint_upward_test_data): Likewise.
45429         (lround_test_data): Likewise.
45430         (llround_test_data): Likewise.
45432         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45433         (ERRNO_UNCHANGED): Update value.
45434         (ERRNO_EDOM): Likewise.
45435         (ERRNO_ERANGE): Likewise.
45436         (NO_TEST_INLINE_FLOAT): New macro.
45437         (NO_TEST_INLINE_DOUBLE): Likewise.
45438         (enable_test): New function.
45439         (RUN_TEST_f_f): Check enable_test before running test.
45440         (RUN_TEST_2_f): Likewise.
45441         (RUN_TEST_fff_f): Likewise.
45442         (RUN_TEST_c_f): Likewise.
45443         (RUN_TEST_f_f1): Likewise.
45444         (RUN_TEST_fF_f1): Likewise.
45445         (RUN_TEST_fI_f1): Likewise.
45446         (RUN_TEST_ffI_f1): Likewise.
45447         (RUN_TEST_c_c): Likewise.
45448         (RUN_TEST_cc_c): Likewise.
45449         (RUN_TEST_f_i): Likewise.
45450         (RUN_TEST_f_i_tg): Likewise.
45451         (RUN_TEST_ff_i_tg): Likewise.
45452         (RUN_TEST_f_b): Likewise.
45453         (RUN_TEST_f_b_tg): Likewise.
45454         (RUN_TEST_f_l): Likewise.
45455         (RUN_TEST_f_L): Likewise.
45456         (RUN_TEST_fFF_11): Likewise.
45457         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45458         conditionals.
45459         (cosh_test_data): Likewise.
45460         (exp_test_data): Likewise.
45461         (expm1_test_data): Likewise.
45462         (hypot_test_data): Likewise.
45463         (pow_test_data): Likewise.
45464         (sinh_test_data): Likewise.
45465         (tanh_test_data): Likewise.
45466         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45467         flags argument.
45469         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45470         tests with quiet NaN input and output.
45471         (acosh_test_data): Likewise.
45472         (asin_test_data): Likewise.
45473         (asinh_test_data): Likewise.
45474         (atan_test_data): Likewise.
45475         (atanh_test_data): Likewise.
45476         (atan2_test_data): Likewise.
45477         (cbrt_test_data): Likewise.
45478         (cos_test_data): Likewise.
45479         (cosh_test_data): Likewise.
45480         (erf_test_data): Likewise.
45481         (erfc_test_data): Likewise.
45482         (exp_test_data): Likewise.
45483         (exp10_test_data): Likewise.
45484         (exp2_test_data): Likewise.
45485         (expm1_test_data): Likewise.
45486         (hypot_test_data): Likewise.
45487         (j0_test_data): Likewise.
45488         (j1_test_data): Likewise.
45489         (jn_test_data): Likewise.
45490         (lgamma_test_data): Likewise.
45491         (log_test_data): Likewise.
45492         (log10_test_data): Likewise.
45493         (log1p_test_data): Likewise.
45494         (log2_test_data): Likewise.
45495         (pow_test_data): Likewise.
45496         (scalb_test_data): Likewise.
45497         (sin_test_data): Likewise.
45498         (sincos_test_data): Likewise.
45499         (sinh_test_data): Likewise.
45500         (tan_test_data): Likewise.
45501         (tanh_test_data): Likewise.
45502         (tgamma_test_data): Likewise.
45503         (y0_test_data): Likewise.
45504         (y1_test_data): Likewise.
45505         (yn_test_data): Likewise.
45507         [BZ #16167]
45508         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45509         argument being NaN and avoid computations with second argument in
45510         that case.
45511         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45512         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45513         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45515 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45517         * locale/iso-639.def: Add Chitwani Tharu (the).
45519 2013-11-14  Andreas Schwab  <schwab@suse.de>
45521         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45522         word instead of empty string.
45524 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45527         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45529         (__fe_nomask_env): Likewise.
45531 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45533         * benchtests/bench-timing.h: Include time.h.
45535 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45537         [BZ #15997]
45538         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45539         to 3.4.0 for x32.
45540         * sysdeps/unix/sysv/linux/configure: Regenerated.
45542 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45544         [BZ #16151]
45545         * stdlib/strtod_l.c (round_and_return): Do not consider
45546         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45547         exponent one less than half the least subnormal exponent.
45548         * stdlib/test-strtod-round-data: Add more tests.
45549         * stdlib/tst-strtod-round.c (tests): Regenerated.
45551 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45553         [BZ #14143]
45554         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45555         (__fe_mask_env): Likewise.
45556         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45557         libm_hidden_proto and add function prototype.
45558         (__fe_mask_env): Add function prototype.
45559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45560         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45562         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45564         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45566 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45568         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45569         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45571 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45573         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45574         of htab_find_slot().
45576 2013-11-11  David S. Miller  <davem@davemloft.net>
45578         [BZ #16150]
45579         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45580         symbol in the non-vis3 case in static builds.
45581         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45582         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45583         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45584         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45586 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45588         [BZ #387]
45589         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45590         it is empty.
45592 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45594         * benchtests/Makefile: Add bench-strtod.
45595         * benchtests/bench-strtod.c: New file: strtod benchtest
45597 2013-11-11  Andreas Schwab  <schwab@suse.de>
45599         [BZ #16153]
45600         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45601         terminating NUL in key length.
45603 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45605         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45606         Add artificial ODP entry for vDSO symbol for PPC64.
45607         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45608         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45610 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45612         [BZ #15374]
45613         * nss/getent.c (services_keys): Recognize services starting with digit.
45615 2013-11-06  David S. Miller  <davem@davemloft.net>
45617         [BZ #15985]
45618         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45619         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45621 2013-11-06  Will Newton  <will.newton@linaro.org>
45623         * manual/memory.texi (Malloc Examples): Remove register
45624         keyword from examples.
45626 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45628         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45630 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45632         [BZ #6981]
45633         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45634         depending on [__GCC_IEC_559 > 0].
45635         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45636         depending on [__GCC_IEC_559_COMPLEX > 0].
45638 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45640         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45641         to iso-639.def.
45643 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45645         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45647 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45649         [BZ #16112]
45650         * malloc/malloc (malloc_info): Do not handle first bin as
45651         special case.
45653 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45655         * locale/iso-639.def: Add Central Nahuatl (nhn).
45657 2013-11-01  Bruno Haible  <bruno@clisp.org>
45659         [BZ #7003]
45660         * manual/math.texi (BSD Random): Specify range upper bound as
45661         in POSIX.
45663 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45665         * locale/iso-639.def: Add Meadow Mari (mhr).
45667 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45669         [BZ #14752], [BZ #15763]
45670         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45671         Validate name.
45672         * rt/tst_shm.c: Add test for escaping directory.
45674 2013-10-31  Andreas Schwab  <schwab@suse.de>
45676         [BZ #15917]
45677         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45678         followed by 'x' as part of digit sequence.
45679         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45681 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45683         [BZ #16037]
45684         * configure.ac: allow GNU Make 4.0 and greater.
45685         * configure: Regenerated.
45687 2013-10-30  Will Newton  <will.newton@linaro.org>
45689         [BZ #16038]
45690         * malloc/hooks.c (memalign_check): Limit alignment to the
45691         maximum representable power of two.
45692         * malloc/malloc.c (__libc_memalign): Likewise.
45693         * malloc/tst-memalign.c (do_test): Add test for very
45694         large alignment values.
45695         * malloc/tst-posix_memalign.c (do_test): Likewise.
45697 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45699         [BZ #11087]
45700         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45701         (munmap_chunk): Likewise.
45702         (mremap_chunk): Likewise.
45704 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45706         [BZ #15799]
45707         * stdlib/div.c (div): Remove obsolete code.
45708         * stdlib/ldiv.c (ldiv): Likewise.
45709         * stdlib/lldiv.c (lldiv): Likewise.
45711 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45713         [BZ #16071]
45714         * nss/nss_files/files-XXX.c (get_contents_ret): New
45715         enumerator.
45716         (get_contents): New function.
45717         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45719 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45721         * configure.in: Moved to ...
45722         * configure.ac: ... here. Change reference to configure.in
45723         to configure.ac.
45724         * sysdeps/arm/preconfigure.ac: ... here.
45725         configure.in to configure.ac.
45726         * sysdeps/gnu/configure.in: Moved to ...
45727         * sysdeps/gnu/configure.ac: ... here.
45728         * sysdeps/i386/configure.in: Moved to ...
45729         * sysdeps/i386/configure.ac: ... here.
45730         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45731         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45732         * sysdeps/mach/configure.in: Moved to ...
45733         * sysdeps/mach/configure.ac: ... here.
45734         * sysdeps/mach/hurd/configure.in: Moved to ...
45735         * sysdeps/mach/hurd/configure.ac: ... here.
45736         * sysdeps/powerpc/configure.in: Moved to ...
45737         * sysdeps/powerpc/configure.ac: ... here.
45738         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45739         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45740         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45741         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45742         * sysdeps/s390/s390-32/configure.in: Moved to ...
45743         * sysdeps/s390/s390-32/configure.ac: ... here.
45744         * sysdeps/s390/s390-64/configure.in: Moved to ...
45745         * sysdeps/s390/s390-64/configure.ac: ... here.
45746         * sysdeps/sh/configure.in: Moved to ...
45747         * sysdeps/sh/configure.ac: ... here.
45748         * sysdeps/sparc/configure.in: Moved to ...
45749         * sysdeps/sparc/configure.ac: ... here.
45750         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45751         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45752         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45753         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45754         * sysdeps/x86_64/configure.in: Moved to ...
45755         * sysdeps/x86_64/configure.ac: ... here.
45756         * sysdeps/x86_64/preconfigure.in: Moved to ...
45757         * sysdeps/x86_64/preconfigure.ac: ... here.
45758         * aclocal.m4: Change reference to configure.in to configure.ac.
45759         * config.h.in: Likewise.
45760         * manual/install.texi: Likewise.
45761         * manual/maint.texi: Likewise.
45762         * Makefile: Likewise.
45763         * malloc/Makefile: Likewise.
45764         * nscd/Makefile: Likewise.
45765         * Makeconfig: Change reference to configure.in and
45766         preconfigure.in to configure.ac and preconfigure.ac
45767         respectively.
45768         * INSTALL: Regenerated.
45769         * configure: Likewise.
45770         * sysdeps/gnu/configure: Likewise.
45771         * sysdeps/i386/configure: Likewise.
45772         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45773         * sysdeps/mach/configure: Likewise.
45774         * sysdeps/mach/hurd/configure: Likewise.
45775         * sysdeps/powerpc/configure: Likewise.
45776         * sysdeps/powerpc/powerpc32/configure: Likewise.
45777         * sysdeps/powerpc/powerpc64/configure: Likewise.
45778         * sysdeps/s390/s390-32/configure: Likewise.
45779         * sysdeps/s390/s390-64/configure: Likewise.
45780         * sysdeps/sh/configure: Likewise.
45781         * sysdeps/sparc/configure: Likewise.
45782         * sysdeps/unix/sysv/linux/configure: Likewise.
45783         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45784         * sysdeps/x86_64/configure: Likewise.
45785         * sysdeps/x86_64/preconfigure: Likewise.
45787 2013-10-29  Andreas Schwab  <schwab@suse.de>
45789         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45791 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45793         * benchtests/pow-inputs: Add new inputs.
45795         * benchtests/exp-inputs: Add new inputs.
45797         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45798         conditional check for return value.
45799         (__cos32): Likewise.
45801 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45803         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45804         to provide a boost for large inputs with word alignment.
45805         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45806         implementation based on optimized PPC64 strcpy.
45807         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45808         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45809         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45810         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45812 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45814         [BZ #2801]
45815         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45817 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45819         [BZ #14876]
45820         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45821         * time/tst-strptime.c (day_tests): Add testcase.
45823 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45825         [BZ #14029]
45826         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45828 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45830         [BZ #16074]
45831         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45832         MAP_FAILED on error.
45834 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45836         [BZ #16072]
45837         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45838         heap for large requests.
45840 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45842         [BZ #9954]
45843         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45844         result if the result has no associated interface.
45845         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45846         interface for all 127.X.Y.Z addresses.
45848 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45850         * locale/iso-639.def: Add Ligurian (lij)
45852 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45854         [BZ #15825]
45855         * sunrpc/rpc_main.c: Document rpcgen -5.
45857 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45859         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45861 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45863         [BZ #10278]
45864         * posix/glob.c: Match only directories when trailing slash is present.
45865         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45866         (main): Add testcase.
45868 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45870         [BZ #15670]
45871         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45873 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45875         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45876         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45877         AUTH_DES and cindex for FIPS 140-2.
45878         (DES Encryption): Add cindex FIPS 46-3.
45880         * locale/locarchive.h (struct locarhandle): Add fname.
45881         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45882         if an optional argument was specified to --list-archive,
45883         otherwise NULL.
45884         * locale/programs/locarchive.c (show_archive_content): Take new
45885         argument fname and pass it via ah.fname to open_archive.
45886         * locale/programs/localedef.h: Update decl.
45887         (open_archive): If AH->fname is non-null, open that file
45888         rather than the default file name, and don't ignore ENOENT.
45889         (create_archive): Set AH.fname to NULL.
45890         (delete_locales_from_archive): Likewise.
45891         (add_locales_to_archive): Likewise.
45892         * locale/programs/locfile.c (write_all_categories): Likewise.
45894 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45895             Aldy Hernandez  <aldyh@redhat.com>
45897         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45898         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45899         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45900         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45901         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45902         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45903         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45904         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45905         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45906         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45907         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45908         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45909         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45910         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45911         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45912         Likewise.
45913         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45914         Likewise.
45915         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45916         Likewise.
45917         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45918         Likewise.
45919         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45920         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45921         Likewise.
45922         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45923         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45924         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45925         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45926         Likewise.
45927         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45928         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45929         * sysdeps/powerpc/preconfigure: Likewise.
45930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45931         Likewise.
45932         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45933         Replace contents of file by #include of <fenv_libc.h>.
45934         * sysdeps/powerpc/soft-fp/sfp-machine.h
45935         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45936         and <sys/prctl.h>.
45937         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45938         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45939         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45940         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45941         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45942         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45943         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45944         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45945         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45946         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45947         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45948         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45950         Allow copysignl PLT reference to be missing.
45952 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45953             Joseph Myers  <joseph@codesourcery.com
45955         [BZ #15948]
45956         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45957         single character.
45958         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45960 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45962         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45963         * elf/tst-tls1.c: Likewise.
45964         * elf/tst-tls10.h: Likewise.
45965         * elf/tst-tls14.c: Likewise.
45966         * elf/tst-tls2.c: Likewise.
45967         * elf/tst-tls3.c: Likewise.
45968         * elf/tst-tls4.c: Likewise.
45969         * elf/tst-tls5.c: Likewise.
45970         * elf/tst-tls6.c: Likewise.
45971         * elf/tst-tls7.c: Likewise.
45972         * elf/tst-tls8.c: Likewise.
45973         * elf/tst-tls9.c: Likewise.
45974         * elf/tst-tlsmod1.c: Likewise.
45975         * elf/tst-tlsmod13.c: Likewise.
45976         * elf/tst-tlsmod13a.c: Likewise.
45977         * elf/tst-tlsmod14a.c: Likewise.
45978         * elf/tst-tlsmod16a.c: Likewise.
45979         * elf/tst-tlsmod16b.c: Likewise.
45980         * elf/tst-tlsmod2.c: Likewise.
45981         * elf/tst-tlsmod3.c: Likewise.
45982         * elf/tst-tlsmod4.c: Likewise.
45983         * elf/tst-tlsmod5.c: Likewise.
45984         * elf/tst-tlsmod6.c: Likewise.
45986 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45988         [BZ #12486]
45989         * malloc/malloc.c: remove checks for statistics.
45991 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45993         [BZ #15277]
45994         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45995         * inet/tst-network.c: Add testcase.
45997 2013-10-17  Andreas Schwab  <schwab@suse.de>
45999         [BZ #15218]
46000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46001         to determine canonical name.
46003 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46005         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46006         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46007         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46008         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46009         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46010         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46011         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46012         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46013         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46014         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46015         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46016         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46017         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46018         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46019         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46020         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46021         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46022         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46023         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46024         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46025         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46026         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46027         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46028         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46029         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46030         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46031         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46032         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46033         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46034         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46035         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46036         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46037         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46038         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46039         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46040         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46041         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46042         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46043         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46044         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46045         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46046         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46047         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46048         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46049         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46050         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46051         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46052         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46053         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46054         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46055         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46056         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46057         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46058         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46059         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46060         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46061         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46062         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46064 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46066         [BZ #16041]
46067         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46068         make result into a quiet NaN.
46070 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46072         * soft-fp/adddf3.c: Fix horizontal whitespace.
46073         * soft-fp/addsf3.c: Likewise.
46074         * soft-fp/addtf3.c: Likewise.
46075         * soft-fp/divdf3.c: Likewise.
46076         * soft-fp/divsf3.c: Likewise.
46077         * soft-fp/divtf3.c: Likewise.
46078         * soft-fp/double.h: Likewise.
46079         * soft-fp/eqdf2.c: Likewise.
46080         * soft-fp/eqsf2.c: Likewise.
46081         * soft-fp/eqtf2.c: Likewise.
46082         * soft-fp/extenddftf2.c: Likewise.
46083         * soft-fp/extended.h: Likewise.
46084         * soft-fp/extendsfdf2.c: Likewise.
46085         * soft-fp/extendsftf2.c: Likewise.
46086         * soft-fp/extendxftf2.c: Likewise.
46087         * soft-fp/fixdfdi.c: Likewise.
46088         * soft-fp/fixdfsi.c: Likewise.
46089         * soft-fp/fixdfti.c: Likewise.
46090         * soft-fp/fixsfdi.c: Likewise.
46091         * soft-fp/fixsfsi.c: Likewise.
46092         * soft-fp/fixsfti.c: Likewise.
46093         * soft-fp/fixtfdi.c: Likewise.
46094         * soft-fp/fixtfsi.c: Likewise.
46095         * soft-fp/fixtfti.c: Likewise.
46096         * soft-fp/fixunsdfdi.c: Likewise.
46097         * soft-fp/fixunsdfsi.c: Likewise.
46098         * soft-fp/fixunsdfti.c: Likewise.
46099         * soft-fp/fixunssfdi.c: Likewise.
46100         * soft-fp/fixunssfsi.c: Likewise.
46101         * soft-fp/fixunssfti.c: Likewise.
46102         * soft-fp/fixunstfdi.c: Likewise.
46103         * soft-fp/fixunstfsi.c: Likewise.
46104         * soft-fp/fixunstfti.c: Likewise.
46105         * soft-fp/floatdidf.c: Likewise.
46106         * soft-fp/floatdisf.c: Likewise.
46107         * soft-fp/floatditf.c: Likewise.
46108         * soft-fp/floatsidf.c: Likewise.
46109         * soft-fp/floatsisf.c: Likewise.
46110         * soft-fp/floatsitf.c: Likewise.
46111         * soft-fp/floattidf.c: Likewise.
46112         * soft-fp/floattisf.c: Likewise.
46113         * soft-fp/floattitf.c: Likewise.
46114         * soft-fp/floatundidf.c: Likewise.
46115         * soft-fp/floatundisf.c: Likewise.
46116         * soft-fp/floatunditf.c: Likewise.
46117         * soft-fp/floatunsidf.c: Likewise.
46118         * soft-fp/floatunsisf.c: Likewise.
46119         * soft-fp/floatunsitf.c: Likewise.
46120         * soft-fp/floatuntidf.c: Likewise.
46121         * soft-fp/floatuntisf.c: Likewise.
46122         * soft-fp/floatuntitf.c: Likewise.
46123         * soft-fp/fmadf4.c: Likewise.
46124         * soft-fp/fmasf4.c: Likewise.
46125         * soft-fp/fmatf4.c: Likewise.
46126         * soft-fp/gedf2.c: Likewise.
46127         * soft-fp/gesf2.c: Likewise.
46128         * soft-fp/getf2.c: Likewise.
46129         * soft-fp/ledf2.c: Likewise.
46130         * soft-fp/lesf2.c: Likewise.
46131         * soft-fp/letf2.c: Likewise.
46132         * soft-fp/muldf3.c: Likewise.
46133         * soft-fp/mulsf3.c: Likewise.
46134         * soft-fp/multf3.c: Likewise.
46135         * soft-fp/negdf2.c: Likewise.
46136         * soft-fp/negsf2.c: Likewise.
46137         * soft-fp/negtf2.c: Likewise.
46138         * soft-fp/op-1.h: Likewise.
46139         * soft-fp/op-2.h: Likewise.
46140         * soft-fp/op-4.h: Likewise.
46141         * soft-fp/op-8.h: Likewise.
46142         * soft-fp/op-common.h: Likewise.
46143         * soft-fp/quad.h: Likewise.
46144         * soft-fp/single.h: Likewise.
46145         * soft-fp/soft-fp.h: Likewise.
46146         * soft-fp/sqrtdf2.c: Likewise.
46147         * soft-fp/sqrtsf2.c: Likewise.
46148         * soft-fp/sqrttf2.c: Likewise.
46149         * soft-fp/subdf3.c: Likewise.
46150         * soft-fp/subsf3.c: Likewise.
46151         * soft-fp/subtf3.c: Likewise.
46152         * soft-fp/truncdfsf2.c: Likewise.
46153         * soft-fp/trunctfdf2.c: Likewise.
46154         * soft-fp/trunctfsf2.c: Likewise.
46155         * soft-fp/trunctfxf2.c: Likewise.
46156         * soft-fp/unorddf2.c: Likewise.
46157         * soft-fp/unordsf2.c: Likewise.
46158         * soft-fp/unordtf2.c: Likewise.
46160 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46162         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46163         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46165 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46167         * elf/dl-libc.c: Clear initfini list after freeing.
46169 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46171         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46172         * soft-fp/addsf3.c: Likewise.
46173         * soft-fp/addtf3.c: Likewise.
46174         * soft-fp/divdf3.c: Likewise.
46175         * soft-fp/divsf3.c: Likewise.
46176         * soft-fp/divtf3.c: Likewise.
46177         * soft-fp/double.h: Likewise.
46178         * soft-fp/eqdf2.c: Likewise.
46179         * soft-fp/eqsf2.c: Likewise.
46180         * soft-fp/eqtf2.c: Likewise.
46181         * soft-fp/extenddftf2.c: Likewise.
46182         * soft-fp/extended.h: Likewise.
46183         * soft-fp/extendsfdf2.c: Likewise.
46184         * soft-fp/extendsftf2.c: Likewise.
46185         * soft-fp/extendxftf2.c: Likewise.
46186         * soft-fp/fixdfdi.c: Likewise.
46187         * soft-fp/fixdfsi.c: Likewise.
46188         * soft-fp/fixdfti.c: Likewise.
46189         * soft-fp/fixsfdi.c: Likewise.
46190         * soft-fp/fixsfsi.c: Likewise.
46191         * soft-fp/fixsfti.c: Likewise.
46192         * soft-fp/fixtfdi.c: Likewise.
46193         * soft-fp/fixtfsi.c: Likewise.
46194         * soft-fp/fixtfti.c: Likewise.
46195         * soft-fp/fixunsdfdi.c: Likewise.
46196         * soft-fp/fixunsdfsi.c: Likewise.
46197         * soft-fp/fixunsdfti.c: Likewise.
46198         * soft-fp/fixunssfdi.c: Likewise.
46199         * soft-fp/fixunssfsi.c: Likewise.
46200         * soft-fp/fixunssfti.c: Likewise.
46201         * soft-fp/fixunstfdi.c: Likewise.
46202         * soft-fp/fixunstfsi.c: Likewise.
46203         * soft-fp/fixunstfti.c: Likewise.
46204         * soft-fp/floatdidf.c: Likewise.
46205         * soft-fp/floatdisf.c: Likewise.
46206         * soft-fp/floatditf.c: Likewise.
46207         * soft-fp/floatsidf.c: Likewise.
46208         * soft-fp/floatsisf.c: Likewise.
46209         * soft-fp/floatsitf.c: Likewise.
46210         * soft-fp/floattidf.c: Likewise.
46211         * soft-fp/floattisf.c: Likewise.
46212         * soft-fp/floattitf.c: Likewise.
46213         * soft-fp/floatundidf.c: Likewise.
46214         * soft-fp/floatundisf.c: Likewise.
46215         * soft-fp/floatunsidf.c: Likewise.
46216         * soft-fp/floatunsisf.c: Likewise.
46217         * soft-fp/floatuntidf.c: Likewise.
46218         * soft-fp/floatuntisf.c: Likewise.
46219         * soft-fp/floatuntitf.c: Likewise.
46220         * soft-fp/fmadf4.c: Likewise.
46221         * soft-fp/fmasf4.c: Likewise.
46222         * soft-fp/fmatf4.c: Likewise.
46223         * soft-fp/gedf2.c: Likewise.
46224         * soft-fp/gesf2.c: Likewise.
46225         * soft-fp/getf2.c: Likewise.
46226         * soft-fp/ledf2.c: Likewise.
46227         * soft-fp/lesf2.c: Likewise.
46228         * soft-fp/letf2.c: Likewise.
46229         * soft-fp/muldf3.c: Likewise.
46230         * soft-fp/mulsf3.c: Likewise.
46231         * soft-fp/multf3.c: Likewise.
46232         * soft-fp/negdf2.c: Likewise.
46233         * soft-fp/negsf2.c: Likewise.
46234         * soft-fp/negtf2.c: Likewise.
46235         * soft-fp/op-1.h: Likewise.
46236         * soft-fp/op-2.h: Likewise.
46237         * soft-fp/op-4.h: Likewise.
46238         * soft-fp/op-8.h: Likewise.
46239         * soft-fp/op-common.h: Likewise.
46240         * soft-fp/quad.h: Likewise.
46241         * soft-fp/single.h: Likewise.
46242         * soft-fp/soft-fp.h: Likewise.
46243         * soft-fp/sqrtdf2.c: Likewise.
46244         * soft-fp/sqrtsf2.c: Likewise.
46245         * soft-fp/sqrttf2.c: Likewise.
46246         * soft-fp/subdf3.c: Likewise.
46247         * soft-fp/subsf3.c: Likewise.
46248         * soft-fp/subtf3.c: Likewise.
46249         * soft-fp/truncdfsf2.c: Likewise.
46250         * soft-fp/trunctfdf2.c: Likewise.
46251         * soft-fp/trunctfsf2.c: Likewise.
46252         * soft-fp/trunctfxf2.c: Likewise.
46253         * soft-fp/unorddf2.c: Likewise.
46254         * soft-fp/unordsf2.c: Likewise.
46255         * soft-fp/unordtf2.c: Likewise.
46257 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46259         [BZ #15672]
46260         * misc/error.c (error_tail): Fix possible buffer overflow.
46262 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46264         [BZ #13028]
46265         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46266         address.
46268 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46270         [BZ #832]
46271         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46272         testing pipefail option.
46274 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46276         * soft-fp/double.h: Indent preprocessor directives inside #if.
46277         * soft-fp/extended.h: Likewise.
46278         * soft-fp/op-2.h: Likewise.
46279         * soft-fp/op-4.h: Likewise.
46280         * soft-fp/op-common.h: Likewise.
46281         * soft-fp/quad.h: Likewise.
46282         * soft-fp/single.h: Likewise.
46283         * soft-fp/soft-fp.h: Likewise.
46285 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46287         * iconv/iconv_prog.c: Fix typos.
46288         * stdio-common/psiginfo-data.h: Likewise.
46290 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46292         [BZ #15764]
46293         * locale/setlocale.c: Fix typo.
46295 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46297         [BZ #16036]
46298         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46299         signaling NaN arguments.
46300         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46301         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46303         [BZ #14910]
46304         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46305         unordered operands.
46306         * soft-fp/gesf2.c (__gesf2): Likewise.
46307         * soft-fp/getf2.c (__getf2): Likewise.
46308         * soft-fp/ledf2.c (__ledf2): Likewise.
46309         * soft-fp/lesf2.c (__lesf2): Likewise.
46310         * soft-fp/letf2.c (__letf2): Likewise.
46312         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46313         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46314         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46315         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46316         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46317         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46318         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46319         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46320         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46321         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46322         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46323         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46324         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46325         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46326         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46327         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46328         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46329         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46330         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46331         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46332         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46333         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46334         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46335         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46336         * soft-fp/floattidf.c (__floattidf): Likewise.
46337         * soft-fp/floattisf.c (__floattisf): Likewise.
46338         * soft-fp/floattitf.c (__floattitf): Likewise.
46339         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46340         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46341         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46342         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46343         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46344         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46345         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46346         * soft-fp/gesf2.c (__gesf2): Likewise.
46347         * soft-fp/getf2.c (__getf2): Likewise.
46348         * soft-fp/ledf2.c (__ledf2): Likewise.
46349         * soft-fp/lesf2.c (__lesf2): Likewise.
46350         * soft-fp/letf2.c (__letf2): Likewise.
46352         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46353         Undefine and redefine.
46354         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46355         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46356         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46357         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46358         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46359         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46360         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46361         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46362         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46363         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46364         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46365         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46366         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46367         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46368         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46370         [BZ #16032]
46371         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46372         without decrementing exponent if mantissa >= that for the
46373         denominator, not >.
46374         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46375         denominator, not >.  Decrement exponent in < case instead of
46376         incrementing in >= case.
46377         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46378         without decrementing exponent if mantissa >= that for the
46379         denominator, not >.
46381         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46382         computing saturated result for unsigned overflow.
46384 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46385             Jeff Law  <law@redhat.com>
46387         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46388         (atan2Mp): Add systemtap probe marker.
46389         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46390         (__ieee754_log): Add systemtap probe marker.
46391         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46392         (atanMp): Add systemtap probe marker.
46393         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46394         (tanMp): Add systemtap probe marker.
46395         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46396         (__slowexp): Add systemtap probe marker.
46397         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46398         (__slowpow): Add systemtap probe marker.
46399         * manual/probes.texi: Document probes.
46401 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46403         [BZ #15362]
46404         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46405         written.
46406         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46407         written.
46408         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46409         written to buffer but not flushed.
46410         * libio/iofwrite_u.c:  Likewise.
46411         * libio/iopadn.c:  Return bytes returned even if EOF was
46412         encountered.
46413         * libio/iowpadn.c:  Likewise.
46414         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46415         if _IO_padn does not write the whole buffer.
46416         [!COMPILE_WPRINTF] (PAD): Likewise.
46418 2013-10-10  David S. Miller  <davem@davemloft.net>
46420         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46421         directory block.
46423 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46425         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46426         instead of FSF address.
46427         * soft-fp/fixdfti.c: Likewise.
46428         * soft-fp/fixsfti.c: Likewise.
46429         * soft-fp/fixtfti.c: Likewise.
46430         * soft-fp/fixunsdfti.c: Likewise.
46431         * soft-fp/fixunssfti.c: Likewise.
46432         * soft-fp/fixunstfti.c: Likewise.
46433         * soft-fp/floattidf.c: Likewise.
46434         * soft-fp/floattisf.c: Likewise.
46435         * soft-fp/floattitf.c: Likewise.
46436         * soft-fp/floatuntidf.c: Likewise.
46437         * soft-fp/floatuntisf.c: Likewise.
46438         * soft-fp/floatuntitf.c: Likewise.
46439         * soft-fp/trunctfxf2.c: Likewise.
46441         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46442         * soft-fp/fixdfti.c: Likewise.
46443         * soft-fp/fixsfti.c: Likewise.
46444         * soft-fp/fixtfti.c: Likewise.
46445         * soft-fp/fixunsdfti.c: Likewise.
46446         * soft-fp/fixunssfti.c: Likewise.
46447         * soft-fp/fixunstfti.c: Likewise.
46448         * soft-fp/floattidf.c: Likewise.
46449         * soft-fp/floattisf.c: Likewise.
46450         * soft-fp/floattitf.c: Likewise.
46451         * soft-fp/floatuntidf.c: Likewise.
46452         * soft-fp/floatuntisf.c: Likewise.
46453         * soft-fp/floatuntitf.c: Likewise.
46454         * soft-fp/trunctfxf2.c: Likewise.
46456 2013-10-10  David S. Miller  <davem@davemloft.net>
46458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46460 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46462         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46463         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46464         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46465         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46466         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46467         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46468         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46470         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46471         for NaNs before doing comparisons on argument.
46472         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46473         Likewise.
46475 2013-10-10  Will Newton  <will.newton@linaro.org>
46477         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46478         passed to _int_memalign does not overflow.
46480 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46482         * scripts/bench.pl: Add include-sources directive.
46483         * benchtests/README: Update documentation.
46485 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46487         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46488         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46489         instead of FP_INIT_ROUNDMODE.
46490         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46491         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46493         [BZ #16034]
46494         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46495         copy class of input value.
46496         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46497         not handle exceptions.
46498         * soft-fp/negsf2.c (__negsf2): Likewise.
46499         * soft-fp/negtf2.c (__negtf2): Likewise.
46500         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46502 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46504         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46505         semicolon.  From Linux kernel.
46507 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46509         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46511 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46513         [BZ #156]
46514         * manual/socket.texi: Added statement about buffer
46515         for gethostbyname2_r.
46517 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46519         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46520         Use .p2align directive instead, throughout.
46521         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46522         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46523         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46524         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46525         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46526         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46527         * sysdeps/x86_64/strchr.S: Likewise.
46528         * sysdeps/x86_64/strrchr.S: Likewise.
46530 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46532         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46534         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46536         * sysdeps/generic/math_private.h (__mpsin1): Remove
46537         declaration.
46538         (__mpcos1): Likewise.
46539         (__mpsin): New argument __range_reduce.
46540         (__mpcos): Likewise.
46541         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46542         (slow): Use __mpsin and __mpcos.
46543         (slow1): Likewise.
46544         (slow2): Likewise.
46545         (sloww): Likewise.
46546         (sloww1): Likewise.
46547         (sloww2): Likewise.
46548         (bsloww): Likewise.
46549         (bsloww1): Likewise.
46550         (bsloww2): Likewise.
46551         (cslow2): Likewise.
46552         (csloww): Likewise.
46553         (csloww1): Likewise.
46554         (csloww2): Likewise.
46555         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46556         range_reduce.  Merge in __mpsin1.
46557         (__mpcos): Likewise.
46558         (__mpsin1): Remove.
46559         (__mpcos1): Likewise.
46561 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46563         * locale/loadlocale.c (_nl_intern_locale_data): Use
46564         LOCFILE_ALIGNED_P.
46565         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46566         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46567         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46568         obstack data is appropriately aligned.
46569         (obstack_int32_grow_fast): Likewise.
46570         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46571         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46572         (add_locale_uint32_array): Likewise.
46574 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46576         * benchtests/Makefile: Remove ARGLIST and RET variables.
46577         ($(objpfx)bench-%.c): Pass only function name to the script.
46578         * benchtests/README: Update documentation.
46579         * benchtests/acos-inputs: Add new directives.
46580         * benchtests/acosh-inputs: Likewise.
46581         * benchtests/asin-inputs: Likewise.
46582         * benchtests/asinh-inputs: Likewise.
46583         * benchtests/atan-inputs: Likewise.
46584         * benchtests/atanh-inputs: Likewise.
46585         * benchtests/cos-inputs: Likewise.
46586         * benchtests/cosh-inputs: Likewise.
46587         * benchtests/exp-inputs: Likewise.
46588         * benchtests/log-inputs: Likewise.
46589         * benchtests/pow-inputs: Likewise.
46590         * benchtests/rint-inputs: Likewise.
46591         * benchtests/sin-inputs: Likewise.
46592         * benchtests/sinh-inputs: Likewise.
46593         * benchtests/tan-inputs: Likewise.
46594         * benchtests/tanh-inputs: Likewise.
46595         * scripts/bench.pl: Add support for new directives.
46597 2013-10-07  Alan Modra  <amodra@gmail.com>
46599         * README: Fix careless merge.
46601 2013-10-05  Alan Modra  <amodra@gmail.com>
46603         * NEWS: Mention powerpc64le support and bugs fixed.
46604         * README: Both big-endian and little-endian powerpc64 supported.
46606 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46608         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46609         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46610         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46611         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46613 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46615         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46616         match prototype.
46618 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46620         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46621         Move -mhard-float appending from
46622         ports/sysdeps/powerpc/powerpc32/Makefile.
46623         [$(with-fp) = yes] (ASFLAGS): Likewise.
46624         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46625         * sysdeps/powerpc/nofpu: Move directory from
46626         ports/sysdeps/powerpc/nofpu.
46627         * sysdeps/powerpc/soft-fp: Move directory from
46628         ports/sysdeps/powerpc/soft-fp.
46629         * sysdeps/powerpc/powerpc32/405: Move directory from
46630         ports/sysdeps/powerpc/powerpc32/405.
46631         * sysdeps/powerpc/powerpc32/440: Move directory from
46632         ports/sysdeps/powerpc/powerpc32/440.
46633         * sysdeps/powerpc/powerpc32/464: Move directory from
46634         ports/sysdeps/powerpc/powerpc32/464.
46635         * sysdeps/powerpc/powerpc32/476: Move directory from
46636         ports/sysdeps/powerpc/powerpc32/476.
46637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46638         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46640         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46642         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46644         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46646         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46647         * README: Update for powerpc-*-linux-gnu software floating point
46648         support in libc.
46650         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46651         case to powerpc/powerpc32*.
46652         * sysdeps/unix/sysv/linux/configure: Regenerated.
46654         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46655         (_FPU_MASK_OM): Define as 0x04.
46656         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46657         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46658         0x00c10080.
46659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46660         0x0000003c.
46661         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46664         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46665         getcontext_e500.
46666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46667         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46668         setcontext_e500.
46669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46670         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46671         and setcontext_e500.
46673 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46675         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46677 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46679         * manual/threads.texi (Default Thread Attributes): Fix typo.
46681 2013-10-04  Will Newton  <will.newton@linaro.org>
46683         * malloc/Makefile: Add tst-memalign.
46684         * malloc/tst-memalign.c: New file.
46686         * malloc/tst-posix_memalign.c: Add comments.
46687         (do_test): Add comments and call free on all potentially
46688         allocated pointers. Add space after cast.
46690         * malloc/tst-pvalloc.c: Add comments.
46691         (do_test): Add comments and call free on all potentially
46692         allocated pointers. Remove duplicate check for NULL pointer.
46693         Add space after cast.
46695         * malloc/tst-valloc.c: Add comments.
46696         (do_test): Add comments and call free on all potentially
46697         allocated pointers. Remove duplicate check for NULL pointer.
46698         Add space after cast.
46700 2013-10-04  Alan Modra  <amodra@gmail.com>
46702         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46703         Use stdint types in rather than __attribute__((mode())).
46704         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46706 2013-10-04  Alan Modra  <amodra@gmail.com>
46708         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46709         Correct handling of unaligned relocs for little-endian.
46710         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46712 2013-10-04  Alan Modra  <amodra@gmail.com>
46714         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46715         * configure: Regenerate.
46716         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46717         * shlib-versions: Likewise.
46719 2013-10-04  Alan Modra  <amodra@gmail.com>
46721         * string/tester.c (test_memrchr): Increment reported test cycle.
46723 2013-10-04  Alan Modra  <amodra@gmail.com>
46725         * string/test-memcpy.c (do_one_test): When reporting errors, print
46726         string address and don't overrun end of string.
46728 2013-10-04  Alan Modra  <amodra@gmail.com>
46730         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46731         insrdi.  Make better use of reg selection to speed exit slightly.
46732         Schedule entry path a little better.  Remove useless "are we done"
46733         checks on entry to main loop.  Handle wrapping around zero address.
46734         Correct main loop count.  Handle single left-over word from main
46735         loop inline rather than by using loop_small.  Remove extra word
46736         case in loop_small caused by wrong loop count.  Add little-endian
46737         support.
46738         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46739         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46740         cache hint.
46741         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46742         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46743         support.  Avoid rlwimi.
46744         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46746 2013-10-04  Alan Modra  <amodra@gmail.com>
46748         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46749         insrdi.  Formatting.
46750         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46751         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46752         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46753         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46754         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46755         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46757 2013-10-04  Alan Modra  <amodra@gmail.com>
46759         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46760         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46761         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46762         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46763         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46764         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46765         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46766         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46767         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46768         use of regs.  Use power7 mtocrf.  Tidy function tails.
46770 2013-10-04  Alan Modra  <amodra@gmail.com>
46772         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46773         Formatting.  Consistently use rXXX register defines or rN defines.
46774         Use early exit labels that avoid restoring unused non-volatile regs.
46775         Make cr field use more consistent with rWORDn compares.  Rename
46776         regs used as shift registers for unaligned loop, using rN defines
46777         for short lifetime/multiple use regs.
46778         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46779         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46780         addi 1,1,64 to pop stack frame.  Simplify return value code.
46781         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46783 2013-10-04  Alan Modra  <amodra@gmail.com>
46785         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46786         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46787         rather than rlwimi.
46788         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46789         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46790         little-endian support.  Correct typos.
46791         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46792         rather than rlwimi.
46793         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46794         in loop and entry code to keep "and." results.
46795         (strchr): Add little-endian support.  Comment.  Move cntlzd
46796         earlier in tail.
46797         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46799 2013-10-04  Alan Modra  <amodra@gmail.com>
46801         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46802         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46803         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46804         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46806 2013-10-04  Alan Modra  <amodra@gmail.com>
46808         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46809         (rTMP): Define as r11.
46810         (strcmp): Add little-endian support.  Optimise tail.
46811         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46812         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46813         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46814         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46815         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46816         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46817         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46819 2013-10-04  Alan Modra  <amodra@gmail.com>
46821         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46822         little-endian support.  Remove unnecessary "are we done" tests.
46823         Handle "s" wrapping around zero and extremely large "size".
46824         Correct main loop count.  Handle single left-over word from main
46825         loop inline rather than by using small_loop.  Correct comments.
46826         Delete "zero" tail, use "end_max" instead.
46827         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46829 2013-10-04  Alan Modra  <amodra@gmail.com>
46831         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46832         support.  Don't branch over align.
46833         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46834         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46835         support.  Rearrange tmp reg use to suit.  Comment.
46836         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46838 2013-10-04  Alan Modra  <amodra@gmail.com>
46840         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46842 2013-10-04  Alan Modra  <amodra@gmail.com>
46844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46845         conditional form of branch and link when obtaining pc.
46846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46848 2013-10-04  Alan Modra  <amodra@gmail.com>
46850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46851         HIWORD/LOWORD.
46852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46855 2013-10-04  Alan Modra  <amodra@gmail.com>
46857         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46858         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46859         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46860         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46861         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46862         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46863         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46864         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46865         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46866         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46868 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46869             Alistair Popple <alistair@ozlabs.au.ibm.com>
46870             Alan Modra <amodra@gmail.com>
46872         [BZ #15723]
46873         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46874         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46875         _dl_hwcap access for little-endian.
46876         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46877         destroy vmx regs when saving unaligned.
46878         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46879         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46880         destroy vmx regs when saving unaligned.
46882 2013-10-04  Alan Modra  <amodra@gmail.com>
46884         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46885         Don't use a union to pack hi/low value.
46887 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46889         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46890         for little-endian.
46891         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46892         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46893         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46894         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46895         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46897 2013-10-04  Alan Modra  <amodra@gmail.com>
46899         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46900         constants to usual value for .cst8 section, and remove redundant
46901         high address load.
46902         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46903         constant for 0x1p52.  Load little-endian words of double from
46904         correct stack offsets.
46906 2013-10-04  Alan Modra  <amodra@gmail.com>
46908         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46909         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46910         words of double from correct stack offsets.
46911         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46912         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46913         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46914         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46915         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46916         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46917         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46918         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46919         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46920         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46921         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46922         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46923         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46924         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46925         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46926         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46927         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46929 2013-10-04  Alan Modra  <amodra@gmail.com>
46931         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46932         64-bit int/double union.
46933         (_FPU_SETCW): Likewise.
46934         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46935         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46937 2013-10-04  Alan Modra  <amodra@gmail.com>
46939         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46940         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46942 2013-10-04  Alan Modra  <amodra@gmail.com>
46944         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46945         use vector int constants.
46946         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46948 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46950         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46951         array with long long.
46952         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46953         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46954         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46955         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46956         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46957         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46958         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46959         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46960         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46961         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46962         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46963         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46964         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46966 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46968         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46969         (__signbit): Likewise.  Correct for little-endian.
46970         (__signbitl): Call __signbit.
46971         (lrint): Correct for little-endian.
46972         (lrintf): Call lrint.
46974 2013-10-04  Alan Modra  <amodra@gmail.com>
46976         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46977         union 32-bit int array member with 64-bit int array.
46978         (t515, tm256): Double rather than long double.
46979         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46981 2013-10-04  Alan Modra  <amodra@gmail.com>
46983         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46984         Delete.
46985         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46986         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46987         version of math_ldbl.h.
46989 2013-10-04  Alan Modra  <amodra@gmail.com>
46991         [BZ #15734], [BZ #15735]
46992         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46993         all uses of ieee875 long double macros and unions.  Simplify test
46994         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46995         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46996         normalize after ldbl_extract_mantissa, and don't add hidden bit
46997         already handled.  Don't treat low word of ieee854 mantissa like
46998         low word of IBM long double and mask off bit when testing for
46999         zero.
47000         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47001         all uses of ieee875 long double macros and unions.  Simplify tests
47002         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47003         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47004         two1022, instead use their values.  Recognise that tests for large
47005         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47006         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47007         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47008         test for 0.0L and nan.  Correct negation.
47009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47010         ieee875 long double macros and unions.  Correct output for large
47011         magnitude x.  Correct absolute value calculation.
47012         (__erfcl): Likewise.
47013         * math/libm-test.inc: Add tests for errors discovered in IBM long
47014         double versions of fmodl, remainderl, erfl and erfcl.
47016 2013-10-04  Alan Modra  <amodra@gmail.com>
47018         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47019         all uses of ieee854 long double macros and unions.  Simplify tests
47020         for long doubles that are fully specified by the high double.
47021         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47022         Likewise.
47023         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47024         Remove dead code too.
47025         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47026         (__ieee754_ynl): Likewise.
47027         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47028         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47029         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47030         Remove dead code too.
47031         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47032         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47033         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47034         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47035         Simplify.
47036         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47037         Simplify.
47038         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47039         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47040         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47041         Comment on variable precision.
47042         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47043         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47044         Likewise.
47045         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47046         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47047         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47048         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47049         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47051 2013-10-04  Alan Modra  <amodra@gmail.com>
47053         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47054         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47055         all uses of ieee854 long double macros and unions.
47056         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47057         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47058         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47059         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47060         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47061         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47062         Likewise.
47063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47064         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47065         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47066         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47067         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47068         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47069         Simplify sign and nan test too.
47070         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47071         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47072         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47073         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47074         Likewise.
47075         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47076         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47077         Likewise.
47078         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47079         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47080         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47081         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47082         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47085 2013-10-04  Alan Modra  <amodra@gmail.com>
47087         * stdio-common/printf_size.c (__printf_size): Don't use
47088         union ieee854_long_double in fpnum union.
47089         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47090         signbit macro to retrieve sign from long double.
47091         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47092         retrieve sign from long double.
47093         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47094         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47095         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47096         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47097         * math/test-misc.c (main): Don't use union ieee854_long_double.
47099 2013-10-04  Alan Modra  <amodra@gmail.com>
47101         [BZ #15680]
47102         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47103         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47104         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47105         calculation.  Remove unnecessary test for denormal exponent.
47106         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47107         Correct handling of denormals.  Avoid undefined shift behaviour.
47108         Correct normalisation of low mantissa when low double is denormal.
47109         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47110         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47111         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47112         Correct normalisation of low mantissa.  Test for overflow of high
47113         mantissa and normalise.
47114         (ldbl_nearbyint): Use more readable constant for two52.
47115         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47116         (__mpn_construct_long_double): Fix test for overflow of high
47117         mantissa and correct normalisation.  Avoid undefined shift.
47119 2013-10-04  Alan Modra  <amodra@gmail.com>
47121         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47122         (union ibm_extended_long_double): Define as an array of ieee754_double.
47123         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47124         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47125         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47126         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47127         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47128         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47129         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47130         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47131         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47132         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47133         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47135 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47137         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47138         page size instead of calling getpagesize.
47140         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47141         (LOCFILE_ALIGN_MASK): Likewise.
47142         (LOCFILE_ALIGN_UP): Likewise.
47143         (LOCFILE_ALIGNED_P): Likewise.
47144         * locale/programs/ld-collate.c (collate_output): Use the new
47145         macros instead of __alignof__ (int32_t).
47146         * locale/weight.h (findidx): Likewise.
47148 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47150         [BZ #431]
47151         * manual/string.texi: Fix strncat and wcsncat.
47153 2013-10-03  Brooks Moses  <bmoses@google.com>
47155         [BZ #15915]
47156         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47157         * Makerules: ...here, and adjust associated comments.
47159 2013-10-02  Will Newton  <will.newton@linaro.org>
47161         * malloc/Makefile: Add tst-pvalloc.
47162         * malloc/tst-pvalloc.c: New file.
47164 2013-10-02  Will Newton  <will.newton@linaro.org>
47166         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47167         improve test coverage.
47169 2013-10-02  Will Newton  <will.newton@linaro.org>
47171         * malloc/Makefile: Add tst-posix_memalign.
47172         * malloc/tst-posix_memalign.c: New file.
47174 2013-10-01  Eric Blake  <eblake@redhat.com>
47176         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47177         Use __THROWNL rather than __THROW on static functions.
47179 2013-09-30  Petr Machata  <pmachata@redhat.com>
47181         * elf/elf.h (R_AARCH64_ABS16): New macro.
47182         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47183         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47184         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47185         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47186         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47187         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47188         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47189         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47190         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47191         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47192         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47193         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47194         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47195         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47196         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47197         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47198         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47199         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47200         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47201         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47202         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47203         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47204         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47205         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47206         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47207         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47208         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47209         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47210         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47211         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47212         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47213         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47214         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47215         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47216         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47217         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47218         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47219         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47220         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47221         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47222         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47223         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47224         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47225         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47226         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47227         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47228         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47229         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47230         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47231         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47232         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47233         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47234         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47235         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47236         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47237         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47238         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47239         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47240         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47241         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47242         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47243         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47244         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47245         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47246         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47247         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47248         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47249         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47250         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47251         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47252         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47253         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47254         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47255         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47256         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47257         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47258         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47259         (R_AARCH64_TLSDESC_LDR): Likewise.
47260         (R_AARCH64_TLSDESC_ADD): Likewise.
47261         (R_AARCH64_TLSDESC_CALL): Likewise.
47263 2013-09-30  Andreas Schwab  <schwab@suse.de>
47265         [BZ #15048]
47266         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47267         the nss database lookup.
47268         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47271 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47273         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47275 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47277         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47278         ${Bash-specific parameter/pattern/string} parameter expansion.
47279         * sysdeps/unix/make-syscalls.sh: Likewise.
47281 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47283         * sysdeps/sh/stackguard-macros.h: New file.
47285 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47289         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47290         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47291         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47292         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47294 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47296         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47297         Fix thread ID register.
47299 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47301         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47302         [POSIX || UNIX98]: Require rather than permitting all symbols from
47303         <time.h>.
47304         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47305         element of struct sched_param.
47306         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47307         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47308         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47309         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47310         constant.
47312 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47314         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47315         argument calculation.
47317 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47319         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47320         Expect macro.
47321         [POSIX] (pthread_attr_t): Do not require type.
47322         [POSIX] (pthread_cond_t): Likewise.
47323         [POSIX] (pthread_condattr_t): Likewise.
47324         [POSIX] (pthread_key_t): Likewise.
47325         [POSIX] (pthread_mutex_t): Likewise.
47326         [POSIX] (pthread_mutexattr_t): Likewise.
47327         [POSIX] (pthread_once_t): Likewise.
47328         [POSIX] (pthread_t): Likewise.
47329         [POSIX-based standards] (pthread_atfork): Expect function.
47331 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47332             Richard Sandiford  <richard@codesourcery.com>
47334         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47335         (swap_endianness_p): New extern variable.
47336         (set_big_endian): New inline function.
47337         (maybe_swap_uint32): Likewise.
47338         (maybe_swap_uint32_array): Likewise.
47339         (maybe_swap_uint32_obstack): Likewise.
47340         * locale/programs/locfile.c: Include <stdbool.h>.
47341         (swap_endianness_p): New variable.
47342         (add_locale_uint32): Call maybe_swap_uint32.
47343         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47344         (write_locale_data): Call maybe_swap_uint32_array.
47345         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47346         maybe_swap_uint32.
47347         (obstack_int32_grow_fast): Likewise.
47348         (output_weightwc): Call maybe_swap_uint32_obstack.
47349         (collate_output): Likewise.
47350         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47351         (OPT_LITTLE_ENDIAN): Likewise.
47352         (options): Add --little-endian and --big-endian options.
47353         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47354         * locale/programs/locarchive.c: Include "locfile.h".
47355         (GET): New macro.
47356         (SET): Likewise.
47357         (INC): Likewise.
47358         (create_archive): Use the new macros to access fields of
47359         structures directly mapped from or written to locale archives.
47360         (oldlocrecentcmp): Likewise.
47361         (enlarge_archive): Likewise.
47362         (insert_name): Likewise.
47363         (add_alias): Likewise.
47364         (add_locale): Likewise.
47365         (delete_locales_from_archive): Likewise.
47366         (show_archive_content): Likewise.
47367         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47368         locale data.
47370 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47372         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47373         http://www.gnu.org/doc/freemanuals.texi.
47374         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47376 2013-09-24  Will Newton  <will.newton@linaro.org>
47378         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47379         macro.
47381 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47383         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47384         unsigned char.
47386 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47388         * manual/threads.texi (POSIX Threads): Fix a typo.
47390 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47392         [BZ #14547]
47393         * string/tst-strcoll-overflow.c: New test case.
47394         * string/Makefile (xtests): Add tst-strcoll-overflow.
47395         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47396         cache if string sizes may cause integer overflow.
47398         [BZ #14547]
47399         * string/strcoll_l.c (coll_seq): New members rule, idx,
47400         save_idx and back_us.
47401         (get_next_seq_nocache): New function.
47402         (do_compare_nocache): New function.
47403         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47404         when malloc fails.
47406 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47408         [BZ #15754]
47409         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47410         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47411         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47413         [BZ #15754]
47414         * elf/Makefile (tests): Add tst-ptrguard1.
47415         (tests-static): Add tst-ptrguard1-static.
47416         (tst-ptrguard1-ARGS): Define.
47417         (tst-ptrguard1-static-ARGS): Define.
47418         * elf/tst-ptrguard1.c: New file.
47419         * elf/tst-ptrguard1-static.c: New file.
47420         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47421         * sysdeps/i386/stackguard-macros.h: Likewise.
47422         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47423         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47424         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47425         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47426         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47427         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47429 2013-09-23  Hector Marco  <hecmargi@upv.es>
47430             Ismael Ripoll  <iripoll@disca.upv.es>
47431             Carlos O'Donell  <carlos@redhat.com>
47433         [BZ #15754]
47434         * sysdeps/generic/stackguard-macros.h: Define
47435         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47436         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47437         Define __pointer_chk_guard_local.
47438         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47439         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47441 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47443         [BZ #15859]
47444         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47446 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47448         * include/string.h (__ffs): Declare as hidden.
47449         * string/ffs.c (__ffs): Define as hidden.
47450         * sysdeps/i386/ffs.c (__ffs): Likewise.
47451         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47452         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47453         * sysdeps/s390/ffs.c (__ffs): Likewise.
47454         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47456 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47458         * NEWS: Mention malloc probes.
47460         * malloc/arena.c (new_heap): New memory_heap_new probe.
47461         (grow_heap): New memory_heap_more probe.
47462         (shrink_heap): New memory_heap_less probe.
47463         (heap_trim): New memory_heap_free probe.
47464         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47465         (systrim): New memory_sbrk_less probe.
47466         * manual/probes.texi: Document them.
47468         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47469         * manual/probes.texi: Document it.
47471         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47472         (__libc_realloc): Add memory_realloc_retry probe.
47473         (__libc_memalign): Add memory_memalign_retry probe.
47474         (__libc_valloc): Add memory_valloc_retry probe.
47475         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47476         (__libc_calloc): Add memory_calloc_retry probe.
47477         * manual/probes.texi: Document them.
47479         * malloc/arena.c (get_free_list): Add probe
47480         memory_arena_reuse_free_list.
47481         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47482         and memory_arena_reuse.
47483         (arena_get2) [!PER_THREAD]: Likewise.
47484         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47485         memory_arena_reuse_realloc.
47486         * manual/probes.texi: Document them.
47488         * malloc/malloc.c (__libc_free): Add
47489         memory_mallopt_free_dyn_thresholds probe.
47490         (__libc_mallopt): Add multiple memory_mallopt probes.
47491         * manual/probes.texi: Document them.
47493         * malloc/malloc.c: Include stap-probe.h.
47494         (__libc_mallopt): Add memory_mallopt probe.
47495         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47496         * manual/probes.texi: New.
47497         * manual/Makefile (chapters): Add probes.
47498         * manual/threads.texi: Set next node.
47500 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47502         [BZ #15963, #13985]
47503         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47504         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47505         Add `Chinese' to `nan' entry name.
47507 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47509         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47510         (POLYNOMIAL): Likewise.
47511         (TAYLOR_SINCOS): Likewise.
47512         (TAYLOR_SLOW): Likewise.
47513         (__sin): Use TAYLOR_SINCOS.
47514         (__cos): Likewise.
47515         (slow): Use TAYLOR_SLOW.
47516         (sloww): Likewise.
47517         (bsloww): Likewise.
47518         (csloww): Likewise.
47520 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47522         * stdlib/strtod_l.c: Fix buffer overrun.
47524 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47526         * benchtests/Makefile (bench): Add sincos.
47527         * benchtests/bench-sincos.c: New file.
47529         * math/libm-test.inc (cos_test_data): New test inputs.
47530         (sin_test_data): Likewise.
47532         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47533         macro.
47534         (__sin): Use it.
47535         (__cos): Likewise.
47536         (slow1): Likewise.
47537         (slow2): Likewise.
47538         (sloww1): Likewise.
47539         (sloww2): Likewise.
47540         (bsloww1): Likewise.
47541         (bsloww2): Likewise.
47542         (cslow2): Likewise.
47543         (csloww1): Likewise.
47544         (csloww2): Likewise.
47546         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47547         function.
47548         (__sin): Use it.
47549         (__cos): Likewise.
47551         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47552         gotos.
47553         (__cos): Likewise.
47555 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47557         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47558         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47559         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47560         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47561         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47562         * elf/cache.c (print_entry): Handle the new cache flags.
47564 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47565             Aldy Hernandez  <aldyh@redhat.com>
47567         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47568         Change condition to [_SOFT_FLOAT].
47569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47581         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47584         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47585         declaration.
47587 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47589         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47590         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47591         (__longjmp): Use LOAD_GP to load saved GPRs.
47592         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47593         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47594         (__sigsetjmp): Use SAVE_GP to save GPRs.
47596         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47597         Do not append -msoft-float.
47598         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47600 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47602         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47604 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47606         [BZ #15966]
47607         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47608         (_FPU_GETCW): Use initial "__" on variable and field names but not
47609         on macro parameter name.
47610         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47611         parentheses around reference to macro parameter.
47613 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47615         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47616         prototype.
47617         (ctype_startup): Use uint32_t in cast and sizeof for
47618         ctype->charnames.
47620 2013-09-11  Jia Liu  <proljc@gmail.com>
47622         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47623         __daddr_t_defined.
47624         [__FreeBSD__]: Likewise.
47626 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47628         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47629         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47630         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47631         (strchr): Remove __strchr_sse42 ifunc selection.
47632         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47633         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47635 2013-09-11  Will Newton  <will.newton@linaro.org>
47637         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47638         parameter to RES. Remove hardcoded 1000 value.
47639         * benchtests/bench-skeleton.c (main): Pass RES parameter
47640         to TIMING_INIT and multiply result by 1000.
47642 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47646 2013-09-11  Andreas Schwab  <schwab@suse.de>
47648         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47649         if not defined.
47650         (O_TMPFILE) [__USE_GNU]: Define.
47651         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47652         Define.
47654 2013-09-11  Will Newton  <will.newton@linaro.org>
47656         [BZ #15857]
47657         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47658         does not overflow.
47660 2013-09-11  Will Newton  <will.newton@linaro.org>
47662         [BZ #15856]
47663         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47664         does not overflow.
47666 2013-09-11  Will Newton  <will.newton@linaro.org>
47668         [BZ #15855]
47669         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47670         does not overflow.
47672 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47674         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47675         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47676         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47677         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47678         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47680 2013-09-10  Allan McRae  <allan@archlinux.org>
47682         [BZ #15748]
47683         * manual/arith.texi (Parsing of Floats): Clarify
47684         cross-reference.
47686         [BZ #15849]
47687         * manual/install.texi (Running make install): Mention
47688         --enable-pt-chown.
47689         * INSTALL: Regenerated.
47691 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47693         * csu/init-first.c (_init): Remove the !SHARED condition around
47694         FPU control word initialization.
47695         * elf/dl-support.c (_dl_fpu_control): New variable.
47696         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47697         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47698         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47699         * math/test-fpucw-static.c: New file.
47700         * math/test-fpucw-ieee.c: New file.
47701         * math/test-fpucw-ieee-static.c: New file.
47702         * math/Makefile (tests): Add `test-fpucw-ieee' and
47703         `$(tests-static)'.
47704         (tests-static): New variable.
47705         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47706         dependency to...
47707         [($(build-shared),yes)]
47708         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47709         ... this.
47710         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47711         New dependency.
47713 2013-09-09  Allan McRae  <allan@archlinux.org>
47715         [BZ #15939]
47716         * manual/string.texi (Collation Functions): Fix typo in
47717         strcoll example.
47718         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47720         [BZ #15893]
47721         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47723         [BZ #15892]
47724         * libio/memstream.c (open_memstream): Fix memory leak.
47725         * libio/wmemstream.c (open_wmemstream): Likewise.
47727         [BZ #15895]
47728         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47730 2013-09-09  Will Newton  <will.newton@linaro.org>
47732         * malloc/Makefile: Add tst-realloc to tests.
47733         * malloc/tst-realloc.c: New file.
47735 2013-09-09  Allan McRae  <allan@archlinux.org>
47737         [BZ #15844]
47738         * COPYING: Update from GNU website to fix FSF address.
47739         * COPYING.LIB: Likewise.
47741 2013-09-06  David S. Miller  <davem@davemloft.net>
47743         * po/zh_TW.po: Update Chinese (traditional) translation from
47744         translation project.
47746 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47747             Joseph Myers  <joseph@codesourcery.com>
47749         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47750         "localeinfo.h".
47751         (obstack_chunk_alloc): New macro.
47752         (obstack_chunk_free): Likewise.
47753         (record_offset): New function.
47754         (init_locale_data): Likewise.
47755         (align_locale_data): Likewise.
47756         (add_locale_empty): Likewise.
47757         (add_locale_raw_data): Likewise.
47758         (add_locale_raw_obstack): Likewise.
47759         (add_locale_string): Likewise.
47760         (add_locale_wstring): Likewise.
47761         (add_locale_uint32): Likewise.
47762         (add_locale_uint32_array): Likewise.
47763         (add_locale_char): Likewise.
47764         (start_locale_structure): Likewise.
47765         (end_locale_structure): Likewise.
47766         (start_locale_prelude): Likewise.
47767         (end_locale_prelude): Likewise.
47768         (write_locale_data): Take locale_file structure rather than an
47769         iovec.
47770         * locale/programs/locfile.h: Include "obstack.h".
47771         (struct locale_file): Change to store locale file contents instead
47772         of header.
47773         (init_locale_data): New prototype.
47774         (align_locale_data): Likewise.
47775         (add_locale_empty): Likewise.
47776         (add_locale_raw_data): Likewise.
47777         (add_locale_raw_obstack): Likewise.
47778         (add_locale_string): Likewise.
47779         (add_locale_wstring): Likewise.
47780         (add_locale_uint32): Likewise.
47781         (add_locale_uint32_array): Likewise.
47782         (add_locale_char): Likewise.
47783         (start_locale_structure): Likewise.
47784         (end_locale_structure): Likewise.
47785         (start_locale_prelude): Likewise.
47786         (end_locale_prelude): Likewise.
47787         (write_locale_data): Update prototype.
47788         * locale/programs/3level.h (struct TABLE): Remove result field.
47789         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47790         Use new locale_file interface.
47791         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47792         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47793         * locale/programs/ld-address.c (address_output): Use new
47794         locale_file interface.
47795         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47796         NO_ADD_LOCALE.
47797         (collate_finish): Don't call collseq_table_finalize.
47798         (collate_output): Use new locale_file interface.
47799         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47800         in file.
47801         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47802         (TABLE): Move defines earlier in file.
47803         (ELEMENT): Likewise.
47804         (DEFAULT): Likewise.
47805         (wctrans_table_add): Move macro and inline function earlier in
47806         file.
47807         (struct wctype_table): Move type earlier in file.
47808         (add_locale_wctype_table): New static prototype.
47809         (struct locale_ctype_t): Use logical types instead of struct iovec
47810         pointers for members.
47811         (ctype_output): Use new locale_file interface.
47812         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47813         new locale_file interface.
47814         (allocate_arrays): Update for use of new locale_file interface.
47815         * locale/programs/ld-identification.c (identification_output): Use
47816         new locale_file interface.
47817         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47818         * locale/programs/ld-messages.c (messages_output): Likewise.
47819         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47820         * locale/programs/ld-name.c (name_output): Likewise.
47821         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47822         * locale/programs/ld-paper.c (paper_output): Likewise.
47823         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47824         * locale/programs/ld-time.c (time_output): Likewise.
47826 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47828         * benchtests/Makefile: Add memrchr benchmark.
47829         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47830         benchmark as memrchr.
47831         * benchtests/bench-memrchr-ifunc.c: New file.
47832         * benchtests/bench-memrchr.c: New file.
47834 2013-09-06   Will Newton  <will.newton@linaro.org>
47836         * benchtests/Makefile (string-bench): Add memcpy.
47838 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47839             Cong Wang  <amwang@redhat.com>
47841         [BZ #15850]
47842         * sysdeps/unix/sysv/linux/bits/in.h
47843         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47844         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47845         before __USE_KERNEL_IPV6_DEFS uses.
47846         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47847         IPPROTO_BEETPH.
47848         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47849         sockaddr_in6, or ipv6_mreq.
47851 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47853         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47854         memory access for final bytes in some large inputs.
47855         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47857 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47859         * string/test-memrchr.c: New file.
47860         * string/test-memrchr-ifunc.c: New file.
47861         * string/Makefile: Add new memrchr testcase.
47863 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47865         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47866         fanotify_init returns EPERM.
47868 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47870         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47871         errors.
47872         (top level): Treat second token from macro or constant entries for
47873         allowed headers as allowed.
47874         * include/complex.h: Condition internal declarations on
47875         [!_ISOMAC].
47876         * include/fenv.h: Condition include of <stdbool.h> and internal
47877         declarations on [!_ISOMAC].
47879 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47881         [BZ #15923]
47882         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47884 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47886         * configure.in (--enable-versioning): Remove configure option.
47887         (libc_cv_asm_symver_directive): Remove configure test.
47888         (libc_cv_ld_version_script_option): Likewise.
47889         (VERSIONING): Remove variable and AC_SUBST.
47890         (DO_VERSIONING): Remove AC_DEFINE.
47891         * configure: Regenerated.
47892         * config.h.in (DO_VERSIONING): Remove macro.
47893         * Makerules [$(versioning) = yes]: Change conditionals to
47894         [$(build-shared) = yes].
47895         * config.make.in (versioning): Remove variable.
47896         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47897         [$(build-shared) = yes].
47898         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47899         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47900         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47901         [$(build-shared) = yes].
47902         * extra-lib.mk [$(versioning) = yes]: Likewise.
47903         * hurd/Makefile [$(versioning) = yes]: Likewise.
47904         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47905         [SHARED].
47906         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47907         [SHARED].
47908         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47909         [SHARED && !NO_HIDDEN].
47910         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47911         [SHARED].
47912         [SHARED && DO_VERSIONING]: Likewise..
47913         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47914         [$(build-shared) = yes].
47915         * manual/install.texi (--disable-versioning): Remove
47916         documentation.
47917         * INSTALL: Regenerated.
47918         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47919         to [SHARED].
47920         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47921         [$(build-shared) = yes].
47922         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47923         * sysdeps/i386/i686/multiarch/strstr-c.c
47924         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47925         [SHARED && !NO_HIDDEN].
47926         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47927         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47928         * sysdeps/powerpc/powerpc32/dl-machine.c
47929         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47930         * sysdeps/powerpc/powerpc32/sysdep.h
47931         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47932         to [SHARED && PIC && !NO_HIDDEN].
47933         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47934         conditional to [SHARED].
47936 2013-09-04   Will Newton  <will.newton@linaro.org>
47938         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47939         * benchtests/bench-string.h: Include bench-timing.h instead
47940         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47941         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47942         call to HP_TIMING_DIFF_INIT.
47943         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47944         instead of hp-timing.h macros.
47945         * benchtests/bench-memchr.c: Likewise.
47946         * benchtests/bench-memcmp.c: Likewise.
47947         * benchtests/bench-memcpy.c: Likewise.
47948         * benchtests/bench-memmem.c: Likewise.
47949         * benchtests/bench-memmove.c: Likewise.
47950         * benchtests/bench-memset.c: Likewise.
47951         * benchtests/bench-rawmemchr.c: Likewise.
47952         * benchtests/bench-strcasecmp.c: Likewise.
47953         * benchtests/bench-strcasestr.c: Likewise.
47954         * benchtests/bench-strcat.c: Likewise.
47955         * benchtests/bench-strchr.c: Likewise.
47956         * benchtests/bench-strcmp.c: Likewise.
47957         * benchtests/bench-strcpy.c: Likewise.
47958         * benchtests/bench-strcpy_chk.c: Likewise.
47959         * benchtests/bench-strlen.c: Likewise.
47960         * benchtests/bench-strncasecmp.c: Likewise.
47961         * benchtests/bench-strncat.c: Likewise.
47962         * benchtests/bench-strncmp.c: Likewise.
47963         * benchtests/bench-strncpy.c: Likewise.
47964         * benchtests/bench-strnlen.c: Likewise.
47965         * benchtests/bench-strpbrk.c: Likewise.
47966         * benchtests/bench-strrchr.c: Likewise.
47967         * benchtests/bench-strspn.c: Likewise.
47968         * benchtests/bench-strstr.c: Likewise.
47970 2013-09-04  Will Newton  <will.newton@linaro.org>
47972         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47974 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47976         [BZ #15427]
47977         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47978         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47979         * math/libm-test.inc (lgamma_test_data): Add more tests.
47980         * sysdeps/i386/fpu/libm-test-ulps: Update.
47981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47983 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47985         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47987         Add ifunc.
47988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47989         Add strcmp-sse2-unaligned
47990         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47992 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47994         * Versions.def (libc): Add GLIBC_2.19.
47996 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47998         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47999         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48001 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48003         [BZ #14155]
48004         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48005         intermediate calculations in recurrence.
48006         (__ieee754_ynf): Likewise.
48007         * math/libm-test.inc (jn_test_data): Do not allow spurious
48008         underflow exception.  Add more tests.
48009         (yn_test_data): Add more tests.
48010         * sysdeps/i386/fpu/libm-test-ulps: Update.
48011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48013 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48015         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48017 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48019         * csu/init-first.c: Fix then/than typos.
48020         * locale/programs/ld-collate.c: Likewise.
48021         * locale/programs/linereader.h: Likewise.
48022         * manual/charset.texi: Likewise.
48023         * manual/filesys.texi: Likewise.
48024         * manual/stdio.texi: Likewise.
48025         * manual/string.texi: Likewise.
48026         * stdlib/fmtmsg.c: Likewise.
48027         * sysdeps/i386/stpncpy.S: Likewise.
48028         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48029         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48030         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48031         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48033 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48035         * elf/dl-open.c: Fix typos.
48036         * iconvdata/gbbig5.c: Likewise.
48037         * iconvdata/iso-2022-jp.c: Likewise.
48038         * iconv/gconv_int.h: Likewise.
48039         * iconv/loop.c: Likewise.
48040         * nis/rpcsvc/nis.h: Likewise.
48041         * resolv/ns_name.c: Likewise.
48042         * stdio-common/vfscanf.c: Likewise.
48043         * streams/stropts.h: Likewise.
48044         * sunrpc/rpc_thread.c: Likewise.
48045         * sysdeps/i386/strpbrk.S: Likewise.
48046         * sysdeps/ieee754/k_standard.c: Likewise.
48047         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48048         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48049         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48050         * sysdeps/mach/hurd/profil.c: Likewise.
48051         * sysdeps/s390/dl-procinfo.h: Likewise.
48052         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48053         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48054         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48055         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48056         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48058 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48060         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48061         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48063 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48065         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48066         aix specific files.
48067         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48068         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48069         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48070         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48071         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48072         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48073         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48074         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48076 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48077             Roland McGrath  <roland@hack.frob.com>
48079         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48080         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48082 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48084         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48085         __executable_start symbol instead of _start.
48087 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48089         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48090         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48091         Move macros to...
48092         * sysdeps/gnu/ldsodefs.h: ... this new file.
48094         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48095         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48096         instead of ELFOSABI_LINUX.
48098         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48099         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48100         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48101         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48102         Likewise.
48103         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48104         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48105         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48106         Likewise.
48107         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48108         (ibm_extended_long_double): Add ieee_nan member.
48109         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48110         (do_test): New function.
48112         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48113         TEST_TRUNC.
48114         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48115         functions, renamed from truncdfsf_test, trunctfsf_test,
48116         trunctfdf_test.
48117         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48118         functions.
48119         (do_test): Run all these.
48121 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48123         * argp/argp-help.c: Fix typos.
48124         * argp/argp-parse.c: Likewise.
48125         * debug/backtracesyms.c: Likewise.
48126         * elf/elf.h: Likewise.
48127         * malloc/malloc.c: Likewise.
48128         * nis/nis_print.c: Likewise.
48129         * resolv/res_comp.c: Likewise.
48130         * stdlib/stdlib.h: Likewise.
48131         * sunrpc/clnt_tcp.c: Likewise.
48132         * sunrpc/clnt_udp.c: Likewise.
48133         * sunrpc/clnt_unix.c: Likewise.
48134         * sysdeps/unix/bsd/ptsname.c: Likewise.
48135         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48136         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48138         Likewise.
48139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48140         Likewise.
48141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48142         Likewise.
48143         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48145 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48147         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48148         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48150 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48152         [BZ #15897]
48153         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48154         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48155         ($(objpfx)bug-dl-leaf): New rule.
48156         ($(objpfx)bug-dl-leaf.so): Likewise.
48157         ($(objpfx)bug-dl-leaf.out): Likewise.
48158         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48159         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48160         * dlfcn/bug-dl-leaf.c: New test.
48161         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48162         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48163         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48164         (dlclose): Likewise.
48165         (dlmopen): Likewise.
48167 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48169         * include/netdb.h [!_ISOMAC]:
48170         Don't include <tls.h>.
48171         (h_errno, __libc_h_errno): Move declaration and macros out of
48172         [_LIBC_REENTRANT].
48174         * include/resolv.h [_RESOLV_H_]:
48175         Don't include <tls.h>.
48176         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48177         * resolv/res_libc.c: Don't include <tls.h>.
48178         (_res): Use __attribute__ ((nocommon)) in place of
48179         __attribute__ ((section (".bss"))).
48181         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48182         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48184         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48186         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48187         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48189         * resolv/res_mkquery.c: Include <sys/time.h>.
48191         * inet/ifreq.c: Moved to ...
48192         * sysdeps/unix/ifreq.c: ... here.
48193         * inet/ifreq.c: New file, true stub version.
48195         * socket/sa_len.c: New file.
48196         * socket/Makefile (aux): Add it.
48197         * sysdeps/unix/sysv/linux/Makefile
48198         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48199         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48200         and #include <socket/sa_len.c>.
48201         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48202         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48204         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48205         * bits/socket.h: ... here.
48207         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48208         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48209         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48211 2013-08-27  Andreas Schwab  <schwab@suse.de>
48213         [BZ #15736]
48214         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48215         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48216         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48217         * string/test-strcasecmp.c (test_main): Run tests in several
48218         locales.
48219         * string/test-strncasecmp.c (test_main): Likewise.
48221         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48222         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48223         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48224         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48225         (__strncasecmp_ssse3) [PIC]: Likewise.
48227 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48229         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48231         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48232         instead of explicitly declaring xdecrypt.
48233         * nis/nss_nis/nis-publickey.c: Likewise.
48235 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48237         [BZ #15890]
48238         * nscd/aicache.c: Include res_hconf.h.
48239         (addhstaiX): Initialize res_hconf.
48241 2013-08-26  Andreas Schwab  <schwab@suse.de>
48243         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48244         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48246 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48248         * nscd/aicache.c (addhstaiX): Fix indentation.
48250 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48252         * configure.ac: Quote $build_pt_chown test.
48253         * configure: Regenerated.
48255 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48257         [BZ #15532]
48258         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48259         * math/s_cexpf.c (__cexpf): Likewise.
48260         * math/s_cexpl.c (__cexpl): Likewise.
48261         * math/libm-test.inc (cexp_test_data): Correct expected return
48262         value for NaN + i0.  Add another test.
48264 2013-08-22  David S. Miller  <davem@davemloft.net>
48266         * po/ca.po: Update Catalan translation from translation project.
48267         * po/uk.po: Add Ukrainian translations from translation project.
48269 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48271         [BZ #15797]
48272         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48273         is infinite, not alongside NaN test.
48274         * math/s_fdimf.c (__fdimf): Likewise.
48275         * math/s_fdiml.c (__fdiml): Likewise.
48276         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48277         errno is unchanged.
48279 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48281         * argp/argp-help.c: Fix typos.
48282         * crypt/speeds.c: Likewise.
48283         * csu/check_fds.c: Likewise.
48284         * elf/dl-load.c: Likewise.
48285         * elf/dl-open.c: Likewise.
48286         * elf/reldep3.c: Likewise.
48287         * elf/reldep.c: Likewise.
48288         * elf/sprof.c: Likewise.
48289         * iconv/iconv_charmap.c: Likewise.
48290         * iconv/skeleton.c: Likewise.
48291         * iconv/strtab.c: Likewise.
48292         * io/lockf64.c: Likewise.
48293         * libio/libioP.h: Likewise.
48294         * resolv/gai_notify.c: Likewise.
48295         * resolv/ns_name.c: Likewise.
48296         * resolv/ns_samedomain.c: Likewise.
48297         * resolv/res_send.c: Likewise.
48298         * stdlib/random.c: Likewise.
48299         * sunrpc/rpc/xdr.h: Likewise.
48300         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48301         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48302         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48303         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48304         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48305         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48306         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48307         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48308         * sysdeps/mach/hurd/check_fds.c: Likewise.
48309         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48310         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48311         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48312         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48313         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48314         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48315         * sysdeps/pthread/aio_notify.c: Likewise.
48316         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48317         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48318         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48319         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48320         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48322 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48324         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48325         version if bit_Slow_SSE4_2 is set.
48326         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48327         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48329 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48331         [BZ #15867]
48332         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48333         trampoline stack frame information.
48334         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48335         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48336         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48337         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48338         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48339         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48340         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48341         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48342         sa_flags value.
48343         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48344         interrupting a syscall and set with option SA_SIGINFO.
48346 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48348         [BZ #15531]
48349         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48350         argument is infinite.
48351         * math/s_cprojf.c (__cprojf): Likewise.
48352         * math/s_cprojl.c (__cprojl): Likewise.
48353         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48354         * math/libm-test.inc (cproj_test_data): Add more tests.
48356         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48358         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48359         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48360         size.  Use __ffs to determine corresponding shift.
48362 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48363             Roland McGrath  <roland@hack.frob.com>
48365         * Makefile (INSTALL): Remove trailing blank lines from output of
48366         makeinfo.
48368 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48370         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48371         Align 32 bit compat elf_greg to 8 bytes.
48373 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48375         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48377 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48379         * string/strcoll_l.c (coll_seq): New structure.
48380         (get_next_seq_cached): New function.
48381         (get_next_seq): New function.
48382         (do_compare): New function.
48383         (STRCOLL): Use GNU style definition.  Simplify implementation
48384         by using get_next_seq, get_next_seq_cached and do_compare.
48386 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48388         [BZ #14699]
48389         CVE-2013-4237
48390         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48391         member.
48392         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48393         member.
48394         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48395         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48396         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48397         conditional.
48398         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48399         GETDENTS_64BIT_ALIGNED.
48400         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48401         * manual/filesys.texi (Reading/Closing Directory): Document
48402         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48403         strongly.
48404         * manual/conf.texi (Limits for Files): Add portability note to
48405         NAME_MAX, PATH_MAX.
48406         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48408 2013-08-13  Andreas Schwab  <schwab@suse.de>
48410         [BZ #15749]
48411         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48412         of fabs.
48413         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48414         LDBL_MAX_EXP >= 16384]: Add tests for it.
48416 2013-08-12  David S. Miller  <davem@davemloft.net>
48418         * version.h (RELEASE): Set to "development".
48419         (VERSION): Set to "2.18.90".
48420         * NEWS: Add 2.19 section.
48422 2013-08-03  David S. Miller  <davem@davemloft.net>
48424         * po/ko.po: Update Korean translation from translation project.
48426 2013-08-01  David S. Miller  <davem@davemloft.net>
48428         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48429         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48430         Bilka.
48432 2013-07-30  David S. Miller  <davem@davemloft.net>
48434         * po/fr.po: Update French translation from translation project.
48436 2013-07-28  David S. Miller  <davem@davemloft.net>
48438         * po/cs.po: Update Czech translation from translation project.
48440         * po/sv.po: Update Swedish translation from translation project.
48442 2013-07-27  David S. Miller  <davem@davemloft.net>
48444         * po/eo.po: Update Esperanto translation from translation project.
48446         * po/vi.po: Update Vietnamese translation from translation project.
48448         * po/de.po: Update German translation from translation project.
48450 2013-07-26  David S. Miller  <davem@davemloft.net>
48452         * po/bg.po: Update Bulgarian translation from translation project.
48454         * po/nl.po: Update Dutch translation from translation project.
48455         * po/pl.po: Update Polish translation from translation project.
48456         * po/ru.po: Update Russian translation from translation project.
48458 2013-07-24  David S. Miller  <davem@davemloft.net>
48460         * po/libc.pot: Update.
48462 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48464         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48465         variable page size.
48466         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48467         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48468         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48470 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48472         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48474 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48475             Andreas Schwab  <schwab@suse.de>
48476             Roland McGrath  <roland@hack.frob.com>
48477             Joseph Myers  <joseph@codesourcery.com>
48478             Carlos O'Donell  <carlos@redhat.com>
48480         [BZ #15755]
48481         * config.h.in: Define HAVE_PT_CHOWN.
48482         * config.make.in (build-pt-chown): New variable.
48483         * configure.in (--enable-pt_chown): New configure option.
48484         * configure: Regenerate.
48485         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48486         build-pt-chown is enabled.
48487         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48488         pt_chown to fix pty ownership.
48489         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48490         CLOSE_ALL_FDS.
48491         * manual/install.texi (Configuring and compiling): Mention
48492         --enable-pt_chown. Add @findex for grantpt.
48493         * INSTALL: Regenerate.
48495 2013-07-20  David S. Miller  <davem@davemloft.net>
48497         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48498         difference between 32-bit and 64-bit.
48500 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48502         [BZ #15711]
48503         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48504         Avoid system header dependency with -ffreestanding.
48505         ($(objpfx)bits/syscall%d): Likewise.
48507 2013-07-13  David S. Miller  <davem@davemloft.net>
48509         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48510         underflows from atanl/atan2l due to bug 15319.
48511         (casinh_test_data): Likewise.
48513 2013-07-07  David S. Miller  <davem@davemloft.net>
48515         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48517 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48519         * sysdeps/i386/fpu/libm-test-ulps: Update.
48520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48522 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48524         * configure.in (--enable-lock-elision): Fix message text.
48525         * INSTALL: Regenerate.
48526         * configure: Regenerate.
48528 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48532 2013-07-03  Andreas Jaeger  <aj@suse.de>
48534         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48535         define.
48536         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48537         (ptrace_peeksiginfo_args): Add.
48538         (__ptrace_peeksiginfo_flags): Add.
48539         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48540         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48541         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48543 2013-07-03  Allan McRae  <allan@archlinux.org>
48545         * sysdeps/i386/fpu/libm-test-ulps: Update.
48547 2013-07-02  David S. Miller  <davem@davemloft.net>
48549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48551 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48555 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48557         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48560 2013-07-02  Andi Kleen <ak@linux.intel.com>
48562         * config.h.in (ENABLE_LOCK_ELISION): Add.
48563         * configure.in (--enable-lock-elision): Add option.
48564         * manual/install.texi: Document --enable lock elision.
48565         * configure: Regenerate
48566         * INSTALL: Regenerate.
48568 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48570         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48571         SSE4.2 strcasecmp for libc.a.
48572         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48574 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48576         [BZ #13304]
48577         * soft-fp/op-common.h (_FP_FMA): New macro.
48578         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48579         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48580         (_FP_MUL_MEAT_1_imm): ... here.
48581         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48582         (_FP_MUL_MEAT_1_wide): ... here.
48583         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48584         (_FP_MUL_MEAT_1_hard): ... here.
48585         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48586         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48587         (_FP_MUL_MEAT_2_wide): ... here.
48588         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48589         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48590         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48591         (_FP_MUL_MEAT_2_gmp): ... here.
48592         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48593         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48594         (_FP_MUL_MEAT_4_wide): ... here.
48595         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48596         (_FP_MUL_MEAT_4_gmp): ... here.
48597         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48598         (_FP_WFRACBITS_DW_S): Likewise.
48599         (_FP_WFRACXBITS_DW_S): Likewise.
48600         (_FP_HIGHBIT_DW_S): Likewise.
48601         (FP_FMA_S): Likewise.
48602         (_FP_FRAC_HIGH_DW_S): Likewise.
48603         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48604         (_FP_WFRACBITS_DW_D): Likewise.
48605         (_FP_WFRACXBITS_DW_D): Likewise.
48606         (_FP_HIGHBIT_DW_D): Likewise.
48607         (FP_FMA_D): Likewise.
48608         (_FP_FRAC_HIGH_DW_D): Likewise.
48609         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48610         (_FP_WFRACBITS_DW_E): Likewise.
48611         (_FP_WFRACXBITS_DW_E): Likewise.
48612         (_FP_HIGHBIT_DW_E): Likewise.
48613         (FP_FMA_E): Likewise.
48614         (_FP_FRAC_HIGH_DW_E): Likewise.
48615         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48616         (_FP_WFRACBITS_DW_Q): Likewise.
48617         (_FP_WFRACXBITS_DW_Q): Likewise.
48618         (_FP_HIGHBIT_DW_Q): Likewise.
48619         (FP_FMA_Q): Likewise.
48620         (_FP_FRAC_HIGH_DW_Q): Likewise.
48621         * soft-fp/fmasf4.c: New file.
48622         * soft-fp/fmadf4.c: Likewise.
48623         * soft-fp/fmatf4.c: Likewise.
48625 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48627         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48628         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48629         Silvermont.
48630         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48631         macro.
48632         (index_Slow_SSE4_2): Likewise.
48633         (index_Prefer_PMINUB_for_stringop): Likewise.
48634         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48635         bit_Slow_SSE4_2 is set.
48636         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48637         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48639 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48641         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48642         rtld_global._dl_hwcap2.
48643         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48644         POWER8.
48645         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48646         POWER8 feature descriptions defined in _dl_hwcap2.
48647         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48648         string handling for POWER8 feature bits.
48649         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48650         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48651         _dl_powerpc_cap_flags.
48652         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48653         * sysdeps/powerpc/rtld-global-offsets.sym
48654         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48655         _dl_hwcap2 in the rtld_global_ro structure.
48657 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48659         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48660         hardware capabilities in support of AT_HWCAP2.
48661         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48662         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48663         GLRO(dl_hwcap2).
48664         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48665         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48666         explicitly the unknown a_type display mechanism is used.
48667         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48668         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48669         struct member.
48670         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48671         to macro prototype for AT_HWCAP2 support.
48672         * sysdeps/i386/dl-procinfo.h: Likewise.
48673         * sysdeps/s390/dl-procinfo.h: Likewise.
48674         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48675         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48676         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48677         return -1 for unknown a_type display fallback.
48678         * sysdeps/sparc/dl-procinfo.h: Likewise.
48679         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48680         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48682 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48684         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48685         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48687 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48689         [BZ #12492]
48690         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48691         mprotect making __stack_prot writable.
48693 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48694             Joseph Myers  <joseph@codesourcery.com>
48696         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48697         as being properly aligned.
48699 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48701         * dlfcn/modstatic5.c: New file.
48702         * dlfcn/tststatic5.c: New file.
48703         * dlfcn/Makefile (tests): Add tststatic5.
48704         (tests-static): Likewise.
48705         (modules-names): Add modstatic5.
48706         (tststatic5-ENV): New variable.
48707         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48709         [BZ #15022]
48710         * elf/dl-support.c (_dl_main_map): New variable.
48711         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48712         (_dl_nns, _dl_load_adds): Set to 1.
48713         (_dl_initial_searchlist): Refer to _dl_main_map.
48714         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48715         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48716         call to _dl_get_origin.
48717         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48718         around call_map.
48719         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48720         * dlfcn/modstatic3.c: New file.
48721         * dlfcn/tststatic3.c: New file.
48722         * dlfcn/tststatic4.c: New file.
48723         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48724         (tests-static): Likewise.
48725         (modules-names): Add modstatic3.
48726         (tststatic3-ENV, tststatic4-ENV): New variables.
48727         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48728         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48730 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48732         * configure.in (CC): Require GCC version 4.4 or later.
48733         * configure: Regenerated.
48734         * manual/install.texi (Tools for Compilation): Update GCC version
48735         requirement.
48736         * INSTALL: Regenerated.
48738 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48740         [BZ #15674]
48741         * string/test-memcmp.c (check2): New.
48742         (main): Call check2.
48744         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48746 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48748         [BZ #15022]
48749         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48750         over to...
48751         (dl_open_worker) [!SHARED]: ... here.
48753 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48755         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48757 2013-06-25  Richard Henderson  <rth@redhat.com>
48759         * locale/programs/locarchive.c: Include <libc-internal.h>
48761 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48763         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48764         trailing whitespace removed.
48766 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48768         [BZ #10283]
48769         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48770         * locale/programs/locarchive.c: Include libc-mmap.h.
48771         (prepare_address_space): Take two new outputs (the mmap base and len).
48772         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48773         values.
48774         (create_archive): Declare new mmap base and len values for
48775         prepare_address_space, and store the result in ah.
48776         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48777         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48778         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48779         Declare new mmap base and len values for
48780         prepare_address_space, and store the result in new_ah.
48781         (open_archive): Declare new mmap base and len values for
48782         prepare_address_space, and store the result in ah.
48783         (close_archive): If ah->mmap_base is not NULL, use that and
48784         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48785         * sysdeps/generic/libc-mmap.h: New file.
48787 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48789         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48790         (ALIGN_UP): Likewise.
48791         (PTR_ALIGN_DOWN): Likewise.
48792         (PTR_ALIGN_UP): Likewise.
48794 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48796         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48797         entry mapped to PPC_PLATFORM_POWER8.
48798         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48799         POWER8.
48800         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48801         (_dl_string_platform): Add case for exporting platform position for
48802         POWER8.
48803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48804         search path to sysdeps/powerpc/powerpc32/power8 directory.
48805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48806         search path to sysdeps/powerpc/powerpc64/power8 directory.
48807         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48808         power7 directories.
48809         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48810         power7 directories.
48812 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48814         * INSTALL: Regenerate.
48816         * nscd/connections.c (nscd_init): Fix comment.
48818 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48820         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48822         [BZ #15667]
48823         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48824         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48826 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48828         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48829         DL_DST_REQ_STATIC.
48830         (DL_DST_REQ_STATIC): Remove macro.
48832 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48834         [BZ #7006]
48835         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48836         with a shift of 0 bits.
48838 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48840         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48841         $(tststatic-ENV).
48843 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48845         [BZ #15655]
48846         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48848 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48850         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48851         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48852         accepts -fno-tree-loop-distribute-patterns.
48853         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48854         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48855         recursive call.
48856         * string/memset.c (memset): Likewise.
48857         * string/test-memmove.c (simple_memmove): Disable loop transformation
48858         to library calls.
48859         * string/test-memset.c (simple_memset): Likewise.
48860         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48861         * benchtests/bench-memset.c (simple_memset): Likewise.
48862         * configure: Regenerated.
48864 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48866         * math/test-misc.c (main): Ignore fesetround failure when failures
48867         of subsequent rounding tests would be ignored.
48869         [BZ #15654]
48870         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48871         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48872         * math/fegetenv.c (__fegetenv): Return 0.
48873         * math/fegetexcept.c (fegetexcept): Return 0.
48874         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48875         FE_TONEAREST.
48876         * math/feholdexcpt.c (feholdexcept): Return 0.
48877         * math/fesetenv.c (__fesetenv): Return 0.
48878         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48879         argument FE_TONEAREST.
48880         * math/feupdateenv.c (__feupdateenv): Return 0.
48881         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48883 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48885         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48886         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48887         ($(objpfx)rtld-%.os rules): Use them.
48889 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48891         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48892         fields.
48894 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48896         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48897         length of target pattern, then descending length of dependency pattern.
48898         * configure.in (AWK): Require gawk 3.1.2 or newer.
48899         * manual/install.texi (Tools for Compilation): Say that we do.
48900         * configure: Regenerated.
48902         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48903         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48904         * scripts/sysd-rules.awk: ... this new script.
48905         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48906         than a glob-style pattern.
48908 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48910         * math/test-misc.c (main): Do not treat incorrectly rounded
48911         conversions as failure unless ROUNDING_TESTS passes.
48913 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48915         [BZ #15631]
48916         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48917         restore exception state around main square root computation, then
48918         check for inexactness explicitly.
48920         * math/libm-test.inc (fma_test_data): Add another test.
48922 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48924         * manual/threads.texi (Non-POSIX Extensions): New document
48925         node.  Document pthread_getattr_default_np and
48926         pthread_setattr_default_np.
48928         * Versions.def (libpthread): Add GLIBC_2.18.
48929         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48931         Likewise.
48932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48933         Likewise.
48934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48935         Likewise.
48936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48937         Likewise.
48938         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48939         Likewise.
48940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48941         Likewise.
48942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48943         Likewise.
48944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48945         Likewise.
48946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48947         Likewise.
48949 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48952         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48954 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48955             H.J. Lu  <hjl.tools@gmail.com>
48957         [BZ #15627]
48958         * sysdeps/x86_64/rtld-memset.c: Remove file.
48959         * sysdeps/x86_64/rtld-memset.S: New file.
48961 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48963         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48964         (test_in_one_mode): Take arguments for whether the rounding mode
48965         is supported for each floating-point type.
48966         (do_test): Pass new arguments to test_in_one_mode using
48967         ROUNDING_TESTS.
48969 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48971         * posix/tst-waitid.c (do_test): Distinguish different instances of
48972         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48973         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48974         before entering the kernel for waitpid.
48976 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48978         * NEWS: Fix note on clock function precision.  Text by Roland
48979         McGrath.
48981 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48983         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48984         it into place only when and if the sanity check passes.
48986 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48988         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48989         output for whether conversion result is exact.  Take argument
48990         indicating whether type is IBM long double.
48991         (round_for_all): Change need_exact field to ibm_ld.
48992         * stdlib/tst-strtod-round.c (struct exactness): New type.
48993         (struct test): Change bool ld_ok field to struct exactness exact.
48994         (TEST): Update all definitions for change to field.
48995         (tests): Regenerate array contents.
48996         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48997         field value.  Check for IBM long double here.
48998         (do_test): Update calls to test_in_one_mode.
49000 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49002         [BZ #12515]
49003         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49004         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49006 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49008         [BZ #15605]
49009         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49010         generated by the compiler on loop optimizations.
49011         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49012         general definitions.
49014 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49016         * math/bug-nextafter.c: Include <math-tests.h>.
49017         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49018         the relevant type.
49019         * math/bug-nexttoward.c: Include <math-tests.h>.
49020         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49021         the relevant type.
49022         * math/test-misc.c: Include <math-tests.h>.
49023         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49024         the relevant type.
49026 2013-06-12  Andreas Jaeger  <aj@suse.de>
49028         * po/ia.po: Update Interlingua translation from translation
49029         project.
49031 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49033         * include/fenv.h: Include stdbool.h.
49034         (struct rm_ctx): New structure.
49035         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49036         Define macro.
49037         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49038         (SET_RESTORE_ROUNDF): Likewise.
49039         (SET_RESTORE_ROUNDL): Likewise.
49040         (SET_RESTORE_ROUND_NOEX): Likewise.
49041         (SET_RESTORE_ROUND_NOEXF): Likewise.
49042         (SET_RESTORE_ROUND_NOEXL): Likewise.
49043         (SET_RESTORE_ROUND_53BIT): Likewise.
49044         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49045         (libc_feresetround_noexf_ctx): Likewise.
49046         (libc_feresetround_noexl_ctx): Likewise.
49047         (libc_feholdsetround_53bit_ctx): Likewise.
49048         (libc_feresetround_53bit_ctx): Likewise.
49049         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49050         (libc_feholdexcept_setround_sse_ctx): New function.
49051         (libc_fesetenv_sse_ctx): Likewise.
49052         (libc_feupdateenv_sse_ctx): Likewise.
49053         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49054         (libc_feholdexcept_setround_387_ctx): Likewise.
49055         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49056         (libc_feholdsetround_387_prec_ctx): Likewise.
49057         (libc_feholdsetround_387_ctx): Likewise.
49058         (libc_feholdsetround_387_53bit_ctx): Likewise.
49059         (libc_feholdsetround_sse_ctx): Likewise.
49060         (libc_feresetround_sse_ctx): Likewise.
49061         (libc_feresetround_387_ctx): Likewise.
49062         (libc_feupdateenv_387_ctx): Likewise.
49063         (libc_feholdexcept_setroundf_ctx): Define macro.
49064         (libc_fesetenvf_ctx): Likewise.
49065         (libc_feupdateenvf_ctx): Likewise.
49066         (libc_feholdsetroundf_ctx): Likewise.
49067         (libc_feresetroundf_ctx): Likewise.
49068         (libc_feholdexcept_setround_ctx): Likewise.
49069         (libc_fesetenv_ctx): Likewise.
49070         (libc_feupdateenv_ctx): Likewise.
49071         (libc_feholdsetround_ctx): Likewise.
49072         (libc_feresetround_ctx): Likewise.
49073         (libc_feholdexcept_setroundl_ctx): Likewise.
49074         (libc_feupdateenvl_ctx): Likewise.
49075         (libc_feholdsetroundl_ctx): Likewise.
49076         (libc_feresetroundl_ctx): Likewise.
49077         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49078         (libc_feresetround_53bit_ctx): Likewise.
49080 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49082         * locale/iso-639.def: Convert to UTF-8.
49084 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49086         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49087         (EXCEPTION_TESTS_double): Likewise.
49088         (EXCEPTION_TESTS_long_double): Likewise.
49089         (EXCEPTION_TESTS): Likewise.
49090         * math/libm-test.inc (test_exceptions): Only test exceptions if
49091         EXCEPTION_TESTS (FLOAT).
49093 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49095         * benchtests/Makefile (string-bench): Add strcpy_chk and
49096         stpcpy_chk.
49097         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49098         * benchtests/bench-stpcpy_chk.c: New file.
49099         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49100         * benchtests/bench-strcpy_chk.c: New file.
49101         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49102         code.
49103         (do_test): Likewise.
49105 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49107         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49108         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49109         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49110         with tabs where appropriate.
49111         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49112         dl-procinfo.h.
49113         [PPC_PLATFORM_PPC440]: Likewise.
49114         [PPC_PLATFORM_PPC464]: Likewise.
49115         [PPC_PLATFORM_PPC476]: Likewise.
49116         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49117         ppc464, and ppc476 platform strings merging from ports/
49118         dl-procinfo.h.
49120 2013-06-11  Andreas Schwab  <schwab@suse.de>
49122         [BZ #14991]
49123         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49124         (from_ucs4_idx): Regenerate.
49125         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49126         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49127         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49128         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49129         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49130         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49131         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49132         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49133         from FROM_LOOP and TO_LOOP specific macros.
49134         (BODY): Handle combining characters.
49135         * iconvdata/BIG5HKSCS.irreversible: Update.
49136         * iconvdata/BIG5HKSCS.precomposed: New file.
49137         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49138         characters.
49139         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49141 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49143         * include/sys/time.h: Fix indentation and add copyright header.
49145         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49146         (do_test): Likewise.
49147         * string/test-memchr.c (do_one_test): Likewise.
49148         (do_test): Likewise.
49149         * string/test-memcmp.c (do_one_test): Likewise.
49150         (do_test): Likewise.
49151         * string/test-memcpy.c (do_one_test): Likewise.
49152         (do_test): Likewise.
49153         * string/test-memmem.c (do_one_test): Likewise.
49154         (do_test): Likewise.
49155         (do_random_tests): Likewise.
49156         * string/test-memmove.c (do_one_test): Likewise.
49157         (do_test): Likewise.
49158         * string/test-memset.c (do_one_test): Likewise.
49159         (do_test): Likewise.
49160         * string/test-rawmemchr.c (do_one_test): Likewise.
49161         (do_test): Likewise.
49162         * string/test-strcasecmp.c (do_one_test): Likewise.
49163         (do_test): Likewise.
49164         * string/test-strcasestr.c (do_one_test): Likewise.
49165         (do_test): Likewise.
49166         * string/test-strcat.c (do_one_test): Likewise.
49167         (do_test): Likewise.
49168         * string/test-strchr.c (do_one_test): Likewise.
49169         (do_test): Likewise.
49170         * string/test-strcmp.c (do_one_test): Likewise.
49171         (do_test): Likewise.
49172         * string/test-strcpy.c (do_one_test): Likewise.
49173         (do_test): Likewise.
49174         * string/test-string.h: Likewise.
49175         (test_init): Likewise.
49176         * string/test-strlen.c (do_one_test): Likewise.
49177         (do_test): Likewise.
49178         * string/test-strncasecmp.c (do_one_test): Likewise.
49179         (do_test): Likewise.
49180         * string/test-strncat.c (do_one_test): Likewise.
49181         (do_test): Likewise.
49182         * string/test-strncmp.c (do_one_test): Likewise.
49183         (do_test_limit): Likewise.
49184         (do_test): Likewise.
49185         * string/test-strncpy.c (do_one_test): Likewise.
49186         (do_test): Likewise.
49187         * string/test-strnlen.c (do_one_test): Likewise.
49188         (do_test): Likewise.
49189         * string/test-strpbrk.c (do_one_test): Likewise.
49190         (do_test): Likewise.
49191         * string/test-strrchr.c (do_one_test): Likewise.
49192         (do_test): Likewise.
49193         * string/test-strspn.c (do_one_test): Likewise.
49194         (do_test): Likewise.
49195         * string/test-strstr.c (do_one_test): Likewise.
49196         (do_test): Likewise.
49198         * benchtests/Makefile (string-bench): Add string benchmarks.
49199         * benchtests/bench-bcopy-ifunc.c: New file.
49200         * benchtests/bench-bcopy.c: New file.
49201         * benchtests/bench-bzero-ifunc.c: New file.
49202         * benchtests/bench-bzero.c: New file.
49203         * benchtests/bench-memccpy-ifunc.c: New file.
49204         * benchtests/bench-memccpy.c: New file.
49205         * benchtests/bench-memchr-ifunc.c: New file.
49206         * benchtests/bench-memchr.c: New file.
49207         * benchtests/bench-memcmp-ifunc.c: New file.
49208         * benchtests/bench-memcmp.c: New file.
49209         * benchtests/bench-memmem-ifunc.c: New file.
49210         * benchtests/bench-memmem.c: New file.
49211         * benchtests/bench-memmove-ifunc.c: New file.
49212         * benchtests/bench-memmove.c: New file.
49213         * benchtests/bench-mempcpy-ifunc.c: New file.
49214         * benchtests/bench-mempcpy.c: New file.
49215         * benchtests/bench-memset-ifunc.c: New file.
49216         * benchtests/bench-memset.c: New file.
49217         * benchtests/bench-rawmemchr-ifunc.c: New file.
49218         * benchtests/bench-rawmemchr.c: New file.
49219         * benchtests/bench-stpcpy-ifunc.c: New file.
49220         * benchtests/bench-stpcpy.c: New file.
49221         * benchtests/bench-stpncpy-ifunc.c: New file.
49222         * benchtests/bench-stpncpy.c: New file.
49223         * benchtests/bench-strcasecmp-ifunc.c: New file.
49224         * benchtests/bench-strcasecmp.c: New file.
49225         * benchtests/bench-strcasestr-ifunc.c: New file.
49226         * benchtests/bench-strcasestr.c: New file.
49227         * benchtests/bench-strcat-ifunc.c: New file.
49228         * benchtests/bench-strcat.c: New file.
49229         * benchtests/bench-strchr-ifunc.c: New file.
49230         * benchtests/bench-strchr.c: New file.
49231         * benchtests/bench-strchrnul-ifunc.c: New file.
49232         * benchtests/bench-strchrnul.c: New file.
49233         * benchtests/bench-strcmp-ifunc.c: New file.
49234         * benchtests/bench-strcmp.c: New file.
49235         * benchtests/bench-strcpy-ifunc.c: New file.
49236         * benchtests/bench-strcpy.c: New file.
49237         * benchtests/bench-strcspn-ifunc.c: New file.
49238         * benchtests/bench-strcspn.c: New file.
49239         * benchtests/bench-strlen-ifunc.c: New file.
49240         * benchtests/bench-strlen.c: New file.
49241         * benchtests/bench-strncasecmp-ifunc.c: New file.
49242         * benchtests/bench-strncasecmp.c: New file.
49243         * benchtests/bench-strncat-ifunc.c: New file.
49244         * benchtests/bench-strncat.c: New file.
49245         * benchtests/bench-strncmp-ifunc.c: New file.
49246         * benchtests/bench-strncmp.c: New file.
49247         * benchtests/bench-strncpy-ifunc.c: New file.
49248         * benchtests/bench-strncpy.c: New file.
49249         * benchtests/bench-strnlen-ifunc.c: New file.
49250         * benchtests/bench-strnlen.c: New file.
49251         * benchtests/bench-strpbrk-ifunc.c: New file.
49252         * benchtests/bench-strpbrk.c: New file.
49253         * benchtests/bench-strrchr-ifunc.c: New file.
49254         * benchtests/bench-strrchr.c: New file.
49255         * benchtests/bench-strspn-ifunc.c: New file.
49256         * benchtests/bench-strspn.c: New file.
49257         * benchtests/bench-strstr-ifunc.c: New file.
49258         * benchtests/bench-strstr.c: New file.
49260         * benchtests/Makefile: Disable parallel execution of targets.
49261         (string-bench): Add memcpy.
49262         (benchset): New variable to store a list of benchmark sets.
49263         (bench-func): Renamed from bench.
49264         (bench-set): New target.
49265         (bench): Depend on bench-func and bench-set.
49266         * benchtests/README: Add section on benchmark sets.
49267         * benchtests/bench-memcpy-ifunc.c: New file.
49268         * benchtests/bench-memcpy.c: New file.
49269         * benchtests/bench-string.h: New file.
49271 2013-06-11  Andreas Schwab  <schwab@suse.de>
49273         [BZ #15577]
49274         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49275         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49276         values in the triple.
49277         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49278         terminator in the group key.
49280 2013-06-11  Andreas Jaeger  <aj@suse.de>
49282         * po/zh_TW.po: Update Chinese (traditional) translation from
49283         translation project.
49285 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49287         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49288         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49289         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49290         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49291         (clock_getcpuclockid): Likewise.
49292         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49293         Add weak_alias and libc_hidden_def.
49294         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49295         * rt/clock_gettime.c (clock_gettime): Rename to
49296         __clock_gettime.  Add weak_alias and libc_hidden_def.
49297         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49298         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49299         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49300         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49301         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49302         Likewise.
49303         * rt/clock_settime.c (clock_settime): Rename to
49304         __clock_settime.  Add weak_alias and libc_hidden_def.
49305         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49307 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49309         * mach/err_boot.sub: Remove trailing whitespace.
49310         * mach/err_ipc.sub: Likewise.
49311         * mach/err_mach.sub: Likewise.
49313         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49314         (ROUNDING_TESTS_double): Likewise.
49315         (ROUNDING_TESTS_long_double): Likewise.
49316         (ROUNDING_TESTS): Likewise.
49317         * math/libm-test.inc: Include <math-tests.h>.
49318         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49319         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49320         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49321         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49323 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49325         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49326         of assigning.
49328 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49330         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49331         otherwise empty TRANS lines.
49332         * sysdeps/gnu/errlist.c: Regenerated.
49334         * catgets/gencat.c (error_print): Use (void) in function
49335         definition.
49336         * crypt/crypt_util.c (__init_des): Likewise.
49337         * crypt/speeds.c (Stop): Likewise.
49338         (main): Likewise.
49339         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49340         * inet/ruserpass.c (token): Likewise.
49341         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49342         * intl/localealias.c (extend_alias_table): Likewise.
49343         * intl/plural-exp.c (init_germanic_plural): Likewise.
49344         * libio/fcloseall.c (__fcloseall): Likewise.
49345         * libio/genops.c (_IO_flush_all): Likewise.
49346         (_IO_flush_all_linebuffered): Likewise.
49347         (_IO_cleanup): Likewise.
49348         (_IO_iter_begin): Likewise.
49349         (_IO_iter_end): Likewise.
49350         (_IO_list_lock): Likewise.
49351         (_IO_list_unlock): Likewise.
49352         (_IO_list_resetlock): Likewise.
49353         * libio/getchar.c (getchar): Likewise.
49354         * libio/getchar_u.c (getchar_unlocked): Likewise.
49355         * libio/getwchar.c (getwchar): Likewise.
49356         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49357         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49358         * login/getpt.c (__getpt): Likewise.
49359         * login/tst-utmp.c (main): Likewise.
49360         * malloc/hooks.c (__malloc_check_init): Likewise.
49361         * malloc/malloc.c (__malloc_stats): Likewise.
49362         * malloc/mtrace.c (tr_break): Likewise.
49363         (mtrace): Likewise.
49364         (muntrace): Likewise.
49365         * misc/fstab.c (endfsent): Likewise.
49366         * misc/getclktck.c (__getclktck): Likewise.
49367         * misc/getdtsz.c (__getdtablesize): Likewise.
49368         * misc/gethostid.c (gethostid): Likewise.
49369         * misc/getpagesize.c (__getpagesize): Likewise.
49370         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49371         (__get_nprocs): Likewise.
49372         (__get_phys_pages): Likewise.
49373         (__get_avphys_pages): Likewise.
49374         * misc/getttyent.c (getttyent): Likewise.
49375         (setttyent): Likewise.
49376         (endttyent): Likewise.
49377         * misc/getusershell.c (getusershell): Likewise.
49378         (endusershell): Likewise.
49379         (setusershell): Likewise.
49380         (initshells): Likewise.
49381         * misc/hsearch.c (__hdestroy): Likewise.
49382         * misc/sync.c (sync): Likewise.
49383         * misc/syslog.c (closelog_internal): Likewise.
49384         (closelog): Likewise.
49385         * misc/ttyslot.c (ttyslot): Likewise.
49386         * misc/vhangup.c (vhangup): Likewise.
49387         * posix/fork.c (__fork): Likewise.
49388         * posix/getegid.c (__getegid): Likewise.
49389         * posix/geteuid.c (__geteuid): Likewise.
49390         * posix/getgid.c (__getgid): Likewise.
49391         * posix/getpid.c (__getpid): Likewise.
49392         * posix/getppid.c (__getppid): Likewise.
49393         * posix/getuid.c (__getuid): Likewise.
49394         * posix/pause.c (pause): Likewise.
49395         * posix/setpgrp.c (setpgrp): Likewise.
49396         * posix/setsid.c (__setsid): Likewise.
49397         * posix/test-vfork.c (noop): Likewise.
49398         * resolv/gethnamaddr.c (_endhtent): Likewise.
49399         (_gethtent): Likewise.
49400         (ht_endhostent): Likewise.
49401         (gethostent): Likewise.
49402         (dns_service): Likewise.
49403         * stdlib/drand48.c (drand48): Likewise.
49404         * stdlib/lrand48.c (lrand48): Likewise.
49405         * stdlib/mrand48.c (mrand48): Likewise.
49406         * stdlib/rand.c (rand): Likewise.
49407         * stdlib/random.c (__random): Likewise.
49408         * stdlib/setenv.c (clearenv): Likewise.
49409         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49410         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49411         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49412         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49413         (__get_nprocs): Likewise.
49414         (__get_phys_pages): Likewise.
49415         (__get_avphys_pages): Likewise.
49416         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49417         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49418         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49419         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49420         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49421         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49422         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49423         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49424         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49425         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49426         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49427         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49428         * sysdeps/posix/clock.c (clock): Likewise.
49429         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49430         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49431         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49432         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49433         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49434         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49435         (__get_nprocs_conf): Likewise.
49436         (__get_phys_pages): Likewise.
49437         (__get_avphys_pages): Likewise.
49438         * time/clock.c (clock): Likewise.
49439         * time/tzset.c (__tzname_max): Likewise.
49441 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49443         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49444         (__bswap_32): Do not use "register".
49445         * crypt/crypt.c (_ufc_doit_r): Likewise.
49446         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49447         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49448         * gmon/gmon.c (__monstartup): Likewise.
49449         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49450         * hurd/hurdmalloc.c (more_memory): Likewise.
49451         (malloc): Likewise.
49452         (free): Likewise.
49453         (realloc): Likewise.
49454         (malloc_fork_prepare): Likewise.
49455         (malloc_fork_parent): Likewise.
49456         (malloc_fork_child): Likewise.
49457         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49458         (_svcauth_des): Likewise.
49459         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49460         * inet/inet_net.c (inet_network): Likewise.
49461         * inet/inet_netof.c (inet_netof): Likewise.
49462         * inet/rcmd.c (__validuser2_sa): Likewise.
49463         * io/fts.c (fts_open): Likewise.
49464         (fts_load): Likewise.
49465         (fts_close): Likewise.
49466         (fts_read): Likewise.
49467         (fts_children): Likewise.
49468         (fts_build): Likewise.
49469         (fts_stat): Likewise.
49470         (fts_sort): Likewise.
49471         (fts_alloc): Likewise.
49472         (fts_lfree): Likewise.
49473         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49474         (_IO_file_xsgetn): Likewise.
49475         (_IO_file_xsgetn_mmap): Likewise.
49476         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49477         (_IO_cookie_write): Likewise.
49478         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49479         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49480         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49481         * malloc/obstack.c (_obstack_begin): Likewise.
49482         (_obstack_begin_1): Likewise.
49483         (_obstack_newchunk): Likewise.
49484         (_obstack_allocated_p): Likewise.
49485         (obstack_free): Likewise.
49486         (_obstack_memory_used): Likewise.
49487         * misc/getttyent.c (getttynam): Likewise.
49488         (getttyent): Likewise.
49489         (skip): Likewise.
49490         (value): Likewise.
49491         * misc/getusershell.c (initshells): Likewise.
49492         * misc/syslog.c (__vsyslog_chk): Likewise.
49493         * misc/ttyslot.c (ttyslot): Likewise.
49494         * nis/nis_hash.c (__nis_hash): Likewise.
49495         * posix/fnmatch_loop.c (FCT): Likewise.
49496         * posix/getconf.c (print_all): Likewise.
49497         (main): Likewise.
49498         * posix/getopt.c (exchange): Likewise.
49499         * posix/glob.c (globfree): Likewise.
49500         (prefix_array): Likewise.
49501         (__glob_pattern_type): Likewise.
49502         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49503         (NS_GET32): Likewise.
49504         (NS_PUT16): Likewise.
49505         (NS_PUT32): Likewise.
49506         * resolv/gethnamaddr.c (getanswer): Likewise.
49507         (gethostbyname2): Likewise.
49508         (gethostbyaddr): Likewise.
49509         (_gethtent): Likewise.
49510         (_gethtbyname2): Likewise.
49511         (_gethtbyaddr): Likewise.
49512         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49513         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49514         * resolv/res_init.c (__res_vinit): Likewise.
49515         (net_mask): Likewise.
49516         * resolv/res_mkquery.c (outchar): Likewise.
49517         (PRINT): Likewise.
49518         * stdio-common/printf_fp.c (outchar): Likewise.
49519         (PRINT): Likewise.
49520         * stdio-common/printf_fphex.c (outchar): Likewise.
49521         (PRINT): Likewise.
49522         * stdio-common/printf_size.c (outchar): Likewise.
49523         (PRINT): Likewise.
49524         * stdio-common/test_rdwr.c (main): Likewise.
49525         * stdio-common/tfformat.c (matches): Likewise.
49526         * stdio-common/vfprintf.c (outchar): Likewise.
49527         (printf_unknown): Likewise.
49528         (buffered_vfprintf): Likewise.
49529         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49530         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49531         (ReadFile): Likewise.
49532         * stdlib/qsort.c (SWAP): Likewise.
49533         (_quicksort): Likewise.
49534         * stdlib/setenv.c (__add_to_environ): Likewise.
49535         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49536         * stdlib/strtol_l.c (__strtol_l): Likewise.
49537         * stdlib/tst-strtod.c (main): Likewise.
49538         * stdlib/tst-strtol.c (main): Likewise.
49539         * stdlib/tst-strtoll.c (main): Likewise.
49540         * string/bits/string2.h (__strcmp_cc): Likewise.
49541         (__strcmp_cg): Likewise.
49542         (__strcspn_c1): Likewise.
49543         (__strcspn_c2): Likewise.
49544         (__strcspn_c3): Likewise.
49545         (__strspn_c1): Likewise.
49546         (__strspn_c2): Likewise.
49547         (__strspn_c3): Likewise.
49548         (__strsep_1c): Likewise.
49549         (__strsep_2c): Likewise.
49550         (__strsep_3c): Likewise.
49551         * string/memccpy.c (__memccpy): Likewise.
49552         * string/stpcpy.c (__stpcpy): Likewise.
49553         * string/strcmp.c (strcmp): Likewise.
49554         * string/strrchr.c (strrchr): Likewise.
49555         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49556         Likewise.
49557         * sysdeps/mach/hurd/getcwd.c
49558         (_hurd_canonicalize_directory_name_internal): Likewise.
49559         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49560         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49561         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49562         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49563         Likewise, in both definitions.
49564         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49565         definitions.
49566         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49567         64] (__bswap_64): Likewise.
49568         * time/test_time.c (main): Likewise.
49569         * time/tzfile.c (__tzfile_read): Likewise.
49570         (__tzfile_compute): Likewise.
49571         * time/tzset.c (__tzset_parse_tz): Likewise.
49572         (tzset_internal): Likewise.
49573         (compute_change): Likewise.
49574         * wcsmbs/wcscat.c (__wcscat): Likewise.
49575         * wcsmbs/wcschr.c (wcschr): Likewise.
49576         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49577         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49578         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49579         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49580         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49581         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49582         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49583         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49584         * wcsmbs/wmemset.c (wmemset): Likewise.
49586 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49588         * scripts/config.guess: Update to version 2013-05-16.
49589         * scripts/config.sub: Update to version 2013-04-24.
49590         * scripts/install-sh: Update to version 2011-11-20.07.
49591         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49592         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49594 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49596         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49597         * elf/sln.c: Likewise.
49598         * hurd/hurd/ioctl.h: Likewise.
49599         * hurd/hurdmalloc.c: Likewise.
49600         * hurd/xattr.c: Likewise.
49601         * include/shlib-compat.h: Likewise.
49602         * inet/ruserpass.c: Likewise.
49603         * libio/iofgets_u.c: Likewise.
49604         * libio/iofgetws_u.c: Likewise.
49605         * locale/programs/ld-identification.c: Likewise.
49606         * locale/programs/ld-time.c: Likewise.
49607         * mach/msg-destroy.c: Likewise.
49608         * nss/nss_files/files-netgrp.c: Likewise.
49609         * resolv/res_data.c: Likewise.
49610         * soft-fp/op-1.h: Likewise.
49611         * soft-fp/op-2.h: Likewise.
49612         * soft-fp/op-4.h: Likewise.
49613         * soft-fp/op-common.h: Likewise.
49614         * stdio-common/printf_fphex.c: Likewise.
49615         * stdlib/strtod_l.c: Likewise.
49616         * sunrpc/rpc/clnt.h: Likewise.
49617         * sysdeps/generic/framestate.c: Likewise.
49618         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49619         * sysdeps/i386/bsd-setjmp.S: Likewise.
49620         * sysdeps/i386/__longjmp.S: Likewise.
49621         * sysdeps/i386/setjmp.S: Likewise.
49622         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49623         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49624         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49625         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49626         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49627         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49628         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49629         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49630         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49631         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49632         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49633         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49634         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49635         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49636         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49637         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49638         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49639         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49640         * sysdeps/ieee754/support.c: Likewise.
49641         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49642         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49643         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49644         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49645         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49646         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49647         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49648         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49649         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49650         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49651         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49652         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49653         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49654         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49655         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49656         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49657         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49660 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49662         * posix/transbug.c: Remove executable mode.
49664 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49666         * crypt/speeds.c: Remove trailing whitespace.
49667         * dlfcn/default.c: Likewise.
49668         * elf/ifuncdep2.c: Likewise.
49669         * elf/ifuncmain1.c: Likewise.
49670         * elf/ifuncmain1vis.c: Likewise.
49671         * elf/testobj.h: Likewise.
49672         * elf/tst-stackguard1.c: Likewise.
49673         * gmon/sys/gmon.h: Likewise.
49674         * hurd/hurdmsg.c: Likewise.
49675         * hurd/new-fd.c: Likewise.
49676         * hurd/ports-get.c: Likewise.
49677         * iconvdata/ibm1008_420.c: Likewise.
49678         * inet/tst-getni1.c: Likewise.
49679         * inet/tst-getni2.c: Likewise.
49680         * libio/ioungetc.c: Likewise.
49681         * libio/wfiledoalloc.c: Likewise.
49682         * manual/libm-err-tab.pl: Likewise.
49683         * math/w_dremf.c: Likewise.
49684         * misc/ftruncate.c: Likewise.
49685         * posix/bug-glob2.c: Likewise.
49686         * posix/tst-pcre.c: Likewise.
49687         * posix/wait4.c: Likewise.
49688         * resolv/README: Likewise.
49689         * resolv/res_debug.h: Likewise.
49690         * resolv/tst-inet_ntop.c: Likewise.
49691         * setjmp/bug269-setjmp.c: Likewise.
49692         * soft-fp/extended.h: Likewise.
49693         * soft-fp/op-1.h: Likewise.
49694         * soft-fp/op-2.h: Likewise.
49695         * soft-fp/op-4.h: Likewise.
49696         * soft-fp/op-8.h: Likewise.
49697         * soft-fp/testit.c: Likewise.
49698         * stdio-common/bug16.c: Likewise.
49699         * stdlib/random.c: Likewise.
49700         * sunrpc/rpcsvc/rquota.x: Likewise.
49701         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49702         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49703         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49704         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49705         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49706         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49707         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49708         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49709         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49710         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49711         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49712         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49713         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49714         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49715         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49716         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49717         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49718         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49719         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49720         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49721         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49722         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49723         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49724         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49725         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49726         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49727         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49728         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49729         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49730         * sysdeps/ieee754/s_lib_version.c: Likewise.
49731         * sysdeps/mach/hurd/check_fds.c: Likewise.
49732         * sysdeps/mach/hurd/getsockname.c: Likewise.
49733         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49734         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49735         * sysdeps/powerpc/bits/link.h: Likewise.
49736         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49737         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49738         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49739         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49740         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49741         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49742         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49743         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49744         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49745         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49746         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49747         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49748         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49749         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49750         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49751         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49752         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49753         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49754         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49755         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49756         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49757         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49758         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49759         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49760         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49761         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49762         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49763         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49764         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49765         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49766         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49767         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49768         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49769         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49770         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49771         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49772         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49773         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49774         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49775         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49776         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49777         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49778         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49779         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49780         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49781         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49782         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49783         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49784         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49785         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49786         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49787         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49788         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49789         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49790         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49791         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49792         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49793         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49794         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49795         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49796         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49797         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49798         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49799         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49800         * sysdeps/powerpc/sysdep.h: Likewise.
49801         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49802         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49803         * sysdeps/sh/dl-trampoline.S: Likewise.
49804         * sysdeps/sh/memset.S: Likewise.
49805         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49806         * sysdeps/sh/strlen.S: Likewise.
49807         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49808         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49809         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49810         * sysdeps/sparc/sparc32/rem.S: Likewise.
49811         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49812         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49813         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49814         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49815         * sysdeps/sparc/sparc32/urem.S: Likewise.
49816         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49817         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49818         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49819         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49820         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49821         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49822         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49823         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49824         * sysdeps/unix/bsd/times.c: Likewise.
49825         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49826         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49830         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49831         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49832         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49833         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49834         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49835         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49836         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49837         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49838         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49839         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49840         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49841         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49842         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49843         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49844         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49845         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49846         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49847         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49848         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49849         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49850         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49851         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49852         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49853         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49854         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49855         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49856         * sysdeps/x86_64/strcspn.S: Likewise.
49858 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49860         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49861         generated file.  Regenerate properly from gen-translit.pl.
49862         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49863         locale/C-translit.h.
49865 2013-06-05  Andreas Schwab  <schwab@suse.de>
49867         [BZ #15100]
49868         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49869         week as 6 instead of -1.
49870         * time/tst-strptime.c (day_tests): Add test case.
49872 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49874         * sysdeps/generic/math_private.h
49875         (libc_feholdexcept_setround_53bit): Replace with
49876         libc_feholdsetround_53bit.
49877         (libc_feupdateenv_53bit): Replace with
49878         libc_feresetround_53bit.
49879         (SET_RESTORE_ROUND_53BIT): Adjust.
49881 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49883         * string/test-strchrnul.c: Add copyright header.
49885         * posix/tst-getaddrinfo4.c: Increase test timeout.
49887 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49889         [BZ #15536]
49890         * math/libm-test.inc (MAX_EXP): Remove
49891         (MIN_EXP): Define.
49892         (ulp): Use MIN_EXP - MANT_DIG.
49893         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49895 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49897         * po/be.po: Revert last change.
49898         * po/zh_CN.po: Likewise.
49899         * po/header.pot: Likewise.
49901 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49903         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49904         link-libc-deps to empty as target-specific variable.
49905         * Makerules (link-libc-args): New variable.
49906         (libc-for-link): Likewise.
49907         (link-libc-deps): Likewise.
49908         (lib%.so): Depend on $(link-libc-deps).  Link with
49909         $(link-libc-args).
49910         (build-module): Link with $(link-libc-args).
49911         (build-module-asneeded): Likewise.
49912         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49913         list of objects.
49914         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49915         target-specific variable.
49916         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49917         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49918         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49919         libc.
49920         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49921         libc and ld.so.
49922         ($(objpfx)libpcprofile.so): Likewise.
49923         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49924         libc_nonshared.a.
49925         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49926         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49927         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49928         $(link-libc-deps).
49929         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49930         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49931         * login/Makefile ($(objpfx)libutil.so): Likewise.
49932         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49933         * math/Makefile ($(objpfx)libm.so): Likewise.
49934         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49935         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49936         variable instead of depending directly on libc.
49937         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49938         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49939         $(link-libc-deps).
49940         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49941         libc.
49942         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49943         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49944         ($(objpfx)libanl.so): Likewise.
49945         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49946         ld.so.
49947         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49948         $(link-libc-deps).
49949         * sysdeps/i386/fpu/Makefile: Remove file.
49950         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49951         ($(objpfx)libm.so): Remove dependency on ld.so.
49953 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49955         [BZ # 15553]
49956         * nis/yp_xdr.c (XDRMAXNAME): Define.
49957         (XDRMAXRECORD): Define.
49958         (xdr_domainname): Use XDRMAXNAME.
49959         (xdr_mapname): Likewise.
49960         (xdr_peername): Likewise.
49961         (xdr_keydat): Use XDRMAXRECORD.
49962         (xdr_valdat): Likewise.
49964 2013-05-30  Jeff Law  <law@redhat.com>
49966         [BZ #14256]
49967         * manual/errno.texi (ESTALE): Update to account for more than
49968         just NFS file systems.
49969         * sysdeps/gnu/errlist.c: Regenerated.
49971 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49973         [BZ #15465]
49974         * elf/Makefile (tests): Add tst-null-argv.
49975         (modules-names):  Add tst-null-argv-lib.
49976         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49977         (tst-null-argv-ENV): Set environment for tst-null-argv.
49978         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49979         (RTLD_PROGNAME): New macro.
49980         * elf/tst-null-argv.c: New test case.
49981         * elf/tst-null-argv-lib.c: Library for test case.
49982         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49983         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49984         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49985         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49986         * elf/dl-init.c (call_init): Likewise.
49987         (_dl_init): Likewise.
49988         * elf/dl-load.c (print_search_path): Likewise.
49989         (_dl_map_object): Likewise.
49990         * elf/dl-lookup.c (do_lookup_x): Likewise.
49991         (add_dependency): Likewise.
49992         (_dl_lookup_symbol_x): Likewise.
49993         (_dl_debug_bindings): Likewise.
49994         * elf/dl-open.c (_dl_show_scope): Likewise.
49995         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49996         * elf/dl-version.c (match_symbol): Likewise.
49997         (_dl_check_map_versions): Likewise.
49998         * elf/rtld.c (dl_main): Likewise.
49999         (print_unresolved): Use RTLD_PROGNAME.
50000         (print_missing_version): Likewise.
50001         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50002         (elf_machine_rela): Likewise.
50003         * sysdeps/powerpc/powerpc32/dl-machine.c
50004         (__process_machine_rela): Likewise.
50005         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50006         Likewise.
50007         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50008         Likewise.
50009         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50010         Likewise.
50011         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50012         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50013         Likewise.
50014         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50015         Likewise.
50016         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50018 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50020         * po/be.po: Add descriptive title.
50021         * po/zh_CN.po: Likewise.
50022         * po/header.pot: Likewise.
50024 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50026         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50027         error message.
50028         (enlarge_archive): Likewise.
50030 2013-05-28  Ben North  <ben@redfrontdoor.org>
50032         * manual/arith.texi (frexp): It is the magnitude of the return
50033         value which lies in [0.5, 1), not the return value itself.
50035 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50039 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50041         * stdio-common/bug26.c (main): Correct fscanf template.
50043         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50044         declare _dl_skip_args.
50046         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50047         Don't declare.
50049         * manual/platform.texi: Add missing @end deftypefun.
50051 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50053         [BZ #15529]
50054         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50055         bit of mantissa of 2^16382.
50056         * math/libm-test.inc (hypot_test_data): Add more tests.
50058         * math/libm-test.inc: Add drem and pow10 to list of tested
50059         functions.
50060         (pow10_test): New function.
50061         (drem_test): Likewise.
50062         (drem_test_tonearest): Likewise.
50063         (drem_test_towardzero): Likewise.
50064         (drem_test_downward): Likewise.
50065         (drem_test_upward): Likewise.
50066         (main): Call the new functions.
50068         * math/libm-test.inc (finite_test_data): Remove.
50069         (finite_test): Run tests from isfinite_test_data.
50070         (gamma_test_data): Remove.
50071         (gamma_test): Run tests from lgamma_test_data.
50072         * sysdeps/i386/fpu/libm-test-ulps: Update.
50073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50075 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50077         * manual/platform.texi: Add PowerPC PPR function set documentation.
50078         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50079         implementation.
50081 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50083         * math/libm-test.inc (MAX_EXP): Define.
50084         (ULPDIFF): Define.
50085         (ulp): New function.
50086         (check_float_internal): Use ULPDIFF.
50087         (cpow_test): Disable failing test.
50088         (check_ulp): Test ulp() implemetnation.
50089         (main): Call check_ulp before starting tests.
50091 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50093         * math/gen-libm-test.pl (generate_testfile): Do not handle
50094         START_DATA and END_DATA.
50095         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50096         END_DATA.
50097         (acos_tonearest_test_data): Likewise.
50098         (acos_towardzero_test_data): Likewise.
50099         (acos_downward_test_data): Likewise.
50100         (acos_upward_test_data): Likewise.
50101         (acosh_test_data): Likewise.
50102         (asin_test_data): Likewise.
50103         (asin_tonearest_test_data): Likewise.
50104         (asin_towardzero_test_data): Likewise.
50105         (asin_downward_test_data): Likewise.
50106         (asin_upward_test_data): Likewise.
50107         (asinh_test_data): Likewise.
50108         (atan_test_data): Likewise.
50109         (atanh_test_data): Likewise.
50110         (atan2_test_data): Likewise.
50111         (cabs_test_data): Likewise.
50112         (cacos_test_data): Likewise.
50113         (cacosh_test_data): Likewise.
50114         (carg_test_data): Likewise.
50115         (casin_test_data): Likewise.
50116         (casinh_test_data): Likewise.
50117         (catan_test_data): Likewise.
50118         (catanh_test_data): Likewise.
50119         (cbrt_test_data): Likewise.
50120         (ccos_test_data): Likewise.
50121         (ccosh_test_data): Likewise.
50122         (ceil_test_data): Likewise.
50123         (cexp_test_data): Likewise.
50124         (cimag_test_data): Likewise.
50125         (clog_test_data): Likewise.
50126         (clog10_test_data): Likewise.
50127         (conj_test_data): Likewise.
50128         (copysign_test_data): Likewise.
50129         (cos_test_data): Likewise.
50130         (cos_tonearest_test_data): Likewise.
50131         (cos_towardzero_test_data): Likewise.
50132         (cos_downward_test_data): Likewise.
50133         (cos_upward_test_data): Likewise.
50134         (cosh_test_data): Likewise.
50135         (cosh_tonearest_test_data): Likewise.
50136         (cosh_towardzero_test_data): Likewise.
50137         (cosh_downward_test_data): Likewise.
50138         (cosh_upward_test_data): Likewise.
50139         (cpow_test_data): Likewise.
50140         (cproj_test_data): Likewise.
50141         (creal_test_data): Likewise.
50142         (csin_test_data): Likewise.
50143         (csinh_test_data): Likewise.
50144         (csqrt_test_data): Likewise.
50145         (ctan_test_data): Likewise.
50146         (ctan_tonearest_test_data): Likewise.
50147         (ctan_towardzero_test_data): Likewise.
50148         (ctan_downward_test_data): Likewise.
50149         (ctan_upward_test_data): Likewise.
50150         (ctanh_test_data): Likewise.
50151         (ctanh_tonearest_test_data): Likewise.
50152         (ctanh_towardzero_test_data): Likewise.
50153         (ctanh_downward_test_data): Likewise.
50154         (ctanh_upward_test_data): Likewise.
50155         (erf_test_data): Likewise.
50156         (erfc_test_data): Likewise.
50157         (exp_test_data): Likewise.
50158         (exp_tonearest_test_data): Likewise.
50159         (exp_towardzero_test_data): Likewise.
50160         (exp_downward_test_data): Likewise.
50161         (exp_upward_test_data): Likewise.
50162         (exp10_test_data): Likewise.
50163         (exp2_test_data): Likewise.
50164         (expm1_test_data): Likewise.
50165         (fabs_test_data): Likewise.
50166         (fdim_test_data): Likewise.
50167         (finite_test_data): Likewise.
50168         (floor_test_data): Likewise.
50169         (fma_test_data): Likewise.
50170         (fma_towardzero_test_data): Likewise.
50171         (fma_downward_test_data): Likewise.
50172         (fma_upward_test_data): Likewise.
50173         (fmax_test_data): Likewise.
50174         (fmin_test_data): Likewise.
50175         (fmod_test_data): Likewise.
50176         (fpclassify_test_data): Likewise.
50177         (frexp_test_data): Likewise.
50178         (gamma_test_data): Likewise.
50179         (hypot_test_data): Likewise.
50180         (ilogb_test_data): Likewise.
50181         (isfinite_test_data): Likewise.
50182         (isgreater_test_data): Likewise.
50183         (isgreaterequal_test_data): Likewise.
50184         (isinf_test_data): Likewise.
50185         (isless_test_data): Likewise.
50186         (islessequal_test_data): Likewise.
50187         (islessgreater_test_data): Likewise.
50188         (isnan_test_data): Likewise.
50189         (isnormal_test_data): Likewise.
50190         (issignaling_test_data): Likewise.
50191         (isunordered_test_data): Likewise.
50192         (j0_test_data): Likewise.
50193         (j1_test_data): Likewise.
50194         (jn_test_data): Likewise.
50195         (ldexp_test_data): Likewise.
50196         (lgamma_test_data): Likewise.
50197         (lrint_test_data): Likewise.
50198         (lrint_tonearest_test_data): Likewise.
50199         (lrint_towardzero_test_data): Likewise.
50200         (lrint_downward_test_data): Likewise.
50201         (lrint_upward_test_data): Likewise.
50202         (llrint_test_data): Likewise.
50203         (llrint_tonearest_test_data): Likewise.
50204         (llrint_towardzero_test_data): Likewise.
50205         (llrint_downward_test_data): Likewise.
50206         (llrint_upward_test_data): Likewise.
50207         (log_test_data): Likewise.
50208         (log10_test_data): Likewise.
50209         (log1p_test_data): Likewise.
50210         (log2_test_data): Likewise.
50211         (logb_test_data): Likewise.
50212         (logb_downward_test_data): Likewise.
50213         (lround_test_data): Likewise.
50214         (llround_test_data): Likewise.
50215         (modf_test_data): Likewise.
50216         (nearbyint_test_data): Likewise.
50217         (nextafter_test_data): Likewise.
50218         (nexttoward_test_data): Likewise.
50219         (pow_test_data): Likewise.
50220         (pow_tonearest_test_data): Likewise.
50221         (pow_towardzero_test_data): Likewise.
50222         (pow_downward_test_data): Likewise.
50223         (pow_upward_test_data): Likewise.
50224         (remainder_test_data): Likewise.
50225         (remainder_tonearest_test_data): Likewise.
50226         (remainder_towardzero_test_data): Likewise.
50227         (remainder_downward_test_data): Likewise.
50228         (remainder_upward_test_data): Likewise.
50229         (remquo_test_data): Likewise.
50230         (rint_test_data): Likewise.
50231         (rint_tonearest_test_data): Likewise.
50232         (rint_towardzero_test_data): Likewise.
50233         (rint_downward_test_data): Likewise.
50234         (rint_upward_test_data): Likewise.
50235         (round_test_data): Likewise.
50236         (scalb_test_data): Likewise.
50237         (scalbn_test_data): Likewise.
50238         (scalbln_test_data): Likewise.
50239         (signbit_test_data): Likewise.
50240         (sin_test_data): Likewise.
50241         (sin_tonearest_test_data): Likewise.
50242         (sin_towardzero_test_data): Likewise.
50243         (sin_downward_test_data): Likewise.
50244         (sin_upward_test_data): Likewise.
50245         (sincos_test_data): Likewise.
50246         (sinh_test_data): Likewise.
50247         (sinh_tonearest_test_data): Likewise.
50248         (sinh_towardzero_test_data): Likewise.
50249         (sinh_downward_test_data): Likewise.
50250         (sinh_upward_test_data): Likewise.
50251         (sqrt_test_data): Likewise.
50252         (tan_test_data): Likewise.
50253         (tan_tonearest_test_data): Likewise.
50254         (tan_towardzero_test_data): Likewise.
50255         (tan_downward_test_data): Likewise.
50256         (tan_upward_test_data): Likewise.
50257         (tanh_test_data): Likewise.
50258         (tgamma_test_data): Likewise.
50259         (trunc_test_data): Likewise.
50260         (y0_test_data): Likewise.
50261         (y1_test_data): Likewise.
50262         (yn_test_data): Likewise.
50263         (significand_test_data): Likewise.
50265         * math/gen-libm-test.pl (@functions): Remove variable.
50266         (generate_testfile): Don't handle START and END lines.
50267         * math/libm-test.inc (START): New macro.
50268         (END): Likewise.
50269         (END_COMPLEX): Likewise.
50270         (acos_test): Use END macro without arguments.
50271         (acos_test_tonearest): Likewise.
50272         (acos_test_towardzero): Likewise.
50273         (acos_test_downward): Likewise.
50274         (acos_test_upward): Likewise.
50275         (acosh_test): Likewise.
50276         (asin_test): Likewise.
50277         (asin_test_tonearest): Likewise.
50278         (asin_test_towardzero): Likewise.
50279         (asin_test_downward): Likewise.
50280         (asin_test_upward): Likewise.
50281         (asinh_test): Likewise.
50282         (atan_test): Likewise.
50283         (atanh_test): Likewise.
50284         (atan2_test): Likewise.
50285         (cabs_test): Likewise.
50286         (cacos_test): Use END_COMPLEX macro without arguments.
50287         (cacosh_test): Likewise.
50288         (carg_test): Use END macro without arguments.
50289         (casin_test): Use END_COMPLEX macro without arguments.
50290         (casinh_test): Likewise.
50291         (catan_test): Likewise.
50292         (catanh_test): Likewise.
50293         (cbrt_test): Use END macro without arguments.
50294         (ccos_test): Use END_COMPLEX macro without arguments.
50295         (ccosh_test): Likewise.
50296         (ceil_test): Use END macro without arguments.
50297         (cexp_test): Use END_COMPLEX macro without arguments.
50298         (cimag_test): Use END macro without arguments.
50299         (clog_test): Use END_COMPLEX macro without arguments.
50300         (clog10_test): Likewise.
50301         (conj_test): Likewise.
50302         (copysign_test): Use END macro without arguments.
50303         (cos_test): Likewise.
50304         (cos_test_tonearest): Likewise.
50305         (cos_test_towardzero): Likewise.
50306         (cos_test_downward): Likewise.
50307         (cos_test_upward): Likewise.
50308         (cosh_test): Likewise.
50309         (cosh_test_tonearest): Likewise.
50310         (cosh_test_towardzero): Likewise.
50311         (cosh_test_downward): Likewise.
50312         (cosh_test_upward): Likewise.
50313         (cpow_test): Use END_COMPLEX macro without arguments.
50314         (cproj_test): Likewise.
50315         (creal_test): Use END macro without arguments.
50316         (csin_test): Use END_COMPLEX macro without arguments.
50317         (csinh_test): Likewise.
50318         (csqrt_test): Likewise.
50319         (ctan_test): Likewise.
50320         (ctan_test_tonearest): Likewise.
50321         (ctan_test_towardzero): Likewise.
50322         (ctan_test_downward): Likewise.
50323         (ctan_test_upward): Likewise.
50324         (ctanh_test): Likewise.
50325         (ctanh_test_tonearest): Likewise.
50326         (ctanh_test_towardzero): Likewise.
50327         (ctanh_test_downward): Likewise.
50328         (ctanh_test_upward): Likewise.
50329         (erf_test): Use END macro without arguments.
50330         (erfc_test): Likewise.
50331         (exp_test): Likewise.
50332         (exp_test_tonearest): Likewise.
50333         (exp_test_towardzero): Likewise.
50334         (exp_test_downward): Likewise.
50335         (exp_test_upward): Likewise.
50336         (exp10_test): Likewise.
50337         (exp2_test): Likewise.
50338         (expm1_test): Likewise.
50339         (fabs_test): Likewise.
50340         (fdim_test): Likewise.
50341         (finite_test): Likewise.
50342         (floor_test): Likewise.
50343         (fma_test): Likewise.
50344         (fma_test_towardzero): Likewise.
50345         (fma_test_downward): Likewise.
50346         (fma_test_upward): Likewise.
50347         (fmax_test): Likewise.
50348         (fmin_test): Likewise.
50349         (fmod_test): Likewise.
50350         (fpclassify_test): Likewise.
50351         (frexp_test): Likewise.
50352         (gamma_test): Likewise.
50353         (hypot_test): Likewise.
50354         (ilogb_test): Likewise.
50355         (isfinite_test): Likewise.
50356         (isgreater_test): Likewise.
50357         (isgreaterequal_test): Likewise.
50358         (isinf_test): Likewise.
50359         (isless_test): Likewise.
50360         (islessequal_test): Likewise.
50361         (islessgreater_test): Likewise.
50362         (isnan_test): Likewise.
50363         (isnormal_test): Likewise.
50364         (issignaling_test): Likewise.
50365         (isunordered_test): Likewise.
50366         (j0_test): Likewise.
50367         (j1_test): Likewise.
50368         (jn_test): Likewise.
50369         (ldexp_test): Likewise.
50370         (lgamma_test): Likewise.
50371         (lrint_test): Likewise.
50372         (lrint_test_tonearest): Likewise.
50373         (lrint_test_towardzero): Likewise.
50374         (lrint_test_downward): Likewise.
50375         (lrint_test_upward): Likewise.
50376         (llrint_test): Likewise.
50377         (llrint_test_tonearest): Likewise.
50378         (llrint_test_towardzero): Likewise.
50379         (llrint_test_downward): Likewise.
50380         (llrint_test_upward): Likewise.
50381         (log_test): Likewise.
50382         (log10_test): Likewise.
50383         (log1p_test): Likewise.
50384         (log2_test): Likewise.
50385         (logb_test): Likewise.
50386         (logb_test_downward): Likewise.
50387         (lround_test): Likewise.
50388         (llround_test): Likewise.
50389         (modf_test): Likewise.
50390         (nearbyint_test): Likewise.
50391         (nextafter_test): Likewise.
50392         (nexttoward_test): Likewise.
50393         (pow_test): Likewise.
50394         (pow_test_tonearest): Likewise.
50395         (pow_test_towardzero): Likewise.
50396         (pow_test_downward): Likewise.
50397         (pow_test_upward): Likewise.
50398         (remainder_test): Likewise.
50399         (remainder_test_tonearest): Likewise.
50400         (remainder_test_towardzero): Likewise.
50401         (remainder_test_downward): Likewise.
50402         (remainder_test_upward): Likewise.
50403         (remquo_test): Likewise.
50404         (rint_test): Likewise.
50405         (rint_test_tonearest): Likewise.
50406         (rint_test_towardzero): Likewise.
50407         (rint_test_downward): Likewise.
50408         (rint_test_upward): Likewise.
50409         (round_test): Likewise.
50410         (scalb_test): Likewise.
50411         (scalbn_test): Likewise.
50412         (scalbln_test): Likewise.
50413         (signbit_test): Likewise.
50414         (sin_test): Likewise.
50415         (sin_test_tonearest): Likewise.
50416         (sin_test_towardzero): Likewise.
50417         (sin_test_downward): Likewise.
50418         (sin_test_upward): Likewise.
50419         (sincos_test): Likewise.
50420         (sinh_test): Likewise.
50421         (sinh_test_tonearest): Likewise.
50422         (sinh_test_towardzero): Likewise.
50423         (sinh_test_downward): Likewise.
50424         (sinh_test_upward): Likewise.
50425         (sqrt_test): Likewise.
50426         (tan_test): Likewise.
50427         (tan_test_tonearest): Likewise.
50428         (tan_test_towardzero): Likewise.
50429         (tan_test_downward): Likewise.
50430         (tan_test_upward): Likewise.
50431         (tanh_test): Likewise.
50432         (tgamma_test): Likewise.
50433         (trunc_test): Likewise.
50434         (y0_test): Likewise.
50435         (y1_test): Likewise.
50436         (yn_test): Likewise.
50437         (significand_test): Likewise.
50439 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50441         [BZ #15381]
50442         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50444 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50446         [BZ #14894]
50447         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50448         __ppc_mdoio and __ppc_mdoom.
50449         * manual/platform.texi: Document new functions __ppc_yield,
50450         __ppc_mdoio and __ppc_mdoom.
50452 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50454         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50455         (main): Mention "tls" pseudo-hwcap is legacy.
50456         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50458 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50460         * math/gen-libm-test.pl (parse_args): Output only string of
50461         arguments as text for test name, not full call or descriptions of
50462         tests for extra outputs.
50463         (generate_testfile): Do not pass function name to parse_args.
50464         Generate this_func variable from START.
50465         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50466         field to arg_str.
50467         (struct test_ff_f_data): Likewise.
50468         (test_ff_f_data_nexttoward): Likewise.
50469         (struct test_fi_f_data): Likewise.
50470         (struct test_fl_f_data): Likewise.
50471         (struct test_if_f_data): Likewise.
50472         (struct test_fff_f_data): Likewise.
50473         (struct test_c_f_data): Likewise.
50474         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50475         (struct test_fF_f1_data): Likewise.
50476         (struct test_ffI_f1_data): Likewise.
50477         (struct test_c_c_data): Rename test_name field to arg_str.
50478         (struct test_cc_c_data): Likewise.
50479         (struct test_f_i_data): Likewise.
50480         (struct test_ff_i_data): Likewise.
50481         (struct test_f_l_data): Likewise.
50482         (struct test_f_L_data): Likewise.
50483         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50484         and extra2_name.
50485         (COMMON_TEST_SETUP): New macro.
50486         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50487         (COMMON_TEST_CLEANUP): Likewise.
50488         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50489         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50490         macros.
50491         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50492         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50493         macros.
50494         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50495         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50496         cleanup macros.
50497         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50498         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50499         macros.
50500         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50501         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50502         macros.
50503         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50504         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50505         cleanup macros.
50506         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50507         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50508         cleanup macros.
50509         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50510         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50511         cleanup macros.
50512         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50513         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50514         macros.
50515         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50516         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50517         macros.
50518         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50519         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50520         macros.
50521         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50522         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50523         cleanup macros.
50524         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50525         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50526         cleanup macros.
50527         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50528         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50529         macros.
50530         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50531         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50532         cleanup macros.
50533         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50534         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50535         macros.
50536         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50537         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50538         macros.
50539         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50540         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50541         cleanup macros.
50542         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50544 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50546         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50547         to _sifields.sigfault.
50548         (si_addr_lsb): Define new macro.
50549         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50550         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50551         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50553 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50555         [BZ #15441]
50556         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50557         returns -1.
50558         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50559         null return -1.
50560         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50561         loading the domain.
50563 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50565         * math/gen-libm-test.pl (parse_args): Do not include expected
50566         result in test name.
50567         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50568         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50569         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50570         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50571         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50574 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50576         * benchtests/Makefile: Sort function entries.
50578         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50579         tanh, asinh, acosh, atanh.
50580         * benchtests/acos-inputs: New file.
50581         * benchtests/acosh-inputs: New file.
50582         * benchtests/asin-inputs: New file.
50583         * benchtests/asinh-inputs: New file.
50584         * benchtests/atanh-inputs: New file.
50585         * benchtests/cosh-inputs: New file.
50586         * benchtests/log-inputs: New file.
50587         * benchtests/sinh-inputs: New file.
50588         * benchtests/tanh-inputs: New file.
50590 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50592         [BZ #15339]
50593         * posix/tst-getaddrinfo4.c: New test.
50594         * posix/Makefile (tests): Add it.
50596 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50598         [BZ #15339]
50599         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50600         when no services were used.
50601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50602         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50604 2013-05-21  Andreas Schwab  <schwab@suse.de>
50606         [BZ #15014]
50607         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50608         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50609         successful.
50610         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50611         redundant variable declarations and reallocation of buffer when
50612         parsing as IPv6 address.  Always set NSS status when called from
50613         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50614         buffer too small.  Correct computation of needed size.
50615         * nss/Makefile (tests): Add test-digits-dots.
50616         * nss/test-digits-dots.c: New test.
50618 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50620         * benchtests/Makefile: Remove instructions for adding
50621         benchmark tests.
50622         * benchtests/README: New file to explain how to execute and
50623         enhance the benchmark tests.
50625 2013-05-21  Andreas Schwab  <schwab@suse.de>
50627         [BZ #15493]
50628         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50629         * setjmp/tst-sigsetjmp.c: New test.
50631 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50633         * sysdeps/x86_64/memset.S (memset): New implementation.
50634         (__bzero): Likewise.
50635         (__memset_tail): New function.
50637 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50639         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50640         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50641         __memcpy_sse2_unaligned ifunc selection.
50642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50643         Add memcpy-sse2-unaligned.S.
50644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50645         Add: __memcpy_sse2_unaligned.
50647 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50649         [BZ #15490]
50650         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50651         math_force_eval before restoring floating-point envrionment.
50652         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50653         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50654         Likewise.
50655         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50656         <math_private.h>.
50657         (__nearbyintl): Use math_force_eval before restoring
50658         floating-point environment.
50659         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50661         * math/gen-libm-test.pl (special_functions): Remove.
50662         (parse_args): Don't handle TEST_extra.  Handle functions with no
50663         return value.
50664         * math/libm-test.inc (struct test_sincos_data): Replace with
50665         struct test_fFF_11_data.
50666         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50667         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50668         (sincos_test_data): Change element type to struct
50669         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50670         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50671         RUN_TEST_LOOP_sincos.
50672         * math/README.libm-test: Don't mention special handling of
50673         individual functions.
50674         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50675         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50676         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50677         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50678         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50681         * math/gen-libm-test.pl (get_variable): Remove function.
50682         (parse_args): Don't show pointer parameters to call in test
50683         names.  Use "extra output N" in test names for extra outputs
50684         rather than naming variables.
50686 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50688         [BZ #15488]
50689         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50690         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50691         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50692         double tests.
50693         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50694         disable.
50695         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50696         check_long_double.
50698         * math/gen-libm-test.pl (@tests): Remove variable.
50699         ($count): Likewise.
50700         (new_test): Remove function.
50701         (show_exceptions): New function.
50702         (special_functions): Use show_exceptions instead of new_test.
50703         (parse_args): Likewise.
50704         (generate_testfile): Pass only function name in generated call to
50705         print_max_error or print_complex_max_error.
50706         (get_ulps): Do not handle complex tests specially.
50707         (output_test): Rename to ...
50708         (get_all_ulps_for_test): ... this.  Return a string rather than
50709         printing to a file.  Require ulps to be present.
50710         (output_ulps): Generate arrays rather than #defines.
50711         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50712         (struct ulp_data): New type.
50713         (BUILD_COMPLEX_ULP): Remove macro.
50714         (compare_ulp_data): New function.
50715         (find_ulps): Likewise.
50716         (find_test_ulps): Likewise.
50717         (find_function_ulps): Likewise.
50718         (find_complex_function_ulps): Likewise.
50719         (print_max_error): Determine allowed ulps using
50720         find_function_ulps.
50721         (print_complex_max_error): Determine allowed ulps using
50722         find_complex_function_ulps.
50723         (check_float_internal): Determine max ulps using find_test_ulps.
50724         (check_float): Do not take max_ulp parameter.  Update call to
50725         check_float_internal.
50726         (check_complex): Likewise.
50727         (check_int): Do not take max_ulp parameter.
50728         (check_long): Likewise.
50729         (check_bool): Likewise.
50730         (check_longlong): Likewise.
50731         (struct test_f_f_data): Remove max_ulp field.
50732         (struct test_ff_f_data): Likewise.
50733         (struct test_ff_f_data_nexttoward): Likewise.
50734         (struct test_fi_f_data): Likewise.
50735         (struct test_fl_f_data): Likewise.
50736         (struct test_if_f_data): Likewise.
50737         (struct test_fff_f_data): Likewise.
50738         (struct test_c_f_data): Likewise.
50739         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50740         (struct test_fF_f1_data): Likewise.
50741         (struct test_ffI_f1_data): Likewise.
50742         (struct test_c_c_data): Remove max_ulp field.
50743         (struct test_cc_c_data): Likewise.
50744         (struct test_f_i_data): Likewise.
50745         (struct test_ff_i_data): Likewise.
50746         (struct test_f_l_data): Likewise.
50747         (struct test_f_L_data): Likewise.
50748         (struct test_sincos_data): Likewise.
50749         (RUN_TEST_f_f): Do not handle ulps.
50750         (RUN_TEST_LOOP_f_f): Likewise.
50751         (RUN_TEST_2_f): Likewise.
50752         (RUN_TEST_LOOP_2_f): Likewise.
50753         (RUN_TEST_fff_f): Likewise.
50754         (RUN_TEST_LOOP_fff_f): Likewise.
50755         (RUN_TEST_c_f): Likewise.
50756         (RUN_TEST_LOOP_c_f): Likewise.
50757         (RUN_TEST_f_f1): Likewise.
50758         (RUN_TEST_LOOP_f_f1): Likewise.
50759         (RUN_TEST_fF_f1): Likewise.
50760         (RUN_TEST_LOOP_fF_f1): Likewise.
50761         (RUN_TEST_fI_f1): Likewise.
50762         (RUN_TEST_LOOP_fI_f1): Likewise.
50763         (RUN_TEST_ffI_f1): Likewise.
50764         (RUN_TEST_LOOP_ffI_f1): Likewise.
50765         (RUN_TEST_c_c): Likewise.
50766         (RUN_TEST_LOOP_c_c): Likewise.
50767         (RUN_TEST_cc_c): Likewise.
50768         (RUN_TEST_LOOP_cc_c): Likewise.
50769         (RUN_TEST_f_i): Likewise.
50770         (RUN_TEST_LOOP_f_i): Likewise.
50771         (RUN_TEST_f_i_tg): Likewise.
50772         (RUN_TEST_LOOP_f_i_tg): Likewise.
50773         (RUN_TEST_ff_i_tg): Likewise.
50774         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50775         (RUN_TEST_f_b): Likewise.
50776         (RUN_TEST_LOOP_f_b): Likewise.
50777         (RUN_TEST_f_b_tg): Likewise.
50778         (RUN_TEST_LOOP_f_b_tg): Likewise.
50779         (RUN_TEST_f_l): Likewise.
50780         (RUN_TEST_LOOP_f_l): Likewise.
50781         (RUN_TEST_f_L): Likewise.
50782         (RUN_TEST_LOOP_f_L): Likewise.
50783         (RUN_TEST_sincos): Likewise.
50784         (RUN_TEST_LOOP_sincos): Likewise.
50786 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50788         [BZ #15480]
50789         [BZ #15485]
50790         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50791         main case of finite arguments, set rounding mode to FE_TONEAREST
50792         and discard exceptions.
50793         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50794         exceptions.
50795         (remainder_tonearest_test_data): New variable.
50796         (remainder_test_tonearest): New function.
50797         (remainder_towardzero_test_data): New variable.
50798         (remainder_test_towardzero): New function.
50799         (remainder_downward_test_data): New variable.
50800         (remainder_test_downward): New function.
50801         (remainder_upward_test_data): New variable.
50802         (remainder_test_upward): New function.
50803         (main): Call the new test functions.
50805         * math/libm-test.inc (struct test_f_f1_data): Remove field
50806         extra_init.
50807         (struct test_fF_f1_data): Likewise.
50808         (struct test_ffI_f1_data): Likewise.
50809         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50810         based on value of EXTRA_EXPECTED.
50811         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50812         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50813         EXTRA_VAR based on value of EXTRA_EXPECTED.
50814         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50815         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50816         EXTRA_VAR based on value of EXTRA_EXPECTED.
50817         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50818         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50819         EXTRA_VAR based on value of EXTRA_EXPECTED.
50820         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50821         * math/gen-libm-test.pl (parse_args): Don't output initializers
50822         for extra output values.
50824         * math/libm-test.inc (check_int): Expect result to be exactly
50825         equal to expected value and do not handle ulps.
50826         (check_long): Likewise.
50827         (check_longlong): Likewise.
50829         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50830         exceptions.
50831         (cimag_test_data): Likewise.
50832         (conj_test_data): Likewise.
50833         (copysign_test_data): Likewise.
50834         (cproj_test_data): Likewise.
50835         (creal_test_data): Likewise.
50836         (fabs_test_data): Likewise.
50837         (fdim_test_data): Likewise.
50838         (finite_test_data): Likewise.
50839         (floor_test_data): Likewise.
50840         (fmax_test_data): Likewise.
50841         (fmin_test_data): Likewise.
50842         (fmod_test_data): Likewise.
50843         (fpclassify_test_data): Likewise.
50844         (frexp_test_data): Likewise.
50845         (ilogb_test_data): Likewise.
50846         (isfinite_test_data): Likewise.
50847         (isgreater_test_data): Likewise.
50848         (isgreaterequal_test_data): Likewise.
50849         (isinf_test_data): Likewise.
50850         (isless_test_data): Likewise.
50851         (islessequal_test_data): Likewise.
50852         (islessgreater_test_data): Likewise.
50853         (isnan_test_data): Likewise.
50854         (isnormal_test_data): Likewise.
50855         (issignaling_test_data): Likewise.
50856         (isunordered_test_data): Likewise.
50857         (ldexp_test_data): Likewise.
50858         (lrint_test_data): Likewise.
50859         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50860         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50861         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50862         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50863         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50864         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50865         test input.
50866         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50867         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50868         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50869         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50870         that test input.
50871         (lrint_downward_test_data): Test for "inexact" exceptions.
50872         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50873         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50874         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50875         test input.
50876         (lrint_upward_test_data): Test for "inexact" exceptions.
50877         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50878         test input.
50879         (llrint_test_data): Test for "inexact" exceptions.
50880         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50881         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50882         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50883         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50884         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50885         (llrint_downward_test_data): Test for "inexact" exceptions.
50886         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50887         (llrint_upward_test_data): Test for "inexact" exceptions.
50888         (logb_test_data): Likewise.
50889         (logb_downward_test_data): Likewise.
50890         (nextafter_test_data): Likewise.
50891         (nexttoward_test_data): Likewise.
50892         (remainder_test_data): Likewise.
50893         (remquo_test_data): Likewise.
50894         (scalbn_test_data): Likewise.
50895         (scalbln_test_data): Likewise.
50896         (signbit_test_data): Likewise.
50897         (sqrt_test_data): Likewise.
50898         (significand_test_data): Likewise.
50900 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50902         [BZ #15424]
50903         * benchtests/bench-modf.c (struct args): Mark arg0 as
50904         volatile.
50905         * scripts/bench.pl: Mark members of struct args as volatile.
50907 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50909         [BZ # 15497]
50910         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50911         negative infinity on POWER6 or lower.
50912         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50914 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50916         [BZ #15442]
50917         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50918         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50919         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50920         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50921         (_FP_SETQNAN): New macro.
50922         (_FP_SETQNAN_SEMIRAW): Likewise.
50923         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50924         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50925         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50926         (FP_EXTEND): Use _FP_FRAC_SNANP.
50927         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50928         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50929         into account.
50930         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50931         New macro.
50932         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50933         Likewise.
50935 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50937         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50938         with DIVIDE_BY_ZERO_EXCEPTION.
50939         (gamma_test_data): Likewise.
50940         (lgamma_test_data): Likewise.
50941         (log_test_data): Likewise.
50942         (log10_test_data): Likewise.
50943         (log2_test_data): Likewise.
50944         (tgamma_test_data): Likewise.
50946         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50947         (acos_test_tonearest): Likewise.
50948         (acos_test_towardzero): Likewise.
50949         (acos_test_downward): Likewise.
50950         (acos_test_upward): Likewise.
50951         (acosh_test): Likewise.
50952         (asin_test): Likewise.
50953         (asin_test_tonearest): Likewise.
50954         (asin_test_towardzero): Likewise.
50955         (asin_test_downward): Likewise.
50956         (asin_test_upward): Likewise.
50957         (asinh_test): Likewise.
50958         (atan_test): Likewise.
50959         (atanh_test): Likewise.
50960         (atan2_test): Likewise.
50961         (cabs_test): Likewise.
50962         (cacos_test): Likewise.
50963         (cacosh_test): Likewise.
50964         (casin_test): Likewise.
50965         (casinh_test): Likewise.
50966         (catan_test): Likewise.
50967         (catanh_test): Likewise.
50968         (cbrt_test): Likewise.
50969         (ccos_test): Likewise.
50970         (ccosh_test): Likewise.
50971         (cexp_test): Likewise.
50972         (clog_test): Likewise.
50973         (clog10_test): Likewise.
50974         (cos_test): Likewise.
50975         (cos_test_tonearest): Likewise.
50976         (cos_test_towardzero): Likewise.
50977         (cos_test_downward): Likewise.
50978         (cos_test_upward): Likewise.
50979         (cosh_test): Likewise.
50980         (cosh_test_tonearest): Likewise.
50981         (cosh_test_towardzero): Likewise.
50982         (cosh_test_downward): Likewise.
50983         (cosh_test_upward): Likewise.
50984         (cpow_test): Likewise.
50985         (csin_test): Likewise.
50986         (csinh_test): Likewise.
50987         (csqrt_test): Likewise.
50988         (ctan_test): Likewise.
50989         (ctan_test_tonearest): Likewise.
50990         (ctan_test_towardzero): Likewise.
50991         (ctan_test_downward): Likewise.
50992         (ctan_test_upward): Likewise.
50993         (ctanh_test): Likewise.
50994         (ctanh_test_tonearest): Likewise.
50995         (ctanh_test_towardzero): Likewise.
50996         (ctanh_test_downward): Likewise.
50997         (ctanh_test_upward): Likewise.
50998         (erf_test): Likewise.
50999         (erfc_test): Likewise.
51000         (exp_test): Likewise.
51001         (exp_test_tonearest): Likewise.
51002         (exp_test_towardzero): Likewise.
51003         (exp_test_downward): Likewise.
51004         (exp_test_upward): Likewise.
51005         (exp10_test): Likewise.
51006         (exp2_test): Likewise.
51007         (expm1_test): Likewise.
51008         (fmod_test): Likewise.
51009         (gamma_test): Likewise.
51010         (hypot_test): Likewise.
51011         (j0_test): Likewise.
51012         (j1_test): Likewise.
51013         (jn_test): Likewise.
51014         (lgamma_test): Likewise.
51015         (log_test): Likewise.
51016         (log10_test): Likewise.
51017         (log1p_test): Likewise.
51018         (log2_test): Likewise.
51019         (logb_test_downward): Likewise.
51020         (pow_test): Likewise.
51021         (pow_test_tonearest): Likewise.
51022         (pow_test_towardzero): Likewise.
51023         (pow_test_downward): Likewise.
51024         (pow_test_upward): Likewise.
51025         (remainder_test): Likewise.
51026         (remquo_test): Likewise.
51027         (sin_test): Likewise.
51028         (sin_test_tonearest): Likewise.
51029         (sin_test_towardzero): Likewise.
51030         (sin_test_downward): Likewise.
51031         (sin_test_upward): Likewise.
51032         (sincos_test): Likewise.
51033         (sinh_test): Likewise.
51034         (sinh_test_tonearest): Likewise.
51035         (sinh_test_towardzero): Likewise.
51036         (sinh_test_downward): Likewise.
51037         (sinh_test_upward): Likewise.
51038         (sqrt_test): Likewise.
51039         (tan_test): Likewise.
51040         (tan_test_tonearest): Likewise.
51041         (tan_test_towardzero): Likewise.
51042         (tan_test_downward): Likewise.
51043         (tan_test_upward): Likewise.
51044         (tanh_test): Likewise.
51045         (tgamma_test): Likewise.
51046         (y0_test): Likewise.
51047         (y1_test): Likewise.
51048         (yn_test): Likewise.
51050         * math/gen-libm-test.pl (adjust_arg): Remove function.
51051         (special_function): Remove argument $in_func.  Only handle
51052         generating output for tables of tests, not inside functions.
51053         (parse_args): Likewise.
51054         (generate_testfile): Remove variable $in_func.  Update call to
51055         parse_args.
51056         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51057         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51058         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51059         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51060         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51061         (MAX_VALUE_INIT): Rename macro to max_value.
51062         (MIN_VALUE_INIT): Rename macro to min_value.
51063         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51064         (plus_zero): Remove variable.
51065         (minus_zero): Likewise.
51066         (plus_infty): Likewise.
51067         (minus_infty): Likewise.
51068         (qnan_value): Likewise.
51069         (max_value): Likewise.
51070         (min_value): Likewise.
51071         (min_subnorm_value): Likewise.
51073 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51075         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51076         uint64_t or uint32_t usage.
51077         * crypt/sha256-block.c: Likewise.
51078         * crypt/sha256-crypt.c: Likewise.
51079         * crypt/sha256.c: Likewise.
51080         * crypt/sha512-block.c: Likewise.
51081         * crypt/sha512-crypt.c: Likewise.
51082         * crypt/sha512.c: Likewise.
51083         * debug/backtrace-tst.c: Likewise.
51084         * debug/pcprofiledump.c: Likewise.
51085         * elf/cache.c: Likewise.
51086         * elf/dl-cache.c: Likewise.
51087         * elf/dl-misc.c: Likewise.
51088         * elf/dl-profile.c: Likewise.
51089         * elf/dl-support.c: Likewise.
51090         * elf/ldconfig.c: Likewise.
51091         * elf/sprof.c: Likewise.
51092         * iconv/dummy-repertoire.c: Likewise.
51093         * iconv/iconv_charmap.c: Likewise.
51094         * iconv/skeleton.c: Likewise.
51095         * iconvdata/8bit-generic.c: Likewise.
51096         * iconvdata/cp737.h: Likewise.
51097         * iconvdata/cp775.h: Likewise.
51098         * iconvdata/ibm1008.h: Likewise.
51099         * iconvdata/ibm1025.h: Likewise.
51100         * iconvdata/ibm1046.h: Likewise.
51101         * iconvdata/ibm1097.h: Likewise.
51102         * iconvdata/ibm1112.h: Likewise.
51103         * iconvdata/ibm1122.h: Likewise.
51104         * iconvdata/ibm1123.h: Likewise.
51105         * iconvdata/ibm1124.h: Likewise.
51106         * iconvdata/ibm1129.h: Likewise.
51107         * iconvdata/ibm1130.h: Likewise.
51108         * iconvdata/ibm1132.h: Likewise.
51109         * iconvdata/ibm1133.h: Likewise.
51110         * iconvdata/ibm1137.h: Likewise.
51111         * iconvdata/ibm1140.h: Likewise.
51112         * iconvdata/ibm1141.h: Likewise.
51113         * iconvdata/ibm1142.h: Likewise.
51114         * iconvdata/ibm1143.h: Likewise.
51115         * iconvdata/ibm1144.h: Likewise.
51116         * iconvdata/ibm1145.h: Likewise.
51117         * iconvdata/ibm1146.h: Likewise.
51118         * iconvdata/ibm1147.h: Likewise.
51119         * iconvdata/ibm1148.h: Likewise.
51120         * iconvdata/ibm1149.h: Likewise.
51121         * iconvdata/ibm1153.h: Likewise.
51122         * iconvdata/ibm1154.h: Likewise.
51123         * iconvdata/ibm1155.h: Likewise.
51124         * iconvdata/ibm1156.h: Likewise.
51125         * iconvdata/ibm1157.h: Likewise.
51126         * iconvdata/ibm1158.h: Likewise.
51127         * iconvdata/ibm1160.h: Likewise.
51128         * iconvdata/ibm1161.h: Likewise.
51129         * iconvdata/ibm1162.h: Likewise.
51130         * iconvdata/ibm1163.h: Likewise.
51131         * iconvdata/ibm1164.h: Likewise.
51132         * iconvdata/ibm1166.h: Likewise.
51133         * iconvdata/ibm1167.h: Likewise.
51134         * iconvdata/ibm12712.h: Likewise.
51135         * iconvdata/ibm1390.h: Likewise.
51136         * iconvdata/ibm1399.h: Likewise.
51137         * iconvdata/ibm16804.h: Likewise.
51138         * iconvdata/ibm4517.h: Likewise.
51139         * iconvdata/ibm4899.h: Likewise.
51140         * iconvdata/ibm4909.h: Likewise.
51141         * iconvdata/ibm4971.h: Likewise.
51142         * iconvdata/ibm5347.h: Likewise.
51143         * iconvdata/ibm803.h: Likewise.
51144         * iconvdata/ibm856.h: Likewise.
51145         * iconvdata/ibm901.h: Likewise.
51146         * iconvdata/ibm902.h: Likewise.
51147         * iconvdata/ibm9030.h: Likewise.
51148         * iconvdata/ibm9066.h: Likewise.
51149         * iconvdata/ibm921.h: Likewise.
51150         * iconvdata/ibm922.h: Likewise.
51151         * iconvdata/ibm9448.h: Likewise.
51152         * iconvdata/isiri-3342.h: Likewise.
51153         * iconvdata/jis0201.h: Likewise.
51154         * include/link.h: Likewise.
51155         * include/netdb.h: Likewise.
51156         * inet/check_native.c: Likewise.
51157         * inet/check_pf.c: Likewise.
51158         * inet/getipv4sourcefilter.c: Likewise.
51159         * inet/getnameinfo.c: Likewise.
51160         * inet/getsourcefilter.c: Likewise.
51161         * inet/htonl.c: Likewise.
51162         * inet/setipv4sourcefilter.c: Likewise.
51163         * inet/setsourcefilter.c: Likewise.
51164         * inet/test-inet6_opt.c: Likewise.
51165         * inet/tst-network.c: Likewise.
51166         * locale/C-collate.c: Likewise.
51167         * locale/C-ctype.c: Likewise.
51168         * locale/C-time.c: Likewise.
51169         * locale/C-translit.h: Likewise.
51170         * locale/loadarchive.c: Likewise.
51171         * locale/programs/3level.h: Likewise.
51172         * locale/programs/charmap.c: Likewise.
51173         * locale/programs/charmap.h: Likewise.
51174         * locale/programs/ld-address.c: Likewise.
51175         * locale/programs/ld-collate.c: Likewise.
51176         * locale/programs/ld-ctype.c: Likewise.
51177         * locale/programs/ld-identification.c: Likewise.
51178         * locale/programs/ld-measurement.c: Likewise.
51179         * locale/programs/ld-messages.c: Likewise.
51180         * locale/programs/ld-monetary.c: Likewise.
51181         * locale/programs/ld-name.c: Likewise.
51182         * locale/programs/ld-numeric.c: Likewise.
51183         * locale/programs/ld-paper.c: Likewise.
51184         * locale/programs/ld-telephone.c: Likewise.
51185         * locale/programs/ld-time.c: Likewise.
51186         * locale/programs/linereader.c: Likewise.
51187         * locale/programs/locale.c: Likewise.
51188         * locale/programs/locarchive.c: Likewise.
51189         * locale/programs/locfile.h: Likewise.
51190         * locale/programs/repertoire.c: Likewise.
51191         * locale/programs/simple-hash.c: Likewise.
51192         * locale/programs/simple-hash.h: Likewise.
51193         * malloc/memusage.c: Likewise.
51194         * malloc/memusagestat.c: Likewise.
51195         * nis/nis_defaults.c: Likewise.
51196         * nis/nis_hash.c: Likewise.
51197         * nis/nis_print.c: Likewise.
51198         * nis/nis_xdr.c: Likewise.
51199         * nscd/connections.c: Likewise.
51200         * nscd/hstcache.c: Likewise.
51201         * nscd/nscd_gethst_r.c: Likewise.
51202         * nscd/nscd_getserv_r.c: Likewise.
51203         * nscd/nscd_helper.c: Likewise.
51204         * nscd/servicescache.c: Likewise.
51205         * nss/makedb.c: Likewise.
51206         * nss/nss_db/db-XXX.c: Likewise.
51207         * nss/nss_db/db-initgroups.c: Likewise.
51208         * nss/nss_db/db-netgrp.c: Likewise.
51209         * nss/nss_files/files-network.c: Likewise.
51210         * nss/nss_files/files-parse.c: Likewise.
51211         * posix/bug-regex5.c: Likewise.
51212         * posix/fnmatch_loop.c: Likewise.
51213         * posix/regcomp.c: Likewise.
51214         * posix/regexec.c: Likewise.
51215         * posix/tst-rfc3484-2.c: Likewise.
51216         * posix/tst-rfc3484-3.c: Likewise.
51217         * posix/tst-rfc3484.c: Likewise.
51218         * resolv/nss_dns/dns-canon.c: Likewise.
51219         * resolv/nss_dns/dns-network.c: Likewise.
51220         * resolv/res_init.c: Likewise.
51221         * resolv/res_mkquery.c: Likewise.
51222         * resolv/tst-aton.c: Likewise.
51223         * stdlib/cxa_atexit.c: Likewise.
51224         * stdlib/cxa_finalize.c: Likewise.
51225         * stdlib/gen-fpioconst.c: Likewise.
51226         * stdlib/strtol_l.c: Likewise.
51227         * string/tst-endian.c: Likewise.
51228         * sunrpc/auth_des.c: Likewise.
51229         * sunrpc/clnt_udp.c: Likewise.
51230         * sunrpc/rtime.c: Likewise.
51231         * sunrpc/svcauth_des.c: Likewise.
51232         * sunrpc/xdr.c: Likewise.
51233         * sunrpc/xdr_intXX_t.c: Likewise.
51234         * sunrpc/xdr_rec.c: Likewise.
51235         * sysdeps/generic/ldconfig.h: Likewise.
51236         * sysdeps/generic/ldsodefs.h: Likewise.
51237         * sysdeps/generic/memusage.h: Likewise.
51238         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51239         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51240         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51241         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51242         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51243         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51244         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51245         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51246         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51247         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51248         * sysdeps/posix/getaddrinfo.c: Likewise.
51249         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51250         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51251         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51252         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51253         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51254         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51255         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51256         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51257         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51258         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51259         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51260         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51261         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51262         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51263         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51264         * sysdeps/x86_64/dl-tls.h: Likewise.
51265         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51266         * time/alt_digit.c: Likewise.
51267         * time/era.c: Likewise.
51268         * wcsmbs/tst-c16c32-1.c: Likewise.
51270 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51272         * math/libm-test.inc (struct test_sincos_data): New type.
51273         (RUN_TEST_LOOP_sincos): New macro.
51274         (sincos_test_data): New variable.
51275         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51277 2013-05-16  Richard Henderson  <rth@redhat.com>
51279         * math/atest-exp2.c (LIMB64): New macro.
51280         (CONSTSZ): New macro.
51281         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51282         (hexdig): Move ...
51283         (print_mpn_fp): ... to function scope.
51284         (read_mpn_hex): Remove.
51285         (get_log2): Remove.
51286         (exp2_mpn): Use mp_log2.
51287         (main): Use mp_exp1.
51289 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51291         * math/libm-test.inc: Remove comment about not testing "inexact"
51292         exceptions.
51293         (INEXACT_EXCEPTION): New macro.
51294         (NO_INEXACT_EXCEPTION): Likewise.
51295         (INVALID_EXCEPTION_OK): Update value.
51296         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51297         (OVERFLOW_EXCEPTION_OK): Likewise.
51298         (UNDERFLOW_EXCEPTION_OK): Likewise.
51299         (IGNORE_ZERO_INF_SIGN): Likewise.
51300         (ERRNO_UNCHANGED): Likewise.
51301         (ERRNO_EDOM): Likewise.
51302         (ERRNO_ERANGE): Likewise.
51303         (test_exceptions): Handle testing "inexact" exceptions.
51304         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51305         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51306         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51307         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51308         INEXACT_EXCEPTION.
51309         (rint_towardzero_test_data): Likewise.
51310         (rint_downward_test_data): Likewise.
51311         (rint_upward_test_data): Likewise.
51313         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51314         with OVERFLOW_EXCEPTION.
51315         (exp10_test_data): Likewise.
51316         (exp2_test_data): Likewise.
51317         (expm1_test_data): Likewise.
51318         (lgamma_test_data): Likewise.
51319         (pow_test_data): Likewise.
51320         (tgamma_test_data): Likewise.
51321         (yn_test_data): Remove duplicate test of overflow.
51323         * math/libm-test.inc (struct test_cc_c_data): New type.
51324         (RUN_TEST_LOOP_cc_c): New macro.
51325         (cpow_test_data): New variable.
51326         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51328         * math/libm-test.inc (struct test_f_L_data): New type.
51329         (RUN_TEST_LOOP_f_L): New macro.
51330         (llrint_test_data): New variable.
51331         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51332         (llrint_tonearest_test_data): New variable.
51333         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51334         (llrint_towardzero_test_data): New variable.
51335         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51336         (llrint_downward_test_data): New variable.
51337         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51338         (llrint_upward_test_data): New variable.
51339         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51340         (llround_test_data): New variable.
51341         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51343 2013-05-13  Peter Collingbourne  <pcc@google.com>
51345         * math/atest-exp2.c (get_log2): Remove const attribute.
51347 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51349         * math/libm-test.inc (struct test_f_l_data): New type.
51350         (RUN_TEST_LOOP_f_l): New macro.
51351         (lrint_test_data): New variable.
51352         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51353         (lrint_tonearest_test_data): New variable.
51354         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51355         (lrint_towardzero_test_data): New variable.
51356         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51357         (lrint_downward_test_data): New variable.
51358         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51359         (lrint_upward_test_data): New variable.
51360         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51361         (lround_test_data): New variable.
51362         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51364 2013-05-15  Peter Collingbourne  <pcc@google.com>
51366         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51367         (EXTRACT_WORDS64) Use where appropriate.
51368         (INSERT_WORDS64) Likewise.
51370         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51371         constraints with x constraints.
51372         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51374         * malloc/obstack.c (_obstack_compat): Add initializer.
51376 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51378         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51379         si_trapno and add si_addr_lsb to _sifields.sigfault.
51380         (si_trapno): Remove macro.
51381         (si_addr_lsb): Define new macro.
51382         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51384 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51386         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51387         instead of TEST_f_l.
51388         (llrint_test_tonearest): Likewise.
51389         (llrint_test_towardzero): Likewise.
51390         (llrint_test_downward): Likewise.
51391         (llrint_test_upward): Likewise.
51392         (llround_test): Likewise.
51394         * math/libm-test.inc (struct test_f_i_data): Add comment.
51395         (RUN_TEST_LOOP_f_b): New macro.
51396         (RUN_TEST_LOOP_f_b_tg): Likewise.
51397         (finite_test_data): New variable.
51398         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51399         (isfinite_test_data): New variable.
51400         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51401         (isinf_test_data): New variable.
51402         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51403         (isnan_test_data): New variable.
51404         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51405         (isnormal_test_data): New variable.
51406         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51407         (issignaling_test_data): New variable.
51408         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51409         (signbit_test_data): New variable.
51410         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51412         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51413         with INVALID_EXCEPTION.
51414         (acosh_test_data): Likewise.
51415         (asin_test_data): Likewise.
51416         (atanh_test_data): Likewise.
51417         (fmod_test_data): Likewise.
51418         (log_test_data): Likewise.
51419         (log10_test_data): Likewise.
51420         (log2_test_data): Likewise.
51421         (pow_test_data): Likewise.
51422         (sqrt_test_data): Likewise.
51423         (y0_test_data): Likewise.
51424         (y1_test_data): Likewise.
51425         (yn_test_data): Likewise.
51427         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51428         function contents.
51430         * math/libm-test.inc (struct test_ff_i_data): New type.
51431         (RUN_TEST_LOOP_ff_i_tg): New macro.
51432         (isgreater_test_data): New variable.
51433         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51434         (isgreaterequal_test_data): New variable.
51435         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51436         (isless_test_data): New variable.
51437         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51438         (islessequal_test_data): New variable.
51439         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51440         (islessgreater_test_data): New variable.
51441         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51442         (isunordered_test_data): New variable.
51443         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51445 2013-05-14  David S. Miller  <davem@davemloft.net>
51447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51449 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51451         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51453         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51454         extra_test to int.
51455         (struct test_f_i_data): Change type of max_ulp to int.
51457         * math/libm-test.inc (test_ffI_f1_data): New type.
51458         (RUN_TEST_LOOP_ffI_f1): New macro.
51459         (remquo_test_data): New variable.
51460         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51462         * setjmp/tst-setjmp-fp.c: New file.
51463         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51464         (link-libm): New variable.
51465         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51467         * math/libm-test.inc (struct test_f_i_data): New type.
51468         (RUN_TEST_LOOP_f_i): New macro.
51469         (RUN_TEST_LOOP_f_i_tg): Likewise.
51470         (fpclassify_test_data): New variable.
51471         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51472         (ilogb_test_data): New variable.
51473         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51475         * math/libm-test.inc (scalbln_test): Correct function name in END
51476         call.
51478         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51479         (RUN_TEST_LOOP_fI_f1): New macro.
51480         (frexp_test_data): New variable.
51481         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51483         * math/libm-test.inc (struct test_fF_f1_data): New type.
51484         (RUN_TEST_LOOP_fF_f1): New macro.
51485         (modf_test_data): New variable.
51486         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51488         * math/libm-test.inc (struct test_f_f1_data): New type.
51489         (RUN_TEST_LOOP_f_f1): New macro.
51490         (gamma_test_data): New variable.
51491         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51492         (lgamma_test_data): New variable.
51493         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51495 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51497         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51498         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51499         (main): Comment "tls" pseudo-hwcap.
51501 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51503         * math/libm-test.inc (struct test_fl_f_data): New type.
51504         (RUN_TEST_LOOP_fl_f): New variable.
51505         (scalbln_test_data): New variable.
51506         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51508         * math/libm-test.inc (struct test_fi_f_data): New type.
51509         (RUN_TEST_LOOP_fi_f): New macro.
51510         (ldexp_test_data): New variable.
51511         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51512         (scalbn_test_data): New variable.
51513         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51515         * math/libm-test.inc (struct test_c_f_data): New type.
51516         (RUN_TEST_LOOP_c_f): New macro.
51517         (cabs_test_data): New variable.
51518         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51519         (carg_test_data): New variable.
51520         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51521         (cimag_test_data): New variable.
51522         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51523         (creal_test_data): New variable.
51524         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51526         * math/libm-test.inc (struct test_if_f_data): New type.
51527         (RUN_TEST_LOOP_if_f): New macro.
51528         (jn_test_data): New variable.
51529         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51530         (yn_test_data): New variable.
51531         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51533         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51535 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51537         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51538         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51540 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51542         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51543         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51544         (bench-deps): Add bench-timing.h.
51545         * benchtests-bench-skeleton.c: Include bench-timing.h.
51546         (main): Use TIMING_* macros instead of clock_gettime.
51547         * benchtests/bench-timing.h: New file.
51549         [BZ #14582]
51550         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51551         Renamed from _LIB_VERSION.
51552         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51554 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51556         * math/libm-test.inc (struct test_fff_f_data): New type.
51557         (RUN_TEST_LOOP_fff_f): New macro.
51558         (fma_test_data): New variable.
51559         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51560         (fma_towardzero_test_data): New variable.
51561         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51562         (fma_downward_test_data): New variable.
51563         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51564         (fma_upward_test_data): New variable.
51565         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51567         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51568         (struct test_c_c_data): New type.
51569         (RUN_TEST_LOOP_c_c): New macro.
51570         (cacos_test_data): New variable.
51571         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51572         (cacosh_test_data): New variable.
51573         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51574         (casin_test_data): New variable.
51575         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51576         (casinh_test_data): New variable.
51577         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51578         (catan_test_data): New variable.
51579         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51580         (catanh_test_data): New variable.
51581         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51582         (ccos_test_data): New variable.
51583         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51584         (ccosh_test_data): New variable.
51585         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51586         (cexp_test_data): New variable.
51587         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51588         (clog_test_data): New variable.
51589         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51590         (clog10_test_data): New variable.
51591         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51592         (conj_test_data): New variable.
51593         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51594         (cproj_test_data): New variable.
51595         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51596         (csin_test_data): New variable.
51597         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51598         (csinh_test_data): New variable.
51599         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51600         (csqrt_test_data): New variable.
51601         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51602         (ctan_test_data): New variable.
51603         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51604         (ctan_tonearest_test_data): New variable.
51605         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51606         (ctan_towardzero_test_data): New variable.
51607         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51608         (ctan_downward_test_data): New variable.
51609         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51610         (ctan_upward_test_data): New variable.
51611         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51612         (ctanh_test_data): New variable.
51613         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51614         (ctanh_tonearest_test_data): New variable.
51615         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51616         (ctanh_towardzero_test_data): New variable.
51617         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51618         (ctanh_downward_test_data): New variable.
51619         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51620         (ctanh_upward_test_data): New variable.
51621         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51622         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51623         of BUILD_COMPLEX.
51625         * math/libm-test.inc (struct test_ff_f_data): New type.
51626         (struct test_ff_f_data_nexttoward): Likewise.
51627         (RUN_TEST_LOOP_2_f): New macro.
51628         (RUN_TEST_LOOP_ff_f): Likewise.
51629         (atan2_test_data): New variable.
51630         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51631         (copysign_test_data): New variable.
51632         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51633         (fdim_test_data): New variable.
51634         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51635         (fmax_test_data): New variable.
51636         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51637         (fmin_test_data): New variable.
51638         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51639         (fmod_test_data): New variable.
51640         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51641         (hypot_test_data): New variable.
51642         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51643         (nextafter_test_data): New variable.
51644         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51645         (nexttoward_test_data): New variable.
51646         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51647         (pow_test_data): New variable.
51648         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51649         (pow_tonearest_test_data): New variable.
51650         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51651         (pow_towardzero_test_data): New variable.
51652         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51653         (pow_downward_test_data): New variable.
51654         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51655         (pow_upward_test_data): New variable.
51656         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51657         (remainder_test_data): New variable.
51658         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51659         (scalb_test_data): New variable.
51660         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51661         * sysdeps/i386/fpu/libm-test-ulps: Update.
51663 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51665         * math/libm-test.inc (fma_test): Use max_value instead of local
51666         variable fltmax.
51667         (nextafter_test): Likewise.
51669         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51670         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51671         (acos_downward_test_data): New variable.
51672         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51673         (acos_upward_test_data): New variable.
51674         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51675         (acosh_test_data): New variable.
51676         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51677         (asin_test_data): New variable.
51678         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51679         (asin_tonearest_test_data): New variable.
51680         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51681         (asin_towardzero_test_data): New variable.
51682         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51683         (asin_downward_test_data): New variable.
51684         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51685         (asin_upward_test_data): New variable.
51686         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51687         (asinh_test_data): New variable.
51688         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51689         (atan_test_data): New variable.
51690         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51691         (atanh_test_data): New variable.
51692         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51693         (cbrt_test_data): New variable.
51694         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51695         (ceil_test_data): New variable.
51696         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51697         (cos_test_data): New variable.
51698         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51699         (cos_tonearest_test_data): New variable.
51700         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51701         (cos_towardzero_test_data): New variable.
51702         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51703         (cos_downward_test_data): New variable.
51704         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51705         (cos_upward_test_data): New variable.
51706         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51707         (cosh_test_data): New variable.
51708         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51709         (cosh_tonearest_test_data): New variable.
51710         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51711         (cosh_towardzero_test_data): New variable.
51712         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51713         (cosh_downward_test_data): New variable.
51714         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51715         (cosh_upward_test_data): New variable.
51716         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51717         (erf_test_data): New variable.
51718         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51719         (erfc_test_data): New variable.
51720         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51721         (exp_test_data): New variable.
51722         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51723         (exp_tonearest_test_data): New variable.
51724         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51725         (exp_towardzero_test_data): New variable.
51726         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51727         (exp_downward_test_data): New variable.
51728         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51729         (exp_upward_test_data): New variable.
51730         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51731         (exp10_test_data): New variable.
51732         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51733         (exp2_test_data): New variable.
51734         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51735         (expm1_test_data): New variable.
51736         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51737         (fabs_test_data): New variable.
51738         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51739         (floor_test_data): New variable.
51740         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51741         (j0_test_data): New variable.
51742         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51743         (j1_test_data): New variable.
51744         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51745         (log_test_data): New variable.
51746         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51747         (log10_test_data): New variable.
51748         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51749         (log1p_test_data): New variable.
51750         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51751         (log2_test_data): New variable.
51752         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51753         (logb_test_data): New variable.
51754         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51755         (logb_downward_test_data): New variable.
51756         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51757         (nearbyint_test_data): New variable.
51758         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51759         (rint_test_data): New variable.
51760         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51761         (rint_tonearest_test_data): New variable.
51762         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51763         (rint_towardzero_test_data): New variable.
51764         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51765         (rint_downward_test_data): New variable.
51766         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51767         (rint_upward_test_data): New variable.
51768         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51769         (round_test_data): New variable.
51770         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51771         (sin_test_data): New variable.
51772         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51773         (sin_tonearest_test_data): New variable.
51774         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51775         (sin_towardzero_test_data): New variable.
51776         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51777         (sin_downward_test_data): New variable.
51778         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51779         (sin_upward_test_data): New variable.
51780         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51781         (sinh_test_data): New variable.
51782         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51783         (sinh_tonearest_test_data): New variable.
51784         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51785         (sinh_towardzero_test_data): New variable.
51786         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51787         (sinh_downward_test_data): New variable.
51788         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51789         (sinh_upward_test_data): New variable.
51790         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51791         (sqrt_test_data): New variable.
51792         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51793         (tan_test_data): New variable.
51794         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51795         (tan_tonearest_test_data): New variable.
51796         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51797         (tan_towardzero_test_data): New variable.
51798         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51799         (tan_downward_test_data): New variable.
51800         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51801         (tan_upward_test_data): New variable.
51802         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51803         (tanh_test_data): New variable.
51804         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51805         (tgamma_test_data): New variable.
51806         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51807         (trunc_test_data): New variable.
51808         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51809         (y0_test_data): New variable.
51810         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51811         (y1_test_data): New variable.
51812         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51813         (significand_test_data): New variable.
51814         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51816 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51818         [BZ #12387]
51819         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51821 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51823         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51825 2013-05-10  Andreas Jaeger  <aj@suse.de>
51827         [BZ #15448]
51828         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51829         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51831 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51833         * math/gen-libm-test.pl (adjust_arg): New function.
51834         (special_functions): Handle generating output in both functions
51835         and arrays.
51836         (parse_args): Likewise.
51837         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51838         $in_func argument to parse_args.
51839         * math/libm-test.inc (struct test_f_f_data): New type.
51840         (IF_ROUND_INIT_): New macro.
51841         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51842         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51843         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51844         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51845         (ROUND_RESTORE_): Likewise.
51846         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51847         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51848         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51849         (ROUND_RESTORE_FE_UPWARD): Likewise.
51850         (RUN_TEST_LOOP_f_f): New macro.
51851         (acos_test_data): New variable.
51852         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51853         (acos_tonearest_test_data): New variable.
51854         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51856 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51858         * benchtests/bench-skeleton.c (startup): Fix coding style.
51860 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51862         [BZ #6809]
51863         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51864         negative infinity argument.
51865         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51866         negative infinity argument.
51867         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51868         negative infinity argument.
51869         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51870         domain errors.
51872 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51874         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51875         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51876         * iconv/iconv_prog.c (main): Likewise.
51877         * locale/programs/charmap-dir.c (charmap_readdir)
51878         (fopen_uncompressed): Likewise.
51879         * locale/programs/locfile.c (siblings_uncached)
51880         (write_locale_data): Use lstat64 instead of lstat.
51881         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51882         stat.
51884 2013-05-10  Andreas Jaeger  <aj@suse.de>
51886         [BZ #15395]
51887         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51888         localization.
51889         Include <locale.h>.
51891 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51893         * elf/dl-close.c (_dl_close_worker): Add comments.
51895 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51897         [BZ #15359]
51898         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51899         high part of pi/2.
51900         (__ieee754_rem_pio2l): Update comments.
51902         [BZ #15429]
51903         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51904         high part of pi/2.
51905         (__ieee754_rem_pio2l): Update comments.
51907         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51908         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51910         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51911         M_PI_4l.
51913         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51914         (M_PI_34_LOG10El): Likewise.
51915         (M_PI2_LOG10El): Likewise.
51916         (M_PI4_LOG10El): Likewise.
51917         (M_PI_LOG10El): Likewise.
51919 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51923 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51925         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51926         (MINUS_ZERO_INIT): Likewise.
51927         (PLUS_INFTY_INIT): Likewise.
51928         (MINUS_INFTY_INIT): Likewise.
51929         (QNAN_VALUE_INIT): Likewise.
51930         (MAX_VALUE_INIT): Likewise.
51931         (MIN_VALUE_INIT): Likewise.
51932         (MIN_SUBNORM_VALUE_INIT): Likewise.
51933         (plus_zero): Initialize with PLUS_ZERO_INIT.
51934         (minus_zero): Initialize with MINUS_ZERO_INIT.
51935         (plus_infty): Initialize with PLUS_INFTY_INIT.
51936         (minus_infty): Initialize with MINUS_INFTY_INIT.
51937         (qnan_value): Initialize with QNAN_VALUE_INIT.
51938         (max_value): Initialize with MAX_VALUE_INIT.
51939         (min_value): Initialize with MIN_VALUE_INIT.
51940         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51942         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51943         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51944         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51945         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51947         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51948         (RUN_TEST_2_f): Likewise.
51949         (RUN_TEST_ff_f): Likewise.
51950         (RUN_TEST_fi_f): Likewise.
51951         (RUN_TEST_fl_f): Likewise.
51952         (RUN_TEST_fff_f): Likewise.
51953         (RUN_TEST_c_f): Likewise.
51954         (RUN_TEST_f_f1): Likewise.
51955         (RUN_TEST_fF_f1): Likewise.
51956         (RUN_TEST_fI_f1): Likewise.
51957         (RUN_TEST_ffI_f1): Likewise.
51958         (RUN_TEST_c_c): Likewise.
51959         (RUN_TEST_cc_c): Likewise.
51960         (RUN_TEST_f_i): Likewise.
51961         (RUN_TEST_f_i_tg): Likewise.
51962         (RUN_TEST_ff_i_tg): Likewise.
51963         (RUN_TEST_f_b): Likewise.
51964         (RUN_TEST_f_b_tg): Likewise.
51965         (RUN_TEST_f_l): Likewise.
51966         (RUN_TEST_f_L): Likewise.
51967         (RUN_TEST_sincos): Likewise.
51968         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51969         whether to show exceptions.  Do not include ");\n" in return
51970         value.
51971         (special_functions): Output call to RUN_TEST_sincos instead of
51972         check_float calls.  Update calls to new_test.
51973         (parse_args): Output call to single RUN_TEST_* macro instead of
51974         check_* calls and other assignments.  Update calls to new_test.
51976         [BZ #2546]
51977         [BZ #2560]
51978         [BZ #5159]
51979         [BZ #15426]
51980         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51981         input to result for tgamma overflow.
51982         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51983         (gamma_coeff): New variable.
51984         (NCOEFF): New macro.
51985         (gamma_positive): New function.
51986         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51987         underflow here.  Use gamma_positive instead of exp (lgamma) for
51988         other arguments.
51989         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51990         (gamma_coeff): New variable.
51991         (NCOEFF): New macro.
51992         (gammaf_positive): New function.
51993         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51994         underflow here.  Use gamma_positive instead of exp (lgamma) for
51995         other arguments.
51996         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51997         (gamma_coeff): New variable.
51998         (NCOEFF): New macro.
51999         (gammal_positive): New function.
52000         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52001         underflow here.  Use gamma_positive instead of exp (lgamma) for
52002         other arguments.
52003         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52004         (gamma_coeff): New variable.
52005         (NCOEFF): New macro.
52006         (gammal_positive): New function.
52007         (__ieee754_gammal_r): Handle positive infinity, overflow and
52008         underflow here.  Handle NaN the same as positive infinity.  Remove
52009         check x < 0xffffffff for negative integers.  Use gamma_positive
52010         instead of exp (lgamma) for other arguments.
52011         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52012         (gamma_coeff): New variable.
52013         (NCOEFF): New macro.
52014         (gammal_positive): New function.
52015         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52016         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52017         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52018         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52019         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52020         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52021         * sysdeps/generic/math_private.h (__gamma_productf): New
52022         prototype.
52023         (__gamma_product): Likewise.
52024         (__gamma_productl): Likewise.
52025         * math/Makefile (libm-calls): Add gamma_product.
52026         * math/libm-test.inc (tgamma_test): Add more tests.
52027         * sysdeps/i386/fpu/libm-test-ulps: Update.
52028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52030 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52032         * benchtests/bench-skeleton.c (main): Preheat CPU.
52034 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52036         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52038 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52040         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52041         and _dl_skip_args_internal.
52043 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52045         * manual/message.texi (Message Translation): Talk about users.
52046         Message to key mapping impacts design.
52048 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52050         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52052         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52054         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52055         * sysdeps/wordsize-64/glob64.c: ... here.
52057         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52058         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52059         New macros.
52061         * debug/getlogin_r_chk.c: Moved to ...
52062         * login/getlogin_r_chk.c: ... here.
52063         * debug/Makefile (routines): Move getlogin_r_chk to ...
52064         * login/Makefile (routines): ... here.
52065         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52066         * login/Versions (libc: GLIBC_2.4): ... here.
52068         * io/poll.c (__poll): Renamed from poll.
52069         Add libc_hidden_def.
52070         (poll): Define as weak alias.
52072         * debug/ptsname_r_chk.c: Moved to ...
52073         * login/ptsname_r_chk.c: ... here.
52074         * debug/Makefile (routines): Move ptsname_r_chk to ...
52075         * login/Makefile (routines): ... here.
52076         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52077         * login/Versions (libc: GLIBC_2.4): ... here.
52079         * posix/getlogin.c: Moved to ...
52080         * login/getlogin.c: ... here.
52081         * posix/getlogin_r.c: Moved to ...
52082         * login/getlogin_r.c: ... here.
52083         * posix/getlogin_r.c: Moved to ...
52084         * login/getlogin_r.c: ... here.
52085         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52086         * login/Makefile (routines): ... here.
52087         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52088         * login/Versions (libc: GLIBC_2.0): ... here.
52090         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52091         (setrlimit): Define as weak alias.
52093         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52094         Call __ names for open, ftruncate, and close.
52095         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52096         (truncate): Define as weak alias.
52098 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52100         * math/gen-libm-test.pl (parse_args): Initialize x before each
52101         test of frexp, modf and remquo.
52103         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52104         test signgam value.
52106 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52108         [BZ #15418]
52109         [BZ #15419]
52110         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52111         internal tests.
52112         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52114 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52116         * elf/dl-writev.h: New file.
52117         * elf/dl-misc.c: Include it.
52118         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52119         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52121 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52123         * math/libm-test.inc (noXFails): Remove variable.
52124         (noXPasses): Likewise.
52125         (BUILD_COMPLEX_INT): Remove macro.
52126         (print_screen): Remove xfail argument.
52127         (print_screen_max_error): Likewise.
52128         (update_stats): Likewise.
52129         (print_max_error): Likewise.  Update calls to other affected
52130         functions.
52131         (print_complex_max_error): Likewise.
52132         (test_single_exception): Update calls to print_screen.
52133         (test_single_errno): Likewise.
52134         (check_float_internal): Remove xfail argument.  Update calls to
52135         other affected functions.
52136         (check_float): Likewise.
52137         (check_complex): Likewise.
52138         (check_int): Likewise.
52139         (check_long): Likewise.
52140         (check_bool): Likewise.
52141         (check_longlong): Likewise.
52142         (main): Don't print noXFails and noXPasses.
52143         * math/gen-libm-test.pl (top level): Don't mention expected
52144         failure handling in comment.
52145         (new_test): Don't handle expected failures.
52146         (parse_args): Don't mention expected failure handling in comment.
52147         (generate_testfile): Don't handle expected failures.
52148         (parse_ulps): Likewise.
52149         (print_ulps_file): Likewise.
52150         (get_failure): Remove function.
52151         (output_test): Don't handle expected failures.
52152         * make/README.libm-test: Don't mention expected failure handling.
52154         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52155         (minus_zero): Likewise.
52156         (plus_infty): Likewise.
52157         (minus_infty): Likewise.
52158         (qnan_value): Likewise.
52159         (max_value): Likewise.
52160         (min_value): Likewise.
52161         (min_subnorm_value): Likewise.
52162         (initialize): Do not initialize those variables dynamically.
52164 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52166         * io/open.c (__open_2): Moved to ...
52167         * io/open_2.c: ... this new file.
52168         * io/open64.c (__open64_2): Moved to ...
52169         * io/open64_2.c: ... this new file.
52170         * io/openat.c (__openat_2): Moved to ...
52171         * io/openat_2.c: ... this new file.
52172         * io/openat64.c (__openat64_2): Moved to ...
52173         * io/openat64_2.c: ... this new file.
52174         * io/Makefile (routines): Add them.
52175         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52176         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52177         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52178         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52179         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52180         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52181         (__openat64): Add hidden_ver.
52182         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52183         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52185         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52186         Separately conditionalize setting of GLRO(dl_sysinfo) so
52187         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52188         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52190 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52192         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52193         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52194         definition.
52195         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52196         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52197         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52198         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52199         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52201 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52203         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52204         test signgam value.
52206         * math/libm-test.inc (hypot_test): Do not use
52207         IGNORE_ZERO_INF_SIGN.
52209 2013-05-03  Andreas Jaeger  <aj@suse.de>
52211         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52212         Linux 3.9.
52213         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52214         (PF_MAX): Adjust for VSOCK change.
52216 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52220 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52222         [BZ #15264]
52223         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52224         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52225         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52227 2013-05-02  David S. Miller  <davem@davemloft.net>
52229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52231 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52233         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52235 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52237         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52239 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52241         [BZ #14952]
52242         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52243         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52244         Use __attribute__ ((__gnu_inline__)).
52245         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52246         Don't use __attribute__ ((__gnu_inline__)).
52248 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52250         [BZ #15423]
52251         * math/s_catan.c (__catan): Handle small real or imaginary part of
52252         input specially to avoid spurious underflow.
52253         * math/s_catanf.c (__catanf): Likewise.
52254         * math/s_catanh.c (__catanh): Likewise.
52255         * math/s_catanhf.c (__catanhf): Likewise.
52256         * math/s_catanhl.c (__catanhl): Likewise.
52257         * math/s_catanl.c (__catanl): Likewise.
52258         * math/libm-test.inc (catan_test): Add more tests.
52259         (catanh_test): Likewise.
52260         * sysdeps/i386/fpu/libm-test-ulps: Update.
52261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52263 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52267 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52269         [BZ #15416]
52270         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52271         accurately for denominator in atan2.
52272         * math/s_catanf.c (__catanf): Likewise.
52273         * math/s_catanh.c (__catanh): Likewise.
52274         * math/s_catanhf.c (__catanhf): Likewise.
52275         * math/s_catanhl.c (__catanhl): Likewise.
52276         * math/s_catanl.c (__catanl): Likewise.
52277         * math/libm-test.inc (catan_test): Add more tests.
52278         (catanh_test): Likewise.
52279         * sysdeps/i386/fpu/libm-test-ulps: Update.
52280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52282 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52284         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52286         * benchtests/Makefile (bench): Remove slow benchmarks.
52287         * benchtests/atan-inputs: Add slow benchmark inputs.
52288         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52289         (BENCH_FUNC): Accept variant offset.
52290         (VARIANT): Define.
52291         * benchtests/bench-skeleton.c (main): Run benchmark for each
52292         variant.
52293         * benchtests/cos-inputs: Add slow benchmark inputs.
52294         * benchtests/exp-inputs: Likewise.
52295         * benchtests/pow-inputs: Likewise.
52296         * benchtests/sin-inputs: Likewise.
52297         * benchtests/slowatan-inputs: Remove.
52298         * benchtests/slowatan.c: Remove.
52299         * benchtests/slowcos-inputs: Remove.
52300         * benchtests/slowcos.c: Remove.
52301         * benchtests/slowexp-inputs: Remove.
52302         * benchtests/slowexp.c: Remove.
52303         * benchtests/slowpow-inputs: Remove.
52304         * benchtests/slowpow.c: Remove.
52305         * benchtests/slowsin-inputs: Remove.
52306         * benchtests/slowsin.c: Remove.
52307         * benchtests/slowtan-inputs: Remove.
52308         * benchtests/slowtan.c: Remove.
52309         * benchtests/tan-inputs: Add slow benchmark inputs.
52310         * scripts/bench.pl: Parse comments and directives.
52312         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52313         in CPPFLAGS.
52314         ($(objpfx)bench-%.c): Remove *-ITER.
52315         * benchtests/bench-modf.c: Remove definition of ITER.
52316         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52317         (main): Loop for DURATION seconds instead of fixed number of
52318         iterations.
52319         * scripts/bench.pl: Don't expect iterations in parameters.
52321 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52323         * io/fchdir.c (__fchdir): Renamed from fchdir.
52324         (fchdir): Define as weak alias.
52326 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52328         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52329         (ERRNO_EDOM): Likewise.
52330         (ERRNO_ERANGE): Likewise.
52331         (noErrnoTests): New variable.
52332         (init_max_error): Set errno to 0.
52333         (test_single_errno): New function.
52334         (test_errno): Likewise.
52335         (check_float_internal): Call test_errno.  Set errno to 0.
52336         (check_complex): Refer to errno tests in comment.
52337         (check_int): Call test_errno.  Set errno to 0.
52338         (check_long): Likewise.
52339         (check_bool): Likewise.
52340         (check_longlong): Likewise.
52341         (cos_test): Use ERRNO_* flags for errno tests instead of
52342         check_int.
52343         (expm1_test): Likewise.
52344         (fmod_test): Likewise.
52345         (ilogb_test): Likewise.
52346         (lgamma_test): Likewise.
52347         (pow_test): Likewise.
52348         (remainder_test): Likewise.
52349         (sin_test): Likewise.
52350         (tan_test): Likewise.
52351         (yn_test): Likewise.
52352         (initialize): Set errno to 0.
52353         (main): Print number of errno tests.
52354         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52356 2013-04-29  Andreas Jaeger  <aj@suse.de>
52358         [BZ #15084]
52359         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52360         and RES_USEVC.
52362         [BZ #15085]
52363         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52364         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52365         unimplemented.
52367         [BZ #15380]
52368         * stdlib/random.c (__initstate): Return NULL if
52369         __initstate fails.
52371         [BZ #15086]
52372         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52373         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52374         RES_SNGLKUPREOP.
52376 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52380 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52382         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52383         of individual tests.
52384         (casin_test): Likewise.
52385         (casinh_test): Likewise.
52387 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52389         [BZ #15409]
52390         * math/s_catan.c (__catan): Handle arguments with large real or
52391         imaginary part separately without squaring.
52392         * math/s_catanf.c (__catanf): Likewise.
52393         * math/s_catanh.c (__catanh): Likewise.
52394         * math/s_catanhf.c (__catanhf): Likewise.
52395         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52396         and redefine.
52397         (__catanhl): Handle arguments with large real or imaginary part
52398         separately without squaring.
52399         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52400         and redefine.
52401         (__catanl): Handle arguments with large real or imaginary part
52402         separately without squaring.
52403         * math/libm-test.inc (catan_test): Add more tests.
52404         (catanh_test): Likewise.
52405         * sysdeps/i386/fpu/libm-test-ulps: Update.
52406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52408 2013-04-27  Andreas Jaeger  <aj@suse.de>
52410         [BZ #15007]
52411         * stdlib/stdlib.h: Update guards for qecvt.
52412         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52413         <stdlib.h>.
52415 2013-04-27  Allan McRae  <allan@archlinux.org>
52417         * sysdeps/i386/fpu/libm-test-ulps: Update.
52419 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52421         [BZ #15406]
52422         * math/s_catan.c: Include <float.h>.
52423         (__catan): Ensure underflow exception occurs for underflowed
52424         result.
52425         * math/s_catanf.c: Include <float.h>.
52426         (__catanf): Ensure underflow exception occurs for underflowed
52427         result.
52428         * math/s_catanh.c: Include <float.h>.
52429         (__catanh): Ensure underflow exception occurs for underflowed
52430         result.
52431         * math/s_catanhf.c: Include <float.h>.
52432         (__catanhf): Ensure underflow exception occurs for underflowed
52433         result.
52434         * math/s_catanhl.c: Include <float.h>.
52435         (__catanhl): Ensure underflow exception occurs for underflowed
52436         result.
52437         * math/s_catanl.c: Include <float.h>.
52438         (__catanl): Ensure underflow exception occurs for underflowed
52439         result.
52440         * math/libm-test.inc (catan_test): Add more tests.
52441         (catanh_test): Likewise.
52443         [BZ #15405]
52444         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52445         underflowed result.
52446         * math/s_ccoshf.c (__ccoshf): Likewise.
52447         * math/s_ccoshl.c (__ccoshl): Likewise.
52448         * math/s_csin.c (__csin): Likewise.
52449         * math/s_csinf.c (__csinf): Likewise.
52450         * math/s_csinh.c (__csinh): Likewise.
52451         * math/s_csinhf.c (__csinhf): Likewise.
52452         * math/s_csinhl.c (__csinhl): Likewise.
52453         * math/s_csinl.c (__csinl): Likewise.
52454         * math/libm-test.inc (ccos_test): Add more tests.
52455         (ccosh_test): Likewise.
52456         (csin_test): Likewise.
52457         (csinh_test): Likewise.
52459 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52461         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52462         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52463         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52464         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52465         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52466         powerpc/power5+/fpu folders.
52467         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52470 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52474 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52476         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52477         additions to variable.
52478         [$(config-machine) = x86_64] (modules-names): Likewise.
52479         ($(objpfx)tst-audit3): Remove dependency.
52480         ($(objpfx)tst-audit3.out): Likewise.
52481         ($(objpfx)tst-audit4): Likewise.
52482         ($(objpfx)tst-audit4.out): Likewise.
52483         ($(objpfx)tst-audit5): Likewise.
52484         ($(objpfx)tst-audit5.out): Likewise.
52485         ($(objpfx)tst-audit6): Likewise.
52486         ($(objpfx)tst-audit6.out): Likewise.
52487         ($(objpfx)tst-audit7): Likewise.
52488         ($(objpfx)tst-audit7.out): Likewise.
52489         (tst-audit3-ENV): Remove variable.
52490         (tst-audit4-ENV): Likewise.
52491         (tst-audit5-ENV): Likewise.
52492         (tst-audit6-ENV): Likewise.
52493         (tst-audit7-ENV): Likewise.
52494         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52495         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52496         addition to variable.
52497         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52498         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52499         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52500         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52501         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52502         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52503         tst-audit3, tst-audit4 and tst-audit5.
52504         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52505         tst-audit6 and tst-audit7.
52506         [$(subdir) = elf] (modules-names): Add audit modules for those
52507         tests.
52508         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52509         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52510         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52511         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52512         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52513         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52514         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52515         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52516         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52517         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52518         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52519         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52520         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52521         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52522         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52523         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52524         Likewise.
52525         [$(subdir) = elf && $(config-cflags-avx) = yes]
52526         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52527         [$(subdir) = elf && $(config-cflags-avx) = yes]
52528         (CFLAGS-tst-auditmod4a.c): Likewise.
52529         [$(subdir) = elf && $(config-cflags-avx) = yes]
52530         (CFLAGS-tst-auditmod4b.c): Likewise.
52531         [$(subdir) = elf && $(config-cflags-avx) = yes]
52532         (CFLAGS-tst-auditmod6b.c): Likewise.
52533         [$(subdir) = elf && $(config-cflags-avx) = yes]
52534         (CFLAGS-tst-auditmod6c.c): Likewise.
52535         [$(subdir) = elf && $(config-cflags-avx) = yes]
52536         (CFLAGS-tst-auditmod7b.c): Likewise.
52537         * elf/tst-audit3.c: Move to ...
52538         * sysdeps/x86_64/tst-audit3.c: ... here.
52539         * elf/tst-audit4.c: Move to ...
52540         * sysdeps/x86_64/tst-audit4.c: ... here.
52541         * elf/tst-audit5.c: Move to ...
52542         * sysdeps/x86_64/tst-audit5.c: ... here.
52543         * elf/tst-audit6.c: Move to ...
52544         * sysdeps/x86_64/tst-audit6.c: ... here.
52545         * elf/tst-audit7.c: Move to ...
52546         * sysdeps/x86_64/tst-audit7.c: ... here.
52547         * elf/tst-auditmod3a.c: Move to ...
52548         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52549         * elf/tst-auditmod3b.c: Move to ...
52550         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52551         * elf/tst-auditmod4a.c: Move to ...
52552         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52553         * elf/tst-auditmod4b.c: Move to ...
52554         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52555         * elf/tst-auditmod5a.c: Move to ...
52556         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52557         * elf/tst-auditmod5b.c: Move to ...
52558         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52559         * elf/tst-auditmod6a.c: Move to ...
52560         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52561         * elf/tst-auditmod6b.c: Move to ...
52562         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52563         * elf/tst-auditmod6c.c: Move to ...
52564         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52565         * elf/tst-auditmod7a.c: Move to ...
52566         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52567         * elf/tst-auditmod7b.c: Move to ...
52568         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52570 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52572         [BZ #15366]
52573         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52574         define unconditionally.
52575         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52576         define unconditionally.
52577         (INT8_C, INT16_C, etc.): Likewise.
52579 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52581         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52582         __ehdr_start with hidden visibility.
52584         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52586 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52588         * math/libm-test.inc (cos_test): Use accurate hex constants.
52589         (sincost_test): Likewise.
52591 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52593         * math/libm-test.inc (catan_test): Add more tests.
52594         (catanh_test): Likewise.
52596         * math/s_catanf.c (__catanf): Use suffixed floating-point
52597         constants.
52598         * math/s_catanhf.c (__catanhf): Likewise.
52599         * math/s_catanhl.c (__catanhl): Likewise.
52600         * math/s_catanl.c (__catanl): Likewise.
52602         [BZ #15394]
52603         * math/s_catan.c (__catan): Calculate imaginary part of result
52604         with log1p not log unless computing log of number close to 0.
52605         * math/s_catanf.c (__catanf): Likewise.
52606         * math/s_catanl.c (__catanl): Likewise.
52607         * math/s_catanh.c (__catanh): Calculate real part of result with
52608         log1p not log unless computing log of number close to 0.
52609         * math/s_catanhf.c (__catanhf): Likewise.
52610         * math/s_catanhl.c (__catanhl): Likewise.
52611         * math/libm-test.inc (catan_test): Add more tests.
52612         (catanh_test): Likewise.
52613         * sysdeps/i386/fpu/libm-test-ulps: Update.
52614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52616 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52618         * benchtests/Makefile: Mention files in which fast and slow
52619         paths of math functions are implemented.
52621 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52623         * sysdeps/posix/timespec_get.c: New file.
52625 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52627         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52628         POWER.
52629         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52630         for POWER.
52631         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52632         powerpc/power5/fpu folders.
52633         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52634         * benchtests/Makefile: Add modf testcase.
52635         * benchtests/bench-modf.c: New file: Benchmark test for mo
52637 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52639         [BZ #14888]
52640         * time/Makefile (tests): Add tst-strptime-whitespace.
52641         * time/strptime_l.c (get_number): Use ISSPACE.
52642         (__strptime_internal): Likewise.
52643         * time/tst-strptime-whitespace.c: New test case.
52645 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52647         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52648         member.
52649         (_nss_files_init): Set it here.
52651 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52653         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52654         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52655         unsigned.
52657 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52659         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52661 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52663         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52664         size just once.
52666 2013-04-21  David S. Miller  <davem@davemloft.net>
52668         * po/ru.po: Update Russion translation from translation project.
52670 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52672         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52673         and setfsgid.
52675 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52677         * configure.in: Remove i386 configure warning. Remove i386 case.
52678         * configure: Regenerate.
52679         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52680         Add example to error message.
52681         * sysdeps/i386/configure: Regenerate.
52683 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52685         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52686         slowtan.
52687         * benchtests/cos-inputs: New file.
52688         * benchtests/slowcos-inputs: New file.
52689         * benchtests/slowcos.c: New file.
52690         * benchtests/slowtan-inputs: New file.
52691         * benchtests/slowtan.c: New file.
52692         * benchtests/tan-inputs: New file.
52694 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52696         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52697         considered kosher.
52699 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52701         * benchtests/Makefile: Include cppflags-iterator.mk to add
52702         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52704         * Makefile.in (bench-clean): New target.
52705         * benchtests/Makefile (bench-clean): Likewise.
52707 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52709         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52711 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52713         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52715 2013-04-15  Andreas Schwab  <schwab@suse.de>
52717         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52718         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52719         * nscd/pwdcache.c (cache_addpw): Likewise.
52720         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52721         more than recsize.
52723 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52725         * benchtests/Makefile (bench): Write all output to
52726         bench-out.tmp together.
52728 2013-04-15  Andreas Schwab  <schwab@suse.de>
52730         * nscd/nscd.c (main): Don't fork again after closing files.
52732 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52734         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52736         * benchtests/Rules (bench-deps): Collect dependencies into a
52737         single variable.  Add Makefile to dependencies.
52738         ($(objpfx)bench-%.c): Depend on bench-deps.
52740 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52741             Xavier Roche  <roche+kml2@exalead.com>
52743         [BZ #15361]
52744         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52745         just that it's a file descriptor.
52746         * manual/llio.texi (Synchronizing AIO Operations): Update description
52747         for EBADF error from aio_fsync.
52749 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52751         * Rules (bench): Move target definition...
52752         * benchtests/Makefile: ... here.
52754 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52756         * math/libm-test.inc (cos_test): Fix PI/2 test.
52757         (sincos_test): Likewise.
52758         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52759         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52761 2013-04-11  Andreas Schwab  <schwab@suse.de>
52763         [BZ #13988]
52764         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52765         accept exponent character only when digits were seen.
52766         * stdio-common/Makefile (tests): Add bug26.
52767         * stdio-common/bug26.c: New file.
52769         [BZ #14293]
52770         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52771         non-freeable.
52773 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52775         * Makeconfig (rtld-prefix): Define built linker prefix.
52776         * Rules (run-bench): Use it.
52777         * math/Makefile (run-regen-ulps): Likewise.
52779         * Rules (bench): Remove eval.
52781 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52782             Roland McGrath  <roland@hack.frob.com>
52783             Ondrej Bilka  <neleai@seznam.cz>
52785         [BZ #15346]
52786         * time/getdate.c: Include ctype.h and alloca.h.
52787         (__getdate_r): Trim leading and trailing spaces of input.
52788         * time/tst-getdate.c (tests): Add tests with leading and
52789         trailing spaces.
52791 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52793         [BZ #14280]
52794         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52795         when computing value.
52797 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52799         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52800         Use testrun.sh to run libm tests.
52802         [BZ #15309]
52803         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52805 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52807         [BZ #15264]
52808         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52810 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52812         * Makefile.in (regen-ulps): New target.
52813         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52814         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52815         [ifneq (no,$(PERL)] (regen-ulps): New target.
52816         [ifeq (no,$(PERL)] (regen-ulps): New target.
52817         * math/libm-test.inc (ulps_file_name): Define.
52818         (output_dir): New variable.
52819         (options): Add "output-dir" option.
52820         (parse_opt): Handle 'o' case.
52821         (main): If output_dir is non-NULL use it as a prefix
52822         otherwise use "".
52823         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52825 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52827         [BZ #10060, #10062]
52828         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52829         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52830         fail configure if __sync_val_compare_and_swap is not inlined.
52831         * sysdeps/i386/configure: Regenerate.
52832         * configure.in: Build for i686 when configured for i386.
52833         * configure: Regenerate.
52834         * README: Remove i386 reference.
52836 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52838         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52839         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52841 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52843         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52844         (lmsnanval): New variables.
52845         (F): Add conversion tests.
52846         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52847         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52849         * stdio-common/tstdiomisc.c (F): Properly collect individual
52850         tests' results.
52852         [BZ #14686, #15336]
52853         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52854         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52855         Instead, use input NaN values or generate a qNaN by arithmetic
52856         operation.  Also fix bugs to comply with the standard.
52857         * math/libm-test.inc (remainder_test): Add more tests.
52859         [BZ #15335, #15342]
52860         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52861         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52862         input NaN values or generate a qNaN by arithmetic operation.
52864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52865         unreachable code.
52867         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52868         definitions.
52870 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52872         [BZ #14478]
52873         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52874         underflowed result.
52875         * math/s_cexpf.c (__cexpf): Likewise.
52876         * math/s_cexpl.c (__cexpl): Likewise.
52877         * math/libm-test.inc (cexp_test): Add more tests.
52879 2013-04-03  Andreas Schwab  <schwab@suse.de>
52881         [BZ #15330]
52882         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52883         order arrays from heap if bigger than alloca cutoff.
52885 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52887         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52888         (SNAN_TESTS_double): Refer to GCC PR56831.
52889         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52890         GCC PR56828.
52892 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52894         * Rules (bench): Move bench.out after the run is complete.
52896         * Rules (bench): Echo currently running benchmark.
52898         * benchtests/Makefile (bench): Add atan and slowatan.
52899         * benchtests/atan-inputs: New file.
52900         * benchtests/slowatan-inputs: New file.
52901         * benchtests/slowatan.c: New file.
52903         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52904         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52905         its value.
52907         [BZ #15305]
52908         * sysdeps/unix/sysv/linux/kernel-features.h
52909         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52910         __ASSUME_XFS_RESTRICTED_CHOWN.
52911         * sysdeps/unix/sysv/linux/pathconf.c
52912         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52913         Save and restore errno.
52915 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52917         [BZ #15327]
52918         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52919         arguments using __kernel_casinh.
52920         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52921         arguments using __kernel_casinhf.
52922         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52923         arguments using __kernel_casinhl.
52924         * math/libm-test.inc (cacosh_test): Add more tests.
52925         * sysdeps/i386/fpu/libm-test-ulps: Update.
52926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52928 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52930         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52931         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52933         * bench/Makefile (bench): Add sin and slowsin.
52934         * benchtests/sin-inputs: New file.
52935         * benchtests/slowsin-inputs: New file.
52936         * benchtests/slowsin.c: New file.
52938         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52939         (bench): Add slowexp and slowpow.
52940         (exp-ITER): Increase iterations.
52941         (pow-ITER): Likewise.
52942         * benchtests/exp-inputs: Change input.
52943         * benchtests/pow-inputs: Likewise.
52944         * benchtests/slowexp-inputs: New file.
52945         * benchtests/slowexp.c: New file.
52946         * benchtests/slowpow-inputs: New file.
52947         * benchtests/slowpow.c: New file.
52949 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52951         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52952         instructions.
52953         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52954         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52955         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52956         * benchtests/Makefile: Add rint benchtest.
52957         * benchtests/rint-inputs: Input for rint benchtest.
52959 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52961         * Versions.def (libm): Add GLIBC_2.18.
52962         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52963         hidden libm prototypes.
52964         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52965         * math/Makefile (libm-calls): Add s_issignaling.
52966         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52967         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52968         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52969         declaration.
52970         * math/math.h [__USE_GNU] (issignaling): New macro.
52971         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52972         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52973         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52974         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52975         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52976         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52977         * manual/arith.texi (issignaling): New section.
52978         * manual/libm-err-tab.pl (@all_functions): Update comment.
52979         * math/gen-libm-test.pl (parse_args): Apply special handling for
52980         issignaling.
52981         * math/libm-test.inc (print_float, issignaling_test): New
52982         functions.
52983         (check_float_internal): Add issignaling checks.
52984         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52985         default definition.
52986         * sysdeps/powerpc/math-tests.h: New file.
52987         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52988         tests.
52989         * math/test-snan.c (TEST_FUNC): Likewise.
52991 2013-03-30  David S. Miller  <davem@davemloft.net>
52993         * po/de.po: Update from translation team.
52995 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52997         [BZ #10357]
52998         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52999         imaginary part less than 1.0 and real part less than 0.5
53000         specially.
53001         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53002         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53003         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53004         (cacos_test): Add more tests.
53005         (casin_test): Likewise.
53006         (casinh_test): Likewise.
53007         * sysdeps/i386/fpu/libm-test-ulps: Update.
53008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53010 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53012         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53013         ONE with its value.
53015         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53016         (__pow_mp): Replace ONE and MONE with their values.
53017         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53018         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53019         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53020         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53021         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53022         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53024         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53026         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53027         (__pow_mp): Replace ZERO and MZERO with their values.
53028         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53029         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53030         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53031         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53032         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53033         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53034         (__sqr): Likewise.
53036         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53038         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53040 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53042         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53043         Declare with __attribute__ ((weak)).
53044         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53045         Call __call_tls_dtors only if it's not NULL.
53047 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53049         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53050         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53051         magic __ehdr_start linker symbol if it's defined.
53052         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53053         them up here if it was already done.
53055         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53056         (_dl_aux_init): Use const in cast when setting it.
53057         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53058         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53059         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53061         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53062         Declare them here.
53063         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53064         * csu/libc-tls.c: Nor here.
53065         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53067         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53068         (__libc_message): Never call vsyslog.
53070 2013-03-28  Alan Modra  <amodra@gmail.com>
53072         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53073         Define as empty.
53074         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53075         Likewise.
53077 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53079         [BZ #15214]
53080         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53081         underflow.
53082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53084 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53086         [BZ #15304]
53087         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53088         Don't add gid passed as argument.
53090         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53092 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53094         [BZ #15307]
53095         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53096         imaginary part between 1.0 and 1.5 and real part less than 0.5
53097         specially.
53098         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53099         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53100         * math/libm-test.inc (cacos_test): Add more tests.
53101         (casin_test): Likewise.
53102         (casinh_test): Likewise.
53103         * sysdeps/i386/fpu/libm-test-ulps: Update.
53104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53106 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53108         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53109         constants.
53110         (norm): Likewise.
53111         (denorm): Likewise.
53112         (__dbl_mp): Likewise.
53113         (add_magnitudes): Likewise.
53114         (sub_magnitudes): Likewise.
53115         (__add): Likewise.
53116         (__sub): Likewise.
53117         (__mul): Likewise.
53118         (__sqr): Likewise.
53119         (__inv): Likewise.
53120         (__dvd): Likewise.
53122         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53123         commented code.
53124         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53125         (__dubcos): Likewise.
53126         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53127         (__ieee754_acos): Likewise.
53128         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53129         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53130         (__exp1): Likewise.
53131         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53132         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53133         (log1): Likewise.
53134         (my_log2): Likewise.
53135         (checkint): Likewise.
53136         * sysdeps/ieee754/dbl-64/e_remainder.c
53137         (__ieee754_remainder): Likewise.
53138         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53139         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53140         (bsloww): Likewise.
53141         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53143         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53144         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53145         MANTISSA_STORE_T to store computations on mantissa.  Use
53146         macros for rounding and division.
53147         (denorm): Likewise.
53148         (__dbl_mp): Likewise.
53149         (add_magnitudes): Likewise.
53150         (sub_magnitudes): Likewise.
53151         (__mul): Likewise.
53152         (__sqr): Likewise.
53153         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53154         powers of two in terms of TWOPOW macro.
53155         (mp_no): Make type of mantissa as MANTISSA_T.
53156         [!RADIXI]: Define RADIXI.
53157         [!TWO52]: Define TWO52.
53158         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53160 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53162         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53163         llroundl symbol when building for PPC32.
53165 2013-03-24  Mark H Weaver  <mhw@netris.org>
53167         * manual/arith.texi (Normalization Functions): Fix prototypes for
53168         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53170 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53172         [BZ #13889]
53173         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53174         high value to check if expl overflow.
53175         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53176         to check for underflow and overflow.
53177         * math/libm-test.inc: Add exp test.
53179 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53181         [BZ #11120]
53182         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53183         with NOT_IN_libc.
53185 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53187         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53188         symbol.
53190 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53192         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53193         wrap blocks consisting of several statements.
53195         * sysdeps/generic/math-tests.h: New file.
53196         * sysdeps/i386/fpu/math-tests.h: Likewise.
53197         * math/test-snan.c: Include it.
53198         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53200 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53202         [BZ #15285]
53203         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53204         (__ieee754_j0l): Do not improve calculations using cos of twice
53205         input for inputs above LDBL_MAX / 2.0L.
53206         (__ieee754_y0l): Likewise.
53207         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53208         (__ieee754_j1l): Do not improve calculations using cos of twice
53209         input for inputs above LDBL_MAX / 2.0L.
53210         (__ieee754_y1l): Likewise.
53211         * math/libm-test.inc (j0_test): Add another test.
53212         (j1_test): Likewise.
53213         (y0_test): Likewise.
53214         (y1_test): Likewise.
53215         * sysdeps/i386/fpu/libm-test-ulps: Update.
53217 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53219         * Rules ($(objpfx)bench-%.c): Include code from a C source
53220         file.
53222 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53224         [BZ #15287]
53225         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53226         imaginary part 1.0 and real part less than 0.5 specially.
53227         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53228         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53229         * math/libm-test.inc (cacos_test): Add more tests.
53230         (casin_test): Likewise.
53231         (casinh_test): Likewise.
53232         * sysdeps/i386/fpu/libm-test-ulps: Update.
53233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53235 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53237         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53238         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53240 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53242         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53243         * config.make.in (config-cflags-sse4): Remove variable.
53244         (config-cflags-avx): Likewise.
53245         (config-cflags-sse2avx): Likewise.
53246         (config-cflags-novzeroupper): Likewise.
53247         (config-asflags-i686): Likewise.
53248         (have-mfma4): Likewise.
53249         (have-as-vis3): Likewise.
53250         (MIG): Likewise.
53251         * configure.in (MIG): Do not AC_SUBST.
53252         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53253         (libc_cv_cc_sse4): Do not AC_SUBST.
53254         (libc_cv_cc_avx): Likewise.
53255         (libc_cv_cc_sse2avx): Likewise.
53256         (libc_cv_cc_novzeroupper): Likewise.
53257         (libc_cv_cc_fma4): Likewise.
53258         (libc_cv_as_i686): Likewise.
53259         (libc_cv_sparc_as_vis3): Likewise.
53260         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53261         LIBC_CONFIG_VAR.
53262         (config-asflags-i686): Likewise.
53263         (config-cflags-avx): Likewise.
53264         (config-cflags-sse2avx): Likewise.
53265         (have-mfma4): Likewise.
53266         (config-cflags-novzeroupper): Likewise.
53267         * sysdeps/mach/configure.in (MIG): Likewise.
53268         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53269         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53270         LIBC_CONFIG_VAR.
53271         (config-cflags-avx): Likewise.
53272         (config-cflags-sse2avx): Likewise.
53273         (have-mfma4): Likewise.
53274         (config-cflags-novzeroupper): Likewise.
53275         * configure: Regenerated.
53276         * sysdeps/i386/configure: Likewise.
53277         * sysdeps/mach/configure: Likewise.
53278         * sysdeps/sparc/configure: Likewise.
53279         * sysdeps/x86_64/configure: Likewise.
53281 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53283         [BZ #14812]
53284         * locale/programs/localedef.c (options): Put N_ translation marker
53285         on argument names, not just descriptions.
53287 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53289         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53291 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53293         [BZ #14176]
53294         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53296 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53298         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53299         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53300         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53301         [!BEFORE_ABORT] (before_abort): New function.
53302         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53303         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53304         (writev_for_fatal): New function.
53305         (WRITEV_FOR_FATAL): New macro; call that.
53306         (backtrace_and_maps): New function.
53307         (BEFORE_ABORT): New macro; call that.
53308         (struct str_list): Type removed.
53309         (__libc_message, __libc_fatal): Functions removed.
53310         Include <sysdeps/posix/libc_fatal.c> instead.
53312 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53314         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53315         constants.
53316         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53317         double constants.
53319 2013-03-19  Andreas Schwab  <schwab@suse.de>
53321         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53322         * sysdeps/gnu/configure: Regenerate.
53324         * configure.in: Substitute libc_cv_rtlddir.
53325         * configure: Regenerate.
53326         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53327         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53328         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53329         * elf/Makefile (install-others, CFLAGS-interp.c)
53330         (ldso_install, common-ldd-rewrite): Likewise.
53331         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53332         $(inst_slibdir)/$(rtld-installed-name).
53333         * scripts/rellns-sh: Add -p option.
53334         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53335         for source.
53337 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53339         * manual/nptl.texi: Renamed to ...
53340         * manual/threads.texi: ... this.
53341         * manual/Makefile (chapters): Update.
53343 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53345         [BZ #14812]
53346         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53347         on argument names, not just descriptions.
53348         * malloc/memusagestat.c (options): Likewise.
53349         * nss/getent.c (options): Likewise.
53351 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53353         [BZ #14812]
53354         * iconv/iconv_prog.c (options): Put N_ translation marker
53355         on argument names, not just descriptions.
53356         * iconv/iconvconfig.c (options): Likewise.
53358 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53360         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53361         implementation which is faster on all x86_64 architectures.
53362         Tested on AMD, Intel Nehalem, SNB, IVB.
53363         * sysdeps/x86_64/strnlen.S: Likewise.
53365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53366         Remove all multiarch strlen and strnlen versions.
53367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53368         Remove strlen and strnlen related parts.
53370         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53371         Inline strlen part.
53372         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53374         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53375         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53376         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53377         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53378         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53379         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53381 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53383         * manual/memory.texi (Malloc Tunable Parameters):
53384         Sort parameters alphabetically. Add comments for missing entries.
53386 2013-03-17  David S. Miller  <davem@davemloft.net>
53388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53390 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53392         [BZ #15283]
53393         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53394         for arguments at most half maximum finite value.
53395         * math/libm-test.inc (j0_test): Add more tests.
53396         (j1_test): Likewise.
53397         (y0_test): Likewise.
53398         (y1_test): Likewise.
53399         * sysdeps/i386/fpu/libm-test-ulps: Update.
53400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53402         [BZ #14155]
53403         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53404         1 / x and functions P and Q for arguments above 0x1p256L.
53405         (__ieee754_y0l): Likewise.
53406         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53407         (__ieee754_y1l): Likewise.
53408         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53409         (j1_test): Likewise.
53410         (y0_test): Likewise.
53411         (y1_test): Likewise.
53413 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53415         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53416         variable.
53418 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53420         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53421         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53422         zero since it's initialized to EXEC_PAGESIZE.
53424         * sysdeps/unix/sysv/linux/ldsodefs.h
53425         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53426         * sysdeps/generic/ldsodefs.h: ... here.
53428 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53430         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53432         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53433         math/test-snan.c.
53434         * math/test-snan.c: Renamed from
53435         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53436         * math/Makefile (tests): Add test-snan.
53437         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53438         test-powerpc-snan.
53440         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53441         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53442         functions.
53443         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53444         __builtin_nan family of functions.
53445         * math/libm-test.inc (initialize): Initialize qnan_value with
53446         __builtin_nan family of functions.
53447         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53448         Remove variables.
53449         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53450         Remove functions.
53451         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53452         storage class.  Initialize qNaN_var and sNaN_var with
53453         __builtin_nan and __builtin_nans families of functions,
53454         respectively.
53456         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53457         (sqrt_test): Remove duplicate test with qNaN input.
53458         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53459         (round_test, signbit_test, significand_test): Note missing +/-Inf
53460         as well as qNaN tests.
53462         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53463         qNaN_var.  Fix a few strings, too.
53464         * math/libm-test.inc (nan_value): Rename to qnan_value.
53465         * math/gen-libm-test.pl (%beautify): Adjust to that.
53466         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53467         * math/test-misc.c (main): Likewise.
53468         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53469         to __qnan_bytes, and __qnan_union, respectively.
53470         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53471         Likewise.
53472         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53473         and lqnanval, respectively.
53474         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53475         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53476         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53477         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53479         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53480         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53481         doubles.
53483         * math/test-misc.c (main): Fix copy'n'pastos.
53484         * misc/tst-efgcvt.c (special): Likewise.
53486         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53487         Remove declarations.
53489 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53491         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53492         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53493         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53494         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53496 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53498         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53499         macro to return vdso values correctly in IFUNC implementations.
53500         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53501         Optimization by using IFUNC.
53503 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53504             Richard Henderson  <rth@redhat.com>
53505             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53507         * Makefile.in (bench): New target.
53508         * NEWS: Mention the benchmark framework.
53509         * Rules (bench): Likewise.
53510         (binaries-bench): Generate binaries for functions to
53511         benchmark.
53512         * benchtests/Makefile: New makefile for benchmark tests.
53513         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53514         programs.
53515         * benchtests/exp-inputs: New input file for EXP function.
53516         * benchtests/pow-inputs: New input file for POW function.
53517         * scripts/bench.pl: New script to generate source files for
53518         benchmark programs.
53520 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53522         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53523         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53524         computations on mantissa.  Use macros for rounding and
53525         division.
53526         (denorm): Likewise.
53527         (__dbl_mp): Likewise.
53528         (add_magnitudes): Likewise.
53529         (sub_magnitudes): Likewise.
53530         (__mul): Likewise.
53531         (__sqr): Likewise.
53532         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53533         powers of two in terms of TWOPOW macro.
53534         (mp_no): Make type of mantissa as MANTISSA_T.
53535         [!RADIXI]: Define RADIXI.
53536         [!TWO52]: Define TWO52.
53537         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53539         * manual/nptl.texi (cindex): Modify threads to pthreads.
53541 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53543         * sysdeps/x86_64/preconfigure: Regenerated.
53545 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53547         [BZ #14155]
53548         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53549         0x1p28 and above.
53550         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53551         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53552         0x1p28 and above.
53553         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53554         * math/libm-test.inc (j0_test): Do not allow one spurious
53555         underflow exception.
53556         (y1_test): Likewise.
53558 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53560         * manual/Makefile (chapters): Add nptl.
53561         * manual/debug.texi (Debugging Support): Add link to Threads
53562         chapter.
53563         * manual/nptl.texi: New file.
53565         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53567 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53569         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53570         for non-NULL pointer before the memory validity test. Pointed
53571         out by Holger Brunck <holger.brunck@keymile.com>.
53573 2013-03-13  Andreas Schwab  <schwab@suse.de>
53575         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53576         instead of .os.
53578 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53580         * timezone/zic.c: Update from tzcode 2013b.
53582 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53584         * manual/install.texi (Configuring and compiling):
53585         Mention i686 and i586.
53586         * INSTALL: Regenerate.
53588 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53590         * sysdeps/init_array/elf-init.c: New file.
53591         * csu/elf-init.c
53592         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53593         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53595         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53596         __gmon_start__ as global, but as static with a .preinit_array pointer.
53597         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53598         * sysdeps/init_array/crti.S: New file, empty except for comments.
53599         * sysdeps/init_array/crtn.S: Likewise.
53601 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53603         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53604         definining bcopy.
53605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53606         Remove Prefer_SSE_for_memop.
53607         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53608         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53609         HAS_PREFER_SSE_FOR_MEMOP.
53610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53611         memset-x86-64.
53612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53613         Remove bzero, memset ifunc support.
53614         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53615         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53616         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53617         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53619 2013-03-11  Andreas Schwab  <schwab@suse.de>
53621         [BZ #15234]
53622         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53623         by SHLIB_COMPAT.
53624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53625         (GLIBC_2.16): Remove pthread_atfork.
53627 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53629         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53630         (ptestcases.h): Likewise.
53632 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53634         * Makeconfig ($(common-objpfx)config.status): Depend on
53635         sysdeps/*/preconfigure{,.in} too.
53637 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53639         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53640         (__free_hook): Use void * instead of __malloc_ptr_t.
53641         (__malloc_hook): Likewise.
53642         (__realloc_hook): Likewise.
53643         (__memalign_hook): Likewise.
53644         (__after_morecore_hook): Likewise.
53645         * malloc/arena.c (save_malloc_hook): Likewise.
53646         (save_free_hook): Likewise.
53647         * malloc/hooks.c (malloc_hook_ini): Likewise.
53648         (realloc_hook_ini): Likewise.
53649         (memalign_hook_ini): Likewise.
53650         * malloc/malloc.c (malloc_hook_ini): Likewise.
53651         (realloc_hook_ini): Likewise.
53652         (memalign_hook_ini): Likewise.
53653         (__free_hook): Likewise.
53654         (__malloc_hook): Likewise.
53655         (__realloc_hook): Likewise.
53656         (__memalign_hook): Likewise.
53657         (__libc_malloc): Likewise.
53658         (__libc_free): Likewise.
53659         (__libc_realloc): Likewise.
53660         (__libc_memalign): Likewise.
53661         (__libc_valloc): Likewise.
53662         (__libc_pvalloc): Likewise.
53663         (__libc_calloc): Likewise.
53664         (__posix_memalign): Likewise.
53665         * malloc/morecore.c (__sbrk): Likewise.
53666         (__default_morecore): Likewise.
53668         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53670         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53671         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53672         __malloc_ptrdiff_t.
53674         * malloc/malloc.h (__malloc_size_t): Remove macro.
53675         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53676         __malloc_size_t.
53677         (old_memalign_hook): Likewise.
53678         (old_realloc_hook): Likewise.
53679         (struct hdr): Likewise.
53680         (flood): Likewise.
53681         (mallochook): Likewise.
53682         (memalignhook): Likewise.
53683         (reallochook): Likewise.
53684         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53685         (tr_old_realloc_hook): Likewise.
53686         (tr_old_memalign_hook): Likewise.
53687         (tr_mallochook): Likewise.
53688         (tr_reallochook): Likewise.
53689         (tr_memalignhook): Likewise.
53691 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53693         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53694         default_ldbl_pack and using as default implementation.
53695         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53696         implementation.
53697         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53698         redundant definition.
53699         (ldbl_insert_mantissa): Likewise.
53700         (ldbl_canonicalize): Likewise.
53701         (ldbl_nearbyint): Likewise.
53702         (ldbl_pack): Rename to ldbl_pack_ppc.
53703         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53704         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53705         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53707 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53710         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53711         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53712         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53714         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53715         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53716         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53718 2013-03-07  Andreas Jaeger  <aj@suse.de>
53720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53721         bits/mman-linux.h.
53723 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53725         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53726         Include mpa.h and declare __MPEXP.
53727         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53728         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53729         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53730         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53731         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53732         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53733         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53735         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53736         (__slowpow): Use long double EXPL and LOGL functions to
53737         compute POW.
53738         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53739         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53740         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53741         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53742         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53743         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53746         intermediate variable to calculate exponent.
53747         (__sqr): Likewise.
53748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53749         Likewise.
53750         (__sqr): Likewise.
53752         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53753         [!NO__SQR]: Define __sqr.
53754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53755         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53756         sysdeps/ieee754/dbl-64/mpa.c.
53757         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53759         [BZ #12723]
53760         * posix/Makefile (tests): Add tst-pathconf.
53761         * posix/tst-pathconf.c: New test case.
53762         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53763         _PC_PIPE_BUF.
53764         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53766 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53768         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53770 2013-03-06  Andreas Jaeger  <aj@suse.de>
53772         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53773         definition via __MAP_ANONYMOUS.
53775         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53776         it's not part of Linux headers.
53778         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53779         (MAP_HUGE_MASK): Define.
53781         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53782         Define.
53783         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53784         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53785         Define.
53786         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53787         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53788         Define.
53789         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53790         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53791         Define.
53792         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53794         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53795         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53796         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53797         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53798         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53799         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53801         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53802         Handle f2fs.
53804         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53805         Handle f2fs and efivarfs.
53807         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53808         f2fs.
53810         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53811         (EFIVARFS_MAGIC): Add.
53812         (F2FS_LINK_MAX): Add.
53814 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53816         * stdio-common/vfprintf.c: Replace __builtin_expect with
53817         __glibc_unlikely.
53819 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53821         [BZ #13550]
53822         * sysdeps/generic/bp-sym.h: Remove file.
53823         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53824         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53825         <bp-sym.h> and <bp-asm.h>.
53826         (__longjmp): Don't use BP_SYM.
53827         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53828         and <bp-asm.h>.
53829         (memcpy): Don't use BP_SYM.
53830         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53831         <bp-sym.h> and <bp-asm.h>.
53832         (memcpy): Don't use BP_SYM.
53833         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53834         <bp-asm.h>.
53835         (memcpy): Don't use BP_SYM.
53836         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53837         <bp-asm.h>.
53838         (memset): Don't use BP_SYM.
53839         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53840         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53841         (__bzero): Don't use BP_SYM.
53842         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53843         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53844         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53845         <bp-sym.h> and <bp-asm.h>.
53846         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53847         pointers.
53848         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53849         <bp-sym.h> and <bp-asm.h>.
53850         (memcpy): Don't use BP_SYM.
53851         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53852         <bp-sym.h> and <bp-asm.h>.
53853         (memset): Don't use BP_SYM.
53854         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53855         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53856         (__bzero): Don't use BP_SYM.
53857         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53858         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53859         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53860         <bp-sym.h> and <bp-asm.h>.
53861         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53862         pointers.
53863         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53864         <bp-sym.h> and <bp-asm.h>.
53865         (memcpy): Don't use BP_SYM.
53866         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53867         <bp-sym.h> and <bp-asm.h>.
53868         (memset): Don't use BP_SYM.
53869         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53870         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53871         (__bzero): Don't use BP_SYM.
53872         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53873         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53874         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53875         <bp-sym.h> and <bp-asm.h>.
53876         (__memchr): Don't use BP_SYM.
53877         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53878         <bp-sym.h> and <bp-asm.h>.
53879         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53880         pointers.
53881         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53882         <bp-sym.h> and <bp-asm.h>.
53883         (memcpy): Don't use BP_SYM.
53884         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53885         <bp-sym.h> and <bp-asm.h>.
53886         (__mempcpy): Don't use BP_SYM.
53887         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53888         <bp-sym.h> and <bp-asm.h>.
53889         (__memrchr): Don't use BP_SYM.
53890         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53891         <bp-sym.h> and <bp-asm.h>.
53892         (memset): Don't use BP_SYM.
53893         (__bzero): Likewise.
53894         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53895         <bp-sym.h> and <bp-asm.h>.
53896         (__rawmemchr): Don't use BP_SYM.
53897         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53898         <bp-sym.h> and <bp-asm.h>.
53899         (__STRCMP): Don't use BP_SYM.
53900         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53901         <bp-sym.h> and <bp-asm.h>.
53902         (strchr): Don't use BP_SYM.
53903         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53904         <bp-sym.h> and <bp-asm.h>.
53905         (__strchrnul): Don't use BP_SYM.
53906         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53907         <bp-sym.h> and <bp-asm.h>.
53908         (strlen): Don't use BP_SYM.
53909         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53910         <bp-sym.h> and <bp-asm.h>.
53911         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53912         pointers.
53913         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53914         <bp-sym.h> and <bp-asm.h>.
53915         (__strnlen): Don't use BP_SYM.
53916         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53917         <bp-sym.h> and <bp-asm.h>.
53918         (__GI__setjmp): Don't use BP_SYM.
53919         (_setjmp): Likewise.
53920         (__sigsetjmp): Likewise.
53921         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53922         (L(start_addresses)): Don't use BP_SYM.
53923         (_start): Likewise.
53924         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53925         <bp-asm.h>.
53926         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53927         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53928         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53929         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53930         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53931         <bp-asm.h>.
53932         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53933         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53934         about bounded pointers.
53935         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53936         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53937         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53938         <bp-asm.h>.
53939         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53940         about bounded pointers.  Remove GKM FIXME comments.
53941         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53942         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53943         <bp-asm.h>.
53944         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53945         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53946         Remove GKM FIXME comments.
53947         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53948         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53949         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53950         <bp-asm.h>.
53951         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53952         about bounded pointers.  Remove GKM FIXME comment.
53953         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53954         and <bp-asm.h>.
53955         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53956         pointers.
53957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53958         <bp-sym.h> and <bp-asm.h>.
53959         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53961         <bp-sym.h> and <bp-asm.h>.
53962         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53963         comment.
53965 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53967         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53968         call free(NULL).
53970 2013-03-05  David S. Miller  <davem@davemloft.net>
53972         * po/es.po: Update from translation team.
53974 2013-03-05  Andreas Jaeger  <aj@suse.de>
53976         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53977         <bits/mman-linux.h>.
53978         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53979         is fine.
53980         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53981         <bits/mman-linux.h> to end of file.
53982         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53983         is fine.
53984         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53985         <bits/mman-linux.h> to end of file.
53986         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53987         is fine.
53988         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53989         <bits/mman-linux.h> to end of file.
53991         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53992         (MCL_CURRENT, MCL_FUTURE): Define here.
53994 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53996         [BZ #15232]
53997         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53998         attribute_hidden.
53999         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54001 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54003         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54004         fourth parameter needed for rt_sigprocmask syscall.
54005         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54006         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54007         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54008         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54009         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54010         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54012 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54014         [BZ #13550]
54015         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54016         comment about bounded pointers.
54017         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54018         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54020 2013-03-04  Andreas Jaeger  <aj@suse.de>
54022         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54023         common definitions.
54025         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54026         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54027         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54028         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54029         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54030         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54032 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54034         [BZ #15055]
54035         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54036         __ieee754_sqrl instead of __sqrl.
54038 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54040         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54041         * sysdeps/powerpc/fpu_control.h: ... here.
54042         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54043         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54044         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54045         * sysdeps/powerpc/bits/mathinline.h: ... here.
54047 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54049         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54050         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54051         to just [NEED_DL_SYSINFO_DSO].
54052         * elf/dl-support.c: Likewise.
54053         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54054         * elf/rtld.c (dl_main): Likewise.
54055         * elf/setup-vdso.h (setup_vdso): Likewise.
54056         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54057         * sysdeps/unix/sysv/linux/dl-sysdep.c
54058         (_dl_discover_osversion): Likewise.
54060 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54062         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54063         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54065 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54067         * NEWS: Mention libm performance improvements and non-x86 PI
54068         futex support.
54070         * csu/libc-start.c (__pthread_initialize_minimal): Change
54071         function arguments.
54072         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54074 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54076         [BZ #13550]
54077         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54078         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54079         <bp-sym.h> and <bp-asm.h>.
54080         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54081         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54082         and <bp-asm.h>.
54083         (memcpy): Don't use BP_SYM.
54084         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54085         <bp-asm.h>.
54086         (__mpn_add_n): Don't use BP_SYM.
54087         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54088         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54089         and <bp-asm.h>.
54090         (__mpn_addmul_1): Don't use BP_SYM.
54091         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54092         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54093         <bp-sym.h>.
54094         (_setjmp): Don't use BP_SYM.
54095         (__novmx_setjmp): Likewise.
54096         (__GI__setjmp): Likewise.
54097         (__vmx_setjmp): Likewise.
54098         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54099         <bp-sym.h>.
54100         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54101         (__bzero): Don't use BP_SYM.
54102         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54103         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54104         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54105         <bp-sym.h> and <bp-asm.h>.
54106         (memcpy): Don't use BP_SYM.
54107         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54108         <bp-sym.h> and <bp-asm.h>.
54109         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54110         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54111         <bp-sym.h> and <bp-asm.h>.
54112         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54113         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54114         <bp-asm.h>.
54115         (__mpn_lshift): Don't use BP_SYM.
54116         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54117         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54118         <bp-asm.h>.
54119         (memset): Don't use BP_SYM.
54120         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54121         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54122         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54123         <bp-asm.h>.
54124         (__mpn_mul_1): Don't use BP_SYM.
54125         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54126         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54127         <bp-sym.h> and <bp-asm.h>.
54128         (memcmp): Don't use BP_SYM.
54129         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54130         <bp-sym.h> and <bp-asm.h>.
54131         (memcpy): Don't use BP_SYM.
54132         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54133         <bp-sym.h> and <bp-asm.h>.
54134         (memset): Don't use BP_SYM.
54135         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54136         <bp-sym.h> and <bp-asm.h>.
54137         (strncmp): Don't use BP_SYM.
54138         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54139         <bp-sym.h> and <bp-asm.h>.
54140         (memcpy): Don't use BP_SYM.
54141         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54142         <bp-sym.h> and <bp-asm.h>.
54143         (memset): Don't use BP_SYM.
54144         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54145         <bp-sym.h> and <bp-asm.h>.
54146         (__memchr): Don't use BP_SYM.
54147         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54148         <bp-sym.h> and <bp-asm.h>.
54149         (memcmp): Don't use BP_SYM.
54150         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54151         <bp-sym.h> and <bp-asm.h>.
54152         (memcpy): Don't use BP_SYM.
54153         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54154         <bp-sym.h> and <bp-asm.h>.
54155         (__mempcpy): Don't use BP_SYM.
54156         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54157         <bp-sym.h> and <bp-asm.h>.
54158         (__memrchr): Don't use BP_SYM.
54159         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54160         <bp-sym.h> and <bp-asm.h>.
54161         (memset): Don't use BP_SYM.
54162         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54163         <bp-sym.h> and <bp-asm.h>.
54164         (__rawmemchr): Don't use BP_SYM.
54165         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54166         <bp-sym.h> and <bp-asm.h>.
54167         (__STRCMP): Don't use BP_SYM.
54168         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54169         <bp-sym.h> and <bp-asm.h>.
54170         (strchr): Don't use BP_SYM.
54171         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54172         <bp-sym.h> and <bp-asm.h>.
54173         (__strchrnul): Don't use BP_SYM.
54174         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54175         <bp-sym.h> and <bp-asm.h>.
54176         (strlen): Don't use BP_SYM.
54177         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54178         <bp-sym.h> and <bp-asm.h>.
54179         (strncmp): Don't use BP_SYM.
54180         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54181         <bp-sym.h> and <bp-asm.h>.
54182         (__strnlen): Don't use BP_SYM.
54183         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54184         <bp-asm.h>.
54185         (__mpn_rshift): Don't use BP_SYM.
54186         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54187         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54188         <bp-sym.h> and <bp-asm.h>.
54189         (__sigsetjmp): Don't use BP_SYM.
54190         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54191         (L(start_addresses)): Don't use BP_SYM.
54192         (_start): Likewise.
54193         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54194         <bp-asm.h>.
54195         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54196         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54197         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54198         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54199         <bp-asm.h>.
54200         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54201         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54202         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54203         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54204         <bp-asm.h>.
54205         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54206         comments.
54207         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54208         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54209         <bp-asm.h>.
54210         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54211         FIXME comments.
54212         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54213         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54214         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54215         <bp-asm.h>.
54216         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54217         comment.
54218         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54219         and <bp-asm.h>.
54220         (strncmp): Don't use BP_SYM,
54221         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54222         <bp-asm.h>.
54223         (__mpn_sub_n): Don't use BP_SYM.
54224         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54225         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54226         and <bp-asm.h>.
54227         (__mpn_submul_1): Don't use BP_SYM.
54228         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54230         <bp-sym.h> and <bp-asm.h>.
54231         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54233         <bp-sym.h> and <bp-asm.h>.
54234         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54235         comment.
54237 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54240         Use ZK to minimize writes to Z.
54241         (sub_magnitudes): Simplify code a bit.
54242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54243         Use ZK to minimize writes to Z.
54244         (sub_magnitudes): Simplify code a bit.
54246 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54248         * csu/gmon-start.c: Add special exception to license text.
54250 2013-02-27  Richard Henderson  <rth@redhat.com>
54252         * scripts/config.guess: Update from config.git.
54253         * scripts/config.sub: Likewise.
54255 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54257         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54259         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54261         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54263         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54265         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54267 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54269         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54270         [$(build-shared = yes].
54272 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54274         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54275         (__mul): Reduce iterations for calculating mantissa.
54277         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54278         MPTWO.
54279         (__mpranred): Likewise.
54281         [BZ #15160]
54282         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54283         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54285 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54287         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54288         Define __attribute__.
54290 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54292         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54293         unused.
54294         * posix/regex_internal.h (__attribute): Remove.
54295         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54296         (re_string_context_at): Likewise.
54297         (bitset_not): Use __attribute__ and mark function as possibly
54298         unused.
54299         (bitset_merge): Likewise.
54300         (bitset_mask): Likewise.
54301         (re_string_char_size_at): Likewise.
54302         (re_string_wchar_at): Likewise.
54303         (re_string_elem_size_at): Likewise.
54305 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54307         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54308         code.
54309         (cc32): Likewise.
54311         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54312         (__acr): Likewise.
54313         (__cpy): Likewise.
54314         (norm): Likewise.
54315         (denorm): Likewise.
54316         (__dbl_mp): Likewise.
54317         (add_magnitudes): Likewise.
54318         (sub_magnitudes): Likewise.
54319         (__mul): Likewise.
54320         (__inv): Likewise.
54322         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54323         style.
54325         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54326         style.
54328         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54329         code.
54331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54332         up changes with default code.
54333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54334         Likewise.
54336 2013-02-24  Allan McRae  <allan@archlinux.org>
54338         * manual/socket.texi (The Internet Namespace): Order menu items
54339         to match that in the file.
54341         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54342         node listing of the info page menu.
54344 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54346         [BZ #13550]
54347         * sysdeps/i386/bp-asm.h: Remove file.
54348         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54349         (PARMS): Do not use macros from bp-asm.h.
54350         (S1): Likewise.
54351         (S2): Likewise.
54352         (SIZE): Likewise.
54353         (__mpn_add_n): Do not use BP_SYM
54354         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54355         "bp-asm.h".
54356         (PARMS): Do not use macros from bp-asm.h.
54357         (S1): Likewise.
54358         (SIZE): Likewise.
54359         (__mpn_addmul_1): Do not use BP_SYM
54360         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54361         "bp-asm.h".
54362         (PARMS): Do not use macros from bp-asm.h.
54363         (SIGMSK): Likewise.
54364         (_setjmp): Likewise.  Do not use BP_SYM.
54365         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54366         "bp-asm.h".
54367         (PARMS): Do not use macros from bp-asm.h.
54368         (SIGMSK): Likewise.
54369         (setjmp): Likewise.  Do not use BP_SYM.
54370         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54371         "bp-asm.h".
54372         (PARMS): Do not use macros from bp-asm.h.
54373         (__frexp): Do not use BP_SYM.
54374         (frexp): Likewise.
54375         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54376         "bp-asm.h".
54377         (PARMS): Do not use macros from bp-asm.h.
54378         (__frexpf): Do not use BP_SYM.
54379         (frexpf): Likewise.
54380         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54381         "bp-asm.h".
54382         (PARMS): Do not use macros from bp-asm.h.
54383         (__frexpl): Do not use BP_SYM.
54384         (frexpl): Likewise.
54385         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54386         "bp-asm.h".
54387         (PARMS): Do not use macros from bp-asm.h.
54388         (__remquo): Do not use BP_SYM.
54389         (remquo): Likewise.
54390         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54391         "bp-asm.h".
54392         (PARMS): Do not use macros from bp-asm.h.
54393         (__remquof): Do not use BP_SYM.
54394         (remquof): Likewise.
54395         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54396         "bp-asm.h".
54397         (PARMS): Do not use macros from bp-asm.h.
54398         (__remquol): Do not use BP_SYM.
54399         (remquol): Likewise.
54400         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54401         "bp-asm.h".
54402         (PARMS): Do not use macros from bp-asm.h.
54403         (DEST): Likewise.
54404         (SRC): Likewise.
54405         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54406         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54407         "bp-asm.h".
54408         (PARMS): Do not use macros from bp-asm.h.
54409         (strlen): Do not use BP_SYM.
54410         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54411         "bp-asm.h".
54412         (PARMS): Do not use macros from bp-asm.h.
54413         (S1): Likewise.
54414         (S2): Likewise.
54415         (SIZE): Likewise.
54416         (__mpn_add_n): Do not use BP_SYM.
54417         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54418         "bp-asm.h".
54419         (PARMS): Do not use macros from bp-asm.h.
54420         (S1): Likewise.
54421         (SIZE): Likewise.
54422         (__mpn_addmul_1): Do not use BP_SYM.
54423         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54424         weak_alias.
54425         (bzero): Likewise.
54426         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54427         "bp-asm.h".
54428         (PARMS): Do not use macros from bp-asm.h.
54429         (S): Likewise.
54430         (SIZE): Likewise.
54431         (__mpn_lshift): Do not use BP_SYM.
54432         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54433         "bp-asm.h".
54434         (PARMS): Do not use macros from bp-asm.h.
54435         (DEST): Likewise.
54436         (SRC): Likewise.
54437         (LEN): Likewise.
54438         (memcpy): Likewise.  Do not use BP_SYM.
54439         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54440         libc_hidden_def and weak_alias.
54441         (mempcpy): Do not use BP_SYM in weak_alias.
54442         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54443         "bp-asm.h".
54444         (PARMS): Do not use macros from bp-asm.h.
54445         (DEST): Likewise.
54446         (LEN): Likewise.
54447         [!BZERO_P] (CHR): Likewise.
54448         (memset): Likewise.  Do not use BP_SYM.
54449         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54450         "bp-asm.h".
54451         (PARMS): Do not use macros from bp-asm.h.
54452         (S1): Likewise.
54453         (SIZE): Likewise.
54454         (__mpn_mul_1): Do not use BP_SYM.
54455         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54456         "bp-asm.h".
54457         (PARMS): Do not use macros from bp-asm.h.
54458         (S): Likewise.
54459         (SIZE): Likewise.
54460         (__mpn_rshift): Do not use BP_SYM.
54461         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54462         "bp-asm.h".
54463         (PARMS): Do not use macros from bp-asm.h.
54464         (STR): Likewise.
54465         (CHR): Likewise.
54466         (strchr): Likewise.  Do not use BP_SYM.
54467         (index): Do not use BP_SYM in weak_alias.
54468         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54469         "bp-asm.h".
54470         (PARMS): Do not use macros from bp-asm.h.
54471         (DEST): Likewise.
54472         (SRC): Likewise.
54473         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54474         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54475         "bp-asm.h".
54476         (PARMS): Do not use macros from bp-asm.h.
54477         (strlen): Do not use BP_SYM.
54478         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54479         "bp-asm.h".
54480         (PARMS): Do not use macros from bp-asm.h.
54481         (S1): Likewise.
54482         (S2): Likewise.
54483         (SIZE): Likewise.
54484         (__mpn_sub_n): Do not use BP_SYM.
54485         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54486         "bp-asm.h".
54487         (PARMS): Do not use macros from bp-asm.h.
54488         (S1): Likewise.
54489         (SIZE): Likewise.
54490         (__mpn_submul_1): Do not use BP_SYM.
54491         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54492         "bp-asm.h".
54493         (PARMS): Do not use macros from bp-asm.h.
54494         (S1): Likewise.
54495         (S2): Likewise.
54496         (SIZE): Likewise.
54497         (__mpn_add_n): Do not use BP_SYM.
54498         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54499         weak_alias.
54500         (bzero): Likewise.
54501         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54502         "bp-asm.h".
54503         (PARMS): Do not use macros from bp-asm.h.
54504         (BLK2): Likewise.
54505         (LEN): Likewise.
54506         (memcmp): Do not use BP_SYM.
54507         (bcmp): Do not use BP_SYM in weak_alias.
54508         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54509         "bp-asm.h".
54510         (PARMS): Do not use macros from bp-asm.h.
54511         (DEST): Likewise.
54512         (SRC): Likewise.
54513         (LEN): Likewise.
54514         (memcpy): Likewise.  Do not use BP_SYM.
54515         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54516         "bp-asm.h".
54517         (PARMS): Do not use macros from bp-asm.h.
54518         (DEST): Likewise.
54519         (SRC): Likewise.
54520         (LEN): Likewise.
54521         (memmove): Likewise.  Do not use BP_SYM.
54522         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54523         "bp-asm.h".
54524         (PARMS): Do not use macros from bp-asm.h.
54525         (DEST): Likewise.
54526         (SRC): Likewise.
54527         (LEN): Likewise.
54528         (__mempcpy): Likewise.  Do not use BP_SYM.
54529         (mempcpy): Do not use BP_SYM in weak_alias.
54530         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54531         "bp-asm.h".
54532         (PARMS): Do not use macros from bp-asm.h.
54533         (DEST): Likewise.
54534         (LEN): Likewise.
54535         [!BZERO_P] (CHR): Likewise.
54536         (memset): Likewise.  Do not use BP_SYM.
54537         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54538         "bp-asm.h".
54539         (PARMS): Do not use macros from bp-asm.h.
54540         (STR2): Likewise.
54541         (strcmp): Do not use BP_SYM.
54542         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54543         "bp-asm.h".
54544         (PARMS): Do not use macros from bp-asm.h.
54545         (STR): Likewise.
54546         (DELIM): Likewise.
54547         [USE_AS_STRTOK_R] (SAVE): Likewise.
54548         (FUNCTION): Likewise.  Do not use BP_SYM.
54549         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54550         aliases.
54551         (strtok_r): Likewise.
54552         (__GI___strtok_r): Likewise.
54553         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54554         (PARMS): Do not use macros from bp-asm.h.
54555         (S): Likewise.
54556         (SIZE): Likewise.
54557         (__mpn_lshift): Do not use BP_SYM.
54558         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54559         (PARMS): Do not use macros from bp-asm.h.
54560         (STR): Likewise.
54561         (CHR): Likewise.
54562         (__memchr): Do not use BP_SYM.
54563         (memchr): Do not use BP_SYM in weak_alias.
54564         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54565         (PARMS): Do not use macros from bp-asm.h.
54566         (BLK2): Likewise.
54567         (LEN): Likewise.
54568         (memcmp): Do not use BP_SYM.
54569         (bcmp): Do not use BP_SYM in weak_alias.
54570         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54571         (PARMS): Do not use macros from bp-asm.h.
54572         (S1): Likewise.
54573         (SIZE): Likewise.
54574         (__mpn_mul_1): Do not use BP_SYM.
54575         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54576         "bp-asm.h".
54577         (PARMS): Do not use macros from bp-asm.h.
54578         (STR): Likewise.
54579         (CHR): Likewise.
54580         (__rawmemchr): Do not use BP_SYM.
54581         (rawmemchr): Do not use BP_SYM in weak_alias.
54582         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54583         (PARMS): Do not use macros from bp-asm.h.
54584         (S): Likewise.
54585         (SIZE): Likewise.
54586         (__mpn_rshift): Do not use BP_SYM.
54587         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54588         (PARMS): Do not use macros from bp-asm.h.
54589         (SIGMSK): Likewise.
54590         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54591         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54592         (_start): Do not use BP_SYM.
54593         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54594         (PARMS): Do not use macros from bp-asm.h.
54595         (DEST): Likewise.
54596         (SRC): Likewise.
54597         (__stpcpy): Likewise.  Do not use BP_SYM.
54598         (stpcpy): Do not use BP_SYM in weak_alias.
54599         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54600         "bp-asm.h".
54601         (PARMS): Do not use macros from bp-asm.h.
54602         (DEST): Likewise.
54603         (SRC): Likewise.
54604         (LEN): Likewise.
54605         (__stpncpy): Likewise.  Do not use BP_SYM.
54606         (stpncpy): Do not use BP_SYM in weak_alias.
54607         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54608         (PARMS): Do not use macros from bp-asm.h.
54609         (STR): Likewise.
54610         (CHR): Likewise.
54611         (strchr): Likewise.  Do not use BP_SYM.
54612         * sysdeps/i386/strchrnul.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         (CHR): Likewise.
54617         (__strchrnul): Likewise.  Do not use BP_SYM.
54618         (strchrnul): Do not use BP_SYM in weak_alias.
54619         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54620         "bp-asm.h".
54621         (PARMS): Do not use macros from bp-asm.h.
54622         (STOP): Likewise.
54623         (strcspn): Do not use BP_SYM.
54624         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54625         "bp-asm.h".
54626         (PARMS): Do not use macros from bp-asm.h.
54627         (STR): Likewise.
54628         (STOP): Likewise.
54629         (strpbrk): Likewise.  Do not use BP_SYM.
54630         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54631         "bp-asm.h".
54632         (PARMS): Do not use macros from bp-asm.h.
54633         (STR): Likewise.
54634         (CHR): Likewise.
54635         (strrchr): Likewise.  Do not use BP_SYM.
54636         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54637         (PARMS): Do not use macros from bp-asm.h.
54638         (SKIP): Likewise.
54639         (strspn): Do not use BP_SYM.
54640         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54641         (PARMS): Do not use macros from bp-asm.h.
54642         (STR): Likewise.
54643         (DELIM): Likewise.
54644         (SAVE): Likewise.
54645         (FUNCTION): Likewise.  Do not use BP_SYM.
54646         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54647         aliases.
54648         (strtok_r): Likewise.
54649         (__GI___strtok_r): Likewise.
54650         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54651         (PARMS): Do not use macros from bp-asm.h.
54652         (S1): Likewise.
54653         (S2): Likewise.
54654         (SIZE): Likewise.
54655         (__mpn_sub_n): Do not use BP_SYM.
54656         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54657         "bp-asm.h".
54658         (PARMS): Do not use macros from bp-asm.h.
54659         (S1): Likewise.
54660         (SIZE): Likewise.
54661         (__mpn_submul_1): Do not use BP_SYM.
54662         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54663         <bp-sym.h>.
54664         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54665         and <bp-asm.h>.
54666         (PARMS): Do not use macros from bp-asm.h.
54667         (FLAGS): Likewise.
54668         (PTID): Likewise.
54669         (TLS): Likewise.
54670         (CTID): Likewise.
54671         (__clone): Do not use BP_SYM.
54672         (clone): Do not use BP_SYM in weak_alias.
54673         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54674         and <bp-asm.h>.
54675         (PARMS): Do not use macros from bp-asm.h.
54676         (LEN): Likewise.
54677         (__mmap64): Do not use BP_SYM.
54678         (mmap64): Do not use BP_SYM in weak_alias.
54679         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54680         <bp-sym.h> and <bp-asm.h>.
54681         (PARMS): Do not use macros from bp-asm.h.
54682         (__posix_fadvise64_l64): Do not use BP_SYM.
54683         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54684         (PARMS): Do not use macros from bp-asm.h.
54685         (NSOPS): Likewise.
54686         (semtimedop): Do not use BP_SYM.
54687         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54688         and <bp-asm.h>.
54690 2013-02-21  Allan McRae  <allan@archlinux.org>
54692         * manual/message.texi (Charset conversion in gettext):
54693         Move @end statement to beginning of line.
54695 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54698         static.
54699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54700         Likewise.
54702         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54703         (denorm): Likewise.
54704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54707 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54709         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54710         tail-call to the resolved function if pltexit isn't needed.
54712 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54715         or Y being zero as being unlikely.
54716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54717         Likewise.
54719 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54721         * manual/nss.texi (System Databases and Name Service Switch):
54722         Remove frobnicate @pxref.
54724 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54726         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54727         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54729 2013-02-20  Petr Machata  <pmachata@redhat.com>
54731         * elf/elf.h (R_ARM_TARGET1): New macro.
54732         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54733         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54734         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54735         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54736         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54737         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54738         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54739         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54740         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54741         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54742         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54743         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54744         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54745         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54746         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54747         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54748         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54749         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54750         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54751         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54752         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54753         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54754         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54755         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54756         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54757         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54758         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54759         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54760         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54761         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54762         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54763         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54764         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54765         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54766         (R_ARM_THM_GOT_BREL12): Likewise.
54767         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54768         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54769         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54770         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54771         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54772         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54773         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54774         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54775         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54777 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54779         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54780         __attribute_used__ to __attribute__ ((unused)).
54782 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54784         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54785         powerpc mpa.c.
54786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54787         comment formatting.
54788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54790 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54792         [BZ #13550]
54793         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54794         Remove macro.
54795         (ENTER): Remove both macro definitions.
54796         (LEAVE): Likewise.
54797         (CHECK_BOUNDS_LOW): Likewise.
54798         (CHECK_BOUNDS_HIGH): Likewise.
54799         (CHECK_BOUNDS_BOTH): Likewise.
54800         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54801         (RETURN_BOUNDED_POINTER): Likewise.
54802         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54803         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54804         (POP_ERRNO_LOCATION_RETURN): Likewise.
54805         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54806         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54807         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54808         macros.
54809         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54810         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54811         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54812         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54813         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54814         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54815         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54816         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54817         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54818         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54819         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54820         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54821         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54822         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54823         removed macros.
54824         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54825         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54826         macros.
54827         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54828         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54829         * sysdeps/i386/i586/memset.S (memset): Likewise.
54830         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54831         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54832         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54833         macros.
54834         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54835         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54836         Change uses of L(2) to L(out).
54837         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54838         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54839         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54840         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54841         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54842         removed macros.
54843         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54844         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54845         macros.
54846         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54847         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54848         (RETURN): Do not use macro LEAVE.
54849         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54850         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54851         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54852         * sysdeps/i386/i686/memset.S (memset): Likewise.
54853         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54854         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54855         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54856         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54857         Likewise.
54858         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54859         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54860         L(1_2) and L(1_3) into L(1).
54861         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54862         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54863         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54864         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54865         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54866         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54867         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54868         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54869         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54870         macros.
54871         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54872         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54873         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54874         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54875         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54876         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54877         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54878         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54879         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54880         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54881         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54882         * sysdeps/i386/strspn.S (strspn): Likewise.
54883         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54884         conditional code.
54885         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54886         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54887         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54888         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54889         L(1_3) into L(1_1).
54890         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54891         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54892         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54893         macros.
54894         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54896 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54898         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54899         macro.
54901 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54903         * math/atest-exp.c (exp_mpn): Remove ROUND.
54904         * math/atest-exp2.c (exp_mpn): Likewise.
54905         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54907         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54908         * stdlib/tst-tls-atexit-lib.c: Likewise.
54909         * stdlib/tst-tls-atexit.c: Likewise.
54911 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54913         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54914         and __attribute_alloc_size__.
54916 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54918         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54919         __attribute_alloc_size__.
54920         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54921         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54923 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54925         * include/programs/xmalloc.h: New file.
54926         * catgets/gencat.c: Include it.
54927         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54928         * elf/pldd.c: Likewise.
54929         * iconv/iconv_charmap.c: Likewise.
54930         * iconv/iconvconfig.c: Likewise.
54931         * iconv/strtab.c: Likewise.
54932         * locale/programs/locale.c: Likewise.
54933         * locale/programs/localedef.h: Likewise.
54934         * locale/programs/simple-hash.c: Likewise.
54935         * nscd/nscd.h: Likewise.
54936         * nss/makedb.c: Likewise.
54937         * sysdeps/generic/ldconfig.h: Likewise.
54939 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54941         * Versions.def: Add GLIBC_2.18.
54942         * include/link.h (struct link_map): New member l_tls_dtor_count.
54943         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54944         (__call_tls_dtors): Likewise.
54945         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54946         __cxa_thread_atexit_impl.
54947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54948         Likewise.
54949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54950         Likewise.
54951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54952         Likewise.
54953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54954         Likewise.
54955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54957         Likewise.
54958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54959         Likewise.
54960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54962         Likewise.
54963         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54964         (tests): Add test case tst-tls-atexit.
54965         (modules-names): Add shared library for tst-tls-atexit.
54966         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54967         (GLIBC_PRIVATE): Add __call_tls_dtors.
54968         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54969         for libstdc++.
54970         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54971         * stdlib/tst-tls-atexit.c: New test case.
54972         * stdlib/tst-tls-atexit-lib.c: New test case.
54974         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54976         * elf/Versions (ld): Add _dl_find_dso_for_object.
54977         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54978         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54979         (dl_open_worker): Use _dl_find_dso_for_object.
54980         * elf/dl-sym.c (do_sym): Likewise.
54981         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54983 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54985         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54986         Syntactic changes only.
54987         (_dl_runtime_profile): Do a tail-call to the resolved function.
54989 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54991         [BZ #13550]
54992         * sysdeps/x86_64/bp-asm.h: Remove file.
54993         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54994         <bp-sym.h> and <bp-asm.h>.
54995         (__clone): Do not use BP_SYM.
54996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54997         <bp-sym.h> and <bp-asm.h>.
54998         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54999         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55000         "bp-asm.h".
55001         (_setjmp): Do not use BP_SYM.
55002         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55003         "bp-asm.h".
55004         (setjmp): Do not use BP_SYM.
55005         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55006         libc_hidden_def.
55007         (mempcpy): Do not use BP_SYM in weak_alias.
55008         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55009         "bp-asm.h".
55010         (strchr): Do not use BP_SYM.
55011         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55012         "bp-asm.h".
55013         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55014         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55015         (_start): Do not use BP_SYM.
55016         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55017         "bp-asm.h".
55018         (strcat): Do not use BP_SYM.
55019         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55020         "bp-asm.h".
55021         (STRCMP): Do not use BP_SYM.
55022         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55023         "bp-asm.h".
55024         (STRCPY): Do not use BP_SYM.
55025         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55026         "bp-asm.h".
55027         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55028         "bp-asm.h".
55029         (FUNCTION): Do not use BP_SYM.
55030         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55031         weak_alias.
55032         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55034 2013-02-17  Andreas Jaeger  <aj@suse.de>
55036         * time/Versions: Sort entries.
55037         * string/Versions: Likewise.
55038         * resolv/Versions: Likewise.
55039         * posix/Versions: Likewise.
55040         * iconv/Versions: Likewise.
55041         * elf/Versions: Likewise.
55042         * wcsmbs/Versions: Likewise.
55044 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55046         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55047         loop termination condition.
55049         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55050         variable to calculate EZ.
55051         (__sqr): Likewise.
55053         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55054         the lower precision input.
55056 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55058         [BZ #13550]
55059         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55060         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55061         (run-via-rtld-prefix): Do not handle %-bp tests.
55062         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55063         (all-object-suffixes): Remove .ob.
55064         (bppfx): Remove variable.
55065         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55066         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55067         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55068         [$(build-bounded) = yes] (libtype.ob): Likewise.
55069         * Makerules (elide-routines.ob): Remove variable.
55070         (do-tests-clean): Do not handle *-bp.out.
55071         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55072         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55073         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55074         (tests): Do not include $(tests-bp.out).
55075         (xtests): Do not include $(xtests-bp.out).
55076         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55077         [$(build-bounded) = yes] ($(addprefix
55078         $(objpfx),$(binaries-bounded))): Remove rule.
55079         ($(objpfx)%-bp.out): Remove rule.
55080         * config.make.in (build-bounded): Remove variable.
55081         * crypt/Makefile [$(build-bounded) = yes]
55082         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55083         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55084         append to variable.
55085         [$(build-bounded) = yes] (install-lib): Likewise.
55086         [$(build-bounded) = yes] (generated): Likewise.
55087         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55088         Remove rule.
55089         * intl/Makefile [$(build-bounded) = yes]
55090         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55091         * math/Makefile [$(build-bounded) = yes]
55092         ($(tests:%=$(objpfx)%-bp): Likewise.
55093         * misc/Makefile [$(build-bounded) = yes]
55094         ($(objpfx)tst-tsearch-bp): Likewise.
55095         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55096         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55097         Remove dependency.
55098         * string/Makefile (o-objects.ob): Remove variable.
55099         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55100         (CFLAGS-.ob): Remove variable.
55101         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55102         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55103         both definitions of variable.
55104         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55105         (ASFLAGS-.ob): Remove variable.
55107 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55109         [BZ #13550]
55110         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55111         Remove __BOUNDED_POINTERS__ from condition.
55112         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55113         * string/bits/string2.h [!__NO_STRING_INLINES &&
55114         !__BOUNDED_POINTERS__]: Likewise.
55115         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55116         Likewise.
55117         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55118         Remove conditional code.
55119         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55120         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55121         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55122         condition.
55124         [BZ #13550]
55125         * csu/libc-start.c: Do not include <bp-sym.h>.
55126         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55127         * elf/dl-open.c: Do not include <bp-sym.h>.
55128         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55129         * math/fegetenv.c: Do not include <bp-sym.h>.
55130         (fegetenv): Do not use BP_SYM in versioned symbols.
55131         * nptl/sysdeps/pthread/bits/libc-lockP.h
55132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55133         <bp-sym.h>.
55134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55135         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55137         (__pthread_mutex_destroy): Likewise.
55138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55139         (__pthread_mutex_lock): Likewise.
55140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55141         (__pthread_mutex_trylock): Likewise.
55142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55143         (__pthread_mutex_unlock): Likewise.
55144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55145         (__pthread_mutexattr_init): Likewise.
55146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55147         (__pthread_mutexattr_destroy): Likewise.
55148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55149         (__pthread_mutexattr_settype): Likewise.
55150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55151         (__pthread_rwlock_init): Likewise.
55152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55153         (__pthread_rwlock_destroy): Likewise.
55154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55155         (__pthread_rwlock_rdlock): Likewise.
55156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55157         (__pthread_rwlock_tryrdlock): Likewise.
55158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55159         (__pthread_rwlock_wrlock): Likewise.
55160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55161         (__pthread_rwlock_trywrlock): Likewise.
55162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55163         (__pthread_rwlock_unlock): Likewise.
55164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55165         (__pthread_key_create): Likewise.
55166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55167         (__pthread_setspecific): Likewise.
55168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55169         (__pthread_getspecific): Likewise.
55170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55171         Likewise.
55172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55173         (_pthread_cleanup_push_defer): Likewise.
55174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55175         (_pthread_cleanup_pop_restore): Likewise.
55176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55177         (pthread_setcancelstate): Likewise.
55178         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55179         <bp-sym.h>.
55180         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55181         (memchr): Do not use BP_SYM in weak_alias.
55182         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55183         (fegetenv): Do not use BP_SYM in versioned symbols.
55184         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55185         (fesetenv): Do not use BP_SYM in versioned symbols.
55186         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55187         (feupdateenv): Do not use BP_SYM in versioned symbols.
55188         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55189         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55190         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55191         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55192         (open64): Do not use BP_SYM in weak_alias.
55193         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55194         (fegetenv): Do not use BP_SYM in versioned symbols.
55195         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55196         (fesetenv): Do not use BP_SYM in versioned symbols.
55197         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55198         (feupdateenv): Do not use BP_SYM in versioned symbols.
55199         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55200         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55201         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55202         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55203         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55204         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55205         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55206         <bp-sym.h>.
55207         (__libc_start_main): Do not use BP_SYM.
55209 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55212         redundant return line.
55213         (norm): Likewise.
55214         (denorm): Likewise.
55215         (dbl_mp): Likewise.
55216         (sub_magnitudes): Likewise.
55217         (__add): Likewise.
55218         (__sub): Likewise.
55219         (__mul): Likewise.
55220         (__inv): Likewise.
55221         (__dvd): Likewise.
55222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55223         (norm): Likewise.
55224         (denorm): Likewise.
55225         (dbl_mp): Likewise.
55226         (sub_magnitudes): Likewise.
55227         (__add): Likewise.
55228         (__sub): Likewise.
55229         (__mul): Likewise.
55230         (__inv): Likewise.
55231         (__dvd): Likewise.
55233         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55234         instead of __mul.
55235         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55236         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55237         (cc32): Likewise.
55239         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55240         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55242         of __mul for squares.
55243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55244         function
55245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55246         Likewise.
55247         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55248         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55250 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55252         [BZ #13550]
55253         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55254         code.
55255         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55256         prototype or function definition.  Rename ubp_* variables and
55257         parameters.  Remove argv definitions conditional on
55258         [__BOUNDED_POINTERS__].
55259         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55260         * elf/dl-runtime.c (_dl_fixup): Likewise.
55261         * include/set-hooks.h (RUN_HOOK): Likewise.
55262         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55263         definition.
55264         * string/strcpy.c (strcpy): Do not use __unbounded.
55265         * sysdeps/generic/frame.h (struct layout): Likewise.
55266         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55267         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55268         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55269         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55270         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55271         (__backtrace): Likewise.
55272         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55273         use __ptrvalue.
55274         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55275         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55276         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55277         Likewise.
55278         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55279         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55280         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55281         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55282         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55283         Do not use __unbounded.
55284         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55285         Rename __unboundedrlimits parameter to rlimits in prototype.
55286         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55287         Do not use __unbounded.
55288         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55289         not use __ptrvalue.
55290         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55291         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55292         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55293         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55294         __ptrvalue or __unbounded.
55295         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55296         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55297         use __unbounded.
55298         (__new_msgctl): Do not use __ptrvalue.
55299         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55300         __unbounded.
55301         (__libc_msgrcv): Do not use __ptrvalue.
55302         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55303         startup_info): Do not use __unbounded.
55304         (__libc_start_main): Likewise.  Rename ubp_* variables and
55305         parameters.  Remove argv definitions conditional on
55306         [__BOUNDED_POINTERS__].
55307         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55308         __ptrvalue.
55309         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55310         use __unbounded.
55311         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55312         or __ptrvalue.
55313         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55314         use __unbounded.
55315         (__new_shmctl): Do not use __ptrvalue.
55316         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55317         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55318         Likewise.
55319         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55320         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55321         (__libc_sigaction): Likewise.
55322         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55323         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55324         Likewise.
55325         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55327 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55329         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55331         * string/mempcpy.c: Implement by calling memcpy.
55333 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55338         evaluation.
55340         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55341         values in the mantissa.
55343         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55344         minimize writes to Z.
55345         (sub_magnitudes): Simplify code a bit.
55347 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55349         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55350         from the message.  The linker prefixes all warnings with that already.
55352 2013-02-12  Andreas Schwab  <schwab@suse.de>
55354         [BZ #15078]
55355         * posix/regexec.c (extend_buffers): Add parameter min_len.
55356         (check_matching): Pass minimum needed length.
55357         (clean_state_log_if_needed): Likewise.
55358         (get_subexp): Likewise.
55359         * posix/Makefile (tests): Add bug-regex34.
55360         (bug-regex34-ENV): Define.
55361         * posix/bug-regex34.c: New file.
55363         [BZ #11561]
55364         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55365         elements compare against the byte sequence of it, not its name.
55366         * posix/Makefile (tests): Add bug-regex35.
55367         (bug-regex35-ENV): Define.
55368         * posix/bug-regex35.c: New file.
55370 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55372         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55373         comment.
55374         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55375         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55376         (CHECK_EOL): Add undef.
55378 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55380         * bits/stdlib-bsearch.h: New file.
55381         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55382         * stdlib/stdlib.h: Likewise.
55384 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55386         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55387         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55388         declaration.
55389         * manual/search.texi (Array Search Function): Add missing const in
55390         lfind prototype.
55391         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55392         declaration to use rlim_t.
55393         (Basic Scheduling Functions): Remove erroneous const from
55394         sched_getparam prototype.  Remove erroneous * from
55395         sched_get_priority_max and sched_get_priority_min prototypes.
55396         (Resource Usage): Fix summary @comment on vtimes to refer to
55397         sys/vtimes.h rather than vtimes.h.
55398         Add missing *s in vtimes prototype.
55399         (Limits on Resources): Fix ulimit prototype to return long int.
55400         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55401         prototypes to use long int rather than double.
55402         (BSD Random): Fix initstate and setstate to use char *, not void *.
55403         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55404         prototype to make second argument 'struct aiocb64 *const[]'.
55405         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55406         (Status of AIO Operations): Remove erroneous const in aio_return and
55407         aio_return64 prototypes.
55408         (Synchronizing I/O): Fix sync prototype to return void.
55409         * manual/startup.texi (Suboptions): Remove an erroneous const in
55410         getsubopt prototype.
55411         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55412         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55413         use size_t rather than int.
55414         (Scanning All Users): Likewise for getpwent_r.
55415         (Setting Groups): Add missing const to setgroups prototype.
55416         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55417         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55418         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55419         'const void *' rather than 'const char *'.
55420         (Host Address Functions): Likewise for inet_ntop.
55421         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55422         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55423         ssize_t for return value.
55424         (Sending Data): Likewise for send, sendto, sendmsg.
55425         (Socket Option Functions): Add a missing const in setsockopt prototype.
55426         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55427         use wchar_t for the argument.
55428         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55429         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55430         take no arguments.
55431         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55432         double/float/long double for second argument.
55433         Fix return types of significand, significandf, significandl.
55434         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55435         argument in fchmod prototype.
55436         (File Owner): Use uid_t and gid_t in fchown prototype.
55437         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55438         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55439         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55440         use 'const struct dirent **' as argument types to CMP function pointer
55441         argument.
55442         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55443         (File Times): Fix summary magic @comment for struct utimbuf and utime
55444         to refer to utime.h, not time.h.
55445         * manual/string.texi (Argz Functions): Add missing const in
55446         argz_extract and argz_next prototypes.
55447         (Finding Tokens in a String): Likewise for basename.
55448         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55449         (Copying and Concatenation): Fix typo in wmemmove prototype.
55450         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55451         (Signal Stack): Remove erroneous const in sigstack prototype.
55452         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55453         prototype.
55454         (Simple Calendar Time): Likewise for stime.
55455         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55456         prototype.
55457         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55458         say sys/sysctl.h instead.
55459         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55460         and vsyslog prototypes.
55462 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55464         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55465         Remove.
55467 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55469         * misc/sys/mman.h: Fix typo in mremap comment.
55471 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55473         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55474         the '\0' terminator.
55476 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55478         [BZ #13550]
55479         * debug/segfault.c: Don't include <bp-checks.h>.
55480         * sysdeps/generic/bp-checks.h: Remove file.
55481         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55482         (__GETDENTS): Don't use CHECK_N.
55483         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55484         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55485         (__getgroups): Don't use CHECK_N.
55486         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55487         (setgroups): Don't use CHECK_N.
55488         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55489         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55490         (__libc_msgrcv): Don't use CHECK_N.
55491         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55492         (__libc_msgsnd): Don't use CHECK_N.
55493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55494         <bp-checks.h>.
55495         (__libc_pread): Don't use CHECK_N.
55496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55497         include <bp-checks.h>.
55498         (__libc_pread64): Don't use CHECK_N.
55499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55500         include <bp-checks.h>.
55501         (__libc_pwrite): Don't use CHECK_N.
55502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55503         include <bp-checks.h>.
55504         (__libc_pwrite64): Don't use CHECK_N.
55505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55506         <bp-checks.h>.
55507         (__libc_pread): Don't use CHECK_N.
55508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55509         include <bp-checks.h>.
55510         (__libc_pread64): Don't use CHECK_N.
55511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55512         include <bp-checks.h>.
55513         (__libc_pwrite): Don't use CHECK_N.
55514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55515         include <bp-checks.h>.
55516         (__libc_pwrite64): Don't use CHECK_N.
55517         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55518         (do_pread): Don't use CHECK_N.
55519         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55520         (do_pread64): Don't use CHECK_N.
55521         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55522         (do_pwrite): Don't use CHECK_N.
55523         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55524         (do_pwrite64): Don't use CHECK_N.
55525         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55526         (__libc_readv): Don't use CHECK_N.
55527         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55528         (semop): Don't use CHECK_N.
55529         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55530         <bp-checks.h>.
55531         (semtimedop): Don't use CHECK_N.
55532         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55533         (__libc_pread): Don't use CHECK_N.
55534         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55535         <bp-checks.h>.
55536         (__libc_pread64): Don't use CHECK_N.
55537         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55538         <bp-checks.h>.
55539         (__libc_pwrite): Don't use CHECK_N.
55540         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55541         <bp-checks.h>.
55542         (__libc_pwrite64): Don't use CHECK_N.
55543         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55544         <bp-checks.h>.
55545         (__libc_msgrcv): Don't use CHECK_N.
55546         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55547         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55548         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55549         (__libc_writev): Don't use CHECK_N.
55551 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55553         * string/strcpy.c: Removed unused variable.
55555         * Makeconfig (+sysdep-includes): Define with := rather than =.
55556         Use an existing include/ subdir of each sysdeps dir before it.
55558 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55560         * nscd/connection.c (register_traced_file): Comment function.
55561         [HAVE_INOTIFY] (union __inev): Define.
55562         [HAVE_INOTIFY] (inotify_check_files): New function.
55563         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55564         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55565         clear_db_cache.
55566         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55568 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55570         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55571         loaded if not already and that a failure is permanent.
55573 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55575         [BZ #15006]
55576         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55577         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55579 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55581         [BZ #13550]
55582         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55583         (CHECK_1_NULL_OK): Likewise.
55584         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55585         (__fxstat): Do not use CHECK_1.
55586         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55587         <bp-checks.h>.
55588         (___fxstat64): Do not use CHECK_1.
55589         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55590         <bp-checks.h>.
55591         (__fxstatat): Do not use CHECK_1.
55592         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55593         <bp-checks.h>.
55594         (__fxstatat64): Do not use CHECK_1.
55595         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55596         <bp-checks.h>.
55597         (__fxstat): Do not use CHECK_1.
55598         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55599         <bp-checks.h>.
55600         (__fxstatat): Do not use CHECK_1.
55601         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55602         <bp-checks.h>.
55603         (__getresgid): Do not use CHECK_1.
55604         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55605         <bp-checks.h>.
55606         (__getresuid): Do not use CHECK_1.
55607         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55608         <bp-checks.h>.
55609         (__lxstat): Do not use CHECK_1.
55610         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55611         <bp-checks.h>.
55612         (__old_msgctl): Do not use CHECK_1.
55613         (__new_msgctl): Likewise.
55614         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55615         <bp-checks.h>.
55616         (__new_setrlimit): Do not use CHECK_1.
55617         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55618         <bp-checks.h>.
55619         (__old_shmctl): Do not use CHECK_1.
55620         (__new_shmctl): Likewise.
55621         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55622         <bp-checks.h>.
55623         (__xstat): Do not use CHECK_1.
55624         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55625         (__lxstat): Do not use CHECK_1.
55626         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55627         <bp-checks.h>.
55628         (___lxstat64): Do not use CHECK_1.
55629         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55630         (__old_msgctl): Do not use CHECK_1.
55631         (__new_msgctl): Likewise.
55632         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55633         <bp-checks.h>.
55634         (__gettimeofday): Do not use CHECK_1.
55635         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55636         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55637         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55638         <bp-checks.h>.
55639         (__gettimeofday): Do not use CHECK_1.
55640         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55641         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55642         (__new_shmctl): Do not use CHECK_1.
55643         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55644         <bp-checks.h>.
55645         (do_sigtimedwait): Do not use CHECK_1.
55646         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55647         <bp-checks.h>.
55648         (do_sigwaitinfo): Do not use CHECK_1.
55649         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55650         <bp-checks.h>.
55651         (msgctl): Do not use CHECK_1.
55652         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55653         <bp-checks.h>.
55654         (shmctl): Do not use CHECK_1.
55655         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55656         (ustat): Do not use CHECK_1.
55657         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55658         <bp-checks.h>.
55659         (__fxstat): Do not use CHECK_1.
55660         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55661         <bp-checks.h>.
55662         (__fxstatat): Do not use CHECK_1.
55663         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55664         <bp-checks.h>.
55665         (__lxstat): Do not use CHECK_1.
55666         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55667         <bp-checks.h>.
55668         (__xstat): Do not use CHECK_1.
55669         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55670         (__xstat): Do not use CHECK_1.
55671         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55672         (___xstat64): Do not use CHECK_1.
55674         [BZ #13550]
55675         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55676         definitions.
55677         (CHECK_BOUNDS_HIGH): Likewise.
55678         * string/strcpy.c: Do not include <bp-checks.h>.
55679         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55681 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55683         * nscd/nscd-client.h (__nscd_drop_map_ref):
55684         Add __attribute__ ((unused)).
55685         * nis/nss-nisplus.h (niserr2nss): Likewise.
55687         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55688         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55690         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55691         Remove inline keyword.
55692         * include/rounding-mode.h (round_away): Likewise.
55693         * libio/wfileops.c (adjust_wide_data): Likewise.
55694         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55695         (__m128i_strloadu_tolower): Likewise.
55696         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55697         (__m128i_strloadu_tolower): Likewise.
55698         * time/mktime.c (ydhms_diff): Likewise.
55699         * locale/elem-hash.h (elem_hash): Likewise.
55700         * locale/setlocale.c (setdata): Likewise.
55701         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55702         (re_string_wchar_at): Likewise.
55703         (bitset_not, bitset_merge, bitset_mask): Likewise.
55704         [!(__GNUC__ > 3)] (inline): Remove macro.
55705         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55706         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55707         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55708         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55709         * string/memcmp.c (memcmp_bytes): Likewise.
55710         * locale/programs/locarchive.c (compute_hashval): Likewise.
55711         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55712         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55713         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55714         * nss/getent.c (print_rpc, print_protocols): Likewise.
55715         (print_passwd, print_group, print_aliases): Likewise.
55716         * nis/nss-nisplus.h (niserr2nss): Likewise.
55717         * nscd/connections.c (restart_p): Likewise.
55718         Change return type to bool.
55720 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55722         * Makeconfig (all-Depend-files): Add existing
55723         $(sorted-subdirs:=/Depend) files.
55724         (all-subdirs): Remove nss.
55725         * sysdeps/unix/inet/Subdirs: Add it here instead.
55726         * hesiod/Depend: New file.
55728         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55729         instead of calling alloca.
55731         * io/lseek.c (__lseek): Rename to __libc_lseek.
55732         Define __lseek as an alias.
55734         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55736 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55738         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55739         else clause and remove check for non-standard endianness.
55741 2013-02-04  David S. Miller  <davem@davemloft.net>
55743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55745 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55747         [BZ #13550]
55748         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55749         (__ubp_memchr): Remove prototype.
55750         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55751         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55752         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55753         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55754         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55755         Remove alias.
55756         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55757         (__ubp_memchr): Likewise.
55758         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55759         (__ubp_memchr): Likewise.
55760         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55761         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55762         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55763         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55764         CHECK_STRING.
55765         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55766         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55767         (__getcwd): Do not use CHECK_STRING.
55768         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55769         <bp-checks.h>.
55770         (__real_chown): Do not use CHECK_STRING.
55771         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55772         <bp-checks.h>.
55773         (fchownat): Do not use CHECK_STRING.
55774         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55775         CHECK_STRING.
55776         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55777         <bp-checks.h>.
55778         (__lchown): Do not use CHECK_STRING.
55779         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55780         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55781         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55782         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55784         include <bp-checks.h>.
55785         (truncate64): Do not use CHECK_STRING.
55786         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55787         <bp-checks.h>.
55788         (__real_chown): Do not use CHECK_STRING.
55789         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55790         <bp-checks.h>.
55791         (__lchown): Do not use CHECK_STRING.
55792         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55793         <bp-checks.h>.
55794         (__chown): Do not use CHECK_STRING.
55795         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55796         <bp-checks.h>.
55797         (truncate64): Do not use CHECK_STRING.
55798         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55799         Likewise.
55800         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55801         (__xmknod): Do not use CHECK_STRING.
55802         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55803         <bp-checks.h>.
55804         (__xmknodat): Do not use CHECK_STRING.
55805         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55806         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55808 2013-02-04  Andreas Schwab  <schwab@suse.de>
55810         [BZ #14142]
55811         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55812         * include/netdb.h: Likewise for h_errno.
55813         * elf/tst-stackguard1.c: Include <tls.h>.
55815 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55817         * elf/link.h (struct link_map): Extend the l_addr comment.
55818         * include/link.h (struct link_map): Likewise.
55820 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55822         [BZ #13550]
55823         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55824         (BOUNDED_1): Remove macro.
55825         * debug/backtrace.c: Don't include <bp-checks.h>.
55826         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55827         (__backtrace): Likewise.
55828         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55829         <bp-checks.h>.
55830         (__backtrace): Don't use BOUNDED_1.
55831         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55832         <bp-checks.h>.
55833         (__backtrace): Don't use BOUNDED_1.
55834         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55835         (__backtrace): Don't use BOUNDED_1.
55836         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55837         (shmat): Don't use BOUNDED_N.
55839 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55841         [BZ #13550]
55842         * sysdeps/generic/bp-start.h: Remove file.
55843         * csu/libc-start.c: Don't include <bp-start.h>.
55844         (LIBC_START_MAIN): Set up __environ directly instead of using
55845         INIT_ARGV_and_ENVIRON.
55846         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55847         <bp-start.h>.
55849         [BZ #13550]
55850         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55851         definitions.
55852         (CHECK_FCNTL): Likewise.
55853         (CHECK_N_PAGES): Likewise.
55855         [BZ #13550]
55856         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55857         definitions.
55858         (CHECK_SIGSET_NULL_OK): Likewise.
55859         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55860         <bp-checks.h>.
55861         (sigpending): Don't use CHECK_SIGSET.
55862         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55863         <bp-checks.h>.
55864         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55865         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55866         <bp-checks.h>.
55867         (do_sigsuspend): Don't use CHECK_SIGSET.
55868         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55869         use CHECK_SIGSET.
55870         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55871         (do_sigwait): Don't use CHECK_SIGSET.
55872         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55873         use CHECK_SIGSET.
55874         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55875         include <bp-checks.h>.
55876         (sigpending): Don't use CHECK_SIGSET.
55877         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55878         include <bp-checks.h>.
55879         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55880         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55881         <bp-checks.h>.
55882         (sigpending): Don't use CHECK_SIGSET.
55883         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55884         <bp-checks.h>.
55885         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55887         [BZ #13550]
55888         * sysdeps/generic/bp-semctl.h: Remove file.
55889         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55890         <bp-checks.h> and <bp-semctl.h>.
55891         (__old_semctl): Don't use CHECK_SEMCTL.
55892         (__new_semctl): Likewise.
55893         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55894         and <bp-semctl.h>.
55895         (__old_semctl): Don't use CHECK_SEMCTL.
55896         (__new_semctl): Likewise.
55897         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55898         <bp-checks.h> and <bp-semctl.h>.
55899         (__old_semctl): Don't use CHECK_SEMCTL.
55900         (__new_semctl): Likewise.
55901         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55902         <bp-checks.h> and <bp-semctl.h>.
55903         (semctl): Don't use CHECK_SEMCTL.
55905         [BZ #13550]
55906         * Makerules (elide-bp-thunks): Remove variable.
55907         (elide-routines.oS): Don't use $(elide-bp-thunks).
55908         (elide-routines.os): Likewise.
55909         (elide-routines.o): Likewise.
55910         (elide-routines.op): Likewise.
55911         (elide-routines.og): Likewise.
55912         (objects): Don't use $(bp-thunks).
55913         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55914         include.
55915         (common-generated): Do not add s-proto-bp.d.
55916         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55917         (int): Likewise.
55918         (typ): Likewise.
55919         Do not generate makefile rules for bounded-pointer thunks.
55920         * sysdeps/generic/bp-thunks.h: Remove file.
55921         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55922         * sysdeps/unix/s-proto-bp.S: Likewise.
55924         [BZ #15062]
55925         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55926         parts of result separately when argument is not close to line from
55927         -i to i and one part of argument is small.
55928         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55929         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55930         * math/libm-test.inc (cacos_test): Add more tests.
55931         (casin_test): Likewise.
55932         (casinh_test): Likewise.
55933         * sysdeps/i386/fpu/libm-test-ulps: Update.
55934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55936 2013-01-31  David S. Miller  <davem@davemloft.net>
55938         * po/de.po: Update from translation team.
55940 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55942         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55944 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55946         * configure.in (_AC_PROG_CC_C89): New definition.
55947         * configure: Regenerate.
55949         * configure.in (AC_PROG_CPP): New definition.
55950         * configure: Regenerate.
55952 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55954         * debug/tst-backtrace.h: New file.
55955         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55956         (ret): Remove variable.
55957         (x): Likewise.
55958         (FAIL): Remove macro.
55959         (NO_INLINE): Likewise.
55960         (fn1): Use match function instead of strstr.
55961         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55962         (ret): Remove variable.
55963         (x): Likewise.
55964         (FAIL): Remove macro.
55965         (NO_INLINE): Likewise.
55966         (fn): Use match function instead of strstr.
55967         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55968         (ret): Remove variable.
55969         (x): Likewise.
55970         (FAIL): Remove macro.
55971         (NO_INLINE): Likewise.
55972         (handle_signal): Use match function instead of strstr.
55973         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55974         (ret): Remove variable.
55975         (x): Likewise.
55976         (FAIL): Remove macro.
55977         (NO_INLINE): Likewise.
55978         (handle_signal): Use match function instead of strstr.
55980 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55982         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55984 2013-01-23  David S. Miller  <davem@davemloft.net>
55986         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55987         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55988         argument of CAS if possible.
55989         * sysdeps/sparc/sparc64/bits/atomic.h
55990         (__arch_compare_and_exchange_val_32_acq): Likewise.
55991         (__arch_compare_and_exchange_val_64_acq): Likewise.
55993 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55995         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55996         * sysdeps/posix/ulimit.c: ... this.
55997         Include <limits.h>.
55998         * sysdeps/unix/bsd/ulimit.c: Remove file.
56000 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56002         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56003         (LDFLAGS-tst-array5): Likewise.
56005 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56007         [BZ #15036]
56008         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56009         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56010         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56011         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56013 2013-01-21  David S. Miller  <davem@davemloft.net>
56015         * sysdeps/sparc/backtrace.c: New file.
56016         * sysdeps/sparc/sparc32/backtrace.h: New file.
56017         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56018         * sysdeps/sparc/sparc64/backtrace.h: New file.
56019         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56020         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56021         -funwind-tables.
56023 2013-01-21  Andreas Schwab  <schwab@suse.de>
56025         [BZ #15020]
56026         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56027         closed its stdout.
56029 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56032         "mpa2.h".
56033         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56035 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56036             Mark Mitchell  <mark@codesourcery.com>
56037             Tom de Vries  <tom@codesourcery.com>
56038             Paul Pluzhnikov  <ppluzhnikov@google.com>
56040         * debug/tst-backtrace2.c: New file.
56041         * debug/tst-backtrace3.c: Likewise.
56042         * debug/tst-backtrace4.c: Likewise.
56043         * debug/tst-backtrace5.c: Likewise.
56044         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56045         (CFLAGS-tst-backtrace3.c): Likewise.
56046         (CFLAGS-tst-backtrace4.c): Likewise.
56047         (CFLAGS-tst-backtrace5.c): Likewise.
56048         (LDFLAGS-tst-backtrace2): Likewise.
56049         (LDFLAGS-tst-backtrace3): Likewise.
56050         (LDFLAGS-tst-backtrace4): Likewise.
56051         (LDFLAGS-tst-backtrace5): Likewise.
56052         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56053         tst-backtrace4 and tst-backtrace5.
56055 2013-01-18  Anton Blanchard  <anton@samba.org>
56056             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56058         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56059         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56060         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56061         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56063         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56064         "+r" and remove output regs list as redundant.  Add explicit inline
56065         asm to specify register of return val to work around compiler codegen
56066         bug.  Remove (int) cast on return value.  Add return type parameter to
56067         use in macro so that this macro does not truncate return value for
56068         64-bit values.
56069         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56070         pass to INTERNAL_VSYSCALL_NCS.
56071         (INLINE_VSYSCALL): Add 'long int' as return type to
56072         INTERNAL_VSYSCALL_NCS macro invocation.
56073         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56074         INTERNAL_VSYSCALL_NCS macro invocation.
56075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56077 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56079         [BZ #14496]
56080         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56081         Fix application of SIMD FP exception mask.
56083         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56084         mp_no from a power of two.
56085         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56086         __mpexp_twomm1.  Use __pow_mp.
56088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56089         multiplication.
56091 2013-01-17  David S. Miller  <davem@davemloft.net>
56093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56095 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56097         [BZ #15023]
56098         * include/complex.h: Condition contents on [!_COMPLEX_H].
56099         (__kernel_casinhf): New prototype.
56100         (__kernel_casinh): Likewise.
56101         (__kernel_casinhl): Likewise.
56102         * math/Makefile (libm_calls): Add k_casinh.
56103         * math/k_casinh.c: New file.
56104         * math/k_casinhf.c: Likewise.
56105         * math/k_casinhl.c: Likewise.
56106         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56107         finite nonzero arguments.
56108         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56109         finite nonzero arguments.
56110         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56111         finite nonzero arguments.
56112         * math/s_casinh.c: Do not include <float.h>.
56113         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56114         * math/s_casinhf.c: Do not include <float.h>.
56115         (__casinhf): Move code for finite nonzero arguments to
56116         k_casinhf.c.
56117         * math/s_casinhl.c: Do not include <float.h>.
56118         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56119         redefine.
56120         (__casinhl): Move code for finite nonzero arguments to
56121         k_casinhl.c.
56122         * math/libm-test.inc (cacos_test): Add more tests.
56123         * sysdeps/i386/fpu/libm-test-ulps: Update.
56124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56126 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56128         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56129         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56130         [!HAVE_MREMAP]: Remove [defined linux] case.
56131         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56133 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56135         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56137 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56139         * elf/elf.h (R_386_SIZE32): New relocation.
56140         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56141         R_386_SIZE32.
56142         (elf_machine_rela): Likewise.
56143         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56144         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56146 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56148         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56149         (FP_FAST_FMA): Do not define.
56150         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56151         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56152         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56153         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56154         !_SOFT_FLOAT]: Likewise.
56155         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56156         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56157         value.
56158         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56159         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56160         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56161         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56162         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56163         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56164         file.
56166 2013-01-16  Andreas Schwab  <schwab@suse.de>
56168         [BZ #14327]
56169         * include/stdlib.h (__mktemp): Add declaration.
56170         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56171         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56173 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56175         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56176         definitions.
56177         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56178         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56179         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56180         definitions here.
56181         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56182         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56183         definitions.
56184         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56185         and ONE.
56186         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56187         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56188         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56189         definitions.
56190         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56191         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56192         definitions.
56193         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56195         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56197 2013-01-15  David S. Miller  <davem@davemloft.net>
56199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56200         trunc{,f} to libm-sysdep_routes.
56201         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56203         file.
56204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56206         file.
56207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56208         file.
56209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56211         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56212         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56213         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56214         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56215         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56216         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56219         nearbyint{,f} to libm-sysdep_routes.
56220         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56222         New file.
56223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56224         file.
56225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56226         New file.
56227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56228         file.
56229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56231         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56232         file.
56233         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56234         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56235         file.
56236         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56237         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56238         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56240         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56241         libc_feholdexcept and libc_fesetenv.
56243 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56245         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56247 2013-01-14  David S. Miller  <davem@davemloft.net>
56249         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56250         (SPARC_ASM_VIS2_IFUNC): Likewise.
56251         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56253         use of 'siam' instruction.
56254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56255         Likewise.
56256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56257         Likewise.
56258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56259         Likewise.
56260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56261         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56265         file.
56266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56267         file.
56268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56269         file.
56270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56271         file.
56272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56277         new VIS2 routines.
56278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56281         Likewise.
56282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56287         routines to libm-sysdep_routines.
56288         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56291         fdim/fdimf to libm-sysdep_routines.
56292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56293         file.
56294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56296         file.
56297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56300         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56301         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56302         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56303         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56305 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56307         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56308         to optimize copies.
56310         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56315         local variable MPTWO.
56316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56317         Likewise.
56319 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56321         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56322         GLOB_NOESCAPE.
56324 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56326         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56328 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56330         * manual/pattern.texi (glob_t): Document gl_flags.
56331         (glob64_t): Likewise.
56333 2013-01-11  David S. Miller  <davem@davemloft.net>
56335         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56336         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56337         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56338         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56339         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56340         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56341         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56342         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56343         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56344         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56345         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56346         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56347         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56349         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56350         sparc V9 rather than using V8 code.
56351         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56352         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56354         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56355         Move to...
56356         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56357         Here.
56359 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56361         [BZ #14941]
56362         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56363         not in the main loop.
56364         * configure: Regenerated.
56366 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56368         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56369         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56370         to just #else.
56371         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56372         [!__GLIBC_HAVE_LONG_LONG] case.
56373         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56374         condition to just #else.
56375         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56376         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56377         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56378         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56379         unconditional.
56380         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56381         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56382         #elif condition to just #else.
56383         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56384         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56385         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56386         #elif condition to just #else.
56388 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56390         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56391         (EF_MIPS_ARCH_64): Fix value.
56392         (EF_MIPS_ARCH_32R2): New.
56393         (EF_MIPS_ARCH_64R2): New.
56395 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56397         * Makeconfig (+link-pie-before-libc): New.
56398         (+link-pie-after-libc): Likewise.
56399         (+link-pie-tests): Likewise.
56400         (+link-pie): Rewritten.
56401         (link-before-libc): Remove $(config-LDFLAGS).
56402         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56403         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56404         (config-LDFLAGS): Renamed to ...
56405         (rtld-LDFLAGS): This.
56406         (rtld-tests-LDFLAGS): New macro.
56407         (link-libc-rpath-link): Likewise.
56408         (link-libc-tests-rpath-link): Likewise.
56409         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56410         (link-libc): Prepand $(link-libc-rpath-link).
56411         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56412         (test-program-prefix): New macro.
56413         (test-via-rtld-prefix): Likewise.
56414         (test-program-cmd): Likewise.
56415         (host-test-program-cmd): Likewise.
56416         * Makefile ($(common-objpfx)testrun.sh): Replace
56417         $(run-program-prefix) with $(test-program-prefix).
56418         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56419         $(rtld-LDFLAGS).
56420         ($(common-objpfx)shlib.lds): Likewise.
56421         (build-module-helper): Likewise.
56422         ($(common-objpfx)format.lds): Likewise.
56423         * Rules (binaries-pie-tests): New.
56424         (binaries-pie-notests): Likewise.
56425         (binaries-pie): Rewritten.
56426         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56427         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56428         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56429         (make-test-out): Replace $(host-built-program-cmd) with
56430         $(host-test-program-cmd).
56431         * config.make.in (build-hardcoded-path-in-tests): New variable.
56432         * configure.in (--enable-hardcoded-path-in-tests): New configure
56433         option.
56434         (hardcoded_path_in_tests): New AC_SUBST.
56435         * configure: Regenerated.
56436         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56437         $(built-program-cmd) with $(test-program-cmd).
56438         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56439         (test_program_cmd): This.
56440         * elf/Makefile ($(objpfx)order.out): Run test with
56441         $(test-program-prefix).
56442         ($(objpfx)order2.out): Likewise.
56443         ($(objpfx)tst-initorder.out): Likewise.
56444         ($(objpfx)tst-initorder2.out): Likewise.
56445         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56446         $(test-program-cmd).
56447         ($(objpfx)tst-array1-static.out): Likewise.
56448         ($(objpfx)tst-array2.out): Likewise.
56449         ($(objpfx)tst-array3.out): Likewise.
56450         ($(objpfx)tst-array4.out): Likewise.
56451         ($(objpfx)tst-array5.out): Likewise.
56452         ($(objpfx)tst-array5-static.out): Likewise.
56453         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56454         $(test-program-cmd).
56455         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56456         $(run-program-prefix) with $(test-program-prefix).
56457         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56458         (test_program_prefix): This.
56459         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56460         $(run-program-prefix) with $(test-program-prefix).
56461         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56462         (test_program_prefix): This.
56463         * iconvdata/tst-tables.sh: Likewise.
56464         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56465         $(run-program-prefix) with $(test-program-prefix).
56466         ($(objpfx)tst-translit.out): Likewise.
56467         ($(objpfx)tst-gettext2.out): Likewise.
56468         ($(objpfx)tst-gettext4.out): Likewise.
56469         ($(objpfx)tst-gettext6.out): Likewise.
56470         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56471         (test_program_prefix): This.
56472         * intl/tst-gettext2.sh: Likewise.
56473         * intl/tst-gettext4.sh  Likewise.
56474         * intl/tst-gettext6.sh: Likewise.
56475         * intl/tst-translit.sh: Likewise.
56476         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56477         with $(test-program-cmd).
56478         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56479         $(run-program-prefix) with $(test-program-prefix).
56480         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56481         (test_program_prefix): This.
56482         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56483         $(run-program-prefix) with $(test-program-prefix).
56484         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56485         (test_program_prefix): This.
56486         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56487         * posix/Makefile ($(objpfx)globtest.out): Replace
56488         $(run-via-rtld-prefix) and $(test-wrapper) with
56489         $(test-program-prefix) and $(test-via-rtld-prefix).
56490         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56491         $(test-program-prefix).
56492         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56493         $(host-test-program-cmd).
56494         (tst-spawn-ARGS): Likewise.
56495         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56496         $(test-program-prefix).
56497         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56498         (test_via_rtld_prefix): This.
56499         (test_wrapper): Renamed to ...
56500         (test_program_prefix): This.
56501         (run_program_prefix): Replaced by test_program_prefix.
56502         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56503         (test_program_prefix): This.
56504         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56505         with $(host-test-program-cmd).
56506         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56507         $(run-program-prefix) with $(test-program-prefix).
56508         ($(objpfx)tst-printf.out): Likewise.
56509         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56510         $(test-program-cmd).
56511         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56512         (test_program_prefix): This.
56513         * stdio-common/tst-unbputc.sh: Likewise.
56514         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56515         $(run-program-prefix) with $(test-program-prefix).
56516         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56517         (test_program_prefix): This.
56518         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56519         $(built-program-cmd) with $(test-program-cmd).
56521 2013-01-11  Andreas Jaeger  <aj@suse.de>
56523         [BZ #15003]
56524         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56525         value. Sync with Linux 3.7.
56527 2013-01-10  David S. Miller  <davem@davemloft.net>
56529         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56530         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56531         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56533 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56535         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56536         never set.
56537         * configure: Regenerated.
56539 2013-01-10  David S. Miller  <davem@davemloft.net>
56541         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56542         sparc V9 rather than using V8 code.
56543         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56544         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56546 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56548         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56549         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56550         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56551         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56552         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56553         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56554         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56555         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56556         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56557         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56558         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56559         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56560         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56561         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56562         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56563         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56564         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56565         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56566         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56567         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56568         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56569         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56570         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56571         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56572         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56573         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56574         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56576 2013-01-10  David S. Miller  <davem@davemloft.net>
56578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56580 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56582         * posix/Makefile (tests-static): New variable.
56583         (tests): Add $(tests-static).
56584         (tst-exec-static-ARGS): New variable.
56585         (tst-spawn-static-ARGS): Likewise.
56586         * posix/tst-exec-static.c: New file.
56587         * posix/tst-spawn-static.c: Likewise.
56588         * posix/tst-exec.c: Support run directly.
56589         * posix/tst-spawn.c: Likewise.
56591 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56593         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56594         long.
56595         * math/bits/mathcalls.h (llrint): Likewise.
56596         (llround): Likewise.
56597         * stdlib/stdlib.h (struct drand48_data): Likewise.
56598         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56599         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56600         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56601         Likewise.
56602         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56603         Likewise.
56604         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56605         (elf_greg_t): Likewise.
56606         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56607         (__jmp_buf): Likewise.
56608         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56609         definitions.
56610         (llrint): Likewise, for all definitions.
56611         (llrintl): Likewise.
56613         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56614         Remove [__GNUC__] condition.
56615         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56616         condition to just [__USE_ISOC99].
56617         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56619 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56621         [BZ #14200]
56622         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56623         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56624         defined.
56625         (_POSIX_V6_ILP32_OFF32): Likewise.
56626         (_XBS5_ILP32_OFF32): Likewise.
56627         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56628         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56630 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56632         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56634         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56635         doubles __mpexp_twomm1.  Adjust usage.
56636         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56637         Remove.
56639 2013-01-10  Andreas Schwab  <schwab@suse.de>
56641         [BZ #14964]
56642         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56643         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56645 2013-01-09  David S. Miller  <davem@davemloft.net>
56647         [BZ #15003]
56648         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56649         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56650         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56651         (TCP_FASTOPEN): Define.
56652         (tcp_repair_opt): New structure.
56653         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56654         enum values.
56655         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56656         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56657         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56658         (tcp_cookie_transactions): New structure.
56660 2013-01-09  Anton Blanchard  <anton@samba.org>
56662         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56663         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56664         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56665         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56667 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56669         * include/features.h (__USE_ANSI): Remove.
56671 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56673         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56675         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56677 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56679         * sysdeps/s390/fpu/libm-test-ulps: Update.
56681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56683         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56684         (__acr): Likewise.
56685         (__cpy): Likewise.
56686         (norm): Likewise.
56687         (denorm): Likewise.
56688         (__mp_dbl): Likewise.
56689         (__dbl_mp): Likewise.
56690         (add_magnitudes): Likewise.
56691         (sub_magnitudes): Likewise.
56692         (__add): Likewise.
56693         (__sub): Likewise.
56694         (__mul): Likewise.
56695         (__inv): Likewise.
56696         (__dvd): Likewise.
56697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56698         (__acr): Likewise.
56699         (__cpy): Likewise.
56700         (norm): Likewise.
56701         (denorm): Likewise.
56702         (__mp_dbl): Likewise.
56703         (__dbl_mp): Likewise.
56704         (add_magnitudes): Likewise.
56705         (sub_magnitudes): Likewise.
56706         (__add): Likewise.
56707         (__sub): Likewise.
56708         (__mul): Likewise.
56709         (__inv): Likewise.
56710         (__dvd): Likewise.
56711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56712         (__acr): Likewise.
56713         (__cpy): Likewise.
56714         (norm): Likewise.
56715         (denorm): Likewise.
56716         (__mp_dbl): Likewise.
56717         (__dbl_mp): Likewise.
56718         (add_magnitudes): Likewise.
56719         (sub_magnitudes): Likewise.
56720         (__add): Likewise.
56721         (__sub): Likewise.
56722         (__mul): Likewise.
56723         (__inv): Likewise.
56724         (__dvd): Likewise.
56726 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56728         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56729         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56730         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56731         2 && __USE_EXTERN_INLINES]: Likewise.
56733 2013-01-08  Andreas Jaeger  <aj@suse.de>
56735         [BZ# 14985]
56736         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56737         Remove.
56738         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56739         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56741 2013-01-07  Anton Blanchard  <anton@samba.org>
56743         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56744         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56745         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56746         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56747         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56748         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56749         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56750         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56752         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56753         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56754         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56755         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56756         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56757         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56758         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56759         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56760         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56761         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56762         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56763         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56764         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56765         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56766         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56767         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56768         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56769         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56770         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56771         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56772         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56773         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56774         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56775         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56776         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56777         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56778         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56779         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56780         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56781         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56782         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56783         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56784         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56785         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56787 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56789         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56790         (__MALLOC_PMT): Likewise.
56791         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56792         [__GNUC__], only on [_LIBC].
56793         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56794         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56795         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56796         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56797         forward declaration.
56798         (realloc_hook_ini): Likewise.
56799         (memalign_hook_ini): Likewise.
56800         (__libc_memalign): Do not use __MALLOC_PMT in variable
56801         declaration.
56802         (__libc_valloc): Likewise.
56803         (__libc_pvalloc): Likewise.
56804         (__libc_calloc): Likewise.
56805         (__posix_memalign): Likewise.
56807         [BZ #14996]
56808         * math/s_casinh.c: Include <float.h>.
56809         (__casinh): Do not do computation with squaring and square root
56810         for large arguments.
56811         * math/s_casinhf.c: Include <float.h>.
56812         (__casinhf): Do not do computation with squaring and square root
56813         for large arguments.
56814         * math/s_casinhl.c: Include <float.h>.
56815         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56816         (__casinhl): Do not do computation with squaring and square root
56817         for large arguments.
56818         * math/libm-test.inc (casin_test): Add more tests.
56819         (casinh_test): Likewise.
56820         * sysdeps/i386/fpu/libm-test-ulps: Update.
56821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56823 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56825         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56826         (__x86_64_raw_data_cache_size): Likewise.
56827         (__x86_64_data_cache_size_half): Likewise.
56828         (__x86_64_raw_data_cache_size_half): Likewise.
56829         (__x86_64_shared_cache_size): Likewise.
56830         (__x86_64_raw_shared_cache_size): Likewise.
56831         (__x86_64_shared_cache_size_half): Likewise.
56832         (__x86_64_raw_shared_cache_size_half): Likewise.
56833         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56834         to ...
56835         (__x86_data_cache_size): This.
56836         (__x86_64_raw_data_cache_size): Renamed to ...
56837         (__x86_raw_data_cache_size): This.
56838         (__x86_64_data_cache_size_half): Renamed to ...
56839         (__x86_data_cache_size_half): This.
56840         (__x86_64_raw_data_cache_size_half): Renamed to ...
56841         (__x86_raw_data_cache_size_half): This.
56842         (__x86_64_shared_cache_size): Renamed to ...
56843         (__x86_shared_cache_size): This.
56844         (__x86_64_raw_shared_cache_size): Renamed to ...
56845         (__x86_raw_shared_cache_size): This.
56846         (__x86_64_shared_cache_size_half): Renamed to ...
56847         (__x86_shared_cache_size_half): This.
56848         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56849         (__x86_raw_shared_cache_size_half): This.
56850         * sysdeps/x86_64/memcpy.S: Updated.
56851         * sysdeps/x86_64/memset.S: Likewise.
56852         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56853         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56854         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56856 2013-01-04  David S. Miller  <davem@davemloft.net>
56858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56860 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56862         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56863         1 to avoid redefinition warning.
56864         (__USE_GNU): Don't define.
56865         (init_signaling_nan): Protoize.
56867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56869 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56871         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56873         (__cpymn): Likewise.
56874         (norm): Remove commented code.
56875         (denorm): Likewise.
56876         (__mp_dbl): Likewise.
56877         (__inv): Likewise.
56878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56879         (__cpymn): Likewise.
56880         (norm): Remove commented code.
56881         (denorm): Likewise.
56882         (__mp_dbl): Likewise.
56883         (__inv): Likewise.
56885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56886         mp_no value for 1.0 and 2.0.
56887         (norm): Use RADIXI instead of radixi.d.
56888         (denorm): Likewise.
56889         (__mul): Use 0.0 instead of zero.d.
56890         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56891         mp_no value for 1.0 and 2.0.
56892         (norm): Use RADIXI instead of radixi.d.
56893         (denorm): Likewise.
56894         (__mul): Use 0.0 instead of zero.d.
56896 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56898         [BZ #14994]
56899         * math/s_casinh.c (__casinh): Reduce finite argument to first
56900         quadrant then set signs of results at the end.
56901         * math/s_casinhf.c (__casinhf): Likewise.
56902         * math/s_casinhl.c (__casinhl): Likewise.
56903         * math/libm-test.inc (casin_test): Add more tests.
56904         (casinh_test): Likewise.
56905         * sysdeps/i386/fpu/libm-test-ulps: Update.
56906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56908 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56910         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56912         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56914         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56915         declarations.
56916         (denorm): Likewise.
56917         (__mp_dbl): Likewise.
56918         (__inv): Likewise.
56920         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56921         and adjust the header comment.
56923         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56924         variable name from declaration.
56926 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56929         Initialize COMMON_CPUID_INDEX_7 element.
56930         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56931         (CPUID_RTM): Likewise.
56932         (HAS_RTM): Likewise.
56933         (COMMON_CPUID_INDEX_7): New enum.
56935 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56937         [BZ #14981]
56938         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56939         size is zero, record memory as freed.
56941 2013-01-03  Andreas Jaeger  <aj@suse.de>
56943         * po/ia.po: Add new Interlingua translation.
56945 2012-01-03  Allan McRae  <allan@archlinux.org>
56947         * locale/programs/localedef.c: Fix description of '--posix' flag.
56949 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56951         * NEWS: Update dates in second copyright notice.
56952         * README: Update copyright dates in example.
56953         * manual/libc.texinfo: Update copyright dates.
56954         * scripts/test-installation.pl: Update copyright date in --version
56955         output.
56957         * hurd/ctty-input.c: Fix copyright notice formatting.
56958         * hurd/ctty-output.c: Likewise.
56959         * hurd/dtable.c: Likewise.
56960         * hurd/hurd-raise.c: Likewise.
56961         * hurd/hurdprio.c: Likewise.
56962         * hurd/msgportdemux.c: Likewise.
56963         * misc/sys/file.h: Likewise.
56964         * misc/sys/ioctl.h: Likewise.
56965         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56966         * sysdeps/mach/hurd/chdir.c: Likewise.
56967         * sysdeps/mach/hurd/fchdir.c: Likewise.
56968         * sysdeps/mach/hurd/rename.c: Likewise.
56969         * sysdeps/mach/hurd/rmdir.c: Likewise.
56970         * sysdeps/mach/hurd/seekdir.c: Likewise.
56971         * sysdeps/mach/hurd/setsid.c: Likewise.
56972         * sysdeps/posix/wait3.c: Likewise.
56974         * All files with FSF copyright notices: Update copyright dates
56975         using scripts/update-copyrights.
56976         * intl/plural.c: Regenerated.
56977         * locale/programs/charmap-kw.h: Likewise.
56978         * locale/programs/locfile-kw.h: Likewise.
56980 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56982         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56983         four values.
56985         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56986         calculation loop and add branch prediction.
56988         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56989         check access beyond bounds of m1np.
56991         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56992         MPTWO.
56993         (__inv): Remove local variable MPTWO to use the global
56994         constant.
56995         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56996         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56997         variable MPTWO.
56998         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56999         MP3HALFS static const.
57001 2013-01-01  David S. Miller  <davem@davemloft.net>
57003         * po/ca.po: Update from translation team.
57005 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57007         * scripts/update-copyrights: New file.
57008         * Makeconfig: Reformat copyright notice.
57009         * ctype/ctype.h: Likewise.
57010         * debug/swprintf_chk.c: Likewise.
57011         * elf/dl-cache.c: Likewise.
57012         * elf/dl-debug.c: Likewise.
57013         * elf/dl-object.c: Likewise.
57014         * grp/initgroups.c: Likewise.
57015         * hurd/Makefile: Likewise.
57016         * hurd/hurd/signal.h: Likewise.
57017         * hurd/hurdfault.c: Likewise.
57018         * hurd/hurdioctl.c: Likewise.
57019         * hurd/hurdlookup.c: Likewise.
57020         * hurd/intr-msg.c: Likewise.
57021         * iconv/gconv_open.c: Likewise.
57022         * libio/swprintf.c: Likewise.
57023         * locale/lc-ctype.c: Likewise.
57024         * locale/nl_langinfo.c: Likewise.
57025         * mach/Machrules: Likewise.
57026         * mach/Makefile: Likewise.
57027         * malloc/obstack.h: Likewise.
57028         * manual/Makefile: Likewise.
57029         * manual/tsort.awk: Likewise.
57030         * misc/bits/stab.def: Likewise.
57031         * nis/nis_print_group_entry.c: Likewise.
57032         * nis/nis_table.c: Likewise.
57033         * nis/nss_compat/compat-pwd.c: Likewise.
57034         * nis/nss_compat/compat-spwd.c: Likewise.
57035         * po/Makefile: Likewise.
57036         * posix/fnmatch.c: Likewise.
57037         * posix/regex.h: Likewise.
57038         * resolv/Makefile: Likewise.
57039         * resolv/nss_dns/dns-network.c: Likewise.
57040         * resolv/res_hconf.c: Likewise.
57041         * scripts/gen-sorted.awk: Likewise.
57042         * soft-fp/soft-fp.h: Likewise.
57043         * stdio-common/printf.h: Likewise.
57044         * stdlib/monetary.h: Likewise.
57045         * stdlib/random.c: Likewise.
57046         * stdlib/random_r.c: Likewise.
57047         * sysdeps/generic/Makefile: Likewise.
57048         * sysdeps/gnu/Makefile: Likewise.
57049         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57050         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57051         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57052         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57053         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57054         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57055         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57056         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57057         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57058         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57059         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57060         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57061         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57062         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57063         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57064         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57065         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57066         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57067         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57068         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57069         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57070         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57071         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57072         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57073         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57074         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57075         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57076         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57077         * sysdeps/mach/hurd/errnos.awk: Likewise.
57078         * sysdeps/mach/hurd/fork.c: Likewise.
57079         * sysdeps/mach/hurd/getcwd.c: Likewise.
57080         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57081         * sysdeps/mach/hurd/mmap.c: Likewise.
57082         * sysdeps/mach/hurd/utimes.c: Likewise.
57083         * sysdeps/mach/hurd/xmknod.c: Likewise.
57084         * sysdeps/posix/profil.c: Likewise.
57085         * sysdeps/posix/readdir_r.c: Likewise.
57086         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57087         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57088         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57089         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57090         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57091         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57092         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57093         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57095         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57096         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57097         * sysdeps/pthread/lio_listio.c: Likewise.
57098         * sysdeps/sparc/dl-procinfo.h: Likewise.
57099         * sysdeps/unix/i386/sysdep.S: Likewise.
57100         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57101         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57102         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57103         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57105         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57106         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57107         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57108         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57109         * sysdeps/wordsize-32/divdi3.c: Likewise.
57110         * time/sys/time.h: Likewise.
57111         * wcsmbs/Makefile: Likewise.
57113 2013-01-01  David S. Miller  <davem@davemloft.net>
57115         * po/fr.po: Update from translation team.
57117         * catgets/gencat.c: Update copyright year.
57118         * csu/version.c: Likewise.
57119         * debug/catchsegv.sh: Likewise.
57120         * debug/pcprofiledump.c: Likewise.
57121         * debug/xtrace.sh: Likewise.
57122         * elf/ldconfig.c: Likewise.
57123         * elf/ldd.bash.in: Likewise.
57124         * elf/pldd.c: Likewise.
57125         * elf/sotruss.ksh: Likewise.
57126         * elf/sprof.c: Likewise.
57127         * iconv/iconv_prog.c: Likewise.
57128         * iconv/iconvconfig.c: Likewise.
57129         * locale/programs/locale.c: Likewise.
57130         * locale/programs/localedef.c: Likewise.
57131         * login/programs/pt_chown.c: Likewise.
57132         * malloc/memusage.sh: Likewise.
57133         * malloc/memusagestat.c: Likewise.
57134         * malloc/mtrace.pl: Likewise.
57135         * nscd/nscd.c: Likewise.
57136         * nss/getent.c: Likewise.
57137         * nss/makedb.c: Likewise.
57138         * posix/getconf.c: Likewise.
57140 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57142         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57143         numbers.
57145 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57147         * math/bits/mathcalls.h (modf): Use __nonnull.
57149 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57151         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57152         (split): Use macro CN instead of the bare value.
57153         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57154         could be used.
57155         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57156         instead of the bare value.
57157         (power1): Likewise.
57159 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57161         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57162         __ATAN_TWOM.
57163         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57165         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57166         their values.
57167         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57168         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57169         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57170         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57172 2012-12-28  Andreas Jaeger  <aj@suse.de>
57174         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57175         values are from Linux 3.7.
57177         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57178         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57180 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57182         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57183         TRUE case.
57185         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57186         (norm): Likewise.
57187         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57188         variables with preprocessor constants.
57189         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57190         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57191         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57193 2012-12-27  Bruno Haible  <bruno@clisp.org>
57195         [BZ #14317]
57196         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57197         only if needed.
57199 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57202         and use variable directly.
57203         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57205         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57206         MPONE.
57207         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57208         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57209         variable MPONE.
57210         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57211         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57212         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57213         include directive.  Remove local variable MPONE.
57214         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57215         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57216         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57218 2012-12-25  David S. Miller  <davem@davemloft.net>
57220         * version.h (RELEASE): Set to "development".
57221         (VERSION): Set to "2.17.90".
57222         * NEWS: Add 2.18 section.
57224 2012-12-21  David S. Miller  <davem@davemloft.net>
57226         * po/hr.po: Update from translation team.
57228 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57230         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57232 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57234         * NEWS:  Mention new memcpy for MIPS.
57236 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57238         * manual/contrib.texi (Contributors): Spelling correction.
57240 2012-12-15  David S. Miller  <davem@davemloft.net>
57242         * po/ru.po: Update from translation team.
57244 2012-12-13  David S. Miller  <davem@davemloft.net>
57246         * NEWS: Mention IFUNC testsuite enhancements.
57248         * po/pl.po: Update from translation team.
57249         * po/bg.po: Likewise.
57251         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57252         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57254 2012-12-11  David S. Miller  <davem@davemloft.net>
57256         * po/sv.po: Update from translation team.
57258         * po/vi.po: Update from translation team.
57260         * po/cs.po: Update from translation team.
57262         * po/de.po: Update from translation team.
57263         * po/eo.po: Likewise.
57264         * po/nl.po: Likewise.
57266 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57268         [BZ #14246]
57269         * manual/argp.texi (Argp Helper Functions): Move node to follow
57270         Argp Parsing State.
57272         [BZ #14872]
57273         * manual/conf.texi (Limits on File System Capacity): Mention if
57274         terminating null is included in the max size.
57276 2012-12-10  Andreas Jaeger  <aj@suse.de>
57278         * po/cs.po: Update from translation team.
57280 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57282         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57283         void pointer and cast to uintptr_t.
57284         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57285         path.
57286         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57287         * sysdeps/s390/s390-64/memset.S: Likewise.
57289 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57291         [BZ #14833]
57292         * menual/message.texi (Message Translation): Fix typos.
57293         (Helper programs for gettext): Likewise.
57295 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57297         [BZ #14898]
57298         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57299         Change to -1.
57301 2012-12-07  David S. Miller  <davem@davemloft.net>
57303         * po/libc.pot: Update.
57305 2012-12-07  Richard Henderson  <rth@redhat.com>
57307         [BZ #10114]
57308         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57309         normal/normal case to before the switch.
57310         (_FP_DIV): Likewise.
57312 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57313             Mike Frysinger  <vapier@gentoo.org>
57315         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57316         check for __NR_fadvise64_64.
57318 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57320         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57321         0, not just to plain "0" as a statement.
57322         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57323         with cw.
57325 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57327         * NEWS: Use sourceware.org in Bugzilla URL.
57329 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57332         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57334         * stdio-common/tst-put-error.c (do_test): Add newline to the
57335         padded test to ensure flush.
57337 2012-12-05  Jeff Law  <law@redhat.com>
57339         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57341 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57343         * README: Don't refer to ports add-on as distributed separately.
57344         Mention AArch64 in list of systems supported in the ports add-on.
57346         * LICENSES: Add more non-FSF copyright and license notices.
57348         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57349         ((unused)).
57351         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57353         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57354         10000 as width of padded output.
57356 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57358         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57360         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57361         variable LX with __attribute__ ((unused)).
57362         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57363         Likewise.
57364         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57365         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57366         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57367         with __attribute__ ((unused)).
57369 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57371         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57373 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57375         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57376         (CFLAGS-nldbl-acos.c): New variable.
57377         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57378         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57379         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57380         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57381         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57382         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57383         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57384         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57385         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57386         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57387         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57388         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57389         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57390         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57391         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57392         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57393         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57394         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57395         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57396         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57397         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57398         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57399         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57400         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57401         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57402         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57403         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57404         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57405         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57406         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57407         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57408         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57409         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57410         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57411         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57412         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57413         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57414         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57415         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57416         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57417         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57418         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57419         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57420         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57421         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57422         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57423         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57424         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57425         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57426         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57427         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57428         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57429         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57430         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57431         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57432         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57433         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57434         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57435         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57436         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57437         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57438         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57439         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57440         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57441         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57442         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57443         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57444         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57445         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57446         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57447         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57448         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57449         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57450         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57451         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57452         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57453         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57454         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57455         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57456         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57457         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57458         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57459         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57460         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57461         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57462         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57463         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57464         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57465         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57466         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57467         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57468         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57469         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57470         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57471         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57472         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57473         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57476         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57478         [BZ #14914]
57479         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57480         whole low double instead of just low 47 bits when splitting values
57481         into two parts.
57483 2012-12-03  Allan McRae  <allan@archlinux.org>
57485         * manual/stdio.texi (Predefined Printf Handlers): Remove
57486         @hsep and @vsep usage.
57488 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57490         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57491         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57493 2012-12-03  Jeff Law  <law@redhat.com>
57495         * time/sys/time.h (settimeofday): Do not mark TV argument
57496         as __nonnull.
57498 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57500         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57501         when currently writing and seek to current position when not.
57502         * libio/Makefile (tests): Remove bug-fclose1.
57503         * libio/bug-fclose1.c: Delete.
57505 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57507         * manual/arith.texi (feenableexcept): Fix typo.
57508         (fedisableexcept): Likewise.
57510 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57512         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57513         second, differently-typed declaration, rather than a cast.
57515 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57517         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57518         * include/rpc/svc.h: ... here.
57520 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57522         [BZ #13013]
57523         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57524         depending n and resplen2 to catch cases where answer
57525         equals answerp2.
57527 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57529         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57530         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57532 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57534         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57536 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57538         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57540 2012-11-28  Jeff Law  <law@redhat.com>
57542         [BZ #13761]
57543         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57544         dataset_temporary.  Track alloca usage into alloca_used.
57545         If dataset is large allocate and release it via malloc/free.
57547 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57549         [BZ #14197]
57550         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57552 2012-11-28  David S. Miller  <davem@davemloft.net>
57554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57556 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57558         [BZ #14803]
57559         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57560         of pi/2 rounded to nearest to 64 bits.
57561         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57562         nearest to 64 bits.
57563         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57564         bits.
57566 2012-11-28  Jeff Law <law@redhat.com>
57567             Martin Osvald <mosvald@redhat.com>
57569         [BZ #14889]
57570         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57571         * sunrpc/svc.c: Include time.h.
57572         (__svc_accept_failed): New function.
57573         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57574         any reason other than EINTR, call __svc_accept_failed.
57575         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57576         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57578 2012-11-28  Andreas Schwab  <schwab@suse.de>
57580         * scripts/abilist.awk: Also handle indirect functions in .opd
57581         section.
57583 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57585         [BZ #13881]
57586         * sysdeps/x86/fpu/powl_helper.c: New file.
57587         * sysdeps/x86/fpu/Makefile: Likewise.
57588         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57589         (p3): New object.
57590         (__ieee754_powl): Use __powl_helper for finite arguments except
57591         integer exponents below 8.
57592         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57593         (p3): New object.
57594         (__ieee754_powl): Use __powl_helper for finite arguments except
57595         integer exponents below 8.
57596         * math/libm-test.inc (pow_test): Add more tests and enable some
57597         previously disabled tests.
57598         * sysdeps/i386/fpu/libm-test-ulps: Update.
57599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57601 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57602             Carlos O'Donell  <carlos_odonell@mentor.com>
57604         * nss/makedb.c (is_prime): Assert that input is odd and greater
57605         than 4.  Note that fact in a comment too.
57606         (next_prime): Add 4 to input.
57608 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57610         [BZ #11741]
57611         * libio/Makefile (tests): Add test case tst-fwrite-error.
57612         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57613         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57614         * libio/tst-fwrite-error.c: New test case.
57616 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57618         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57619         before casting to void *.
57620         * include/libc-internal.h (__pointer_type): New macro.
57621         (__integer_if_pointer_type_sub): Likewise.
57622         (__integer_if_pointer_type): Likewise.
57623         (cast_to_integer): Likewise.
57624         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57625         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57626         before casting to atomic64_t.
57627         (atomic_exchange_acq): Likewise.
57628         (__arch_exchange_and_add_body): Likewise.
57629         (__arch_add_body): Likewise.
57630         (atomic_add_negative): Likewise.
57631         (atomic_add_zero): Likewise.
57633 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57635         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57636         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57637         (add_fdes): Likewise.
57638         (linear_search_fdes): Likewise.
57639         (binary_search_unencoded_fdes): Likewise.
57641 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57643         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57645 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57647         * configure.in: Autodetect C++ header directories.
57648         * configure: Regenerated.
57650 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57652         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57654 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57658 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57660         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57661         LDBL_MANT_DIG == 106]: Disable some tests.
57662         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57663         Likewise.
57664         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57665         Likewise.
57667         [BZ #14871]
57668         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57669         input for small inputs.  Return +/- pi/2 for large inputs.
57670         * math/libm-test.inc (atan_test): Add more tests.
57672         * sysdeps/generic/unwind-dw2-fde-glibc.c
57673         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57674         __attribute__ ((unused)).
57676         [BZ #14645]
57677         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57678         x * y if x and y are nonzero and z is zero.
57680         [BZ #14811]
57681         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57682         nonzero exponents with absolute value below 0x1p-117 to +/-
57683         0x1p-117.
57685         [BZ #14869]
57686         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57687         up arguments below 2**-450, not just those below 2**-500.
57688         * math/libm-test.inc (hypot_test): Add another test.
57690         [BZ #14868]
57691         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57692         Return a+b for ratio over 2**120, not 2**60.
57693         * math/libm-test.inc (hypot_test): Add another test.
57695         * math/libm-test.inc (clog_test): Use
57696         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57697         (clog10_test): Likewise.
57699         [BZ #6778]
57700         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57702 2012-11-22  Andreas Schwab  <schwab@suse.de>
57704         * sysdeps/i386/fpu/libm-test-ulps: Update.
57706 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57708         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57709         printf output with newline.
57711 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57713         [BZ #14865]
57714         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57715         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57716         -z nodlopen, -z initfirst and -z execstack support.
57717         * configure: Regenerated.
57719         * elf/elf.h (DF_1_NODIRECT): New macro.
57720         (DF_1_IGNMULDEF): Likewise.
57721         (DF_1_NOKSYMS): Likewise.
57722         (DF_1_NOHDR): Likewise.
57723         (DF_1_EDITED): Likewise.
57724         (DF_1_NORELOC): Likewise.
57725         (DF_1_SYMINTPOSE): Likewise.
57726         (DF_1_GLOBAUDIT): Likewise.
57727         (DF_1_SINGLETON): Likewise.
57728         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57729         DT_1_SUPPORTED_MASK bits.
57730         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57732 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57734         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57736 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57738         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57739         macro.
57741         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57742         (sendmmsg): Move declarations...
57743         * socket/sys/socket.h: ... here.
57744         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57745         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57746         include it from...
57747         * socket/recvmmsg.c: ... this new file.
57748         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57749         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57750         definition of __sendmmsg hidden.
57751         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57752         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57753         Move ENOSYS stub into and include it from...
57754         * socket/sendmmsg.c: ... this new file.
57755         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57756         (sysdep_routines): Move recvmmsg and sendmmsg...
57757         * socket/Makefile (routines): ... here.
57758         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57759         (GLIBC_PRIVATE): Add __sendmmsg.
57760         * include/sys/socket.h (__sendmmsg): Add declarations.
57761         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57762         sendmmsg.
57764 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57766         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57767         variable I1 with __attribute__ ((unused)).
57768         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57770 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57772         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57773         DUMMY variables with __attribute__ ((unused)).
57775         * bits/byteswap.h: Include <bits/types.h>.
57776         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57778 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57780         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57781         string_t.  Do not manually set errno.
57782         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57783         length with __strnlen.  Make sure to both set errno and return it on
57784         failure.
57786 2012-11-19  David S. Miller  <davem@davemloft.net>
57788         With help from Joseph Myers.
57789         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57790         very large arguments properly.
57791         * math/libm-test.inc (atan_test): New tests.
57792         (atan2_test): New tests.
57793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57796 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57798         [BZ #14856]
57799         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57800         Define to 3.
57802         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57803         [POSIX] (EADDRNOTAVAIL): Likewise.
57804         [POSIX] (EAFNOSUPPORT): Likewise.
57805         [POSIX] (EALREADY): Likewise.
57806         [POSIX] (ECONNABORTED): Likewise.
57807         [POSIX] (ECONNREFUSED): Likewise.
57808         [POSIX] (ECONNRESET): Likewise.
57809         [POSIX] (EDESTADDRREQ): Likewise.
57810         [POSIX] (EDQUOT): Likewise.
57811         [POSIX] (EHOSTUNREACH): Likewise.
57812         [POSIX] (EIDRM): Likewise.
57813         [POSIX] (EISCONN): Likewise.
57814         [POSIX] (ELOOP): Likewise.
57815         [POSIX] (EMULTIHOP): Likewise.
57816         [POSIX] (ENETDOWN): Likewise.
57817         [POSIX] (ENETUNREACH): Likewise.
57818         [POSIX] (ENOBUFS): Likewise.
57819         [POSIX] (ENODATA): Likewise.
57820         [POSIX] (ENOLINK): Likewise.
57821         [POSIX] (ENOMSG): Likewise.
57822         [POSIX] (ENOPROTOOPT): Likewise.
57823         [POSIX] (ENOSR): Likewise.
57824         [POSIX] (ENOSTR): Likewise.
57825         [POSIX] (ENOTCONN): Likewise.
57826         [POSIX] (ENOTSOCK): Likewise.
57827         [POSIX] (EOPNOTSUPP): Likewise.
57828         [POSIX] (EOVERFLOW): Likewise.
57829         [POSIX] (EPROTO): Likewise.
57830         [POSIX] (EPROTONOSUPPORT): Likewise.
57831         [POSIX] (EPROTOTYPE): Likewise.
57832         [POSIX] (ESTALE): Likewise.
57833         [POSIX] (ETIME): Likewise.
57834         [POSIX] (ETXTBSY): Likewise.
57835         [POSIX] (EWOULDBLOCK): Likewise.
57836         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57837         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57838         [POSIX] (SEEK_CUR): Likewise.
57839         [POSIX] (SEEK_END): Likewise.
57840         [POSIX || UNIX98] (mode_t): Do not require.
57841         [POSIX] (off_t): Likewise.
57842         [POSIX] (pid_t): Likewise.
57843         [POSIX] (sys/stat.h): Do not allow header.
57844         [POSIX] (unistd.h): Likewise.
57845         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57846         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57847         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57848         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57849         require.
57850         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57851         sigevent): Specify elements.
57852         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57853         entry.
57854         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57855         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57857         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57858         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57859         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57860         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57861         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57862         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57863         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57864         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57865         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57866         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57867         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57868         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57869         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57870         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57871         Likewise.
57872         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57873         Likewise.
57874         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57875         Likewise.
57876         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57877         Likewise.
57878         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57879         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57880         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57881         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57882         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57883         Specify lower bound on value.
57884         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57885         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57886         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57887         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57888         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57889         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57890         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57891         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57892         value.
57893         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57894         as optional.
57895         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57896         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57897         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57898         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57899         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57900         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57901         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57902         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57903         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57904         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57905         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57906         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57907         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57908         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57909         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57910         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57911         entry.
57912         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57913         optional.
57914         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57915         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57916         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57917         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57918         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57919         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57920         Likewise.
57921         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57922         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57923         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57924         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57925         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57926         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57927         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57928         as optional.
57929         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57930         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57931         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57932         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57933         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57934         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57935         specify as optional.
57936         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57937         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57938         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57939         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57940         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57941         [XPG3] (NL_LANGMAX): Likewise.
57942         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57943         [POSIX || XPG3] (NL_NMAX): Likewise.
57944         [POSIX || XPG3] (NL_SETMAX): Likewise.
57945         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57946         [XPG3] (NZERO): Likewise.
57947         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57948         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57949         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57950         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57951         (REG_ERANGE): Expect.
57952         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57953         optional-constant.
57954         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57955         Use (void) in prototype.
57956         [POSIX] (*_t): Allow.
57957         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57958         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57959         (WRDE_BADVAL): Expect.
57961         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57962         expect.
57963         [XPG3 || XPG4] (O_RSYNC): Likewise.
57964         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57965         Likewise.
57966         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57967         [XPG3 || XPG4] (sigqueue): Likewise.
57968         [XPG3 || XPG4] (sigtimedwait): Likewise.
57969         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57970         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57971         [XPG3 || XPG4] (vsnprintf): Likewise.
57972         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57973         Likewise.
57974         [XPG3 || XPG4] (blksize_t): Likewise.
57975         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57976         Likewise.
57977         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57978         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57979         [XPG3 || XPG4] (struct itimerspec): Likewise.
57980         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57981         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57982         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57983         [XPG3 || XPG4] (clockid_t): Likewise.
57984         [XPG3 || XPG4] (timer_t): Likewise.
57985         [XPG3 || XPG4] (clock_getres): Likewise.
57986         [XPG3 || XPG4] (clock_gettime): Likewise.
57987         [XPG3 || XPG4] (clock_settime): Likewise.
57988         [XPG3 || XPG4] (nanosleep): Likewise.
57989         [XPG3 || XPG4] (timer_create): Likewise.
57990         [XPG3 || XPG4] (timer_delete): Likewise.
57991         [XPG3 || XPG4] (timer_gettime): Likewise.
57992         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57993         [XPG3 || XPG4] (timer_settime): Likewise.
57994         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57995         [XPG3 || XPG4] (getlogin_r): Likewise.
57996         [XPG3 || XPG4] (pread): Likewise.
57997         [XPG3 || XPG4] (pthread_atfork): Likewise.
57998         [XPG3 || XPG4] (pwrite): Likewise.
58000         [BZ #14835]
58001         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58002         <bits/siginfo.h>.
58004 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58006         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58007         finalizing MALLSTREAM.
58009         * sysdeps/mach/hurd/syncfs.c: New file.
58011 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58013         [BZ #14719]
58014         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58015         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58016         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58017         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58018         (_nss_dns_gethostbyname4_r): Likewise.
58019         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58020         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58022 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58024         [BZ #13763]
58025         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58027 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58029         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58030         * elf/cache.c (print_entry): Print ",AArch64" for
58031         FLAG_AARCH64_LIB64
58033         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58034         * elf/cache.c (print_entry): Print ",hard-float" for
58035         FLAG_ARM_LIBHF.
58037 2012-11-18  David S. Miller  <davem@davemloft.net>
58039         With help from Joseph Myers.
58040         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58041         cutoff to 2**-13.
58042         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58043         cutoff to 2**-25.
58044         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58045         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58046         small.
58047         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58048         * math/libm-test.inc (y0_test): New tests.
58049         (y1_test): New tests.
58050         * sysdeps/i386/fpu/libm-test-ulps: Update.
58051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58054 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58056         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58057         64-bit targets.
58058         * configure: Regenerated.
58060 2012-11-17  David S. Miller  <davem@davemloft.net>
58062         [BZ #14811]
58063         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58064         nonzero exponents with absolute value below 0x1p-128 to +/-
58065         0x1p-128.
58067 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58069         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58071         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58073         * posix/getconf-speclist.c: New file.
58074         * posix/posix-envs.def: Likewise.
58075         * posix/confstr.c (START_ENV_GROUP): New macro.
58076         (END_ENV_GROUP): Likewise.
58077         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58078         (KNOWN_PRESENT_ENV_STRING): Likewise.
58079         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58080         (UNKNOWN_ENVIRONMENT): Likewise.
58081         (confstr): Include posix-envs.def instead of handling
58082         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58083         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58084         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58085         (END_ENV_GROUP): Likewise.
58086         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58087         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58088         (UNKNOWN_ENVIRONMENT): Likewise.
58089         (__sysconf): Include posix-envs.def instead of handling associated
58090         cases directly here.
58091         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58092         preprocessing getconf-speclist.c rather than running getconf or
58093         generating empty file.
58095 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58097         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58099 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58101         [BZ #14672]
58102         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58104 2012-11-16  David S. Miller  <davem@davemloft.net>
58106         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58107         smaller than LDBL_EPSILON/2.0L, just return xm1.
58109 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58111         * elf/tst-array1.c (init): Set constructor priority to 1000.
58112         (fini): Set destructor priority to 1000.
58113         * elf/tst-array2dep.c: Likewise.
58115 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58117         [BZ #11741]
58118         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58119         (_IO_new_file_xsputn): Also return EOF if none of the input
58120         data was written when overflow failed.
58121         * libio/iopadn.c (_IO_padn): Likewise.
58122         * libio/iowpadn.c (_IO_wpadn): Likewise.
58123         * stdio-common/tst-put-error.c: Add copyright notice.
58124         (do_test): Add case for printing padded string.
58125         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58126         _IO_padn returned error.
58127         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58128         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58129         return EOF.
58131 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58133         * libio/libioP.h: Add comment note that the references to C++
58134         bits are now obsolete.
58136 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58138         * math/libm-test.inc (check_complex): Use asprintf.
58140 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58142         * debug/pcprofiledump.c (print_version): Update copyright year.
58143         * malloc/memusagestat.c (print_version): Likewise.
58145 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58147         [BZ #14831]
58148         * elf/Makefile (tests): Add tst-audit8.
58149         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58150         ($(objpfx)tst-audit8.out): New target.
58151         (tst-audit8-ENV): New variable.
58152         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58153         audit if l_reloc_result is NULL.
58154         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58155         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58156         * elf/tst-audit8.c: New file.
58158 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58160         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58161         * misc/Makefile (CFLAGS-select.c): Define.
58162         * posix/Makefile (CFLAGS-pause.c): Define.
58164 2012-11-13  David S. Miller  <davem@davemloft.net>
58166         * crypt/Makefile: Move test targets after toplevel Rules
58167         inclusion.  Grab any necessary sysdep routines when linking.
58168         * crypt/md5.c (md5_process_block): Remove define, we will always
58169         name it __md5_process_block.
58170         (md5_finish_ctx): Update md5_process_block call.
58171         (md5_stream): Likewise.
58172         (md5_process_bytes): Likewise.
58173         (md5_process_block): Rename to __md5_process_block and move to ...
58174         * crypt/md5-block.c: ... here.
58175         * crypt/sha256.c (sha256_process_block): Move to ...
58176         * crypt/sha256-block.c: ... here.
58177         * crypt/sha512.c (sha512_process_block): Move to ...
58178         * crypt/sha512-block.c: ... here.
58179         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58180         path.
58181         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58182         * sysdeps/sparc/sparc64/multiarch/Makefile
58183         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58184         crypt subdir.
58185         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58186         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58187         multiarch changes.
58188         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58189         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58190         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58191         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58192         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58193         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58194         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58195         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58196         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58197         file.
58198         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58199         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58200         file.
58201         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58203 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58205         * timezone/tzselect.ksh: Update from tzcode git revision
58206         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58207         * timezone/zdump.c: Likewise.
58208         * timezone/zic.c: Likewise.
58209         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58210         in TZVERSION setting, not $(PKGVERSION).
58211         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58212         REPORT_BUGS_TO settings.
58214         [BZ #14838]
58215         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58216         macro.
58218 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58220         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58221         detection to immediately after _FP_ROUND().
58222         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58223         bits are 0.
58225 2012-11-11  David S. Miller  <davem@davemloft.net>
58227         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58228         inttypes.h
58229         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58230         __close rather than their public counterparts.
58232 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58234         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58235         file.
58236         [UNIX98] (sem_timedwait): Do not expect.
58237         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58238         [XPG4 || UNIX98] (sockatmark): Do not expect.
58239         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58240         (clock_getcpuclockid): Do not expect.
58241         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58242         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58243         Do not expect.
58244         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58245         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58246         [UNIX98] (vwscanf): Likewise.
58247         [UNIX98] (vswscanf): Likewise.
58249 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58251         * timezone/version.h: Remove file.
58252         * timezone/README: Do not refer to version.h.
58253         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58254         $(objpfx)version.h.
58255         ($(objpfx)zdump.o): Likewise.
58256         ($(objpfx)version.h): New target.
58258         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58259         2012i.
58260         * timezone/README: Don't mention modification to tzselect.ksh.
58261         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58262         work on unmodified tzselect.ksh.  Substitute version numbers in
58263         tzselect.ksh.
58265         * Makefile (format-me): Remove.
58266         (INSTALL): Adjust indentation.  Use commands directly instead of
58267         using $(format-me).
58269         * aclocal.m4 (ACX_PKGVERSION): New macro.
58270         (ACX_BUGURL): Likewise.
58271         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58272         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58273         (REPORT_BUGS_TO): Likewise.
58274         * configure: Regenerated.
58275         * config.h.in (PKGVERSION): New macro.
58276         (REPORT_BUGS_TO): Likewise.
58277         * config.make.in (PKGVERSION): New variable.
58278         (PKGVERSION_TEXI): Likewise.
58279         (REPORT_BUGS_TO): Likewise.
58280         (REPORT_BUGS_TEXI): Likewise.
58281         * Makefile (format-me): Use -I$(common-objpfx)manual.
58282         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58283         ($(common-objpfx)manual/%): New target.
58284         (manual/%): Remove target.
58285         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58286         (print_version): Use PKGVERSION.
58287         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58288         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58289         and REPORT_BUGS_TO.
58290         ($(objpfx)xtrace): Likewise.
58291         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58292         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58293         (print_version): Use PKGVERSION.
58294         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58295         (do_version): Use PKGVERSION.
58296         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58297         REPORT_BUGS_TO.
58298         (common-ldd-rewrite): Likewise.
58299         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58300         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58301         (print_version): Use PKGVERSION.
58302         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58303         * elf/pldd.c (argp_program_bug_address): Remove variable.
58304         (more_help): New function.
58305         (argp): Use more_help.
58306         (print_version): Use PKGVERSION.
58307         * elf/sln.c (main): Use PKGVERSION.
58308         (usage): Use REPORT_BUGS_TO.
58309         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58310         (top level): Use PKGVERSION.
58311         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58312         (print_version): Use PKGVERSION.
58313         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58314         (print_version): Use PKGVERSION.
58315         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58316         (print_version): Use PKGVERSION.
58317         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58318         (print_version): Use PKGVERSION.
58319         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58320         (print_version): Use PKGVERSION.
58321         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58322         (print_version): Use PKGVERSION.
58323         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58324         and BUGURL.
58325         ($(objpfx)memusage): Likewise.
58326         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58327         (do_version): Use PKGVERSION.
58328         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58329         (print_version): Use PKGVERSION.
58330         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58331         ($PKGVERSION): New variable.
58332         ($REPORT_BUGS_TO): Likewise.
58333         (usage): Use $REPORT_BUGS_TO.
58334         (top level): Use $PKGVERSION.
58335         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58336         ($(objpfx)pkgvers.texi): New rule.
58337         ($(objpfx)stamp-pkgvers): Likewise.
58338         * manual/install.texi: Include pkgvers.texi.
58339         (--with-pkgversion): Document new configure option.
58340         (--with-bugurl): Likewise.
58341         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58342         than necessarily for this particular distribution.  Use
58343         REPORT_BUGS_TO for where to report bugs.
58344         * INSTALL: Regenerated.
58345         * manual/libc.texinfo: Include pkgvers.texi.
58346         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58347         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58348         (print_version): Use PKGVERSION.
58349         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58350         (print_version): Use PKGVERSION.
58351         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58352         (print_version): Use PKGVERSION.
58353         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58354         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58355         macro.
58356         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58357         (print_version): Use PKGVERSION.
58358         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58359         (print_version): Use PKGVERSION.
58360         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58361         and PKGVERSION.
58363         * timezone/checktab.awk: Update from tzcode 2012i.
58364         * timezone/ialloc.c: Likewise.
58365         * timezone/private.h: Likewise.
58366         * timezone/scheck.c: Likewise.
58367         * timezone/tzfile.h: Likewise.
58368         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58369         (TZVERSION): Hardcode tzcode version number.
58370         * timezone/zdump.c: Update from tzcode 2012i.
58371         * timezone/zic.c: Likewise.
58372         * timezone/version.h: New file.
58373         * timezone/README: Describe version.h.  Update upstream location.
58375         [BZ #14824]
58376         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58377         (mktemp): Enable declaration.
58378         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58379         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58380         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58381         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58382         Likewise.
58383         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58384         Likewise.
58385         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58386         Likewise.
58387         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58388         Likewise.
58389         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58390         Likewise.
58391         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58392         Likewise.
58394         [BZ #14821]
58395         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58396         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58397         for copies of such integer values.
58398         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58399         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58401 2012-11-09  Andreas Jaeger  <aj@suse.de>
58403         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58404         definitions and declarations that are provided by
58405         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58407 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58409         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58410         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58411         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58412         definition.
58414 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58416         * elf/elf.h: Update comment before AArch64 relocations.
58418 2012-11-07  David S. Miller  <davem@davemloft.net>
58420         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58421         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58422         (__start_context): Declare.
58423         (__makecontext_ret): Delete.
58424         (__makecontext): Hook up __start_context instead of
58425         __makecontext_ret.
58426         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58427         (sysdep_routines): Add __start_context when in stdlib.
58429 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58431         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58432         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58433         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58434         hardcoded "nm".
58435         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58436         (READELF): New variable.  Use it instead of hardcoded "readelf".
58438 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58440         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58441         * sysdeps/x86/Makefile: Here.
58442         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58443         * sysdeps/x86/tst-xmmymm.sh: This.
58445 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58447         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58448         expectations.
58449         [UNIX98] (pthread_barrier_t): Do not expect.
58450         [UNIX98] (pthread_barrierattr_t): Likewise.
58451         [UNIX98] (pthread_spinlock_t): Likewise.
58452         [UNIX98] (pthread_barrier_destroy): Likewise.
58453         [UNIX98] (pthread_barrier_init): Likewise.
58454         [UNIX98] (pthread_barrier_wait): Likewise.
58455         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58456         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58457         [UNIX98] (pthread_barrierattr_init): Likewise.
58458         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58459         [UNIX98] (pthread_getcpuclockid): Likewise.
58460         [UNIX98] (pthread_mutex_timedlock): Likewise.
58461         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58462         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58463         [UNIX98] (pthread_sigmask): Likewise.
58464         [UNIX98] (pthread_spin_destroy): Likewise.
58465         [UNIX98] (pthread_spin_init): Likewise.
58466         [UNIX98] (pthread_spin_lock): Likewise.
58467         [UNIX98] (pthread_spin_trylock): Likewise.
58468         [UNIX98] (pthread_spin_unlock): Likewise.
58469         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58470         Do not expect.
58471         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58472         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58473         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58474         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58475         [XPG3 || XPG4] (pthread_key_t): Likewise.
58476         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58477         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58478         [XPG3 || XPG4] (pthread_once_t): Likewise.
58479         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58480         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58481         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58482         [XPG3 || XPG4] (pthread_t): Likewise.
58484         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58485         not expect.
58486         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58488         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58489         Change function return type to int.
58491         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58492         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58493         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58494         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58495         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58496         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58497         [!POSIX] (posix_madvise): Likewise.
58498         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58499         && !UNIX98].
58500         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58501         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58502         (mode_t): Likewise.
58503         (posix_mem_offset): Likewise.
58504         (posix_typed_mem_get_info): Likewise.
58505         (posix_typed_mem_open): Likewise.
58507         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58508         Change condition to [XOPEN2K8].
58510         * conform/conformtest.pl: Preprocess allow-header data with -x c
58511         instead of from stdin.
58512         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58513         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58514         [C99-based standards] (cerfc): Likewise.
58515         [C99-based standards] (cexp2): Likewise.
58516         [C99-based standards] (cexpm1): Likewise.
58517         [C99-based standards] (clog10): Likewise.
58518         [C99-based standards] (clog1p): Likewise.
58519         [C99-based standards] (clog2): Likewise.
58520         [C99-based standards] (clgamma): Likewise.
58521         [C99-based standards] (ctgamma): Likewise.
58522         [C99-based standards] (cerff): Likewise.
58523         [C99-based standards] (cerfcf): Likewise.
58524         [C99-based standards] (cexp2f): Likewise.
58525         [C99-based standards] (cexpm1f): Likewise.
58526         [C99-based standards] (clog10f): Likewise.
58527         [C99-based standards] (clog1pf): Likewise.
58528         [C99-based standards] (clog2f): Likewise.
58529         [C99-based standards] (clgammaf): Likewise.
58530         [C99-based standards] (ctgammaf): Likewise.
58531         [C99-based standards] (cerfl): Likewise.
58532         [C99-based standards] (cerfcl): Likewise.
58533         [C99-based standards] (cexp2l): Likewise.
58534         [C99-based standards] (cexpm1l): Likewise.
58535         [C99-based standards] (clog10l): Likewise.
58536         [C99-based standards] (clog1pl): Likewise.
58537         [C99-based standards] (clog2l): Likewise.
58538         [C99-based standards] (clgammal): Likewise.
58539         [C99-based standards] (ctgammal): Likewise.
58540         * conform/data/inttypes.h-data [C99-based standards]: Include
58541         stdint.h-data.  Remove all expectations for stdint.h contents.
58542         [C99-based standards] (PRI*): Do not allow.
58543         [C99-based standards] (SCN*): Likewise.
58544         [C99-based standards] (*_t): Likewise.
58545         [C99-based-standards] (PRId8): Expect macro.
58546         [C99-based-standards] (PRIi8): Likewise.
58547         [C99-based-standards] (PRIo8): Likewise.
58548         [C99-based-standards] (PRIu8): Likewise.
58549         [C99-based-standards] (PRIx8): Likewise.
58550         [C99-based-standards] (PRIX8): Likewise.
58551         [C99-based-standards] (SCNd8): Likewise.
58552         [C99-based-standards] (SCNi8): Likewise.
58553         [C99-based-standards] (SCNo8): Likewise.
58554         [C99-based-standards] (SCNu8): Likewise.
58555         [C99-based-standards] (SCNx8): Likewise.
58556         [C99-based-standards] (PRIdLEAST8): Likewise.
58557         [C99-based-standards] (PRIiLEAST8): Likewise.
58558         [C99-based-standards] (PRIoLEAST8): Likewise.
58559         [C99-based-standards] (PRIuLEAST8): Likewise.
58560         [C99-based-standards] (PRIxLEAST8): Likewise.
58561         [C99-based-standards] (PRIXLEAST8): Likewise.
58562         [C99-based-standards] (SCNdLEAST8): Likewise.
58563         [C99-based-standards] (SCNiLEAST8): Likewise.
58564         [C99-based-standards] (SCNoLEAST8): Likewise.
58565         [C99-based-standards] (SCNuLEAST8): Likewise.
58566         [C99-based-standards] (SCNxLEAST8): Likewise.
58567         [C99-based-standards] (PRIdFAST8): Likewise.
58568         [C99-based-standards] (PRIiFAST8): Likewise.
58569         [C99-based-standards] (PRIoFAST8): Likewise.
58570         [C99-based-standards] (PRIuFAST8): Likewise.
58571         [C99-based-standards] (PRIxFAST8): Likewise.
58572         [C99-based-standards] (PRIXFAST8): Likewise.
58573         [C99-based-standards] (SCNdFAST8): Likewise.
58574         [C99-based-standards] (SCNiFAST8): Likewise.
58575         [C99-based-standards] (SCNoFAST8): Likewise.
58576         [C99-based-standards] (SCNuFAST8): Likewise.
58577         [C99-based-standards] (SCNxFAST8): Likewise.
58578         [C99-based-standards] (PRId16): Likewise.
58579         [C99-based-standards] (PRIi16): Likewise.
58580         [C99-based-standards] (PRIo16): Likewise.
58581         [C99-based-standards] (PRIu16): Likewise.
58582         [C99-based-standards] (PRIx16): Likewise.
58583         [C99-based-standards] (PRIX16): Likewise.
58584         [C99-based-standards] (SCNd16): Likewise.
58585         [C99-based-standards] (SCNi16): Likewise.
58586         [C99-based-standards] (SCNo16): Likewise.
58587         [C99-based-standards] (SCNu16): Likewise.
58588         [C99-based-standards] (SCNx16): Likewise.
58589         [C99-based-standards] (PRIdLEAST16): Likewise.
58590         [C99-based-standards] (PRIiLEAST16): Likewise.
58591         [C99-based-standards] (PRIoLEAST16): Likewise.
58592         [C99-based-standards] (PRIuLEAST16): Likewise.
58593         [C99-based-standards] (PRIxLEAST16): Likewise.
58594         [C99-based-standards] (PRIXLEAST16): Likewise.
58595         [C99-based-standards] (SCNdLEAST16): Likewise.
58596         [C99-based-standards] (SCNiLEAST16): Likewise.
58597         [C99-based-standards] (SCNoLEAST16): Likewise.
58598         [C99-based-standards] (SCNuLEAST16): Likewise.
58599         [C99-based-standards] (SCNxLEAST16): Likewise.
58600         [C99-based-standards] (PRIdFAST16): Likewise.
58601         [C99-based-standards] (PRIiFAST16): Likewise.
58602         [C99-based-standards] (PRIoFAST16): Likewise.
58603         [C99-based-standards] (PRIuFAST16): Likewise.
58604         [C99-based-standards] (PRIxFAST16): Likewise.
58605         [C99-based-standards] (PRIXFAST16): Likewise.
58606         [C99-based-standards] (SCNdFAST16): Likewise.
58607         [C99-based-standards] (SCNiFAST16): Likewise.
58608         [C99-based-standards] (SCNoFAST16): Likewise.
58609         [C99-based-standards] (SCNuFAST16): Likewise.
58610         [C99-based-standards] (SCNxFAST16): Likewise.
58611         [C99-based-standards] (PRId32): Likewise.
58612         [C99-based-standards] (PRIi32): Likewise.
58613         [C99-based-standards] (PRIo32): Likewise.
58614         [C99-based-standards] (PRIu32): Likewise.
58615         [C99-based-standards] (PRIx32): Likewise.
58616         [C99-based-standards] (PRIX32): Likewise.
58617         [C99-based-standards] (SCNd32): Likewise.
58618         [C99-based-standards] (SCNi32): Likewise.
58619         [C99-based-standards] (SCNo32): Likewise.
58620         [C99-based-standards] (SCNu32): Likewise.
58621         [C99-based-standards] (SCNx32): Likewise.
58622         [C99-based-standards] (PRIdLEAST32): Likewise.
58623         [C99-based-standards] (PRIiLEAST32): Likewise.
58624         [C99-based-standards] (PRIoLEAST32): Likewise.
58625         [C99-based-standards] (PRIuLEAST32): Likewise.
58626         [C99-based-standards] (PRIxLEAST32): Likewise.
58627         [C99-based-standards] (PRIXLEAST32): Likewise.
58628         [C99-based-standards] (SCNdLEAST32): Likewise.
58629         [C99-based-standards] (SCNiLEAST32): Likewise.
58630         [C99-based-standards] (SCNoLEAST32): Likewise.
58631         [C99-based-standards] (SCNuLEAST32): Likewise.
58632         [C99-based-standards] (SCNxLEAST32): Likewise.
58633         [C99-based-standards] (PRIdFAST32): Likewise.
58634         [C99-based-standards] (PRIiFAST32): Likewise.
58635         [C99-based-standards] (PRIoFAST32): Likewise.
58636         [C99-based-standards] (PRIuFAST32): Likewise.
58637         [C99-based-standards] (PRIxFAST32): Likewise.
58638         [C99-based-standards] (PRIXFAST32): Likewise.
58639         [C99-based-standards] (SCNdFAST32): Likewise.
58640         [C99-based-standards] (SCNiFAST32): Likewise.
58641         [C99-based-standards] (SCNoFAST32): Likewise.
58642         [C99-based-standards] (SCNuFAST32): Likewise.
58643         [C99-based-standards] (SCNxFAST32): Likewise.
58644         [C99-based-standards] (PRId64): Likewise.
58645         [C99-based-standards] (PRIi64): Likewise.
58646         [C99-based-standards] (PRIo64): Likewise.
58647         [C99-based-standards] (PRIu64): Likewise.
58648         [C99-based-standards] (PRIx64): Likewise.
58649         [C99-based-standards] (PRIX64): Likewise.
58650         [C99-based-standards] (SCNd64): Likewise.
58651         [C99-based-standards] (SCNi64): Likewise.
58652         [C99-based-standards] (SCNo64): Likewise.
58653         [C99-based-standards] (SCNu64): Likewise.
58654         [C99-based-standards] (SCNx64): Likewise.
58655         [C99-based-standards] (PRIdLEAST64): Likewise.
58656         [C99-based-standards] (PRIiLEAST64): Likewise.
58657         [C99-based-standards] (PRIoLEAST64): Likewise.
58658         [C99-based-standards] (PRIuLEAST64): Likewise.
58659         [C99-based-standards] (PRIxLEAST64): Likewise.
58660         [C99-based-standards] (PRIXLEAST64): Likewise.
58661         [C99-based-standards] (SCNdLEAST64): Likewise.
58662         [C99-based-standards] (SCNiLEAST64): Likewise.
58663         [C99-based-standards] (SCNoLEAST64): Likewise.
58664         [C99-based-standards] (SCNuLEAST64): Likewise.
58665         [C99-based-standards] (SCNxLEAST64): Likewise.
58666         [C99-based-standards] (PRIdFAST64): Likewise.
58667         [C99-based-standards] (PRIiFAST64): Likewise.
58668         [C99-based-standards] (PRIoFAST64): Likewise.
58669         [C99-based-standards] (PRIuFAST64): Likewise.
58670         [C99-based-standards] (PRIxFAST64): Likewise.
58671         [C99-based-standards] (PRIXFAST64): Likewise.
58672         [C99-based-standards] (SCNdFAST64): Likewise.
58673         [C99-based-standards] (SCNiFAST64): Likewise.
58674         [C99-based-standards] (SCNoFAST64): Likewise.
58675         [C99-based-standards] (SCNuFAST64): Likewise.
58676         [C99-based-standards] (SCNxFAST64): Likewise.
58677         [C99-based-standards] (PRIdMAX): Likewise.
58678         [C99-based-standards] (PRIiMAX): Likewise.
58679         [C99-based-standards] (PRIoMAX): Likewise.
58680         [C99-based-standards] (PRIuMAX): Likewise.
58681         [C99-based-standards] (PRIxMAX): Likewise.
58682         [C99-based-standards] (PRIXMAX): Likewise.
58683         [C99-based-standards] (SCNdMAX): Likewise.
58684         [C99-based-standards] (SCNiMAX): Likewise.
58685         [C99-based-standards] (SCNoMAX): Likewise.
58686         [C99-based-standards] (SCNuMAX): Likewise.
58687         [C99-based-standards] (SCNxMAX): Likewise.
58688         [C99-based-standards] (PRIdPTR): Likewise.
58689         [C99-based-standards] (PRIiPTR): Likewise.
58690         [C99-based-standards] (PRIoPTR): Likewise.
58691         [C99-based-standards] (PRIuPTR): Likewise.
58692         [C99-based-standards] (PRIxPTR): Likewise.
58693         [C99-based-standards] (PRIXPTR): Likewise.
58694         [C99-based-standards] (SCNdPTR): Likewise.
58695         [C99-based-standards] (SCNiPTR): Likewise.
58696         [C99-based-standards] (SCNoPTR): Likewise.
58697         [C99-based-standards] (SCNuPTR): Likewise.
58698         [C99-based-standards] (SCNxPTR): Likewise.
58699         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58700         allow.
58701         * conform/data/stdint.h-data: Update comments to clarify
58702         requirements.
58703         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58704         type.
58705         [C99-based standards] (INT8_MAX): Likewise.
58706         [C99-based standards] (INT16_MIN): Likewise.
58707         [C99-based standards] (INT16_MAX): Likewise.
58708         [C99-based standards] (INT32_MIN): Likewise.
58709         [C99-based standards] (INT32_MAX): Likewise.
58710         [C99-based standards] (INT64_MIN): Likewise.
58711         [C99-based standards] (INT64_MAX): Likewise.
58712         [C99-based standards] (UINT8_MAX): Likewise.
58713         [C99-based standards] (UINT16_MAX): Likewise.
58714         [C99-based standards] (UINT32_MAX): Likewise.
58715         [C99-based standards] (UINT64_MAX): Likewise.
58716         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58717         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58718         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58719         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58720         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58721         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58722         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58723         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58724         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58725         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58726         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58727         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58728         [C99-based standards] (INT_FAST8_MIN): Likewise.
58729         [C99-based standards] (INT_FAST8_MAX): Likewise.
58730         [C99-based standards] (INT_FAST16_MIN): Likewise.
58731         [C99-based standards] (INT_FAST16_MAX): Likewise.
58732         [C99-based standards] (INT_FAST32_MIN): Likewise.
58733         [C99-based standards] (INT_FAST32_MAX): Likewise.
58734         [C99-based standards] (INT_FAST64_MIN): Likewise.
58735         [C99-based standards] (INT_FAST64_MAX): Likewise.
58736         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58737         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58738         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58739         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58740         [C99-based standards] (INTPTR_MIN): Likewise.
58741         [C99-based standards] (INTPTR_MAX): Likewise.
58742         [C99-based standards] (UINTPTR_MAX): Likewise.
58743         [C99-based standards] (INTMAX_MIN): Likewise.
58744         [C99-based standards] (INTMAX_MAX): Likewise.
58745         [C99-based standards] (UINTMAX_MAX): Likewise.
58746         [C99-based standards] (PTRDIFF_MIN): Likewise.
58747         [C99-based standards] (PTRDIFF_MAX): Likewise.
58748         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58749         [C99-based standards] (SIZE_MAX): Likewise.
58750         [C99-based standards] (WCHAR_MAX): Likewise.
58751         [C99-based standards] (WINT_MAX): Likewise.
58752         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58753         constraint on value.
58754         [C99-based standards] (WCHAR_MIN): Likewise.
58755         [C99-based standards] (WINT_MIN): Likewise.
58756         [C99-based standards] (*_t): Allow.
58757         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58758         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58759         Include math.h-data and complex.h-data.  Remove all expectations
58760         of math.h and complex.h contents.
58761         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58762         at end of line.
58763         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58764         (struct tm): Expect tag.
58765         [C99-based-standards] (wcstof): Expect function.
58766         [C99-based-standards] (wcstold): Likewise.
58767         [C99-based-standards] (wcstoll): Likewise.
58768         [C99-based-standards] (wcstoull): Likewise.
58769         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58770         macro-int-constant.  Specify type.
58771         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58772         constraint on value.
58773         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58774         Specify type.
58775         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58776         Specify value.
58777         [ISO C standards]: Do not allow headers.
58778         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58779         wcs[abcdefghijklmnopqrstuvwxyz]*.
58780         [ISO C standards] (*_t): Do not allow.
58781         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58782         Expect function.
58783         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58784         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58785         Specify type.
58786         [ISO C standards]: Do not allow headers.
58787         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58788         is[abcdefghijklmnopqrstuvwxyz]*.
58789         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58790         to[abcdefghijklmnopqrstuvwxyz]*.
58791         [ISO C standards] (*_t): Do not allow.
58792         * conform/data/stdalign.h-data: New file.
58793         * conform/data/stdbool.h-data: Likewise.
58794         * conform/data/stdnoreturn.h-data: Likewise.
58796 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58798         [BZ #14815]
58799         * manual/filesys.texi (Directory Entries): Typo fix.
58800         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58802 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58804         * elf/elf.h (EM_AARCH64): New macro.
58805         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58806         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58807         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58808         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58809         (R_AARCH64_TLSDESC): Likewise.
58810         (NT_ARM_TLS): Likewise.
58811         (NT_ARM_HW_BREAK): Likewise.
58812         (NT_ARM_HW_WATCH): Likewise.
58814 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58816         [BZ #14811]
58817         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58818         (__ieee754_powl): Saturate nonzero exponents with absolute value
58819         below 0x1p-79 to +/- 0x1p-79.
58820         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58821         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58822         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58823         nonzero exponents with absolute value below 0x1p-32 to +/-
58824         0x1p-32.
58825         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58826         (__ieee754_powl): Saturate nonzero exponents with absolute value
58827         below 0x1p-79 to +/- 0x1p-79.
58828         * math/libm-test.inc (pow_test): Add more tests.
58830 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58832         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58833         _dl_s390_cap_flags with kernel. Increase string length.
58834         (_dl_s390_platforms): Add z196 and zEC12.
58836 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58838         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58839         Change XOPEN21K to XOPEN2K.
58841 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58843         * string/memmove.c: Use memcpy when possible.
58845 2012-11-06  Andreas Jaeger  <aj@suse.de>
58847         * po/eo.po: Update from translation team.
58849 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58851         [BZ #14793]
58852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58853         exponent and small x and y exponents, scale x or y up.  Increase
58854         by 2 the exponent used in scaling up.
58855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58857         * math/libm-test.inc (fma_test): Add more tests.
58858         (fma_test_towardzero): Likewise.
58859         (fma_test_downward): Likewise.
58860         (fma_test_upward): Likewise.
58862 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58864         [BZ #14805]
58865         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58866         fenv_t *.
58868         [BZ #14801]
58869         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58870         namespace for names of struct fields.
58871         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58872         fenv_t fields.
58873         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58874         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58876 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58878         [BZ #3665]
58879         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58881 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58883         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58884         PTR_DEMANGLE.
58886         [BZ #5246]
58887         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58888         PTR_DEMANGLE.
58890 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58892         [BZ #14797]
58893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58894         definitely overflow as x * y not x * y + z.
58895         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58896         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58897         * math/libm-test.inc (fma_test): Add more tests.
58898         (fma_test_towardzero): Likewise.
58899         (fma_test_downward): Likewise.
58900         (fma_test_upward): Likewise.
58902 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58904         [BZ #157]
58906         * include/stub-tag.h: Remove file.
58907         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58908         '#include' of it.
58909         * manual/maint.texi (Porting): Don't reference it.
58910         * Makerules ($(objpfx)stubs): Likewise.
58911         * dirent/closedir.c: Don't include <stub-tag.h>.
58912         * dirent/dirfd.c: Likewise.
58913         * dirent/fdopendir.c: Likewise.
58914         * dirent/getdents.c: Likewise.
58915         * dirent/getdents64.c: Likewise.
58916         * dirent/opendir.c: Likewise.
58917         * dirent/readdir.c: Likewise.
58918         * dirent/readdir64.c: Likewise.
58919         * dirent/readdir64_r.c: Likewise.
58920         * dirent/readdir_r.c: Likewise.
58921         * dirent/rewinddir.c: Likewise.
58922         * dirent/seekdir.c: Likewise.
58923         * dirent/telldir.c: Likewise.
58924         * gmon/profil.c: Likewise.
58925         * grp/setgroups.c: Likewise.
58926         * inet/if_index.c: Likewise.
58927         * io/access.c: Likewise.
58928         * io/chdir.c: Likewise.
58929         * io/chmod.c: Likewise.
58930         * io/chown.c: Likewise.
58931         * io/close.c: Likewise.
58932         * io/dup.c: Likewise.
58933         * io/dup2.c: Likewise.
58934         * io/dup3.c: Likewise.
58935         * io/euidaccess.c: Likewise.
58936         * io/faccessat.c: Likewise.
58937         * io/fchdir.c: Likewise.
58938         * io/fchmod.c: Likewise.
58939         * io/fchmodat.c: Likewise.
58940         * io/fchown.c: Likewise.
58941         * io/fchownat.c: Likewise.
58942         * io/fcntl.c: Likewise.
58943         * io/flock.c: Likewise.
58944         * io/fstatfs.c: Likewise.
58945         * io/fstatfs64.c: Likewise.
58946         * io/fstatvfs.c: Likewise.
58947         * io/fstatvfs64.c: Likewise.
58948         * io/futimens.c: Likewise.
58949         * io/fxstat.c: Likewise.
58950         * io/fxstat64.c: Likewise.
58951         * io/fxstatat.c: Likewise.
58952         * io/fxstatat64.c: Likewise.
58953         * io/getcwd.c: Likewise.
58954         * io/isatty.c: Likewise.
58955         * io/lchmod.c: Likewise.
58956         * io/lchown.c: Likewise.
58957         * io/link.c: Likewise.
58958         * io/linkat.c: Likewise.
58959         * io/lseek.c: Likewise.
58960         * io/lseek64.c: Likewise.
58961         * io/lxstat64.c: Likewise.
58962         * io/mkdir.c: Likewise.
58963         * io/mkdirat.c: Likewise.
58964         * io/mkfifo.c: Likewise.
58965         * io/mkfifoat.c: Likewise.
58966         * io/open.c: Likewise.
58967         * io/open64.c: Likewise.
58968         * io/openat.c: Likewise.
58969         * io/openat64.c: Likewise.
58970         * io/pipe.c: Likewise.
58971         * io/pipe2.c: Likewise.
58972         * io/poll.c: Likewise.
58973         * io/posix_fadvise.c: Likewise.
58974         * io/posix_fadvise64.c: Likewise.
58975         * io/posix_fallocate.c: Likewise.
58976         * io/posix_fallocate64.c: Likewise.
58977         * io/read.c: Likewise.
58978         * io/readlink.c: Likewise.
58979         * io/readlinkat.c: Likewise.
58980         * io/rmdir.c: Likewise.
58981         * io/sendfile.c: Likewise.
58982         * io/sendfile64.c: Likewise.
58983         * io/statfs.c: Likewise.
58984         * io/statfs64.c: Likewise.
58985         * io/statvfs.c: Likewise.
58986         * io/statvfs64.c: Likewise.
58987         * io/symlink.c: Likewise.
58988         * io/symlinkat.c: Likewise.
58989         * io/ttyname.c: Likewise.
58990         * io/ttyname_r.c: Likewise.
58991         * io/umask.c: Likewise.
58992         * io/unlink.c: Likewise.
58993         * io/unlinkat.c: Likewise.
58994         * io/utime.c: Likewise.
58995         * io/utimensat.c: Likewise.
58996         * io/write.c: Likewise.
58997         * io/xmknod.c: Likewise.
58998         * io/xmknodat.c: Likewise.
58999         * io/xstat.c: Likewise.
59000         * io/xstat64.c: Likewise.
59001         * login/getpt.c: Likewise.
59002         * login/grantpt.c: Likewise.
59003         * login/unlockpt.c: Likewise.
59004         * math/e_acoshl.c: Likewise.
59005         * math/e_acosl.c: Likewise.
59006         * math/e_asinl.c: Likewise.
59007         * math/e_atan2l.c: Likewise.
59008         * math/e_atanhl.c: Likewise.
59009         * math/e_coshl.c: Likewise.
59010         * math/e_expl.c: Likewise.
59011         * math/e_fmodl.c: Likewise.
59012         * math/e_gammal_r.c: Likewise.
59013         * math/e_hypotl.c: Likewise.
59014         * math/e_j0l.c: Likewise.
59015         * math/e_j1l.c: Likewise.
59016         * math/e_jnl.c: Likewise.
59017         * math/e_lgammal_r.c: Likewise.
59018         * math/e_log10l.c: Likewise.
59019         * math/e_log2l.c: Likewise.
59020         * math/e_logl.c: Likewise.
59021         * math/e_powl.c: Likewise.
59022         * math/e_rem_pio2l.c: Likewise.
59023         * math/e_sinhl.c: Likewise.
59024         * math/e_sqrtl.c: Likewise.
59025         * math/fclrexcpt.c: Likewise.
59026         * math/fedisblxcpt.c: Likewise.
59027         * math/feenablxcpt.c: Likewise.
59028         * math/fegetenv.c: Likewise.
59029         * math/fegetexcept.c: Likewise.
59030         * math/fegetround.c: Likewise.
59031         * math/feholdexcpt.c: Likewise.
59032         * math/fesetenv.c: Likewise.
59033         * math/fesetround.c: Likewise.
59034         * math/feupdateenv.c: Likewise.
59035         * math/fgetexcptflg.c: Likewise.
59036         * math/fraiseexcpt.c: Likewise.
59037         * math/fsetexcptflg.c: Likewise.
59038         * math/ftestexcept.c: Likewise.
59039         * math/k_cosl.c: Likewise.
59040         * math/k_rem_pio2l.c: Likewise.
59041         * math/k_sinl.c: Likewise.
59042         * math/k_tanl.c: Likewise.
59043         * math/s_asinhl.c: Likewise.
59044         * math/s_atanl.c: Likewise.
59045         * math/s_cbrtl.c: Likewise.
59046         * math/s_erfl.c: Likewise.
59047         * math/s_expm1l.c: Likewise.
59048         * math/s_log1pl.c: Likewise.
59049         * math/s_tanhl.c: Likewise.
59050         * misc/acct.c: Likewise.
59051         * misc/brk.c: Likewise.
59052         * misc/chflags.c: Likewise.
59053         * misc/chroot.c: Likewise.
59054         * misc/fchflags.c: Likewise.
59055         * misc/fgetxattr.c: Likewise.
59056         * misc/flistxattr.c: Likewise.
59057         * misc/fremovexattr.c: Likewise.
59058         * misc/fsetxattr.c: Likewise.
59059         * misc/fsync.c: Likewise.
59060         * misc/ftruncate.c: Likewise.
59061         * misc/futimes.c: Likewise.
59062         * misc/futimesat.c: Likewise.
59063         * misc/getdomain.c: Likewise.
59064         * misc/getdtsz.c: Likewise.
59065         * misc/gethostid.c: Likewise.
59066         * misc/gethostname.c: Likewise.
59067         * misc/getloadavg.c: Likewise.
59068         * misc/getpagesize.c: Likewise.
59069         * misc/getsysstats.c: Likewise.
59070         * misc/getxattr.c: Likewise.
59071         * misc/gtty.c: Likewise.
59072         * misc/ioctl.c: Likewise.
59073         * misc/lgetxattr.c: Likewise.
59074         * misc/listxattr.c: Likewise.
59075         * misc/llistxattr.c: Likewise.
59076         * misc/lremovexattr.c: Likewise.
59077         * misc/lsetxattr.c: Likewise.
59078         * misc/lutimes.c: Likewise.
59079         * misc/madvise.c: Likewise.
59080         * misc/mincore.c: Likewise.
59081         * misc/mlock.c: Likewise.
59082         * misc/mlockall.c: Likewise.
59083         * misc/mmap.c: Likewise.
59084         * misc/mprotect.c: Likewise.
59085         * misc/msync.c: Likewise.
59086         * misc/munlock.c: Likewise.
59087         * misc/munlockall.c: Likewise.
59088         * misc/munmap.c: Likewise.
59089         * misc/preadv.c: Likewise.
59090         * misc/preadv64.c: Likewise.
59091         * misc/ptrace.c: Likewise.
59092         * misc/pwritev.c: Likewise.
59093         * misc/pwritev64.c: Likewise.
59094         * misc/readv.c: Likewise.
59095         * misc/reboot.c: Likewise.
59096         * misc/remap_file_pages.c: Likewise.
59097         * misc/removexattr.c: Likewise.
59098         * misc/revoke.c: Likewise.
59099         * misc/select.c: Likewise.
59100         * misc/setdomain.c: Likewise.
59101         * misc/setegid.c: Likewise.
59102         * misc/seteuid.c: Likewise.
59103         * misc/sethostid.c: Likewise.
59104         * misc/sethostname.c: Likewise.
59105         * misc/setregid.c: Likewise.
59106         * misc/setreuid.c: Likewise.
59107         * misc/setxattr.c: Likewise.
59108         * misc/sstk.c: Likewise.
59109         * misc/stty.c: Likewise.
59110         * misc/swapoff.c: Likewise.
59111         * misc/swapon.c: Likewise.
59112         * misc/sync.c: Likewise.
59113         * misc/syncfs.c: Likewise.
59114         * misc/syscall.c: Likewise.
59115         * misc/truncate.c: Likewise.
59116         * misc/ualarm.c: Likewise.
59117         * misc/usleep.c: Likewise.
59118         * misc/ustat.c: Likewise.
59119         * misc/utimes.c: Likewise.
59120         * misc/vhangup.c: Likewise.
59121         * misc/writev.c: Likewise.
59122         * posix/_exit.c: Likewise.
59123         * posix/alarm.c: Likewise.
59124         * posix/execve.c: Likewise.
59125         * posix/fexecve.c: Likewise.
59126         * posix/fork.c: Likewise.
59127         * posix/fpathconf.c: Likewise.
59128         * posix/getaddrinfo.c: Likewise.
59129         * posix/getegid.c: Likewise.
59130         * posix/geteuid.c: Likewise.
59131         * posix/getgid.c: Likewise.
59132         * posix/getgroups.c: Likewise.
59133         * posix/getlogin.c: Likewise.
59134         * posix/getlogin_r.c: Likewise.
59135         * posix/getpgid.c: Likewise.
59136         * posix/getpid.c: Likewise.
59137         * posix/getppid.c: Likewise.
59138         * posix/getresgid.c: Likewise.
59139         * posix/getresuid.c: Likewise.
59140         * posix/getsid.c: Likewise.
59141         * posix/getuid.c: Likewise.
59142         * posix/glob64.c: Likewise.
59143         * posix/nanosleep.c: Likewise.
59144         * posix/pathconf.c: Likewise.
59145         * posix/pause.c: Likewise.
59146         * posix/posix_madvise.c: Likewise.
59147         * posix/pread.c: Likewise.
59148         * posix/pread64.c: Likewise.
59149         * posix/pwrite.c: Likewise.
59150         * posix/pwrite64.c: Likewise.
59151         * posix/sched_getaffinity.c: Likewise.
59152         * posix/sched_getp.c: Likewise.
59153         * posix/sched_gets.c: Likewise.
59154         * posix/sched_primax.c: Likewise.
59155         * posix/sched_primin.c: Likewise.
59156         * posix/sched_rr_gi.c: Likewise.
59157         * posix/sched_setaffinity.c: Likewise.
59158         * posix/sched_setp.c: Likewise.
59159         * posix/sched_sets.c: Likewise.
59160         * posix/sched_yield.c: Likewise.
59161         * posix/setgid.c: Likewise.
59162         * posix/setlogin.c: Likewise.
59163         * posix/setpgid.c: Likewise.
59164         * posix/setresgid.c: Likewise.
59165         * posix/setresuid.c: Likewise.
59166         * posix/setsid.c: Likewise.
59167         * posix/setuid.c: Likewise.
59168         * posix/sleep.c: Likewise.
59169         * posix/spawni.c: Likewise.
59170         * posix/sysconf.c: Likewise.
59171         * posix/times.c: Likewise.
59172         * posix/wait.c: Likewise.
59173         * posix/wait3.c: Likewise.
59174         * posix/wait4.c: Likewise.
59175         * posix/waitpid.c: Likewise.
59176         * resolv/gai_sigqueue.c: Likewise.
59177         * resource/getpriority.c: Likewise.
59178         * resource/getrlimit.c: Likewise.
59179         * resource/getrusage.c: Likewise.
59180         * resource/nice.c: Likewise.
59181         * resource/setpriority.c: Likewise.
59182         * resource/setrlimit.c: Likewise.
59183         * resource/ulimit.c: Likewise.
59184         * rt/aio_cancel.c: Likewise.
59185         * rt/aio_fsync.c: Likewise.
59186         * rt/aio_read.c: Likewise.
59187         * rt/aio_sigqueue.c: Likewise.
59188         * rt/aio_suspend.c: Likewise.
59189         * rt/aio_write.c: Likewise.
59190         * rt/clock_getres.c: Likewise.
59191         * rt/clock_gettime.c: Likewise.
59192         * rt/clock_nanosleep.c: Likewise.
59193         * rt/clock_settime.c: Likewise.
59194         * rt/lio_listio.c: Likewise.
59195         * rt/mq_close.c: Likewise.
59196         * rt/mq_getattr.c: Likewise.
59197         * rt/mq_notify.c: Likewise.
59198         * rt/mq_open.c: Likewise.
59199         * rt/mq_receive.c: Likewise.
59200         * rt/mq_send.c: Likewise.
59201         * rt/mq_setattr.c: Likewise.
59202         * rt/mq_timedreceive.c: Likewise.
59203         * rt/mq_timedsend.c: Likewise.
59204         * rt/mq_unlink.c: Likewise.
59205         * rt/shm_open.c: Likewise.
59206         * rt/shm_unlink.c: Likewise.
59207         * rt/timer_create.c: Likewise.
59208         * rt/timer_delete.c: Likewise.
59209         * rt/timer_getoverr.c: Likewise.
59210         * rt/timer_gettime.c: Likewise.
59211         * rt/timer_settime.c: Likewise.
59212         * setjmp/__longjmp.c: Likewise.
59213         * setjmp/setjmp.c: Likewise.
59214         * signal/kill.c: Likewise.
59215         * signal/killpg.c: Likewise.
59216         * signal/raise.c: Likewise.
59217         * signal/sigaction.c: Likewise.
59218         * signal/sigaltstack.c: Likewise.
59219         * signal/sigblock.c: Likewise.
59220         * signal/sigignore.c: Likewise.
59221         * signal/sigintr.c: Likewise.
59222         * signal/signal.c: Likewise.
59223         * signal/sigpause.c: Likewise.
59224         * signal/sigpending.c: Likewise.
59225         * signal/sigqueue.c: Likewise.
59226         * signal/sigreturn.c: Likewise.
59227         * signal/sigset.c: Likewise.
59228         * signal/sigsetmask.c: Likewise.
59229         * signal/sigstack.c: Likewise.
59230         * signal/sigsuspend.c: Likewise.
59231         * signal/sigtimedwait.c: Likewise.
59232         * signal/sigvec.c: Likewise.
59233         * signal/sigwait.c: Likewise.
59234         * signal/sigwaitinfo.c: Likewise.
59235         * signal/sysv_signal.c: Likewise.
59236         * socket/accept.c: Likewise.
59237         * socket/accept4.c: Likewise.
59238         * socket/bind.c: Likewise.
59239         * socket/connect.c: Likewise.
59240         * socket/getpeername.c: Likewise.
59241         * socket/getsockname.c: Likewise.
59242         * socket/getsockopt.c: Likewise.
59243         * socket/isfdtype.c: Likewise.
59244         * socket/listen.c: Likewise.
59245         * socket/recv.c: Likewise.
59246         * socket/recvfrom.c: Likewise.
59247         * socket/recvmsg.c: Likewise.
59248         * socket/send.c: Likewise.
59249         * socket/sendmsg.c: Likewise.
59250         * socket/sendto.c: Likewise.
59251         * socket/setsockopt.c: Likewise.
59252         * socket/shutdown.c: Likewise.
59253         * socket/sockatmark.c: Likewise.
59254         * socket/socket.c: Likewise.
59255         * socket/socketpair.c: Likewise.
59256         * stdio-common/ctermid.c: Likewise.
59257         * stdio-common/cuserid.c: Likewise.
59258         * stdio-common/remove.c: Likewise.
59259         * stdio-common/rename.c: Likewise.
59260         * stdio-common/renameat.c: Likewise.
59261         * stdio-common/tempname.c: Likewise.
59262         * stdlib/getcontext.c: Likewise.
59263         * stdlib/makecontext.c: Likewise.
59264         * stdlib/setcontext.c: Likewise.
59265         * stdlib/swapcontext.c: Likewise.
59266         * stdlib/system.c: Likewise.
59267         * streams/fattach.c: Likewise.
59268         * streams/fdetach.c: Likewise.
59269         * streams/getmsg.c: Likewise.
59270         * streams/getpmsg.c: Likewise.
59271         * streams/putmsg.c: Likewise.
59272         * streams/putpmsg.c: Likewise.
59273         * sysdeps/unix/bsd/getpt.c: Likewise.
59274         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59275         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59276         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59278         Likewise.
59279         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59280         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59281         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59282         * sysvipc/msgctl.c: Likewise.
59283         * sysvipc/msgget.c: Likewise.
59284         * sysvipc/msgrcv.c: Likewise.
59285         * sysvipc/msgsnd.c: Likewise.
59286         * sysvipc/semctl.c: Likewise.
59287         * sysvipc/semget.c: Likewise.
59288         * sysvipc/semop.c: Likewise.
59289         * sysvipc/semtimedop.c: Likewise.
59290         * sysvipc/shmat.c: Likewise.
59291         * sysvipc/shmctl.c: Likewise.
59292         * sysvipc/shmdt.c: Likewise.
59293         * sysvipc/shmget.c: Likewise.
59294         * termios/tcdrain.c: Likewise.
59295         * termios/tcflow.c: Likewise.
59296         * termios/tcflush.c: Likewise.
59297         * termios/tcgetattr.c: Likewise.
59298         * termios/tcgetpgrp.c: Likewise.
59299         * termios/tcsendbrk.c: Likewise.
59300         * termios/tcsetattr.c: Likewise.
59301         * termios/tcsetpgrp.c: Likewise.
59302         * time/adjtime.c: Likewise.
59303         * time/clock.c: Likewise.
59304         * time/getitimer.c: Likewise.
59305         * time/gettimeofday.c: Likewise.
59306         * time/setitimer.c: Likewise.
59307         * time/settimeofday.c: Likewise.
59308         * time/stime.c: Likewise.
59309         * time/time.c: Likewise.
59311 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59313         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59314         /usr/old/bin.
59316         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59317         instead of spaces.
59318         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59320 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59322         [BZ #14796]
59323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59324         FE_TONEAREST before applying Dekker multiplication and Knuth
59325         addition.  Clear inexact exceptions and check for exact zero
59326         results afterwards.
59327         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59328         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59329         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59330         * math/libm-test.inc (fma_test): Add more tests.
59331         (fma_test_towardzero): Likewise.
59332         (fma_test_downward): Likewise.
59333         (fma_test_upward): Likewise.
59334         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59335         function.
59336         (libc_fesetround): New macro.
59337         (libc_fesetroundf): Likewise.
59338         (libc_fesetroundl): Likewise.
59339         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59340         function.
59341         (libc_fesetround_387): Likewise.
59342         (libc_fesetroundf): New macro.
59343         (libc_fesetround): Likewise.
59344         (libc_fesetroundl): Likewise.
59345         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59346         function.
59347         (libc_fesetroundf): New macro.
59348         (libc_fesetround): Likewise.
59349         (libc_fesetroundl): Likewise.
59350         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59351         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59352         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59353         libm_hidden_ver.
59354         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59355         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59356         libm_hidden_def.
59357         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59358         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59359         libm_hidden_ver.
59360         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59361         libm_hidden_def.
59363         [BZ #3439]
59364         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59365         integer constant usable in #if and use that to give value to enum
59366         constant.
59367         (FE_DIVBYZERO): Likewise.
59368         (FE_UNDERFLOW): Likewise.
59369         (FE_OVERFLOW): Likewise.
59370         (FE_INVALID): Likewise.
59371         (FE_INVALID_SNAN): Likewise.
59372         (FE_INVALID_ISI): Likewise.
59373         (FE_INVALID_IDI): Likewise.
59374         (FE_INVALID_ZDZ): Likewise.
59375         (FE_INVALID_IMZ): Likewise.
59376         (FE_INVALID_COMPARE): Likewise.
59377         (FE_INVALID_SOFTWARE): Likewise.
59378         (FE_INVALID_SQRT): Likewise.
59379         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59380         (FE_TONEAREST): Likewise.
59381         (FE_TOWARDZERO): Likewise.
59382         (FE_UPWARD): Likewise.
59383         (FE_DOWNWARD): Likewise.
59384         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59385         (FE_DIVBYZERO): Likewise.
59386         (FE_OVERFLOW): Likewise.
59387         (FE_UNDERFLOW): Likewise.
59388         (FE_INEXACT): Likewise.
59389         (FE_TONEAREST): Likewise.
59390         (FE_DOWNWARD): Likewise.
59391         (FE_UPWARD): Likewise.
59392         (FE_TOWARDZERO): Likewise.
59393         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59394         (FE_UNDERFLOW): Likewise.
59395         (FE_OVERFLOW): Likewise.
59396         (FE_DIVBYZERO): Likewise.
59397         (FE_INVALID): Likewise.
59398         (FE_TONEAREST): Likewise.
59399         (FE_TOWARDZERO): Likewise.
59400         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59401         (FE_OVERFLOW): Likewise.
59402         (FE_UNDERFLOW): Likewise.
59403         (FE_DIVBYZERO): Likewise.
59404         (FE_INEXACT): Likewise.
59405         (FE_TONEAREST): Likewise.
59406         (FE_TOWARDZERO): Likewise.
59407         (FE_UPWARD): Likewise.
59408         (FE_DOWNWARD): Likewise.
59409         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59410         (FE_DIVBYZERO): Likewise.
59411         (FE_OVERFLOW): Likewise.
59412         (FE_UNDERFLOW): Likewise.
59413         (FE_INEXACT): Likewise.
59414         (FE_TONEAREST): Likewise.
59415         (FE_DOWNWARD): Likewise.
59416         (FE_UPWARD): Likewise.
59417         (FE_TOWARDZERO): Likewise.
59419 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59421         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59423 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59425         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59426         commands.  Quote $PWD.
59427         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59428         -x" by "export".
59429         (remove_newlines): Remove.
59431 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59433         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59434         * stdlib/stdlib.h (atof): Moved to ...
59435         * include/bits/stdlib-float.h: Here.  New file.
59436         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59437         * stdlib/bits/stdlib-float.h: New file.
59438         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59439         -mno-sse -mno-mmx.
59440         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59441         <xmmintrin.h>.
59443 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59445         * conform/conformtest.pl (@headers): Add fenv.h.
59446         * conform/data/fenv.h-data: New file.
59447         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59448         include of <math/fenv.h>.
59450         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59451         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59452         && !UNIX98].  Enables tests for XOPEN2K8.
59453         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59454         POSIX2008]: Likewise.
59456         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59457         (struct rusage): Do not expect type or its members.
59459         [BZ #3439]
59460         * math/math.h (FP_NAN): Define macro to integer constant usable in
59461         #if and use that to give value to enum constant.
59462         (FP_INFINITE): Likewise.
59463         (FP_ZERO): Likewise.
59464         (FP_SUBNORMAL): Likewise.
59465         (FP_NORMAL): Likewise.
59467 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59469         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59470         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59471         arguments.
59473 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59475         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59476         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59477         autoconf-time if not.
59478         * configure.in: Remove AC_PREREQ.
59480 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59482         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59483         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59484         of the internal implementation.
59486 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59488         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59489         except include of <misc/sys/syslog.h>.
59491 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59494         function returns with a NULL context exit with zero.
59496 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59498         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59500 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59502         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59503         (run_program_cmd): This.
59504         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59505         (tst_langinfo): New variable.  Use it.
59507 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59509         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59510         floating point opcodes.
59512 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59514         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59515         variable.
59517         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59519         * sysdeps/mach/hurd/powerpc: Remove directory.
59520         * sysdeps/mach/powerpc: Likewise.
59522 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59524         * scripts/check-local-headers.sh: Ignore c++ headers.
59526 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59528         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59529         __libc_cleanup_region_start argument.
59531 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59533         [BZ #14784]
59534         [BZ #14785]
59535         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59536         x * y using scaling, not as x * y + z.
59537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59538         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59539         * math/libm-test.inc (fma_test): Add more tests.
59540         (fma_test_towardzero): Likewise.
59541         (fma_test_downward): Likewise.
59542         (fma_test_upward): Likewise.
59544 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59546         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59548 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59550         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59551         New variable.
59553 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59555         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59557 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59560         Fix sort order.
59561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59562         Likewise.
59564 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59567         Fix the order of the list for glibc 2.17.
59568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59569         Likewise.
59571 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59575 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59577         [BZ #14610]
59578         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59579         for low part of x being zero before using __atanl (y).
59580         * math/libm-test.inc (atan2_test): Add another test.
59582         * manual/install.texi (Configuring and compiling): Document
59583         general use of test-wrapper and test-wrapper-env.
59584         * INSTALL: Regenerated.
59586         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59587         (__fma): Do not extract and scale down low bits on after-rounding
59588         systems when result rounded to normal precision would have normal
59589         exponent.
59590         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59591         (__fmal): Do not extract and scale down low bits on after-rounding
59592         systems when result rounded to normal precision would have normal
59593         exponent.
59594         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59595         (__fmal): Do not extract and scale down low bits on after-rounding
59596         systems when result rounded to normal precision would have normal
59597         exponent.
59598         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59599         macro.
59600         (fma_test): Add more tests.
59601         (fma_test_towardzero): Likewise.
59602         (fma_test_downward): Likewise.
59603         (fma_test_upward): Likewise.
59605 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59607         * sysdeps/i386/tininess.h: Renamed to ...
59608         * sysdeps/x86/tininess.h: This.
59609         * sysdeps/x86_64/tininess.h: Removed.
59611 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59613         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59614         input.  Use $(build-program-cmd).
59615         ($(objpfx)tst-array1-static.out): Likewise.
59616         ($(objpfx)tst-array2.out): Likewise.
59617         ($(objpfx)tst-array3.out): Likewise.
59618         ($(objpfx)tst-array4.out): Likewise.
59619         ($(objpfx)tst-array5.out): Likewise.
59620         ($(objpfx)tst-array5-static.out): Likewise.
59622 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59624         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59625         if defined.
59627         * nss/nsswitch.h (nss_interface_function): Provide new
59628         macro for use with NSS functions.
59629         * grp/initgroups.c: Use new macro.
59630         * nss/getXXbyYY.c: Likewise.
59631         * nss/getXXbyYY_r.c: Likewise.
59632         * nss/getXXent.c: Likewise.
59633         * nss/getXXent_r.c: Likewise.
59634         * sysdeps/posix/getaddrinfo.c: Likewise.
59636 2012-10-30  Andreas Jaeger  <aj@suse.de>
59638         * po/ru.po: Update Russion translation from translation project.
59640 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59642         [BZ #14152]
59643         [BZ #14783]
59644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59645         result and shift together with sticky bit instead of replicating
59646         round-to-nearest rounding.
59647         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59648         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59649         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59650         missing underflow exceptions.
59651         (fma_test_towardzero): Add more tests.
59652         (fma_test_downward): Likewise.
59653         (fma_test_upward): Likewise.
59655         [BZ #14047]
59656         * sysdeps/generic/tininess.h: New file.
59657         * sysdeps/i386/tininess.h: Likewise.
59658         * sysdeps/sh/tininess.h: Likewise.
59659         * sysdeps/x86_64/tininess.h: Likewise.
59660         * stdlib/tst-strtod-underflow.c: Likewise.
59661         * stdlib/tst-tininess.c: Likewise.
59662         * stdlib/strtod_l.c: Include <tininess.h>.
59663         (round_and_return): Do not set errno for exact underflow cases.
59664         Force an underflow exception when setting errno for underflow.
59665         Determine underflow based on rounding to normal precision if
59666         TININESS_AFTER_ROUNDING.
59667         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59668         ERANGE for exact underflow cases.
59669         * stdlib/Makefile (tests): Add tst-tininess and
59670         tst-strtod-underflow.
59671         ($(objpfx)tst-tininess): Use $(link-libm).
59672         ($(objpfx)tst-strtod-underflow): Likewise.
59674 2012-10-30  Andreas Jaeger  <aj@suse.de>
59676         [BZ#14767]
59677         * elf/Makefile (tests): Remove conditional for have-initfini-array
59678         since this is now always required and the variable does not exist
59679         anymore.
59680         (tests-static): Likewise.
59681         (modules-names): Likewise.
59683         * po/eo.po: Add Esperanto translation from translation project.
59685         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59686         merged with constructor/destructor.
59687         (init_array): Likewise.
59688         * elf/tst-array2dep.c (fini_array): Likewise.
59689         (init_array): Likewise.
59691 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59693         * manual/message.texi: Delete @cartouche tags.
59695 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59697         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59698         EOPNOTSUPP.
59699         * sysdeps/mach/hurd/fsync.c: Likewise.
59701         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59702         [_POSIX_REALTIME_SIGNALS]: Change condition to
59703         [_POSIX_REALTIME_SIGNALS > 0].
59705 2012-10-27  Andreas Jaeger  <aj@suse.de>
59707         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59708         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59709         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59710         [__WORDSIZE != 64]: Likewise.
59712 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59714         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59715         *  iconvdata/tst-tables.sh: Likewise.
59717 2012-10-25  David S. Miller  <davem@davemloft.net>
59719         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59720         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59721         of strtoull.
59723         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59724         ifunc-impl-list.c
59725         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59726         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59727         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59728         file.
59730 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59732         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59733         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59734         __getdirentries.
59736 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59737             Jim Blandy  <jimb@codesourcery.com>
59739         * scripts/cross-test-ssh.sh: New file.
59740         * manual/install.texi (Configuring and compiling): Document use of
59741         cross-test-ssh.sh.
59742         * INSTALL: Regenerated.
59744 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59746         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59747         EOPNOTSUPP.
59749 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59751         * Makeconfig (run-program-prefix): Fix comment.
59753 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59754             Jim Blandy  <jimb@codesourcery.com>
59756         * Makeconfig (test-wrapper): New variable,
59757         (test-wrapper-env): Likewise.
59758         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59759         (run-built-tests): Define to yes.
59760         (run-program-prefix): Use $(test-wrapper).
59761         (built-program-cmd): Likewise.
59762         * Rules (make-test-out): Use $(test-wrapper-env) and
59763         $(host-built-program-cmd).
59764         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59765         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59766         tst-pathopt.sh.
59767         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59768         $(test-wrapper-env) to tst-rtld-load-self.sh.
59769         ($(objpfx)order2.out): Use $(test-wrapper).
59770         ($(objpfx)tst-initorder.out): Likewise.
59771         ($(objpfx)tst-initorder2.out): Likewise.
59772         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59773         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59774         (test_wrapper_env): New variable.  Use it to run ld.so.
59775         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59776         Use it to run ld.so.
59777         (test_wrapper_env): Likewise.
59778         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59779         $(test-wrapper) to run-iconv-test.sh.
59780         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59781         (ICONV): Use $test_wrapper.
59782         * posix/Makefile ($(objpfx)globtest.out): Pass
59783         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59784         globtest.sh, not $(run-program-prefix).
59785         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59786         (test_wrapper): Likewise.
59787         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59788         set together with run_via_rtld_prefix.
59789         (run_program_prefix): Define in terms of test_wrapper and
59790         run_via_rtld_prefix.
59792 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59794         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59795         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59796         Targets removed.
59798         [BZ #14743]
59799         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59800         Declare __clock_getres, __clock_gettime, __clock_settime,
59801         __clock_nanosleep, and __clock_getcpuclockid.
59802         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59803         Remove librt_hidden_def (clock_gettime).
59804         * sysdeps/unix/clock_gettime.c: Likewise.
59805         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59806         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59807         * rt/clock_getres.c: Define __clock_getres as an alias.
59808         * sysdeps/posix/clock_getres.c: Likewise.
59809         * rt/clock_settime.c: Define __clock_settime as an alias.
59810         * sysdeps/unix/clock_settime.c: Likewise.
59811         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59812         * sysdeps/unix/clock_nanosleep.c: Likewise.
59813         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59814         * rt/clock-compat.c: New file.
59815         * rt/Makefile (librt-routines): Add clock-compat and move
59816         $(clock-routines) to ...
59817         (routines): ... here, new variable.
59818         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59819         Don't add get_clockfreq here.
59820         * rt/Versions (libc: GLIBC_2.17): New version set.
59821         Add clock_* symbols here.
59822         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59823         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59824         (GLIBC_2.17): Add clock_* symbols.
59825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59827         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59829         Likewise.
59830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59831         Likewise.
59832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59836         * NEWS: Mention the move.
59838         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59839         Use __open, __read, __close rather than their public counterparts.
59840         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59841         (__get_clockfreq_via_cpuinfo): Likewise.
59842         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59843         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59845         * config.h.in (HAVE_IFUNC): New #undef.
59846         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59847         was successful.
59848         * configure: Regenerated.
59850 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59852         * configure.in: Move READELF check to start of file.
59853         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59854         libc_cv_asm_gnu_indirect_function in the process.
59855         * configure: Regenerated.
59857 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59859         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59860         send the output to /dev/null.
59861         (libc_cv_cc_with_libunwind): Likewise.
59862         (libc_cv_as_noexecstack): Likewise.
59863         * configure: Regenerate.
59865 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59867         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59869         * posix/globtest.sh (TMPDIR): Do not set.
59870         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59871         (testout): Likewise.
59873 2012-10-24  Andreas Jaeger  <aj@suse.de>
59875         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59876         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59877         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59878         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59879         posix_fadvise64, posix_fallocate64.
59881         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59882         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59883         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59884         Likewise.
59885         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59886         Likewise.
59887         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59890         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59891         <bits/fcntl-linux.h>.
59892         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59894         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59895         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59896         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59897         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59898         [__WORDSIZE != 64]: Likewise.
59900 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59902         * Makeconfig (run-built-tests): New variable.
59903         * Rules [$(cross-compiling) = yes]: Change condition to
59904         [$(run-built-tests) = no].
59905         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59906         to [$(run-built-tests) = yes].
59907         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59908         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59909         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59910         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59911         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59912         * io/Makefile [$(cross-compiling) = no]: Likewise.
59913         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59914         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59915         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59916         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59917         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59918         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59919         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59920         * string/Makefile [$(cross-compiling) = no]: Likewise.
59922         * posix/Makefile ($(objpfx)globtest.out): Pass
59923         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59924         $(rtld-installed-name).
59925         * posix/globtest.sh (elf_objpfx): Remove variable.
59926         (rtld_installed_name): Likewise.
59927         (library_path): Likewise.
59928         (run_program_prefix): New variable.  Use for running globtest
59929         binary.
59931 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59932             Joseph Myers  <joseph@codesourcery.com>
59934         * Makeconfig (host-built-program-cmd): New variable.
59935         * elf/Makefile (tst-stackguard1-ARGS): Use
59936         $(host-built-program-cmd).
59937         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59938         (tst-spawn-ARGS): Likewise.
59939         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59941 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59942             Jim Blandy  <jimb@codesourcery.com>
59944         * Makeconfig (run-via-rtld-prefix): New variable.
59945         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59946         (built-program-cmd): Likewise.
59948 2012-10-22  Andreas Jaeger  <aj@suse.de>
59950         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59951         __O_RSYNC if it exists, otherwise to O_SYNC.
59953 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59954             Joseph Myers  <joseph@codesourcery.com>
59956         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59957         /dev/null.
59958         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59959         from /dev/null
59960         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59961         /dev/null.
59963 2012-10-22  Andreas Jaeger  <aj@suse.de>
59965         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59966         Define always.
59967         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59969         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59970         bits/fcntl-linux.h.
59972         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59973         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59975         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59976         to __O_LARGEFILE.
59977         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59978         to __O_LARGEFILE.
59980 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59981             Joseph Myers  <joseph@codesourcery.com>
59983         * config.make.in (NM): New variable.
59985 2012-10-21  Andreas Jaeger  <aj@suse.de>
59987         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59988         definitions and declarations that are provided by
59989         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59991 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59993         [BZ #14683]
59994         * elf/Makefile (tests-static): Add tst-leaks1-static.
59995         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59996         ($(objpfx)tst-leaks1-static): New rule.
59997         ($(objpfx)tst-leaks1-static-mem): Likewise.
59998         (tst-leaks1-static-ENV): New macro.
59999         * elf/dl-open.c (dl_open_worker): Check the main application
60000         only if SHARED is defined.
60001         * elf/tst-leaks1-static.c: New file.
60003 2012-10-20  Andreas Jaeger  <aj@suse.de>
60005         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60006         generic values for Linux.
60007         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60008         and declarations that are provided by <bits/fcntl-linux.h> and
60009         include <bits/fcntl-linux.h>.
60010         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60011         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60013 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60015         * io/fcntl.h: Move include of <bits/types.h> to the top and
60016         include it unconditionally.
60018 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60020         * wcsmbs/Makefile (tests-ifunc): New variable.
60021         (tests): Add $(tests-ifunc).
60022         * wcsmbs/test-wcschr-ifunc.c: New file.
60023         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60024         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60025         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60026         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60027         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60029         * string/Makefile (tests-ifunc): New variable.
60030         (tests): Add $(tests-ifunc).
60031         * string/test-memccpy.c (TEST_NAME): New macro.
60032         * string/test-memchr.c (TEST_NAME): Likewise.
60033         * string/test-memcmp.c (TEST_NAME): Likewise.
60034         * string/test-memcpy.c (TEST_NAME): Likewise.
60035         * string/test-memmem.c (TEST_NAME): Likewise.
60036         * string/test-memmove.c (TEST_NAME): Likewise.
60037         * string/test-memset.c (TEST_NAME): Likewise.
60038         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60039         * string/test-stpcpy.c (TEST_NAME): Likewise.
60040         * string/test-stpncpy.c (TEST_NAME): Likewise.
60041         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60042         * string/test-strcasestr.c (TEST_NAME): Likewise.
60043         * string/test-strcat.c (TEST_NAME): Likewise.
60044         * string/test-strchr.c (TEST_NAME): Likewise.
60045         * string/test-strcmp.c(TEST_NAME): Likewise.
60046         * string/test-strcpy.c (TEST_NAME): Likewise.
60047         * string/test-strcspn.c (TEST_NAME): Likewise.
60048         * string/test-strlen.c (TEST_NAME): Likewise.
60049         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60050         * string/test-strncmp.c (TEST_NAME): Likewise.
60051         * string/test-strncpy.c (TEST_NAME): Likewise.
60052         * string/test-strnlen.c (TEST_NAME): Likewise.
60053         * string/test-strpbrk.c (TEST_NAME): Likewise.
60054         * string/test-strrchr.c (TEST_NAME): Likewise.
60055         * string/test-strspn.c (TEST_NAME): Likewise.
60056         * string/test-strstr.c (TEST_NAME): Likewise.
60057         * string/test-bcopy-ifunc.c: New file.
60058         * string/test-bzero-ifunc.c: Likewise.
60059         * string/test-memccpy-ifunc.c: Likewise.
60060         * string/test-memchr-ifunc.c: Likewise.
60061         * string/test-memcmp-ifunc.c: Likewise.
60062         * string/test-memcpy-ifunc.c: Likewise.
60063         * string/test-memmem-ifunc.c: Likewise.
60064         * string/test-memmove-ifunc.c: Likewise.
60065         * string/test-mempcpy-ifunc.c: Likewise.
60066         * string/test-memset-ifunc.c: Likewise.
60067         * string/test-rawmemchr-ifunc.c: Likewise.
60068         * string/test-stpcpy-ifunc.c: Likewise.
60069         * string/test-stpncpy-ifunc.c: Likewise.
60070         * string/test-strcasecmp-ifunc.c: Likewise.
60071         * string/test-strcasestr-ifunc.c: Likewise.
60072         * string/test-strcat-ifunc.c: Likewise.
60073         * string/test-strchr-ifunc.c: Likewise.
60074         * string/test-strchrnul-ifunc.c: Likewise.
60075         * string/test-strcmp-ifunc.c: Likewise.
60076         * string/test-strcpy-ifunc.c: Likewise.
60077         * string/test-strcspn-ifunc.c: Likewise.
60078         * string/test-strlen-ifunc.c: Likewise.
60079         * string/test-strncasecmp-ifunc.c: Likewise.
60080         * string/test-strncat-ifunc.c: Likewise.
60081         * string/test-strncmp-ifunc.c: Likewise.
60082         * string/test-strncpy-ifunc.c: Likewise.
60083         * string/test-strnlen-ifunc.c: Likewise.
60084         * string/test-strpbrk-ifunc.c: Likewise.
60085         * string/test-strrchr-ifunc.c: Likewise.
60086         * string/test-strspn-ifunc.c: Likewise.
60087         * string/test-strstr-ifunc.c: Likewise.
60089         * debug/Makefile (tests-ifunc): New variable.
60090         (tests): Add $(tests-ifunc).
60091         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60092         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60093         * debug/test-stpcpy_chk-ifunc.c: New file.
60094         * debug/test-strcpy_chk-ifunc.c: Likewise.
60096 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60098         [BZ #13601]
60099         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60100         header is not read in.
60102 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60104         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60105         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60106         directly.  Pass built executable to script as
60107         $(built-program-cmd).
60108         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60109         $testprogram without using LD_LIBRARY_PATH and $ldso.
60111         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60112         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60113         $(rtld-installed-name).
60114         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60115         (rtld_installed_name): Likewise.
60116         (library_path): Likewise.
60117         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60118         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60119         $(run-program-prefix) to tst-tables.sh.
60120         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60121         it to run tst-table-from and tst-table-to.
60122         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60123         Pass it to tst-table.sh.
60124         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60125         $(run-program-prefix) to tst-gettext.sh.
60126         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60127         tst-translit.sh.
60128         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60129         tst-gettext2.sh.
60130         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60131         to run tst-gettext.
60132         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60133         to run tst-gettext2.
60134         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60135         to run tst-translit.
60136         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60137         $(run-program-prefix) to tst-mtrace.sh.
60138         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60139         to run tst-mtrace.
60140         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60141         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60142         $(rtld-installed-name).
60143         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60144         (rtld_installed_name): Likewise.
60145         (run_program_prefix): New variable.  Use it to run wordexp-test.
60147         * Makeconfig (ARCH): Remove all definitions.
60148         (machine): Likewise.
60149         [ARCH]: Remove conditional code.
60150         [!objdir]: Give error.
60151         [!objdir] (objpfx): Remove.
60152         [!objdir] (common-objpfx): Likewise.
60153         [!objdir] (common-objdir): Likewise.
60154         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60155         AC_CONFIG_FILES call.
60156         * configure: Regenerated.
60158         [BZ #13888]
60159         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60160         or TMPDIR.
60161         (testout): Likewise.
60163         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60164         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60165         $(rtld-installed-name).
60166         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60167         (rtld_installed_name): Likwise.
60168         (runit): Remove function.
60169         (run_getconf): New variable,  Use it for running getconf binary.
60171 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60173         [BZ #14716]
60174         * string/test-memmem.c (check_result): New function.
60175         (do_one_test): Use it.
60176         (check1): New function.
60177         (test_main): Use it.
60179 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60181         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60183 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60185         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60186         (_G_LSEEK64): Likewise.
60187         (_G_MMAP64): Likewise.
60188         (_G_FSTAT64): Likewise.
60189         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60190         (_G_LSEEK64): Likewise.
60191         (_G_MMAP64): Likewise.
60192         (_G_FSTAT64): Likewise.
60193         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60194         unconditional.  Call __mmap64 directly.
60195         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60196         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60197         __lseek64 directly.
60198         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60199         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60200         __mmap64 directly.
60201         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60202         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60203         __lseek64 directly.
60204         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60205         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60206         __lseek64 directly.
60207         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60208         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60209         __lseek64 directly.
60210         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60211         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60212         __fxstat64 directly.
60213         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60214         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60215         unconditional.
60216         (freopen64) [!_G_OPEN64]: Remove conditional code.
60217         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60218         unconditional.
60219         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60220         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60221         unconditional.
60222         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60223         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60224         unconditional.
60225         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60226         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60227         unconditional.
60228         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60229         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60230         unconditional.
60231         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60232         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60233         unconditional.
60234         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60235         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60236         unconditional.
60237         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60239 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60241         [BZ #12140]
60242         * manual/memory.texi (Malloc Tunable Parameters): Add note
60243         about free list pointers overwriting some perturb bytes.
60244         Wording suggested by Roland McGrath.
60246 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60248         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60249         (lgamma_test): Likewise.
60250         (tgamma_test): Likewise.
60252 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60254         [BZ #14700]
60255         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60256         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60258 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60260         * NEWS: Mention BZ #14716.
60261         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60262         when removing AVAILABLE1_USES_J macro.
60264 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60266         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60267         (__bswap_64): __uint64_t for unsigned 64-bit int.
60269 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60271         * include/string.h (memmem): Declare libc hidden alias.
60272         * string/memmem.c (memmem): Define libc hidden alias.
60273         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60274         __read, __close instead of open, read, close.
60276 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60279         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60280         global and hidden.
60281         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60282         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60283         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60284         Likewise.
60285         (__rawmemchr_sse2): Likewise.
60286         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60287         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60288         (__strchr_sse2): Likewise.
60289         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60290         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60291         (__strcasecmp_sse2): Likewise.
60292         (__strncasecmp_sse2): Likewise.
60293         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60294         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60295         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60296         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60297         (__strrchr_sse2): Likewise.
60298         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60299         ifunc-impl-list.c.
60300         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60301         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60302         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60303         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60304         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60305         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60306         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60307         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60308         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60309         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60310         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60311         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60312         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60313         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60314         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60315         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60316         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60317         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60318         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60319         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60320         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60321         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60322         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60323         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60324         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60325         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60326         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60327         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60328         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60329         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60331         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60332         global and hidden.
60333         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60334         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60335         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60336         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60337         Likewise.
60338         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60339         Likewise.
60340         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60341         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60342         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60343         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60344         ifunc-impl-list.c.
60345         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60346         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60347         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60348         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60349         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60350         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60351         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60352         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60353         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60354         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60355         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60356         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60357         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60358         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60359         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60360         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60361         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60362         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60363         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60364         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60365         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60366         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60367         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60368         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60369         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60370         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60371         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60372         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60373         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60374         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60375         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60376         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60377         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60378         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60379         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60380         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60381         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60382         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60383         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60384         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60385         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60387         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60388         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60389         * include/ifunc-impl-list.h: New file.
60390         * misc/ifunc-impl-list.c: Likewise.
60391         * misc/Makefile (routines): Add ifunc-impl-list.
60392         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60393         * string/test-string.h: Include <ifunc-impl-list.h>.
60394         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60395         TEST_NAME]: New variables.
60396         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60397         are defined.
60398         (test_init): Call __libc_ifunc_impl_list to initialize
60399         func_list if TEST_IFUNC and TEST_NAME are defined.
60401         * string/Makefile (strop-tests): Add bcopy and bzero.
60402         * string/test-bcopy.c: New file.
60403         * string/test-bzero.c: Likewise.
60404         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60405         defined.
60406         * string/test-memset.c: Support bzero test if TEST_BZERO is
60407         defined.
60408         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60409         __libc_memmove.
60410         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60411         __libc_memset.
60412         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60413         of memset.
60415 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60417         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60418         * configure: Regenerated.
60420         * Makeconfig (+link-static-before-libc): Don't include
60421         $(link-static-libc).
60423         * libio/libio.h (_IO_pos_t): Remove.
60425 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60427         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60428         McGrath.
60430 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60432         * crypt/crypt-entry.c: Include fips-private.h.
60433         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60434         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60435         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60436         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60438 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60440         * crypt/crypt-private.h: Include stdbool.h.
60441         (_ufc_setup_salt_r): Return bool.
60442         * crypt/crypt-entry.c: Include errno.h.
60443         (__crypt_r): Return NULL with EINVAL for bad salt.
60444         * crypt/crypt_util.c (bad_for_salt): New.
60445         (_ufc_setup_salt_r): Check that salt is long enough and within
60446         the specified alphabet.
60447         * crypt/badsalttest.c: New file.
60448         * crypt/Makefile (tests): Add it.
60449         ($(objpfx)badsalttest): New.
60451 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60453         * NEWS: Add entry for BZ #14602.
60455 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60457         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60458         type-generic.
60459         * math/libm-test.inc: Update comment listing what functions and
60460         macros are tested.
60461         (isgreater_test): New function.
60462         (isgreaterequal_test): Likewise.
60463         (isless_test): Likewise.
60464         (islessequal_test): Likewise.
60465         (islessgreater_test): Likewise.
60466         (isunordered_test): Likewise.
60467         (main): Call the new functions.
60469 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60471         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60472         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60473         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60474         * sysdeps/i386/configure: Regenerated.
60475         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60476         * sysdeps/mach/configure: Regenerated.
60477         * sysdeps/mach/hurd/configure: Regenerated.
60478         * sysdeps/powerpc/configure: Regenerated.
60479         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60480         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60481         * sysdeps/s390/s390-32/configure: Regenerated.
60482         * sysdeps/s390/s390-64/configure: Regenerated.
60483         * sysdeps/sh/configure: Regenerated.
60484         * sysdeps/sparc/configure: Regenerated.
60485         * sysdeps/unix/sysv/linux/configure: Regenerated.
60486         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60487         * sysdeps/x86_64/configure: Regenerated.
60489         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60490         defined.  Don't check if MAP is NULL.
60492 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60494         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60495         (_G_stat64): Likewise.
60496         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60497         (_G_stat64): Likewise.
60498         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60499         instead of struct _G_stat64.
60500         * libio/fileops.c (mmap_remap_check): Likewise.
60501         (decide_maybe_mmap): Likewise.
60502         (_IO_new_file_seekoff): Likewise.
60503         (_IO_file_stat): Likewise.
60504         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60505         _G_off64_t.
60506         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60507         instead of struct _G_stat64.
60508         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60510 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60512         [BZ #14602]
60513         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60514         Replace with ...
60515         (CHECK_EOL): New macro.
60516         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60517         CHECK_EOL.
60518         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60519         Replace with CHECK_EOL.
60520         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60521         Replace with CHECK_EOL.
60523 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60525         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60526         type-generic.
60527         * math/libm-test.inc: Update comment listing what functions and
60528         macros are tested.
60529         (finite_test): New function.
60530         (isinf_test): Likewise.
60531         (isnan_test): Likewise.
60532         (fpclassify_test): Test subnormal input.
60533         (isfinite_test): Likewise.
60534         (isnormal_test): Likewise.
60535         (main): Call the new functions.
60537 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60539         [BZ #14660]
60540         * Makerules (%.dynsym): Force C locale when running
60541         $(OBJDUMP) --dynamic-syms.
60543 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60545         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60546         <stdint.h>.
60548 2012-10-06  David S. Miller  <davem@davemloft.net>
60550         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60551         upper 32-bits of the length value in %o2 since we use branch-on-register
60552         tests which consider the entire 64-bit register.
60554 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60556         * string/test-strstr.c (check2): Add a test for page boundary.
60558 2012-10-05  David S. Miller  <davem@davemloft.net>
60560         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60561         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60562         file.
60563         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60564         sysdep_routines.
60565         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60566         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60567         and bzero when HWCAP_SPARC_CRYPTO is present.
60569 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60571         [BZ #14602]
60572         * string/test-strstr.c (check2): New function.
60573         (test_main): Call check2.
60575         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60576         and bug-strchr1.
60577         * string/bug-strcasestr1.c (do_test): Moved to ...
60578         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
60584         * string/test-strchr.c (check1): Here.  New function.
60585         (do_one_test): Break out result checking code into ...
60586         (check_result): This.  New function.
60587         (do_one_test): Call check_result.
60588         (test_main): Call check1.
60589         * string/bug-strstr1.c (main): Moved to ...
60590         * string/test-strstr.c (check1): Here.  New function.
60591         (do_one_test): Break out result checking code into ...
60592         (check_result): This.  New function.
60593         (do_one_test): Call check_result.
60594         (test_main): Call check1.
60595         * string/bug-strcasestr1.c: Removed.
60596         * string/bug-strchr1.c: Likewise.
60597         * string/bug-strstr1.c: Likewise.
60599         * elf/Makefile (dl-routines): Add hwcaps.
60600         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60601         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60602         (_dl_important_hwcaps): Moved to ...
60603         * elf/dl-hwcaps.c: Here.  New file.
60604         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60606         [BZ #14557]
60607         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60608         if IS_IN_rtld isn't defined.
60610         * elf/dl-support.c (_dl_sysinfo_map): New.
60611         Include "get-dynamic-info.h" and "setup-vdso.h".
60612         (_dl_non_dynamic_init): Call setup_vdso.
60613         * elf/dynamic-link.h: Don't include <assert.h>.
60614         (elf_get_dynamic_info): Moved to ...
60615         * elf/get-dynamic-info.h: Here.  New file.
60616         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60617         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60618         * elf/setup-vdso.h: Here.  New file.
60619         * elf/rtld.c: Include "setup-vdso.h".
60620         (dl_main): Call setup_vdso.
60622 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60624         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60625         creal in comment listing functions tested.  List finite, isinf,
60626         isnan, isless, islessequal, isgreater, isgreaterequal,
60627         islessgreater, isunordered, lgamma_r and pow10 as functions and
60628         macros not tested.  Mention which functions not tested are aliases
60629         for other functions.  Fix typo.  Note that signs of NaNs are not
60630         tested.
60632         * scripts/config.guess: Update from config.git.
60633         * scripts/config.sub: Likewise.
60635 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60637         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60638         * misc/madvise.c (madvise): Renamed to __madvise.
60639         Make madvise a weak alias.
60640         * include/sys/mman.h: Declare __madvise.
60641         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60642         * sysdeps/unix/syscalls.list
60643         (madvise): Make __madvise the strong name, and madvise a weak alias.
60644         * sysdeps/unix/sysv/linux/syscalls.list
60645         (madvise, mmap): Remove redundant entries.
60646         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60647         * malloc/malloc.c (mtrim): Likewise.
60648         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60650 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60652         * sysdeps/mach/hurd/dl-cache.c: File removed.
60653         * config.h.in (USE_LDCONFIG): New #undef.
60654         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60655         * configure: Regenerated.
60656         * elf/Makefile (dl-routines): Add dl-cache only under
60657         [$(use-ldconfig) = yes].
60658         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60659         cache on [USE_LDCONFIG].
60660         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60661         [USE_LDCONFIG].
60662         * elf/rtld.c (dl_main): Likewise.
60664 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60666         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60667         _SC_LEVEL4_CACHE_LINESIZE.
60669 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60671         * sysdeps/unix/bsd/confstr.h: File removed.
60673 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60675         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60676         sys/sdt-config.h.
60678 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60680         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60681         Make 'mapoff' field ElfW(Off) rather than off_t.
60683 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60685         * nscd/Makefile: Remove nscd-cflags and all its users.
60686         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60687         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60689         [BZ #10631]
60690         * malloc.c (malloc_printerr): Clarify error message.
60692 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60694         [BZ #14648]
60695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60696         Set bit_FMA_Usable if FMA is supported.
60697         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60698         macro.
60699         (bit_FMA4_Usable): Updated.
60700         (index_FMA_Usable): New macro.
60701         (CPUID_FMA): Likewise.
60702         (HAS_FMA): Defined with bit_FMA_Usable.
60704 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60706         * bits/types.h (__swblk_t): Type removed.
60707         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60708         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60709         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60710         (__SWBLK_T_TYPE): Likewise.
60711         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60712         (__SWBLK_T_TYPE): Likewise.
60713         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60714         (__SWBLK_T_TYPE): Likewise.
60715         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60716         (__SWBLK_T_TYPE): Likewise.
60718 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60719             Honza Horak <hhorak@redhat.com>
60721         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60722         (xdr_mapname): Use YPMAXMAP as maxsize.
60723         (xdr_peername): Use YPMAXPEER as maxsize.
60724         (xdr_keydat): Use YPAXRECORD as maxsize.
60725         (xdr_valdat): Use YPMAXRECORD as maxsize.
60727 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60729         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60731         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60732         * csu/init-first.c: ... here.
60733         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60734         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60735         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60736         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60737         * sysdeps/i386/init-first.c: File removed.
60738         * sysdeps/sh/init-first.c: File removed.
60740 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60742         [BZ #14645]
60743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60744         if x * y might underflow to zero and z is zero.
60745         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60747         * math/libm-test.inc (min_subnorm_value): New variable.
60748         (fma_test): Add more tests.
60749         (fma_test_towardzero): Likewise.
60750         (fma_test_downward): Likewise.
60751         (fma_test_upward): Likewise.
60752         (initialize): Set min_subnorm_value.
60754 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60756         [BZ #14638]
60757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60758         0 + 0.
60759         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60760         mode for addition resulting in exact zero.
60761         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60762         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60763         exact 0 + 0.
60764         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60766         * math/libm-test.inc (fma_test): Add more tests.
60767         (fma_test_towardzero): New function.
60768         (fma_test_downward): Likewise.
60769         (fma_test_upward): Likewise.
60770         (main): Call the new functions.
60772 2012-09-28  David S. Miller  <davem@davemloft.net>
60774         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60776 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60778         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60779         instead of SIGALRM.
60781         * sysdeps/gnu/_G_config.h: Moved to ...
60782         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60783         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60784         * sysdeps/generic/_G_config.h: ... here.
60786         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60788         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60790         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60791         Conditionalize target on [libnss_test1.so-version].
60793         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60795         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60796         (elfobjdir): Move out of conditionals.
60798         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60799         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60800         (__nss_lookup_function): Conditionalize label remove_from_tree on
60801         [!DO_STATIC_NSS || SHARED], matching its only use.
60803 2012-09-28  David S. Miller  <davem@davemloft.net>
60805         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60806         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60807         file.
60808         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60809         sysdep_routines.
60810         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60811         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60812         when HWCAP_SPARC_CRYPTO is present.
60814 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60816         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60818 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60820         [BZ #6530]
60821         * stdio-common/vfprintf.c (process_string_arg): Revert
60822         2000-07-22 change.
60824 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60826         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60827         for testcase.
60828         * stdio-common/tst-sprintf.c: Include <locale.h>
60829         (main): Test sprintf's handling of incomplete multibyte
60830         characters.
60832 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60834         * elf/dl-runtime.c (VERSYMIDX): Removed.
60835         * elf/dl-version.c (VERSYMIDX): Likewise.
60836         * elf/do-rel.h (VERSYMIDX): Likewise.
60837         (VALIDX): Likewise.
60838         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60839         * elf/rtld.c (VALIDX): Likewise.
60840         (ADDRIDX): Likewise.
60841         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60842         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60843         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60844         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60845         (VALIDX): Likewise.
60846         (ADDRIDX): Likewise.
60848 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60850         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60852 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60854         [BZ #11438]
60855         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60856         to global scope.
60857         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60858         addresses are in the same scope as 192.0.2/24.
60859         * posix/gai.conf: Document new scope table defaults.
60861 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60863         [BZ #5298]
60864         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60865         for ftell.  Compute offsets from write pointers instead.
60866         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60868 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60870         [BZ #14543]
60871         * libio/Makefile (tests): New test case tst-fseek.
60872         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60873         combination works in wide mode.
60874         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60875         state when the external buffer state changes.
60877 2012-09-27  David S. Miller  <davem@davemloft.net>
60879         [BZ #14376]
60880         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60881         pass reloc->r_addend in as the 'high' argument to
60882         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60886 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60888         * rt/tst-aio2.c: Include <pthread.h>.
60889         * rt/tst-aio3.c: Likewise.
60891 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60893         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60895 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60897         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60898         contents on [SHARED].
60900 2012-09-26  Marek Polacek  <polacek@redhat.com>
60902         [BZ #14530]
60903         [BZ #13741]
60904         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60905         for C++ and GCC <4.3 as well as for non GCC compilers.
60907 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60911 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60913         * Makefile.in (all, install): Declare with .PHONY.
60914         Reported by Michael Hope <michael.hope@linaro.org>.
60916 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60918         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60919         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60920         system header.
60921         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60922         Likewise.
60923         (sydep_routines): Add the new and the internal functions.
60924         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60925         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60927         (GLIBC_2.17): Add the new function.
60928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60929         (GLIBC_2.17): Likewise.
60930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60931         (GLIBC_2.17): Likewise.
60932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60933         (GLIBC_2.17): Likewise.
60934         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60936 2012-09-25  Alan Modra  <amodra@gmail.com>
60938         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60939         Add release barrier before setting once_control to say
60940         initialisation is done.  Add hints on lwarx.  Use macro in
60941         place of isync.
60942         (clear_once_control): Add release barrier.
60944 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60946         [BZ #13629]
60947         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60948         specially.
60949         * math/s_clog10.c (__clog10): Likewise.
60950         * math/s_clog10f.c (__clog10f): Likewise.
60951         * math/s_clog10l.c (__clog10l): Likewise.
60952         * math/s_clogf.c (__clogf): Likewise.
60953         * math/s_clogl.c (__clogl): Likewise.
60954         * math/Makefile (libm-calls): Add x2y2m1.
60955         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60956         (__x2y2m1): Likewise.
60957         (__x2y2m1l): Likewise.
60958         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60959         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60960         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60961         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60962         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60963         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60964         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60965         * sysdeps/i386/fpu/libm-test-ulps: Update.
60966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60968         [BZ #14621]
60969         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60970         int as type of variable DEPTH.
60971         (glob): Use size_t instead of int as type of variables NEWCOUNT
60972         and OLD_PATHC.
60974 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60976         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60977         Add s_sincosf-sse2.
60978         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60979         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60980         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60981         macros for using routine as __sincosf_ia32.
60982         Use macro for function declaration and weak_alias.
60983         * sysdeps/i386/fpu/libm-test-ulps: Update.
60985         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60988         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60989         subnormal argument.
60990         * math/s_cexpf.c (__cexpf): Likewise.
60991         * math/s_csinf.c (__csinf): Likewise.
60992         * math/s_csinhf.c (__csinhf): Likewise.
60993         * math/s_ctanf.c (__ctanf): Likewise.
60994         * math/s_ctanhf.c (__ctanhf): Likewise.
60995         * math/s_ccosh.c (__ccoshf): Likewise.
60996         * math/s_cexp.c (__cexpl): Likewise.
60997         * math/s_csin.c (__csin): Likewise.
60998         * math/s_csinh.c (__csinh): Likewise.
60999         * math/s_ctan.c (__ctan): Likewise.
61000         * math/s_ctanh.c (ctanh): Likewise.
61001         * math/s_ccoshl.c (__ccoshl): Likewise.
61002         * math/s_cexpl.c (__cexpl): Likewise.
61003         * math/s_csinl.c (__csinl): Likewise.
61004         * math/s_csinhl.c (__csinhl): Likewise.
61005         * math/s_ctanl.c (__ctanl): Likewise.
61006         * math/s_ctanhl.c (__ctanhl): Likewise.
61008 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61010         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61011         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61012         (_IO_off_t): Define to __off_t, not _G_off_t.
61013         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61014         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61015         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61016         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61017         type of __dummy and __dummy2 fields.
61018         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61019         (_G_ssize_t): Likewise.
61020         (_G_off_t): Likewise.
61021         (_G_pid_t): Likewise.
61022         (_G_uid_t): Likewise.
61023         (_G_wchar_t): Likewise.
61024         (_G_wint_t): Likewise.
61025         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61026         (_G_ssize_t): Likewise.
61027         (_G_off_t): Likewise.
61028         (_G_pid_t): Likewise.
61029         (_G_uid_t): Likewise.
61030         (_G_wchar_t): Likewise.
61031         (_G_wint_t): Likewise.
61032         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61033         (_G_ssize_t): Likewise.
61034         (_G_off_t): Likewise.
61035         (_G_pid_t): Likewise.
61036         (_G_uid_t): Likewise.
61037         (_G_wchar_t): Likewise.
61038         (_G_wint_t): Likewise.
61040 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61042         * malloc/arena.c: Include malloc-sysdep.h.
61043         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61044         is sufficient to shrink the heap or an unmap is needed.
61045         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61046         new function check_may_shrink_heap.
61047         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61048         new function check_may_shrink_heap.
61050 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61052         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61053         comments.
61055 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61057         * catgets/test-gencat.sh: Add "set -e".
61058         * elf/tst-pathopt.sh: Likewise.
61059         * grp/tst_fgetgrent.sh: Likewise.
61060         * iconvdata/run-iconv-test.sh: Likewise.
61061         * intl/tst-gettext.sh: Likewise.
61062         * intl/tst-gettext2.sh: Likewise.
61063         * intl/tst-gettext4.sh: Likewise.
61064         * intl/tst-gettext6.sh: Likewise.
61065         * intl/tst-translit.sh: Likewise.
61066         * io/ftwtest-sh: Likewise.
61067         * libio/test-freopen.sh: Likewise.
61068         * malloc/tst-mtrace.sh: Likewise.
61069         * posix/globtest.sh: Likewise.
61070         * posix/tst-getconf.sh: Likewise.
61071         * posix/wordexp-tst.sh: Likewise.
61072         * stdio-common/tst-printf.sh: Likewise.
61073         * stdio-common/tst-unbputc.sh: Likewise.
61074         * stdlib/tst-fmtmsg.sh: Likewise.
61075         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61076         * catgets/Makefile: Do not specify -e option when running
61077         testsuite shell scripts.
61078         * elf/Makefile: Likewise.
61079         * grp/Makefile: Likewise.
61080         * iconvdata/Makefile: Likewise.
61081         * intl/Makefile: Likewise.
61082         * io/Makefile: Likewise.
61083         * libio/Makefile: Likewise.
61084         * malloc/Makefile: Likewise.
61085         * posix/Makefile: Likewise.
61086         * stdio-common/Makefile: Likewise.
61087         * stdlib/Makefile: Likewise.
61088         * sysdeps/x86_64/Makefile: Likewise.
61090         * io/ftwtest-sh: Add copyright header.
61091         * posix/globtest.sh: Likewise.
61092         * posix/tst-getconf.sh: Likewise.
61093         * posix/wordexp-tst.sh: Likewise.
61094         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61096 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61098         [BZ #13679]
61099         * Makeconfig (+link): Defined as $(+link-static) if
61100         $(build-shared) isn't yes.
61101         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61102         isn't yes.
61103         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61105         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61107         [BZ #14562]
61108         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61109         new chunk size with MALLOC_ALIGN_MASK.
61111 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61113         [BZ #5044]
61114         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61115         <rounding-mode.h>.
61116         (__printf_fphex): Determine rounding using get_rounding_mode and
61117         round_away.
61118         * stdio-common/tst-printf-round.c (struct hex_test): New
61119         structure.
61120         (hex_tests): New variable.
61121         (test_hex_in_one_mode): New function.
61122         (do_test): Also run tests for hex float output.
61124 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61126         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61127         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61128         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61129         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61130         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61131         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61132         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61133         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61135 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61137         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61138         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61139         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61140         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61142 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61144         [BZ #14579]
61145         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61146         mode only.
61147         * elf/tst-rtld-load-self.sh: New test.
61148         * elf/Makefile: Run it.
61150 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61152         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61153         (tst-writev-ENV): Remove.
61154         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61156 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61158         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61160 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61162         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61163         unconditional.
61164         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61165         Likewise.
61166         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61167         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61168         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61169         Likewise.
61171 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61173         [BZ #14587]
61174         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61175         * config.make.in (have-cpp-asm-debuginfo): Removed.
61176         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61177         * configure: Regenerated.
61179 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61181         [BZ #5044]
61182         * stdio-common/printf_fp.c: Include <stdbool.h> and
61183         <rounding-mode.h>.
61184         (___printf_fp): Determine rounding using get_rounding_mode and
61185         round_away.
61186         * stdio-common/tst-printf-round.c: New file.
61187         * stdio-common/Makefile (tests): Add tst-printf-round.
61188         (link-libm): New variable.
61189         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61191 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61193         [BZ #14576]
61194         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61195         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61196         Likewise.
61197         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61198         Likewise.
61200 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61202         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61203         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61204         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61205         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61207 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61209         [BZ #14518]
61210         * include/rounding-mode.h: New file.
61211         * sysdeps/generic/get-rounding-mode.h: Likewise.
61212         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61213         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61214         (MAX_VALUE): New macro.
61215         (MIN_VALUE): Likewise.
61216         (overflow_value): New function.
61217         (underflow_value): Likewise.
61218         (round_and_return): Use overflow_value and underflow_value to
61219         determine return values in overflow and underflow cases.  Use
61220         round_away to determine rounding depending on rounding mode.
61221         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61222         determine return values in overflow and underflow cases.
61223         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61224         (struct test_results): New structure.
61225         (struct test): Use struct test_results to store expected results
61226         for all rounding modes.
61227         (TEST): Include expected results for all rounding modes.
61228         (test_in_one_mode): New function.
61229         (do_test): Use test_in_one_mode to compute and check results.
61230         Check results for all rounding modes.
61231         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61232         $(link-libm).
61234 2012-12-09  Allan McRae  <allan@archlinux.org>
61236         * sysdeps/i386/fpu/libm-test-ulps: Update
61238 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61240         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61241         (_G_int32_t): Likewise.
61242         (_G_uint16_t): Likewise.
61243         (_G_uint32_t): Likewise.
61244         (_G_HAVE_BOOL): Likewise.
61245         (_G_HAVE_ATEXIT): Likewise.
61246         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61247         (_G_HAVE_IO_FILE_OPEN): Likewise.
61248         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61249         (_G_int32_t): Likewise.
61250         (_G_uint16_t): Likewise.
61251         (_G_uint32_t): Likewise.
61252         (_G_HAVE_BOOL): Likewise.
61253         (_G_HAVE_ATEXIT): Likewise.
61254         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61255         (_G_HAVE_IO_FILE_OPEN): Likewise.
61256         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61257         (_G_int32_t): Likewise.
61258         (_G_uint16_t): Likewise.
61259         (_G_uint32_t): Likewise.
61260         (_G_HAVE_BOOL): Likewise.
61261         (_G_HAVE_ATEXIT): Likewise.
61262         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61263         (_G_HAVE_IO_FILE_OPEN): Likewise.
61265 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61267         * csu/libc-tls.c: Update copyright years.
61269 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61271         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61272         [!_G_USING_THUNKS]: Remove conditional code.
61273         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61274         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61276         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61277         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61278         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61279         (_G_VTABLE_LABEL_PREFIX): Likewise.
61280         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61281         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61282         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61283         (_G_VTABLE_LABEL_PREFIX): Likewise.
61284         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61285         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61286         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61287         (_G_VTABLE_LABEL_PREFIX): Likewise.
61288         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61290 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61292         * libio/Makefile: Include ../Makeconfig before tests.
61293         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61294         only if $(build-shared) is yes.
61296         * iconv/gconv_db.c: Update copyright years.
61298 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61300         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61301         unwind info if defined PIC. Fix special cases description.
61302         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61304         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61305         DP_HI_MASK entry.
61306         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61308 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61310         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61312         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61313         is NULL.
61315         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61316         (LDLIBS-tst-chk4): This.
61317         (LDFLAGS-tst-chk5): Renamed to ...
61318         (LDLIBS-tst-chk5): This.
61319         (LDFLAGS-tst-chk6): Renamed to ...
61320         (LDLIBS-tst-chk6): This.
61321         (LDFLAGS-tst-lfschk4): Renamed to ...
61322         (LDLIBS-tst-lfschk4): This.
61323         (LDFLAGS-tst-lfschk5): Renamed to ...
61324         (LDLIBS-tst-lfschk5): This.
61325         (LDFLAGS-tst-lfschk6): Renamed to ...
61326         (LDLIBS-tst-lfschk6): This.
61328         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61329         on $(common-objpfx)soversions.mk.
61331 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61333         [BZ #10014]
61334         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61335         example host name.
61337 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61339         * malloc/arena.c (arena_get_retry): New function that gets
61340         another arena for the caller to try its request on.
61341         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61342         current arena cannot fulfill the request.
61343         (__libc_memalign): Likewise.
61344         (__libc_memalign): Likewise.
61345         (__libc_pvalloc): Likewise.
61346         (__libc_calloc): Likewise.
61348 2012-09-05  John Tobey  <john.tobey@gmail.com>
61350         [BZ #13542]
61351         * manual/arith.texi (Operations on Complex): Fix description
61352         of carg branch cut.
61354 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61356         [BZ #10014]
61357         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61358         host name.
61360         [BZ #10038]
61361         * manual/memory.texi (Memory): Make order of menu items match
61362         order of sections.
61364 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61366         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61367         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61368         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61370 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61372         * csu/libc-tls.c (static_dtv): Renamed to ...
61373         (_dl_static_dtv): This.  Make it global.
61374         (_dl_initial_dtv): Removed.
61375         (__libc_setup_tls): Updated.
61376         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61377         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61378         DL_INITIAL_DTV.
61380 2012-09-06  Petr Machata  <pmachata@redhat.com>
61382         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61383         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61384         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61385         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61387 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61389         [BZ #14545]
61390         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61391         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61392         freeing dtv[-1].
61394 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61396         [BZ #14544]
61397         * Makeconfig (link-static-before-libc): Replace $(+prector)
61398         with $(+prectorT).
61399         (link-static-after-libc): Replace $(+postctor) with
61400         $(+postctorT).
61401         (link-bounded): Replace $(+prector)/$(+postctor) with
61402         $(+prectorT)/$(+postctorT).
61403         (+prectorT): New macro.
61404         (+postctorT): Likewise.
61406 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61408         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61409         (round_str): Handle values above the maximum for IBM long double
61410         as inexact.
61411         * stdlib/tst-strtod-round.c (tests): Regenerated.
61413 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61415         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61416         assembler flag.
61417         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61418         zarch_nohighgprs around the zarch optimized routines.
61419         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61420         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61421         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61422         for zarch.
61424 2012-09-05  David S. Miller  <davem@davemloft.net>
61426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61428         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61429         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61430         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61431         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61432         entries.
61434 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61436         * malloc/arena.c: Fold copyright years.
61437         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61439 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61441         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61443 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61445         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61447 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61449         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61450         change internal state upon failure.
61452 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61454         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61455         * malloc/memusage.c (mmap): Likewise.
61456         (mmap64, mremap): Likewise.  Adjust name in comment.
61458 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61460         * libio/fileops.c: Fix typos in comments.
61461         * libio/oldfileops.c: Likewise.
61462         * libio/wfileops.c: Likewise.
61464 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61466         [BZ #1349]
61467         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61468         (tst-malloc-usable-ENV): Set environment for test case.
61469         * malloc/hooks.c (malloc_check_get_size): New function to get
61470         requested size.
61471         * malloc/malloc.c (musable): Use malloc_check_get_size.
61472         * malloc/tst-malloc-usable.c: New test case.
61474 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61476         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61478 2012-09-05  Allan McRae  <allan@archlinux.org>
61480         [BZ #13966]
61481         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61482         determine header location.
61483         * configure: Regenerated.
61485 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61487         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61488         float format.
61489         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61490         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61491         format.
61492         (test): Regenerate.
61494 2012-09-04  David S. Miller  <davem@davemloft.net>
61496         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61497         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61498         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61500 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61502         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61503         failures.
61505         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61507 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61509         [BZ #9914]
61510         * libio/iogetdelim.c: Include <limits.h>.
61511         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61512         + len + 1 would overflow.
61514 2012-09-03  Andreas Jaeger  <aj@suse.de>
61516         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61517         * sysdeps/i386/fpu/libm-test-ulps: Update.
61519 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61521         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61522         Add s_sinf-sse2, s_conf-sse2.
61524         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61525         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61526         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61527         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61529         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61530         for using routine as __sinf_ia32.
61531         Use macro for function declaration and weak_alias.
61532         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61533         for using routine as __cosf_ia32.
61534         Use macro for function declaration and weak_alias.
61536         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61537         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61539         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61540         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61543         * math/libm-test.inc (cos_test): Add more test cases.
61544         (sin_test): Likewise.
61545         (sincos_test): Likewise.
61547 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61549         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61550         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61551         hidden.
61552         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61554 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61556         [BZ #14538]
61557         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61558         first element of the GOT.
61559         (elf_machine_load_address): Return the difference between
61560         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61562 2012-09-01  Allan McRae  <allan@archlinux.org>
61564         [BZ #13412]
61565         * configure.in (AWK): Require gawk version 3.0 or later.
61566         * configure: Regenerated.
61568 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61570         * sysdeps/unix/sysv/linux/kernel-features.h
61571         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61572         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61573         [__NR_clock_getres]: Make code unconditional.
61574         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61575         (clock_getcpuclockid): Remove code left unreachable by removal of
61576         conditionals.
61577         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61578         code unconditional.
61579         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61580         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61581         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61582         Make code unconditional.
61583         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61584         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61585         * sysdeps/unix/sysv/linux/clock_settime.c
61586         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61587         conditional code.
61588         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61589         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61591 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61593         [BZ #14476]
61594         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61595         scripts/test-installation.pl.
61597         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61598         and $ld_so_version if it is set.
61600 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61602         [BZ #14516]
61603         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61604         failure if reading from procfs failed.
61605         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61607 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61609         * sysdeps/unix/sysv/linux/kernel-features.h
61610         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61611         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61612         Remove conditional code.
61613         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61614         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61615         Remove conditional code.
61616         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61617         * sysdeps/unix/sysv/linux/i386/fxstat.c
61618         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61619         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61620         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61621         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61622         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61623         * sysdeps/unix/sysv/linux/i386/lxstat.c
61624         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61625         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61626         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61627         Remove conditional code.
61628         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61629         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61630         Remove conditional code.
61631         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61632         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61633         <kernel-features.h>.
61634         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61635         Remove.
61636         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61637         Remove conditional code.
61638         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61639         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61640         Remove conditional.
61642 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61644         [BZ #5400]
61645         * NEWS: Add fixed bug number.
61647 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61649         [BZ #14519]
61650         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61651         underflowing exponent in case of negative sign.
61652         * stdlib/tst-strtod-round-data: Add more tests.
61653         * stdlib/tst-strtod-round.c (tests): Regenerated.
61655         [BZ #3479]
61656         * stdlib/strtod_l.c (NDIG): Remove.
61657         (HEXNDIG): Likewise.
61658         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61659         smallest representable value.
61660         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61661         lie within an exact representation of 1/2 ulp of the result.
61662         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61663         unconditionally.
61664         (TENS_P9_IDX): Define unconditionally.
61665         (TENS_P9_SIZE): Likewise.
61666         (TENS_P10_IDX): Likewise.
61667         (TENS_P10_SIZE): Likewise.
61668         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61669         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61670         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61671         entries for 10^2^13 and 10^2^14.
61672         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61673         (TENS_P13_IDX): Define.
61674         (TENS_P13_SIZE): Likewise.
61675         (TENS_P14_IDX): Likewise.
61676         (TENS_P14_SIZE): Likewise.
61677         (_fpioconst_pow10): Change array size to
61678         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61679         unconditional.
61680         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61681         1024]: Add entries for 10^2^13 and 10^2^14.
61682         [LAST_POW10 > _LAST_POW10]: Remove #error.
61683         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61684         (_fpioconst_pow10): Change array size to
61685         FPIOCONST_POW10_ARRAY_SIZE.
61686         * stdlib/gen-fpioconst.c: New file.
61687         * stdlib/gen-tst-strtod-round.c: Likewise.
61688         * stdlib/tst-strtod-round-data: Likewise.
61689         * stdlib/tst-strtod-round.c: Likewise.
61690         * stdlib/Makefile (tests): Add tst-strtod-round.
61692         [BZ #14459]
61693         * stdlib/strtod_l.c: Include <stdint.h>.
61694         (NDEBUG): Do not define.
61695         (round_and_return): Change EXPONENT parameter to type intmax_t.
61696         Rearrange calculations to avoid internal overflow possibilities.
61697         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61698         Rearrange calculations to avoid internal overflow possibilities.
61699         Assert that number fits inside MPNSIZE limbs.
61700         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61701         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61702         calculations and add assertions to avoid internal overflow
61703         possibilities.  Add casts to avoid signed/unsigned operations.
61704         * stdlib/tst-strtod-overflow.c: New file.
61705         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61707 2012-08-25  Marek Polacek  <polacek@redhat.com>
61709         * time/time.h: Fix some typos in comments.
61711 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61713         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61714         * posix/tst-rfc3484-2.c: Likewise.
61715         * posix/tst-rfc3484-3.c: Likewise.
61717 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61719         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61720         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61722 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61724         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61725         #include of fxstatat64.c.
61727 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61729         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61730         * shadow/getspent_r.c: Likewise.
61731         * shadow/getspnam.c: Likewise.
61732         * shadow/getspnam_r.c: Likewise.
61733         * gshadow/getsgent.c: Likewise.
61734         * gshadow/getsgent_r.c: Likewise.
61735         * gshadow/getsgnam.c: Likewise.
61736         * gshadow/getsgnam_r.c: Likewise.
61737         * inet/getnetbyad.c: Likewise.
61738         * inet/getnetbyad_r.c: Likewise.
61739         * inet/getnetbynm.c: Likewise.
61740         * inet/getnetbynm_r.c: Likewise.
61741         * inet/getnetent.c: Likewise.
61742         * inet/getnetent_r.c: Likewise.
61743         * inet/getproto.c: Likewise.
61744         * inet/getproto_r.c: Likewise.
61745         * inet/getprtent.c: Likewise.
61746         * inet/getprtent_r.c: Likewise.
61747         * inet/getprtname.c: Likewise.
61748         * inet/getprtname_r.c: Likewise.
61749         * inet/getrpcbyname.c: Likewise.
61750         * inet/getrpcbyname_r.c: Likewise.
61751         * inet/getrpcbynumber.c: Likewise.
61752         * inet/getrpcbynumber_r.c: Likewise.
61753         * inet/getrpcent.c: Likewise.
61754         * inet/getrpcent_r.c: Likewise.
61755         * inet/getaliasent.c: Likewise.
61756         * inet/getaliasent_r.c: Likewise.
61757         * inet/getaliasname.c: Likewise.
61758         * inet/getaliasname_r.c: Likewise.
61759         * nscd/getgrgid_r.c: Likewise.
61760         * nscd/getgrnam_r.c: Likewise.
61761         * nscd/gethstbyad_r.c: Likewise.
61762         * nscd/gethstbynm3_r.c: Likewise.
61763         * nscd/getpwnam_r.c: Likewise.
61764         * nscd/getpwuid_r.c: Likewise.
61765         * nscd/getsrvbynm_r.c: Likewise.
61766         * nscd/getsrvbypt_r.c: Likewise.
61767         * nscd/gai.c: Likewise.
61769         * configure.in (build_nscd): New substituted variable, set
61770         by --disable-build-nscd and defaults to $use_nscd.
61771         * configure: Regenerated.
61772         * config.make.in (build-nscd): New substituted variable.
61773         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61774         Change conditional to require [$(build-nscd) = yes] as well.
61775         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61777         [BZ# 13696]
61778         * configure.in (use_nscd): New substituted variable, set by
61779         --disable-nscd.  If enabled, define USE_NSCD.
61780         * configure: Regenerated.
61781         * config.h.in: Add USE_NSCD.
61782         * config.make.in (use-nscd): New substituted variable.
61783         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61784         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61785         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61786         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61787         (CFLAGS-getgrnam_r.c): Likewise.
61788         (CFLAGS-initgroups.c): Likewise.
61789         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61790         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61791         Variables removed.
61792         * inet/getnetgrent_r.c
61793         (nscd_setnetgrent): New function, broken out of ...
61794         (setnetgrent): ... here.  Call it.
61795         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61796         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61797         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61798         * nscd/Makefile (routines, aux): Move definitions after include of
61799         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61800         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61801         Conditionalize on [USE_NSCD].
61802         (is_nscd, nscd_init_cb): Likewise.
61803         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61804         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61805         * nss/nss_db/db-init.c: Likewise.
61806         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61807         [USE_NSCD].
61808         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61809         (make_request): Use it.
61810         (cache_valid_p): New function.
61811         (__check_pf): Use it.
61812         * NEWS: Add item for --disable-nscd.
61814 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61816         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61817         to support sed >= 4.2.1-20-ga9bf076.
61818         * configure: Regenerated.
61820 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61822         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61823         Conditionalize whole body on [IREL].
61825 2012-08-22  Jeff Law <law@redhat.com>
61827         [BZ #14505]
61828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61829         if the family is PF_UNSPEC.
61831 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61833         * Makerules (lib-version): Rename from V.
61834         (install-lib-nosubdir): Change V to lib-version.
61836 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61838         [BZ #14252]
61839         * powerpc32/power6/wcschr.c: New file.
61840         * powerpc32/power6/wcscpy.c: New file.
61841         * powerpc32/power6/wcsrchr.c: New file.
61842         * powerpc64/power6/wcschr.c: New file.
61843         * powerpc64/power6/wcscpy.c: New file.
61844         * powerpc64/power6/wcsrchr.c: New file.
61846 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61848         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61849         (two_way_short_needle): Use it.
61850         * string/strstr.c (AVAILABLE1_USES_J): Define.
61851         * string/strcasestr.c: Likewise.
61853         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61854         array references.
61855         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61857         [BZ #11607]
61858         * NEWS: Add an entry.
61859         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61860         define their defaults.
61861         (two_way_short_needle): Detect end-of-string on-the-fly.
61862         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61863         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61864         * string/bug-strcasestr1.c: New test.
61865         * string/Makefile: Run it.
61867 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61869         [BZ #11607]
61870         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61871         the first character.
61873 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61875         * csu/elf-init.c (__libc_csu_irel): Function removed.
61876         * csu/libc-start.c (apply_irel): New function.
61877         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61879 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61881         * sysdeps/unix/sysv/linux/kernel-features.h
61882         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61883         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61884         <kernel-features.h>.
61885         [__NR_fadvise64_64]: Make code unconditional.
61886         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61887         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61888         !__NR_fadvise64_64)]: Likewise.
61889         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61890         !__NR_fadvise64_64))]: Likewise.
61891         [__NR_fadvise64]: Make code unconditional.
61892         [!__NR_fadvise64]: Remove conditional code.
61893         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61894         <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.
61899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61900         not include <kernel-features.h>.
61901         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61902         unconditional.
61903         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61904         conditional code.
61905         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61906         include <kernel-features.h>.
61907         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61908         unconditional.
61909         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61910         conditional code.
61912 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61914         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61915         slight instruction rearrangements per scrollpipe analysis.
61916         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61918 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61920         * manual/syslog.texi (syslog; vsyslog, closelog):
61921         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61922         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61924         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61925         DSOCAPS to match condition on defining it.
61927 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61929         * sysdeps/unix/sysv/linux/kernel-features.h
61930         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61932         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61933         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61935         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61936         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61938         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61939         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61941         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61942         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61944         * sysdeps/unix/sysv/linux/kernel-features.h
61945         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61946         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61947         unconditional.
61948         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61949         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61950         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61951         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61952         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61953         Make code unconditional.
61954         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61955         (__mmap64) [!__NR_mmap2]: Likewise.
61956         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61957         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61958         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61959         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61960         [__NR_mmap2]: Make code unconditional.
61961         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61962         (__mmap64) [!__NR_mmap2]: Likewise.
61964 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61966         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61968 2012-08-18  Andreas Jaeger  <aj@suse.de>
61970         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61972 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61974         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61975         * include/unistd.h (__have_sock_cloexec): Likewise.
61976         (__have_pipe2): Likewise.
61977         (__have_dup3): Likewise.
61979 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61981         [BZ #9685]
61982         * include/unistd.h (__have_pipe2): Change define into an extern int.
61983         (__have_dup3): Likewise.
61984         * socket/have_sock_cloexec.c: Include fcntl.h.
61985         (__have_pipe2): New variable.
61986         (__have_dup3): Likewise.
61988 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61990         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61992 2012-08-17  Marek Polacek  <polacek@redhat.com>
61994         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61995         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61997 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61999         * configure.in: Add AC_SUBST for sysheaders.
62000         * configure: Regenerated.
62001         * config.make.in (sysheaders): New substituted variable.
62003         * sysdeps/unix/mkfifo.c: Moved ...
62004         * sysdeps/posix/mkfifo.c: ... here.
62005         * sysdeps/unix/mkfifoat.c: Moved ...
62006         * sysdeps/posix/mkfifoat.c: ... here.
62008         * sysdeps/unix/utime.c: Moved ...
62009         * sysdeps/posix/utime.c: ... here.
62011         * sysdeps/unix/time.c: Moved ...
62012         * sysdeps/posix/time.c: ... here.
62013         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62014         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62016         * sysdeps/unix/nice.c: Moved ...
62017         * sysdeps/posix/nice.c: ... here.
62019         * sysdeps/unix/alarm.c: Moved ...
62020         * sysdeps/posix/alarm.c: ... here.
62022         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62024 2012-08-17  Jeff Law <law@redhat.com>
62026         * intl/Makefile (codeset_mo): New variable.
62027         ($(codeset_mo)): New target.
62028         (tst-codeset.out): Depend on that.  Remove explicit rule.
62029         (tst-gettext3.out, tst-gettext5.out): Likewise.
62030         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62031         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62032         * intl/tst-codeset.sh: Remove.
62033         * intl/tst-gettext3.sh: Likewise.
62034         * intl/tst-gettext5.sh: Likewise.
62036 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62038         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62039         * sysdeps/unix/syscalls.list: ... here.
62041         * sysdeps/posix/getaddrinfo.c
62042         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62043         (gaiconf_init, gaiconf_reload): Use them.
62044         [!_STATBUF_ST_NSEC]
62045         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62046         Define using time_t rather than struct timespec.
62048         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62049         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62050         Macros removed.
62051         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62052         [!NO_THREADS].
62053         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62054         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62055         Likewise.
62057         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62058         __libc_cleanup_push argument.
62060         * bits/param.h: New file.
62061         * misc/sys/param.h: New file.
62062         * include/sys/param.h: New file.
62063         * misc/Makefile (headers): Add bits/param.h.
62064         * sysdeps/generic/sys/param.h: File removed.
62065         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62066         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62067         * sysdeps/mach/hurd/bits/param.h: New file.
62068         * sysdeps/mach/hurd/sys/param.h: File removed.
62070         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62071         last change.
62073         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62074         [_IO_MTSAFE_IO].
62075         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62076         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62077         New macros.
62079         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62080         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62081         rather than -D_IO_MTSAFE_IO conditionally.
62082         * stdio-common/Makefile (CPPFLAGS): Likewise.
62083         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62084         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62085         Use $(libio-mtsafe).
62086         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62087         of -D_IO_MTSAFE_IO.
62088         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62089         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62090         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62091         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62092         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62093         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62094         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62095         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62096         (CFLAGS-fread_u_chk.c): Likewise.
62097         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62098         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62099         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62100         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62101         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62102         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62103         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62104         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62105         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62107         * libio/Makefile: Test [$(libc-reentrant) = yes]
62108         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62110         * Makeconfig
62111         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62112         * sysdeps/pthread/configure: File removed.
62113         * sysdeps/pthread/Makeconfig: New file.
62114         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62115         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62117 2012-08-16  Gary Benson  <gbenson@redhat.com>
62119         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62120         unmapping the first object in a namespace.
62122 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62124         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62125         (__internal_setnetgrent): ... this.  Add internal_function to
62126         definition.  Add libc_hidden_def.
62127         (setnetgrent): Update caller.
62128         (internal_endnetgrent): Renamed to ...
62129         (__internal_endnetgrent): ... this.  Add internal_function to
62130         definition.  Add libc_hidden_def.
62131         (endnetgrent): Update caller.
62132         (internal_getnetgrent_r): Renamed to ...
62133         (__internal_getnetgrent_r): ... this.  Add internal_function to
62134         definition.  Add libc_hidden_def.
62135         (__getnetgrent_r): Update caller.
62136         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62138 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62140         * stdlib/longlong.h: Update from GCC.
62142 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62144         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62145         on _QL, which is set by umul_ppmm but never used.
62146         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62147         variables, which are set by GMP macros but never used.
62148         * stdio-common/_itowa.c (_itowa): Likewise.
62149         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62150         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62152 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62154         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62155         struct La_sh_regs is not constant.
62156         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62157         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62158         and struct La_sparc64_regs are not constant.
62160 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62162         * sysdeps/unix/sysv/linux/kernel-features.h
62163         (__ASSUME_POSIX_TIMERS): Remove.
62164         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62165         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62166         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62167         Make code unconditional.
62168         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62169         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62170         Make code unconditional.
62171         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62172         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62173         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62174         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62175         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62176         Make code unconditional.
62177         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62178         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62179         (__libc_missing_posix_timers): Remove.
62181 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62183         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62184         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62186         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62188         * elf/dl-sym.c: Include <stdlib.h>.
62190         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62191         constants, which avoids warnings in 32-bit builds.
62193         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62194         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62196         * misc/lseek.c: File moved to ...
62197         * io/lseek.c: ... here.
62199         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62201         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62202         shifting LEN more than 31 bits at once.
62204 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62206         [BZ #14195]
62207         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62208         segmentation fault for a case of two empty input strings.
62209         * string/test-strncasecmp.c (check1): Renamed to...
62210         (bz12205): ...this.
62211         (bz14195): Add new testcase for two empty input strings and N > 0.
62212         (test_main): Call new testcase, adapt for renamed function.
62214 2012-08-15  Andreas Jaeger  <aj@suse.de>
62216         [BZ #14090]
62217         * crypt/md5test2.c: New test, based on test supplied by Serge
62218         Belyshev <belyshev@depni.sinp.msu.ru>.
62219         * crypt/Makefile (xtests): Add md5test-giant..
62220         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62222 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62224         [BZ #14090]
62225         * crypt/md5.c (md5_process_block): Don't assume the buffer
62226         length is less than 2**32.
62227         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62228         length is less than 2**64.
62230 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62232         * string/str-two-way.h: Include <sys/param.h>.
62233         (MAX): Macro removed.
62235         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62236         Move #define and #undef of memmove to just before and after
62237         including <string.h>.
62239         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62240         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62241         and after including <string.h>.  Move declarations of
62242         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62243         to before #include "string/memmove.c".
62245         * include/dirent.h: Declare __getdirentries.
62247         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62248         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62250 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62252         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62253         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62254         * sysdeps/i386/configure: Regenerated.
62255         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62256         STABS_CURRENT_FILE, and STABS_FUN.
62257         (END): Remove call to STABS_FUN_END.
62258         (STABS_CURRENT_FILE1): Delete.
62259         (STABS_CURRENT_FILE): Likewise.
62260         (STABS_FUN): Likewise.
62261         (STABS_FUN_END): Likewise.
62262         (STABS_FUN2): Likewise.
62263         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62264         * sysdeps/x86_64/configure: Regenerated.
62266 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62268         * elf/dl-open.c: Include <atomic.h>.
62269         * elf/dl-lookup.c: Likewise.
62271 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62273         * sysdeps/unix/sysv/linux/kernel-features.h
62274         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62275         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62276         unconditionally.
62277         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62278         unconditionally.
62279         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62280         condition on __ASSUME_CLONE_THREAD_FLAGS.
62282 2012-08-14  Andreas Jaeger  <aj@suse.de>
62284         * sysdeps/i386/fpu/libm-test-ulps: Update.
62286 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62288         * include/atomic.h (atomic_exchange_and_add): Split into ...
62289         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62290         New atomic macros.
62292 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62294         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62296 2012-08-13  Jeff Law <law@redhat.com>
62298         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62299         null byte in the output string.
62301 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62303         * sysdeps/unix/sysv/linux/kernel-features.h
62304         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62305         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62306         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62307         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62308         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62309         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62310         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62312 2012-08-09  Jeff Law <law@redhat.com>
62314         [BZ #13939]
62315         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62316         When avoid_arena is set, don't retry in the that arena.  Pick the
62317         next one, whatever it might be.
62318         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62319         (arena_lock): Pass in new parameter to arena_get2.
62320         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62321         arena_get2.
62322         (__libc_malloc): Unify retrying after main arena failure with
62323         __libc_memalign version.
62324         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62326 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62328         [BZ #14166]
62329         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62330         to __redirect_strstr.
62331         (__strstr_sse42): Use typeof __redirect_strstr.
62332         (__strstr_ia32): Likewise.
62333         (__libc_strstr): New prototype.
62334         (strstr): Renamed to ...
62335         (__libc_strstr): This.
62336         (strstr): New strong alias of __libc_strstr.
62337         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62338         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62339         __redirect_time.
62340         Include <time.h>.
62341         (__libc_time): New prototype.
62342         (time_ifunc): Replace time with __libc_time.
62343         (time): New strong alias and hidden definition of __libc_time.
62344         (__GI_time): Remove strong alias.
62345         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62346         Include <stddef.h>.
62347         (memmove): Redefined to __redirect_memmove.
62348         (__memmove_sse2): Use typeof __redirect_memmove.
62349         (__memmove_ssse3): Likewise.
62350         (__memmove_ssse3_back): Likewise.
62351         (__libc_memmove): New prototype.
62352         (memmove): Renamed to ...
62353         (__libc_memmove): This.
62354         (memmove): New strong alias of __libc_memmove.
62356 2012-08-08  Mark Salter  <msalter@redhat.com>
62358         * elf/elf.h
62359         (R_MN10300_TLS_GD): Define.
62360         (R_MN10300_TLS_LD): Likewise.
62361         (R_MN10300_TLS_LDO): Likewise.
62362         (R_MN10300_TLS_GOTIE): Likewise.
62363         (R_MN10300_TLS_IE): Likewise.
62364         (R_MN10300_TLS_LE): Likewise.
62365         (R_MN10300_TLS_DTPMOD): Likewise.
62366         (R_MN10300_TLS_DTPOFF): Likewise.
62367         (R_MN10300_TLS_TPOFF): Likewise.
62368         (R_MN10300_SYM_DIFF): Likewise.
62369         (R_MN10300_ALIGN): Likewise.
62370         (R_MN10300_NUM): Update.
62372 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62374         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62375         Remove.
62377 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62379         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62381         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62382         sysdeps/unix -> sysdeps/posix move.
62383         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62385 2012-08-07      Allan McRae     <allan@archlinux.org>
62387         [BZ #14303]
62388         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62389         (SUNOS_CPP): Likewise.
62390         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62391         not found.
62392         (open_input): Call CPP using execvp.
62394 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62396         * sysdeps/unix/sysv/linux/kernel-features.h
62397         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62398         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62399         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62400         (__ASSUME_WAITID_SYSCALL): Likewise.
62401         * sysdeps/unix/sysv/linux/dl-execstack.c
62402         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62403         code unconditional.
62404         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62405         conditional code.
62406         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62407         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62408         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62409         code.
62410         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62411         unconditional.
62412         [__ASSUME_WAITID_SYSCALL]: Likewise.
62413         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62415 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62417         * sysdeps/unix/closedir.c: Renamed to ...
62418         * sysdeps/posix/closedir.c: ... here.
62419         * sysdeps/unix/dirfd.c: Renamed to ...
62420         * sysdeps/posix/dirfd.c: ... here.
62421         * sysdeps/unix/dirstream.h: Renamed to ...
62422         * sysdeps/posix/dirstream.h: ... here.
62423         * sysdeps/unix/fdopendir.c: Renamed to ...
62424         * sysdeps/posix/fdopendir.c: ... here.
62425         * sysdeps/unix/opendir.c: Renamed to ...
62426         * sysdeps/posix/opendir.c: ... here.
62427         * sysdeps/unix/readdir.c: Renamed to ...
62428         * sysdeps/posix/readdir.c: ... here.
62429         * sysdeps/unix/readdir_r.c: Renamed to ...
62430         * sysdeps/posix/readdir_r.c: ... here.
62431         * sysdeps/unix/rewinddir.c: Renamed to ...
62432         * sysdeps/posix/rewinddir.c: ... here.
62433         * sysdeps/unix/seekdir.c: Renamed to ...
62434         * sysdeps/posix/seekdir.c: ... here.
62435         * sysdeps/unix/telldir.c: Renamed to ...
62436         * sysdeps/posix/telldir.c: ... here.
62437         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62438         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62439         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62440         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62442         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62443         * bits/fcntl.h: ... here.
62445         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62446         not 0.
62447         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62448         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62449         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62450         (struct flock): Move l_start, l_len to the beginning.
62451         Use __pid_t for l_pid.
62452         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62453         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62454         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62455         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62456         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62457         [__USE_LARGEFILE64] (struct flock64): New type.
62458         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62460         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62461         * bits/dirent.h: ... here.
62463         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62464         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62466 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62468         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62469         Change from 2.6.0 to 2.6.16.
62470         * sysdeps/unix/sysv/linux/configure: Regenerated.
62471         * sysdeps/unix/sysv/linux/kernel-features.h
62472         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62473         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62474         version.
62475         (__ASSUME_UTIMES): Likewise.
62476         (__ASSUME_CLONE_STOPPED): Remove.
62477         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62478         architectures, not kernel version.
62479         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62480         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62481         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62482         (__ASSUME_WAITID_SYSCALL): Likewise.
62483         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62484         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62485         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62486         refer to older versions.
62488 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62490         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62491         Define alphasort64 as an alias.
62492         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62493         Define versionsort64 as an alias.
62494         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62495         Define scandir64 as an alias.
62496         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62497         Define scandirat64 as an alias.
62498         * dirent/alphasort64.c (alphasort64):
62499         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62500         * dirent/versionsort64.c: Likewise.
62501         * dirent/scandir64.c: Likewise.
62502         * dirent/scandirat64.c: Likewise.
62503         * sysdeps/wordsize-64/alphasort.c: File removed.
62504         * sysdeps/wordsize-64/alphasort64.c: File removed.
62505         * sysdeps/wordsize-64/scandir.c: File removed.
62506         * sysdeps/wordsize-64/scandir64.c: File removed.
62507         * sysdeps/wordsize-64/scandirat.c: File removed.
62508         * sysdeps/wordsize-64/scandirat64.c: File removed.
62509         * sysdeps/wordsize-64/versionsort.c: File removed.
62510         * sysdeps/wordsize-64/versionsort64.c: File removed.
62511         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62512         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62513         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62514         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62515         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62516         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62517         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62518         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62520         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62521         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62522         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62523         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62524         [defined __arch64__ || defined __sparcv9]
62525         (__INO_T_MATCHES_INO64_T): New macro.
62526         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62527         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62528         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62529         * sysdeps/unix/sysv/linux/bits/dirent.h
62530         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62531         (_DIRENT_MATCHES_DIRENT64): New macro.
62533         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62534         Define lockf64 as an alias.
62535         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62536         Define fseeko64 as an alias.
62537         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62538         Define ftello64 as an alias.
62539         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62540         Define _IO_fgetpos64 and fgetpos64 as aliases.
62541         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62542         Define _IO_fsetpos64 and fsetpos64 as aliases.
62543         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62544         Conditionalize body on this.
62545         * libio/fseeko64.c: Likewise.
62546         * libio/ftello64.c: Likewise.
62547         * libio/iofgetpos64.c: Likewise.
62548         * libio/iofsetpos64.c: Likewise.
62549         * sysdeps/wordsize-64/lockf.c: File removed.
62550         * sysdeps/wordsize-64/lockf64.c: File removed.
62551         * sysdeps/wordsize-64/fseeko.c: File removed.
62552         * sysdeps/wordsize-64/fseeko64.c: File removed.
62553         * sysdeps/wordsize-64/ftello.c: File removed.
62554         * sysdeps/wordsize-64/ftello64.c: File removed.
62555         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62556         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62557         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62558         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62559         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62560         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62561         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62562         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62563         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62564         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62565         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62566         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62567         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62568         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62570         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62571         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62572         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62573         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62574         [defined __arch64__ || defined __sparcv9]
62575         (__OFF_T_MATCHES_OFF64_T): New macro.
62576         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62577         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62578         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62579         (__OFF_T_MATCHES_OFF64_T): New macro.
62581 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62583         * stdlib/secure-getenv.c (__secure_getenv): Replace
62584         GLIBC_2_16 with GLIBC_2_17.
62586 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62588         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62589         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62591 2012-08-03  David S. Miller  <davem@davemloft.net>
62593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62595 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62597         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62598         Remove.
62599         (__ASSUME_CORRECT_SI_PID): Likewise.
62600         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62601         (__ASSUME_TMPFS_NAME): Likewise.
62602         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62603         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62604         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62605         (HAVE_AUX_SECURE): Make definition unconditional.
62606         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62607         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62609 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62611         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62612         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62613         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62614         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62615         __eloop_threshold instead of SYMLOOP_MAX.
62617         * sysdeps/generic/eloop-threshold.h: New file.
62618         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62619         of MAXSYMLINKS.
62620         * elf/chroot_canon.c (chroot_canon): Likewise.
62622 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62624         [BZ #13717]
62625         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62626         Change to 2.6.0 everywhere.
62627         * sysdeps/unix/sysv/linux/configure: Regenerated.
62628         * sysdeps/unix/sysv/linux/kernel-features.h
62629         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62630         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62631         kernel versions.
62632         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62633         (__ASSUME_FUTEX_REQUEUE): Remove.
62634         (__ASSUME_STATFS64): Define unconditionally.
62635         (__ASSUME_AT_SECURE): Likewise.
62636         (__ASSUME_CORRECT_SI_PID): Likewise.
62637         (__ASSUME_TGKILL): Define without depending on kernel version for
62638         i386.
62639         (__ASSUME_UTIMES): Likewise.
62640         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62641         kernel version.
62642         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62643         (__ASSUME_TMPFS_NAME): Likewise.
62644         * README: Update reference to Linux kernel versions.
62646 2012-08-02  Marek Polacek  <polacek@redhat.com>
62648         [BZ# 14150]
62649         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62650         libc_cv_asm_type_prefix with %.
62651         * configure: Regenerated.
62652         * include/libc-symbols.h: Remove comment about
62653         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62654         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62655         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62656         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62657         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62658         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62659         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62660         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62661         * elf/tst-unique2mod1.c: Likewise.
62662         * elf/tst-unique1mod2.c: Likewise.
62663         * elf/tst-unique1mod1.c: Likewise.
62664         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62665         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62666         Replace ASM_TYPE_DIRECTIVE with .type.
62667         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62668         * sysdeps/i386/sysdep.h: Likewise.
62669         * sysdeps/x86_64/sysdep.h: Likewise.
62670         * sysdeps/sh/sysdep.h: Likewise.
62671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62672         Do not define ASM_TYPE_DIRECTIVE.
62673         * sysdeps/powerpc/sysdep.h: Likewise.
62674         * sysdeps/powerpc/powerpc32/sysdep.h:
62675         Replace ASM_TYPE_DIRECTIVE with .type.
62676         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62677         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62678         * sysdeps/i386/fpu/e_powf.S: Likewise.
62679         * sysdeps/i386/fpu/e_expl.S: Likewise.
62680         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62681         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62682         * sysdeps/i386/fpu/e_pow.S: Likewise.
62683         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62684         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62685         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62686         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62687         * sysdeps/i386/fpu/e_log2.S: Likewise.
62688         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62689         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62690         * sysdeps/i386/fpu/e_powl.S: Likewise.
62691         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62692         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62693         * sysdeps/i386/fpu/e_logl.S: Likewise.
62694         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62695         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62696         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62697         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62698         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62699         * sysdeps/i386/fpu/e_log.S: Likewise.
62700         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62701         * sysdeps/i386/fpu/e_logf.S: Likewise.
62702         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62703         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62704         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62705         * sysdeps/i386/fpu/e_log10.S: Likewise.
62706         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62707         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62708         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62709         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62710         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62711         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62712         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62713         * sysdeps/i386/i686/strtok.S: Likewise.
62714         * sysdeps/i386/i386-mcount.S: Likewise.
62715         * sysdeps/i386/strtok.S: Likewise.
62716         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62717         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62718         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62719         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62720         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62721         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62722         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62723         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62724         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62725         * sysdeps/x86_64/_mcount.S: Likewise.
62726         * sysdeps/x86_64/strtok.S: Likewise.
62727         * sysdeps/sh/_mcount.S: Likewise.
62729 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62731         * libio/iofopen.c: Include <fcntl.h>.
62732         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62733         (_IO_fopen64, fopen64): Define as aliases.
62734         * libio/iofopen64.c: Include <fcntl.h>.
62735         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62736         Conditionalize body on this.
62737         * sysdeps/wordsize-64/iofopen.c: File removed.
62738         * sysdeps/wordsize-64/iofopen64.c: File removed.
62740 2012-08-01  Marek Polacek  <polacek@redhat.com>
62742         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62743         Use dlfcn directly instead of a variable.
62744         (binfmt-subdir): Do not define.
62745         (dlfcn): Likewise.
62747 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62749         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62750         Remove all definitions.
62751         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62752         <kernel-features.h>.
62753         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62754         (miss_F_GETOWN_EX): Remove all definitions.
62755         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62756         macro definition.
62757         [!__ASSUME_FCNTL64]: Remove conditional code.
62758         [__ASSUME_FCNTL64]: Make code unconditional.
62759         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62760         <kernel-features.h>.
62761         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62762         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62763         (lockf64) [__NR_fcntl64]: Make code unconditional.
62764         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62766         * sysdeps/unix/sysv/linux/kernel-features.h
62767         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62768         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62769         Make code unconditional.
62770         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62771         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62773         [__NR_vfork]: Make code unconditional.
62774         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62775         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62777         [__NR_vfork]: Make code unconditional.
62778         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62779         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62781 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62783         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62784         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62786         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62787         Define mkstemp64 as an alias.
62788         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62789         Define mkstemps64 as an alias.
62790         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62791         Define mkostemp64 as an alias.
62792         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62793         Define mkostemps64 as an alias.
62794         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62795         Conditionalize body on this.
62796         * misc/mkostemp64.c: Likewise.
62797         * misc/mkostemps64.c: Likewise.
62798         * misc/mkstemps64.c: Likewise.
62799         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62800         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62801         * sysdeps/wordsize-64/mkostemp.c: File removed.
62802         * sysdeps/wordsize-64/mkstemp.c: File removed.
62803         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62804         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62805         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62806         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62808         [BZ #14138]
62809         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62810         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62811         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62812         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62814         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62815         compat_symbol macros from <shlib-compat.h> rather than the underlying
62816         default_symbol_version and symbol_version macros, so that DEFAULT
62817         lines in shlib-versions are respected.
62818         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62820 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62822         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62823         Declare with warn_unused_result.
62824         (setgid, setregid, setegid, setresgid): Likewise.
62825         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62826         Likewise.
62827         * WUR-REPORT: Remove set*id functions.
62829 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62831         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62833 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62835         [BZ #10191]
62836         * include/sys/socket.h (__libc_accept, __libc_accept4):
62837         Add attribute_hidden.
62838         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62840         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62841         use of PTR_MANGLE.
62842         * inet/getnetgrent_r.c (setup): Likewise.
62844         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62846 2012-07-31  David S. Miller  <davem@davemloft.net>
62848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62850 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62852         [BZ #13629]
62853         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62854         value between 1.0 and 2.0 and smaller part has absolute value less
62855         than 1.0.
62856         * math/s_clog10.c (__clog10): Likewise.
62857         * math/s_clog10f.c (__clog10f): Likewise.
62858         * math/s_clog10l.c (__clog10l): Likewise.
62859         * math/s_clogf.c (__clogf): Likewise.
62860         * math/s_clogl.c (__clogl): Likewise.
62861         * math/libm-test.inc (clog_test): Add more tests.
62862         (clog10_test): Likewise.
62863         * sysdeps/i386/fpu/libm-test-ulps: Update.
62864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62866 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62868         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62869         Exit with zero in case no suitable GID is found, and write a
62870         message to standard error.
62872 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62874         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62875         rather than to 1.
62876         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62877         (MAXPATHLEN): Removed.
62878         (NOGROUP, NODEV): New macros.
62879         (setbit, clrbit, isset, isclr): New macros.
62880         (howmany, roundup, powerof2): New macros.
62881         (DEV_BSIZE): New macro.
62883         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62884         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62886         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62887         definition on [!__NO_LONG_DOUBLE_MATH].
62889         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62890         PTR_MANGLE and PTR_DEMANGLE.
62892         * socket/accept4.c (accept4): Rename to __libc_accept4.
62893         Define accept4 as a weak alias.
62895         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62896         on [_DIRENT_HAVE_D_TYPE].
62897         * io/ftw.c (ftw_dir): Likewise.
62899         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62901         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62903         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62904         Use the BSD numbers rather than the arbitrary ones we had.
62905         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62906         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62907         (SIGXCPU, SIGXFSZ): New macros.
62908         (_NSIG): Now 32.
62910         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62911         initializer on [_LIBC_REENTRANT].
62913         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62914         definitions inside [_POSIX_MAPPED_FILES].
62916         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62918         * dirent/opendir.c: Include <fcntl.h>.
62920         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62921         (__libc_getspecific): Likewise.
62922         (__libc_key_create): Likewise.
62924         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62925         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62926         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62927         (tmpfile64): Define as alias.
62928         * sysdeps/wordsize-64/tmpfile.c: File removed.
62929         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62930         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62931         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62933         * stdio-common/vfscanf.c: Include <stdbool.h>.
62934         * nss/makedb.c: Likewise.
62935         * stdio-common/_i18n_number.h: Likewise.
62936         * argp/argp-help.c: Likewise.
62937         * posix/wordexp.c: Likewise.
62938         * sysdeps/posix/spawni.c: Likewise.
62939         * nss/nss_files/files-initgroups.c: Likewise.
62940         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62941         * nss/nss_files/files-initgroups.c: Likewise.
62942         * nss/nss_db/db-netgrp.c: Likewise.
62943         * nss/nss_db/db-initgroups.c: Likewise.
62944         * io/fchmodat.c: Include <sys/stat.h>.
62946         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62947         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62949         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62950         [HAVE_MMAP].
62952         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62953         Add multiple inclusion protection.
62955 2012-07-27  David S. Miller  <davem@davemloft.net>
62957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62959 2012-07-27  Gary Benson  <gbenson@redhat.com>
62961         [BZ #14298]
62962         * elf/rtld.c: Include <stap-probe.h>.
62963         (dl_main): Added static probes "init_start" and "init_complete".
62964         * elf/dl-load.c: Include <stap-probe.h>.
62965         (lose): Take new parameter "nsid".
62966         Added static probe "map_failed".
62967         (_dl_map_object_from_fd): Pass namespace id to lose.
62968         Added static probe "map_start".
62969         (open_verify): Pass namespace id to lose.
62970         * elf/dl-open.c: Include <stap-probe.h>.
62971         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62972         and "reloc_complete".
62973         * elf/dl-close.c: Include <stap-probe.h>.
62974         (_dl_close_worker): Added static probes "unmap_start" and
62975         "unmap_complete".
62976         * elf/rtld-debugger-interface.txt: New file documenting the above.
62978 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62980         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62981         rather than a string variable.
62982         * sunrpc/rpc_main.c (h_output): Likewise.
62983         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62985 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62987         * inet/check_native.c: New file.
62989 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62991         [BZ #13629]
62992         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62993         if larger part has absolute value 1.0.
62994         * math/s_clog10.c (__clog10): Likewise.
62995         * math/s_clog10f.c (__clog10f): Likewise.
62996         * math/s_clog10l.c (__clog10l): Likewise.
62997         * math/s_clogf.c (__clogf): Likewise.
62998         * math/s_clogl.c (__clogl): Likewise.
62999         * math/libm-test.inc (clog_test): Add more tests.
63000         (clog10_test): Likewise.
63001         * sysdeps/i386/fpu/libm-test-ulps: Update.
63002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63004         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63005         (pltexit): Likewise.
63006         (La_regs): Likewise.
63007         (La_retval): Likewise.
63008         (int_retval): Likewise.
63009         Update #error for removed macros to refer only to definitions in
63010         tst-audit.h.
63011         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.c (pltenter): Remove all definitions of
63030         macro.
63031         (pltexit): Likewise.
63032         (La_regs): Likewise.
63033         (La_retval): Likewise.
63034         (int_retval): Likewise.
63035         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63036         macro.
63037         (pltexit): Likewise.
63038         (La_regs): Likewise.
63039         (La_retval): Likewise.
63040         (int_retval): Likewise.
63041         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63042         macro.
63043         (pltexit): Likewise.
63044         (La_regs): Likewise.
63045         (La_retval): Likewise.
63046         (int_retval): Likewise.
63047         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63048         macro definitions in tst-audit.h.
63049         * sysdeps/i386/tst-audit.h: New file.
63050         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63051         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63052         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63053         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63054         * sysdeps/sh/tst-audit.h: Likewise.
63055         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63056         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63057         * sysdeps/x86_64/tst-audit.h: Likewise.
63059 2012-07-26  Andreas Jaeger  <aj@suse.de>
63061         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63062         ptrace.
63064         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63065         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63066         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63067         PTRACE_O_MASK.
63068         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63069         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63070         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63072         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63073         value.
63075         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63076         _sigsys.
63077         (si_call_addr, si_syscall, si_arch): Define new macro.
63078         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63079         _sigsys.
63080         (si_call_addr, si_syscall, si_arch): Define new marcro.
63081         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63082         _sigsys.
63083         (si_call_addr, si_syscall, si_arch): Define new macro.
63084         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63085         _sigsys.
63086         (si_call_addr, si_syscall, si_arch): Define new macro.
63088 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63090         [BZ #13717]
63091         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63092         Change to 2.4.21 where previously 2.4.1.
63093         * sysdeps/unix/sysv/linux/configure: Regenerated.
63094         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63095         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63096         Linux kernel version.
63097         (__ASSUME_STD_AUXV): Remove.
63098         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63099         kernel version.
63100         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63101         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63102         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63103         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63104         (__ASSUME_NETLINK_SUPPORT): Likewise.
63105         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63106         (__no_netlink_support): Remove conditional definition.
63107         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63108         Remove.
63109         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63110         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63111         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63112         (if_nameindex_ioctl): Remove.
63113         (if_nameindex_netlink): Do not handle __no_netlink_support.
63114         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63115         code.
63116         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63117         Remove conditional code.
63118         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63119         code.
63120         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63121         unconditional.
63122         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63123         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63124         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63125         Remove.
63126         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63127         [!__ASSUME_STD_AUXV]: Remove conditional code.
63128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63129         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63130         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63132         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63133         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63134         code.
63135         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63137         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63138         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63139         conditional code.
63140         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63142         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63143         code.
63144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63145         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63146         conditional code.
63147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63148         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63149         code unconditional.
63150         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63151         conditional code.
63152         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63153         unconditional.
63154         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63155         conditional code.
63156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63157         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63158         unconditional.
63159         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63160         conditional code.
63161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63162         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63163         code unconditional.
63164         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63165         conditional code.
63166         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63167         unconditional.
63168         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63169         conditional code.
63170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63171         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63172         code unconditional.
63173         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63174         conditional code.
63175         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63176         unconditional.
63177         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63178         conditional code.
63180 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63182         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63183         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63184         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63185         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63186         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63187         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63188         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63189         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63190         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63191         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63192         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63193         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63194         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63195         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63196         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63197         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63198         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63199         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63200         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63202         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63203         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63204         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63206 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63208         * Versions.def: Add GLIBC_2.17.
63209         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63210         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63211         Introduce __libc_secure_getenv.
63212         * stdlib/Versions (2.17): Add secure_getenv
63213         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63214         * stdlib/secure-getenv.c: Rename __secure_getenv to
63215         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63216         symbol __secure_getenv for GLIBC_2.0.
63217         * stdlib/tst-secure-getenv.c: New.
63218         * stdlib/Makefile (tests): Add testcase.
63219         * manual/startup.texi (Environment Access): Document
63220         secure_getenv.
63221         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63222         __libc_secure_getenv.
63223         * inet/ruserpass.c (ruserpass): Likewise.
63224         * malloc/mtrace.c (mtrace): Likewise.
63225         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63226         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63227         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63228         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63229         HAVE_SECURE_GETENV.
63230         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63231         __secure_getenv to __libc_secure_getenv.
63232         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63234         Likewise.
63235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63236         Likewise.
63237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63239         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63245 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63247         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63248         (struct La_i86_retval): Likewise.
63249         (struct La_x86_64_regs): Likewise.
63250         (struct La_x86_64_retval): Likewise.
63251         (struct La_x32_regs): Likewise.
63252         (struct La_x32_retval): Likewise.
63253         (struct La_ppc32_regs): Likewise.
63254         (struct La_ppc32_retval): Likewise.
63255         (struct La_ppc64_regs): Likewise.
63256         (struct La_ppc64_retval): Likewise.
63257         (struct La_sh_regs): Likewise.
63258         (struct La_sh_retval): Likewise.
63259         (struct La_s390_32_regs): Likewise.
63260         (struct La_s390_32_retval): Likewise.
63261         (struct La_s390_64_regs): Likewise.
63262         (struct La_s390_64_retval): Likewise.
63263         (struct La_sparc32_regs): Likewise.
63264         (struct La_sparc32_retval): Likewise.
63265         (struct La_sparc64_regs): Likewise.
63266         (struct La_sparc64_retval): Likewise.
63267         (struct audit_ifaces): Remove architecture-specific pltenter and
63268         pltexit members.
63269         * sysdeps/i386/ldsodefs.h: New file.
63270         * sysdeps/powerpc/ldsodefs.h: Likewise.
63271         * sysdeps/s390/ldsodefs.h: Likewise.
63272         * sysdeps/sh/ldsodefs.h: Likewise.
63273         * sysdeps/sparc/ldsodefs.h: Likewise.
63274         * sysdeps/x86_64/ldsodefs.h: Likewise.
63276 2012-07-25  Marek Polacek  <polacek@redhat.com>
63278         [BZ #6808]
63279         * math/libm-test.inc (yn_test): Add another test.
63280         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63281         to ERANGE when the result is +-Inf.
63282         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63283         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63284         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63285         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63287 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63289         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63290         equal to 0.
63291         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63292         clock_t.
63293         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63295 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63297         * configure.in <sysdeps resolving>: Correct printing
63298         Implies_before.
63299         * configure: Regenerate.
63301 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63303         * math/w_ilogb.c: Include <limits.h>.
63304         * math/w_ilogbl.c: Likewise.
63306 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63308         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63309         va_copy.  Document allowing for unavailable va_copy only as
63310         pre-C99 compatibility.
63311         * manual/string.texi (Copying and Concatenation): Use va_copy
63312         instead of __va_copy in concat example.
63314 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63316         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63317         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63318         it if not null.
63320         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63321         with O_NOLINK passed to __file_name_lookup.
63323         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63324         with O_NOLINK passed to __file_name_lookup.
63326         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63327         negative N or less than NGIDS.
63329         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63330         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63331         enough.  Use memcpy instead of strncpy.
63333 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63335         * elf/Makefile (check-data): Remove.
63336         (localplt.data): New vpath directive.
63337         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63338         instead of $(check-data).
63339         * scripts/data/localplt-generic.data: Move to ...
63340         * sysdeps/generic/localplt.data: ... here.
63341         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63342         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63343         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63345         ... here.
63346         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63348         ... here.
63349         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63351         ... here.
63352         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63354         ... here.
63355         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63357         ... here.
63358         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63360         ... here.
63362 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63364         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63365         PPC32 and PPC64 files.
63366         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63367         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63369 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63371         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63372         __makecontext_ret to ...
63373         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63374         ... here and call exit if uc_link is NULL.  New file.
63375         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63376         __makecontext_ret.S.
63377         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63378         __makecontext_ret to ...
63379         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63380         ... here and call exit if uc_link is NULL.  New file.
63381         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63382         __makecontext_ret.S.
63384 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63386         * elf/elf.h (R_390_IRELATIVE): New definition.
63387         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63388         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63389         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63390         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63391         (elf_machine_lazy_rel): Likewise.
63392         * sysdeps/s390/dl-irel.h: New file.
63393         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63394         * sysdeps/s390/s390-64/memset.S: New asm code.
63395         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63396         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63397         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63398         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63399         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63400         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63401         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63402         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63403         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63404         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63405         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63406         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63407         * sysdeps/s390/s390-32/memset.S: New asm code.
63408         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63410 2012-07-17  Marek Polacek  <polacek@redhat.com>
63412         [BZ #14349]
63413         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63414         * sysdeps/s390/s390-64/configure.in: Likewise.
63415         * sysdeps/sparc/configure.in: Likewise.
63416         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63417         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63418         * sysdeps/i386/configure.in: Likewise.
63419         * sysdeps/x86_64/configure.in: Likewise.
63420         * sysdeps/sh/configure.in: Likewise.
63421         * sysdeps/s390/s390-32/configure: Regenerated.
63422         * sysdeps/s390/s390-64/configure: Likewise.
63423         * sysdeps/x86_64/configure: Likewise.
63424         * sysdeps/sh/configure: Likewise.
63425         * sysdeps/powerpc/powerpc64/configure: Likewise.
63426         * sysdeps/powerpc/powerpc32/configure: Likewise.
63427         * sysdeps/sparc/configure: Likwise.
63428         * sysdeps/i386/configure: Likewise.
63430         * elf/dl-open.c: Comment fixes.
63432 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63434         * Makefile [CXX] (check-data): Remove.
63435         [CXX] (c++-types.data): New vpath directive.
63436         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63437         vpath.  Do not allow for C++ type data being missing.
63438         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63439         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63440         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63441         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63442         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63443         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63444         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63446         ... here.
63447         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63449         ... here.
63450         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63452         ... here.
63453         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63455         ... here.
63456         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63458         ... here.
63459         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63461         ... here.
63462         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63464         ... here.
63465         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63468         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63469         definitions to architecture-specific files.
63470         (TLS_IE): Likewise.
63471         (TLS_LD): Likewise.
63472         (TLS_GD): Likewise.
63473         * sysdeps/i386/tls-macros.h: New file.
63474         * sysdeps/powerpc/tls-macros.h: Likewise.
63475         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63476         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63477         * sysdeps/sh/tls-macros.h: Likewise.
63478         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63479         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63480         * sysdeps/x86_64/tls-macros.h: Likewise.
63482 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63484         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63485         zero value for regular exit case.
63487         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63488         (__start_context): Preserve zero value for regular exit case.
63490 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63491             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63493         * manual/setjmp.texi (setcontext): Clarify normal process
63494         termination when uc_link is the null pointer.
63495         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63496         exit call.
63498 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63500         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63501         preprocessor.  Test for each exception mask separately.
63503 2012-07-16  Andreas Jaeger  <aj@suse.de>
63505         * po/ru.po: Update from translation team.
63507 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63509         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63510         equal to 0.
63511         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63512         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63513         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63514         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63515         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63517 2012-07-13  Andreas Jaeger  <aj@suse.de>
63519         * po/fr.po: Update from translation team.
63521 2012-07-12  Marek Polacek  <polacek@redhat.com>
63523         [BZ #14173]
63524         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63525         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63526         loop condition.
63528 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63530         [BZ #13717]
63531         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63532         Change to 2.4.1 where previously 2.4.0.
63533         * sysdeps/unix/sysv/linux/configure: Regenerated.
63534         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63535         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63536         version.
63537         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63538         (__ASSUME_AT_CLKTCK): Remove.
63539         (__ASSUME_AT_PAGESIZE): Likewise.
63540         (__ASSUME_AT_XID): Likewise.
63541         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63542         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63543         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63544         unconditionally.
63545         (HAVE_AUX_PAGESIZE): Likewise.
63546         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63547         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63548         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63550 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63552         [BZ #14307]
63553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63554         the temporary buffer used to invoke __gethostbyname2_r,
63555         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63556         host_data / struct gaih_addrtuple.
63557         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63558         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63559         header file nss/nsswitch.h.
63560         * nss/nsswitch.h (global scope): Add definition of implementation
63561         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63562         resolv/nss_dns/dns-host.c).
63564 2012-07-11  Andreas Jaeger  <aj@suse.de>
63566         * po/fr.po: Update from translation team.
63568         * po/sv.po: Update from translation team
63569         * po/fr.po: Another update from translation team.
63571 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63573         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63574         for subnormals or multiply small sinh result by itself.
63575         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63578 2012-07-11  David S. Miller  <davem@davemloft.net>
63580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63582 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63584         [BZ #14347]
63585         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63586         (INTERNAL_MARK): Shift it here.
63588 2012-07-10  Marek Polacek  <polacek@redhat.com>
63590         [BZ #14151]
63591         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63592         libc_cv_asm_global_directive with .globl.
63593         * configure: Regenerated.
63594         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63595         with .globl.
63596         * sysdeps/i386/configure: Regenerated.
63597         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63598         with .globl.
63599         * sysdeps/x86_64/configure: Regenerated.
63600         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63601         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63602         * elf/tst-unique2mod2.c: Likewise.
63603         * elf/tst-unique2mod1.c: Likewise.
63604         * elf/tst-unique1mod2.c: Likewise.
63605         * elf/tst-unique1mod1.c: Likewise.
63606         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63607         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63608         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63609         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63610         * sysdeps/mach/sysdep.h: Likewise.
63611         * sysdeps/i386/sysdep.h: Likewise.
63612         * sysdeps/i386/i386-mcount.S: Likewise.
63613         * sysdeps/x86_64/_mcount.S: Likewise.
63614         * sysdeps/x86_64/sysdep.h: Likewise.
63615         * sysdeps/sh/_mcount.S: Likewise.
63616         * sysdeps/sh/sysdep.h: Likewise.
63617         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63618         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63619         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63620         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63621         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63622         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63623         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63624         * locale/localeinfo.h: Likewise.
63625         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63626         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63628 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63630         [BZ #14336]
63631         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63632         system".
63633         * manual/message.texi (The Uniforum approach): Likewise.
63634         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63635         (glibc iconv Implementation): Likewise.
63637 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63639         [BZ #14337]
63640         * math/s_clog.c (__clog): Avoid scaling a value down where that
63641         could result in underflow.
63642         * math/s_clog10.c (__clog10): Likewise.
63643         * math/s_clog10f.c (__clog10f): Likewise.
63644         * math/s_clog10l.c (__clog10l): Likewise.
63645         * math/s_clogf.c (__clogf): Likewise.
63646         * math/s_clogl.c (__clogl): Likewise.
63647         * math/libm-test.inc (clog_test): Add more tests.
63648         (clog10_test): Likewise.
63649         * sysdeps/i386/fpu/libm-test-ulps: Update.
63650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63652 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63654         [BZ #14283]
63655         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63656         by 7 not 8 to examine high bit of fractional part.
63658         [BZ #14042]
63659         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63660         for call to __mcount_internal.
63661         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63662         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63663         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63665 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63667         [BZ #14154]
63668         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63669         approximation for values within 0x1p-13f of an odd multiple of
63670         pi/4.
63671         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63672         exception.  Add more tests.
63673         * sysdeps/i386/fpu/libm-test-ulps: Update.
63675         [BZ #6778]
63676         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63677         inputs and return -1 for them.  Do not check for +Inf in case not
63678         reachable for +Inf.
63679         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63680         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63681         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63682         and return -1 for them.  Do not check for +Inf in case not
63683         reachable for +Inf.
63684         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63685         define.
63686         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63687         and return -1 for them.  Do not check for +Inf in case not
63688         reachable for +Inf.
63689         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63690         spurious underflow.
63691         * sysdeps/i386/fpu/libm-test-ulps: Update.
63692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63694 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63696         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63698 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63700         [BZ #14157]
63701         [BZ #14331]
63702         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63703         could result in spurious underflow.  Scale down values above
63704         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63705         * math/s_csqrtf.c (__csqrtf): Likewise.
63706         * math/s_csqrtl.c (__csqrtl): Likewise.
63707         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63708         spurious underflow.
63709         * sysdeps/i386/fpu/libm-test-ulps: Update.
63710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63712 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63714         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63715         xopen-msg.sed.
63716         * catgets/xopen-msg.awk: New file.
63717         * catgets/xopen-msg.sed: Removed.
63719         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63720         po2text.sed.
63721         * intl/po2test.awk: New file.
63722         * intl/po2test.sed: Removed.
63724 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63726         [BZ #14328]
63727         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63728         or multiply small sinh result by itself.
63729         * math/s_ctanf.c (__ctanf): Likewise.
63730         * math/s_ctanh.c (__ctanh): Likewise.
63731         * math/s_ctanhf.c (__ctanhf): Likewise.
63732         * math/s_ctanhl.c (__ctanhl): Likewise.
63733         * math/s_ctanl.c (__ctanl): Likewise.
63734         * math/libm-test.inc (ctan_test_tonearest): New function.
63735         (ctan_test_towardzero): Likewise.
63736         (ctan_test_downward): Likewise.
63737         (ctan_test_upward): Likewise.
63738         (ctanh_test_tonearest): Likewise.
63739         (ctanh_test_towardzero): Likewise.
63740         (ctanh_test_downward): Likewise.
63741         (ctanh_test_upward): Likewise.
63742         (main): Call these new functions.
63743         * sysdeps/i386/fpu/libm-test-ulps: Update.
63744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63746 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63748         * .gitignore: Delete /ports entry.
63750 2012-07-03  Andreas Jaeger  <aj@suse.de>
63752         * po/bg.po: Update from translation team.
63753         * po/cs.po: Likewise.
63754         * po/de.po: Likewise.
63755         * po/hr.po: Likewise.
63756         * po/nl.pl: Likewise.
63757         * po/pl.po: Likewise.
63758         * po/vi.po: Likewise.
63760 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63762         * Makeconfig [!+link] (+link-before-libc): New variable.
63763         [!+link] (+link-after-libc): Likewise.
63764         [!+link] (+link-tests): Likewise.
63765         [!+link] (+link): Define in terms of $(+link-before-libc) and
63766         $(+link-after-libc).
63767         [!+link-static] (+link-static-before-libc): New variable.
63768         [!+link-static] (+link-static-after-libc): Likewise.
63769         [!+link-static] (+link-static-tests): Likewise.
63770         [!+link-static] (+link-static): Define in terms of
63771         $(+link-static-before-libc) and $(+link-static-after-libc).
63772         [build-shared] (link-libc-before-gnulib): New variable.
63773         [build-shared] (link-libc-tests): Likewise.
63774         [build-shared] (link-libc): Define in terms of
63775         $(link-libc-before-gnulib).
63776         [!build-shared] (link-libc-tests): New variable.
63777         (link-libc-static-tests): New variable.
63778         [!gnulib] (gnulib-arch): New variable.
63779         [!gnulib] (gnulib-tests): Likewise.
63780         [!gnulib] (static-gnulib-arch): Likewise.
63781         [!gnulib] (static-gnulib-tests): Likewise.
63782         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63783         Define with "=" instead of ":=".
63784         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63785         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63786         * Rules (binaries-all-notests): New variable.
63787         (binaries-all-tests): Likewise.
63788         (binaries-static-notests): Likewise.
63789         (binaries-static-tests): Likewise.
63790         (binaries-all): Define using $(binaries-all-notests) and
63791         $(binaries-all-tests).
63792         (binaries-static): Define using $(binaries-static-notests) and
63793         $(binaries-static-tests).
63794         (binaries-shared-tests): New variable.
63795         (binaries-shared-notests): Likewise.
63796         (binaries-shared): Remove variable.
63797         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63798         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63799         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63800         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63801         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63802         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63803         * elf/Makefile (sln-modules): New variable.
63804         (extra-objs): Add $(sln-modules:=.o).
63805         (ldconfig-modules): Add static-stubs.
63806         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63807         * elf/static-stubs.c: New file.
63809         [BZ #14283]
63810         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63811         by 7 not 8 to examine high bit of fractional part.  Use volatile
63812         variables when splitting into final array of floats if
63813         __FLT_EVAL_METHOD__ != 0.
63814         * math/libm-test.inc (cos_test): Add another test.
63815         (sin_test): Likewise.
63816         * sysdeps/i386/fpu/libm-test-ulps: Update.
63818         [BZ #14273]
63819         * math/libm-test.inc (cosh_test): Add more tests.
63821         * version.h (RELEASE): Set to "development".
63822         (VERSION): Set to "2.16.90".
63824 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63826         * NEWS: Update copyright. Remove last-updated date.
63827         Mention math library bug fixes and timezone data changes.
63828         * README: Mention GNU/Hurd, x32, and HPPA support status.
63830 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63832         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63834 2012-06-27  Andreas Jaeger  <aj@suse.de>
63836         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63838 2012-06-25  Andreas Jaeger  <aj@suse.de>
63840         * sysdeps/s390/fpu/libm-test-ulps: Update.
63842 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63843             Thomas Schwinge  <thomas@codesourcery.com>
63845         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63846         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63847         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63848         fanotify_mark.
63850 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63852         * sysdeps/mach/start.c: Remove file.
63853         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63854         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63855         * sysdeps/sh/init-first.c: Likewise.
63857         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63858         registers for frame unwinding purposes, add CFI directives.
63859         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63860         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63861         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63862         Likewise.
63864         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63865         __fortify_fail returning.
63866         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63868         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63869         sysdeps/sh/____longjmp_chk.S.
63870         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63871         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63872         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63873         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63875         * sysdeps/sh/abort-instr.h: New file.
63876         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63877         process in case exit returns.
63879         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63880         initialize the GOT register before use.
63882         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63883         calculation of ARGC > 4.
63885         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63886         meaningful names to some local labels.
63888 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63889             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63891         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63892         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63893         (__arch_compare_and_exchange_val_16_acq): Likewise.
63894         (__arch_compare_and_exchange_val_32_acq): Likewise.
63895         (atomic_exchange_and_add): Fix gUSA sequence.
63896         (atomic_add): Likewise.
63897         (atomic_add_negative): Likewise.
63898         (atomic_add_zero): Likewise.
63899         (atomic_bit_test_set): Likewise.
63901 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63903         [BZ #13579]
63904         * include/link.h (struct link_map): Add l_free_initfini.
63905         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63906         l_initfini.
63907         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63908         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63909         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63910         set.
63912 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63914         * configure.in: Use AC_LANG_SOURCE.
63915         * configure: Regenerate.
63917 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63919         * configure.in (libc_cv_localstatedir): New substituted variable.
63920         * configure: Regenerated.
63921         * config.make.in (localstatedir): New variable, substituted from
63922         libc_cv_localstatedir.
63923         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63924         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63925         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63926         * sysdeps/gnu/configure: Regenerated.
63928 2012-06-21  Jeff Law  <law@redhat.com>
63930         [BZ #14277]
63931         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63932         free.  Simplify list management for _LIBC case.
63934 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63936         [BZ #14273]
63937         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63938         Clear sign bit of 64-bit integer value before comparing against
63939         overflow value.
63941         * sysdeps/mach/configure: Regenerated.
63943 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63945         [BZ #14278]
63946         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63948 2012-06-21  Jeff Law  <law@redhat.com>
63950         [BZ #13882]
63951         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63952         uint16_t for elements in the "seen" array to avoid char overflows.
63953         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63954         * elf/dl-open.c (dl_open_worker): Likewise.
63956 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63958         * scripts/list-sources.sh: Scan PORTS for translations.
63959         * po/libc.pot: Regenerated.
63961 2012-06-21  Andreas Jaeger  <aj@suse.de>
63963         [BZ #12194]
63964         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63965         warning.
63966         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63967         * bits/byteswap-16.h (__bswap_16): Likewise.
63968         * bits/byteswap.h (__bswap_constant_16): Likewise.
63970 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63972         [BZ #14117]
63973         * sysdeps/i386/fpu_control.h: Removed.
63974         * sysdeps/x86_64/fpu_control.h: Moved to ...
63975         * sysdeps/x86/fpu_control.h: Here.
63977         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63978         (_FPU_SETCW): Likewise.
63980 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63982         [BZ #14117]
63983         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63984         * sysdeps/x86/fpu/bits/mathinline.h: This.
63985         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63987         [BZ #14050]
63988         [BZ #14117]
63989         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63990         functions if __x86_64__ is defined.
63992 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63994         * string/endian.h: Add !__ASSEMBLER__ condition for including
63995         conversion interfaces.
63997 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63999         [BZ #14241]
64000         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64001         of ABS(x) in calculating zero to negative powers other than odd
64002         integers.
64003         * math/libm-test.inc (pow_test): Add more tests.
64005 2012-06-15  Andreas Jaeger  <aj@suse.de>
64007         * manual/contrib.texi (Contributors): Update entry of Liubov
64008         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64009         Machado Filho.
64011 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64013         * string/string.h: Add __wur to GNU version of strerror_r.
64015 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64017         [BZ #14229]
64018         * string/Makefile (tests): Add tst-strtok_r.
64019         * string/tst-strtok_r.c: New file.
64020         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64021         RAX_LP/RDX_LP on SAVE_PTR.
64023 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64025         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64027 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64029         * libm_test.inc (csqrt_test): Allow more spurious underflow
64030         exceptions.
64031         (j0_test): Likewise.
64032         (j1_test): Likewise.
64033         (y0_test): Likewise.
64034         (y1_test): Likewise.
64036 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64038         * po/Makefile (libc.pot): Use UTF-8 charset.
64040 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64042         [BZ #14210]
64043         Suppress sign-conversion warning from FD_SET.
64044         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64045         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64046         not unsigned long int.
64047         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64049 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64051         [BZ #14050]
64052         [BZ #14117]
64053         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64054         __extern_always_inline instead of __extern_inline.
64055         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64056         (__signbit): Likewise.
64057         (__signbitl): Support C++ namespace.
64058         (lrintf): New inline function.
64059         (lrint): Likewise.
64060         (llrintf): Likewise.
64061         (llrint): Likewise.
64062         (fmaxf): Likewise.
64063         (fmax): Likewise.
64064         (fminf): Likewise.
64065         (fmin): Likewise.
64066         (rint): Likewise.
64067         (rintf): Likewise.
64068         (ceil): Likewise.
64069         (ceilf): Likewise.
64070         (floor): Likewise.
64071         (floorf): Likewise.
64072         (nearbyint): Likewise.
64073         (nearbyintf): Likewise.
64075 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64077         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64078         non-default versions.
64080 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64082         [BZ #14218]
64083         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64085 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64087         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64088         (FE_UPWARD, FE_DOWNWARD): Don't define.
64089         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64090         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64092         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64093         reading it.
64094         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64095         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64097 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64099         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64100         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64101         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64102         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64104 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64106         [BZ #14117]
64107         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64108         * sysdeps/i386/fpu/Implies: New file.
64109         * sysdeps/x86_64/fpu/Implies: Likewise.
64110         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64111         * sysdeps/x86/fpu/bits/fenv.h: This.
64113         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64114         __SSE_MATH__.
64116 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64118         [BZ #14134]
64119         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64120         character 0xffff that matches the last element of the
64121         conversion table.
64123 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64125         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64126         fmodl commit.
64128 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64130         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64131         values higher than 25.6283.
64133 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64135         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64136         subnormal exponent extraction and add some __builtin_expect.
64137         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64138         Fix for subnormal mantissa calculation.
64140 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64142         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64143         cpu2 is -1 and errno is not ENOSYS.
64145 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64147         [BZ #14117]
64148         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64149         * sysdeps/x86/bits/string.h: This.
64150         * sysdeps/x86_64/bits/string.h: Removed.
64152         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64153         if not compiling for x86-64, but compiling for >= i486.
64155         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64156         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64158         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64159         New macro from Linux kernel 3.4.0.
64160         (FP_XSTATE_MAGIC2): Likewise.
64161         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64162         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64163         (struct _fpx_sw_bytes): New struct.
64164         (struct _xsave_hdr): Likewise.
64165         (struct _ymmh_state): Likewise.
64166         (struct _xstate): Likewise.
64168         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64169         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64170         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64171         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64172         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64173         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64175         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64176         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64177         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64178         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64179         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64180         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64182 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64184         [BZ #13743]
64185         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64186         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64187         (sysdep_headers): Include sys/platform/ppc.h.
64188         * sysdeps/powerpc/test-gettimebase.c: Test for
64189         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64190         * manual/Makefile (appendices): Include platform.texi.
64191         * manual/contrib.texi (Contributors): Update @node pointers.
64192         * manual/maint.texi (Maintenance): Likewise.
64193         (Platform): New node.
64194         * manual/platform.texi: New file.  Document the new features.
64196 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64197             Jakub Jelinek  <jakub@redhat.com>
64199         [BZ #14188]
64200         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64201         where __builtin_expect is unavailable.
64203 2012-06-03  David S. Miller  <davem@davemloft.net>
64205         * stdlib/longlong.h: Updated from GCC.
64207 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64209         [BZ #14042]
64210         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64211         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64212         __mcount_internal.
64213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64214         (GLIBC_2.16): Likewise.
64216 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64218         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64220 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64223         (default-abi): New variable.
64224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64225         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64226         variable.
64227         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64228         Likewise.
64229         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64230         Likewise.
64231         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64232         Likewise.
64234         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64235         definition.  Document in comment.
64237 2012-06-01  David S. Miller  <davem@davemloft.net>
64239         * stdlib/longlong.h: Updated from GCC.
64241 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64243         [BZ #14117]
64244         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64245         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64246         sys/debugreg.h sys/io.h here.
64247         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64248         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64249         sys/io.h.
64250         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64251         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64252         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64253         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64254         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64255         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64257         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64258         Define only if __x86_64__ is defined.
64260 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64262         [BZ #14048]
64263         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64264         Use int64_t for variable i.
64265         * math/libm-test.inc (fmod_test): Add more tests.
64267         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64268         z computation is not scheduled after fetestexcept.
64269         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64270         Use math_force_eval instead of asm to ensure calculation scheduled
64271         before exception test.
64272         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64273         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64275 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64278         computation is not scheduled after fetestexcept.
64280 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64282         [BZ #14117]
64283         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64284         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64286 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64288         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64289         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64291 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64293         [BZ #14117]
64294         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64295         <bits/wordsize.h>.
64296         (__WCHAR_MIN): Support __WORDSIZE == 64.
64297         (__WCHAR_MAX): Likewise.
64299         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64300         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64302         [BZ #14183]
64303         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64304         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64306         [BZ #14117]
64307         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64308         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64310         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64311         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64313         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64314         Defined to 1 if __x86_64__ isn't defined.
64315         (_STAT_VER_LINUX_OLD): New.
64316         (st_atime): Remove duplicate.
64317         (st_mtime): Likewise.
64318         (st_ctime): Likewise.
64320 2012-05-31  David S. Miller  <davem@davemloft.net>
64322         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64323         entries.
64325 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64327         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64328         gen-libm-test.pl.
64330         [BZ #14132]
64331         * elf/dl-reloc.c: Include <_itoa.h>.
64332         (_dl_reloc_bad_type): Remove use of INTUSE.
64333         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64334         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64335         * stdio-common/psiginfo.c (psiginfo): Likewise.
64336         * stdio-common/psignal.c (psignal): Likewise.
64337         * string/strsignal.c (strsignal): Likewise.
64338         * include/signal.h (_sys_siglist): Declare hidden proto.
64339         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64340         INTVARDEF with libc_hidden_data_def.
64341         * stdio-common/itoa-udigits.c: Likewise.
64342         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64343         (_itoa_lower_digits_internal): Remove declaration.
64344         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64345         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64346         (_sys_sigabbrev_internal): Remove aliases.
64347         (_sys_siglist): Define hidden alias.
64349 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64351         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64352         bits/sysctl.h.
64354 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64356         [BZ #14117]
64357         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64358         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64360         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64361         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64362         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64363         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64364         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64365         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64367         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64368         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64369         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64371         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64372         with __addr.
64373         (insw): Likewise.
64374         (insl): Likewise.
64375         (outsb): Likewise.
64376         (outsw): Likewise.
64377         (outsl): Likewise.
64379         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64380         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64381         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64383         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64384         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64385         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64386         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64387         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64388         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64390         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64391         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64393         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64394         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64396         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64397         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64398         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64400         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64401         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64402         to ...
64403         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64405         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64406         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64407         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64409         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64410         for x86-64.
64411         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64413 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64415         * math/math.h (M_El): Use two more decimal places.
64416         (M_LOG2El): Likewise.
64417         (M_LOG10El): Likewise.
64418         (M_LN2l): Likewise.
64419         (M_LN10l): Likewise.
64420         (M_PIl): Likewise.
64421         (M_PI_2l): Likewise.
64422         (M_PI_4l): Likewise.
64423         (M_1_PIl): Likewise.
64424         (M_2_PIl): Likewise.
64425         (M_2_SQRTPIl): Likewise.
64426         (M_SQRT2l): Likewise.
64427         (M_SQRT1_2l): Likewise.
64429 2012-05-31  David S. Miller  <davem@davemloft.net>
64431         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64432         values between float registers.
64433         * sysdeps/sparc/sparc64/memset.S: Likewise.
64434         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64436 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64438         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64439         -D_FORTIFY_SOURCE=1.
64440         (CPPFLAGS-tst-longjmp_chk.c): Define.
64441         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64442         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64443         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64444         CFLAGS-tst-wchar-h.c.
64446 2012-05-31  Marek Polacek  <polacek@redhat.com>
64448         [BZ #14132]
64449         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64450         __endmntent_internal): Remove declaration.
64451         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64452         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64453         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64455 2012-05-30  David S. Miller  <davem@davemloft.net>
64457         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64458         (___Q_simulate_exceptions): Use real FP ops rather than writing
64459         into the %fsr.
64460         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64461         Likewise.
64463 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64465         [BZ #14117]
64466         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64467         * sysdeps/x86/bits/xtitypes.h: This.
64469         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64470         * sysdeps/x86/bits/wordsize.h: This.
64472         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64473         * sysdeps/x86/bits/huge_vall.h: This.
64475         * sysdeps/i386/bits/select.h: Removed.
64476         * sysdeps/x86_64/bits/select.h: Renamed to ...
64477         * sysdeps/x86/bits/select.h: This.
64479         * sysdeps/i386/bits/setjmp.h: Removed.
64480         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64481         * sysdeps/x86/bits/setjmp.h: This.
64483         * sysdeps/i386/bits/mathdef.h: Removed.
64484         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64485         * sysdeps/x86/bits/mathdef.h: This.
64487 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64489         [BZ #14132]
64490         * include/sys/socket.h (__connect_internal)
64491         (__libc_sa_len_internal): Remove declaration.
64492         (__connect, __libc_sa_len): Declare hidden_proto.
64493         (SA_LEN): Remove use of INTUSE.
64494         * socket/connect.c: Add libc_hidden_def.
64495         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64496         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64497         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64498         alias.
64499         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64500         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64501         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64502         of adding _internal alias.
64504 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64506         [BZ #14117]
64507         * sysdeps/i386/bits/link.h: Removed.
64508         * sysdeps/i386/bits/linkmap.h: Likewise.
64509         * sysdeps/x86_64/bits/link.h: Renamed to ...
64510         * sysdeps/x86/bits/link.h: This.
64511         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64512         * sysdeps/x86/bits/linkmap.h: This.
64514         * sysdeps/i386/bits/endian.h: Removed.
64515         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64516         * sysdeps/x86/bits/endian.h: This.
64518         * sysdeps/i386/bits/byteswap.h: Removed.
64519         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64520         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64521         * sysdeps/x86/bits/byteswap.h: This.
64522         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64523         * sysdeps/x86/bits/byteswap-16.h: This.
64524         * sysdeps/i386/Implies: Add x86.
64525         * sysdeps/x86_64/Implies: Likewise.
64527 2012-05-30  David S. Miller  <davem@davemloft.net>
64529         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64530         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64531         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64532         (FP_TRAPPING_EXCEPTIONS): Define.
64533         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64534         (FP_TRAPPING_EXCEPTIONS): Define.
64535         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64536         subnormals only when inexact has been signalled or underflow
64537         exceptions are enabled.
64538         (_FP_PACK_CANONICAL): Likewise.
64540 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64542         [BZ #14183]
64543         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64544         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64546 2012-05-30  Richard Henderson  <rth@twiddle.net>
64548         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64549         with #ifndef NOT_IN_libc.
64551         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64552         marked to avoid plt entry.
64554 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64556         [BZ #14112]
64557         * Makeconfig (default-abi): New macro.
64558         (abi-includes): Likewise.
64559         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64560         $(abi-$(default-abi)-lib-soname) for soname if defined.
64561         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64562         abi-variants.
64563         * Makefile (installed-stubs): Likewise.
64564         * include/stubs-biarch.h: Removed.
64565         * scripts/lib-names.awk: Only handle one library at a time.
64566         * scripts/soversions.awk: Remove WORDSIZE support.
64567         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64568         entries.
64569         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64570         Removed.
64571         (syscall-list-default-condition): Likewise.
64572         (syscall-list-default-condition): Likewise.
64573         (syscall-list-includes): Likewise.
64574         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64575         syscall-list-* with abi-*.  Handle undefined abi-variants.
64576         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64577         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64578         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64579         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64580         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64581         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64582         Removed.
64583         (syscall-list-32-options): Likewise.
64584         (syscall-list-32-condition): Likewise.
64585         (syscall-list-64-options): Likewise.
64586         (syscall-list-64-condition): Likewise.
64587         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64588         macro.
64589         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64590         Renamed to ...
64591         (abi-*): This.
64592         (abi-64-ld-soname): New macro.
64593         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64594         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64595         Renamed to ...
64596         (abi-*): This.
64597         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64598         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64600 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64602         * sysdeps/unix/sysv/linux/kernel-features.h
64603         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64604         * sysdeps/unix/sysv/linux/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/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.
64616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64617         include <kernel-features.h>.
64618         [!__NR_ftruncate64]: Remove conditional code.
64619         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64620         [__NR_ftruncate64]: Make code unconditional.
64621         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64623         include <kernel-features.h>.
64624         [!__NR_ftruncate64]: Remove conditional code.
64625         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64626         [__NR_ftruncate64]: Make code unconditional.
64627         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64629         * configure.in (libc_cv_fpie): Weaken to a compile test using
64630         LIBC_TRY_CC_OPTION.
64631         * configure: Regenerated.
64633 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64639         Refreshed.
64640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64646         Refreshed.
64648 2012-05-27  David S. Miller  <davem@davemloft.net>
64650         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64651         (___Q_zero): New.
64652         (__Q_simulate_exceptions): Return void.  Change to simulate
64653         exceptions by writing into the %fsr.
64654         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64655         (__Qp_handle_exceptions): Likewise.
64656         (numbers): Delete.
64657         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64658         __Qp_handle_exceptions.
64659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64660         __Qp_handle_exceptions.
64661         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64662         as unused and give dummy FP_RND_NEAREST initializer.
64663         (FP_INHIBIT_RESULTS): Define.
64664         (___Q_simulate_exceptions): Update declaration.
64665         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64666         formatting.
64667         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64668         as unused and give dummy FP_RND_NEAREST initializer.
64669         (__Qp_handle_exceptions): Update declaration.
64670         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64671         formatting.
64673 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64675         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64676         the temporary FPU control word.
64677         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64678         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64679         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64680         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64681         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64682         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64683         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64684         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64685         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64686         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64687         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64689 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64691         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64692         fields.
64694 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64696         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64697         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64698         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64699         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64700         Likewise.
64701         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64702         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64703         Likewise.
64705 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64707         * po/h.po: Update from translation team.
64709 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64711         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64713         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64714         handling of denormals.
64715         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64716         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64717         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64718         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64719         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64721         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64722         Likewise.
64724 2012-05-26  Marek Polacek  <polacek@redhat.com>
64726         [BZ #14152]
64727         * math/libm-test.inc (fma_test): Don't always expect underflow
64728         exception.
64730 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64732         [BZ #12416]
64733         * elf/tst-execstack.c: Include stackinfo.h.
64734         (do_test): Adjust test case to ensure that pthread_getattr_np
64735         behaviour remains the same after marking stack executable.
64737 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64739         * sysdeps/unix/sysv/linux/kernel-features.h
64740         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64741         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64742         kernel-features.h.
64743         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64744         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64745         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64746         kernel-features.h.
64747         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64748         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64750 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64752         * configure.in: Define the default includes to being none.
64753         * configure: Regenerated.
64755 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64757         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64758         * sysdeps/x86_64/setjmp.S: Likewise.
64759         * sysdeps/i386/bsd-setjmp.S: Likewise.
64760         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64761         * sysdeps/i386/setjmp.S: Likewise.
64762         * sysdeps/i386/__longjmp.S: Likewise.
64763         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64764         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64766         * include/stap-probe.h: New file.
64767         * configure.in: Handle --enable-systemtap.
64768         * configure: Regenerated.
64769         * config.h.in (USE_STAP_PROBE): New #undef.
64770         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64771         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64772         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64774 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64776         [BZ #13717]
64777         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64778         to 2.4.0 where earlier.
64779         * sysdeps/unix/sysv/linux/configure: Regenerated.
64780         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64781         <kernel-features.h>.
64782         [__ASSUME_32BITUIDS]: Make code unconditional.
64783         [!__ASSUME_32BITUIDS]: Remove conditional code.
64784         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64785         <kernel-features.h>.
64786         [__ASSUME_32BITUIDS]: Make code unconditional.
64787         [!__ASSUME_32BITUIDS]: Remove conditional code.
64788         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64789         [__ASSUME_32BITUIDS]: Make code unconditional.
64790         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64791         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
64820         <kernel-features.h>.
64821         [__ASSUME_32BITUIDS]: Make code unconditional.
64822         [!__ASSUME_32BITUIDS]: Remove conditional code.
64823         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64824         <kernel-features.h>.
64825         [__ASSUME_32BITUIDS]: Make code unconditional.
64826         [!__ASSUME_32BITUIDS]: Remove conditional code.
64827         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64828         <kernel-features.h>.
64829         [__ASSUME_32BITUIDS]: Make code unconditional.
64830         [!__ASSUME_32BITUIDS]: Remove conditional code.
64831         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64832         <kernel-features.h>.
64833         [__NR_setresgid] (__setresgid): Do not declare.
64834         [__ASSUME_32BITUIDS]: Make code unconditional.
64835         [!__ASSUME_32BITUIDS]: Remove conditional code.
64836         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64837         <kernel-features.h>.
64838         [__NR_setresuid] (__setresuid): Do not declare.
64839         [__ASSUME_32BITUIDS]: Make code unconditional.
64840         [!__ASSUME_32BITUIDS]: Remove conditional code.
64841         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
64870         <kernel-features.h>.
64871         [__ASSUME_32BITUIDS]: Make code unconditional.
64872         [!__ASSUME_32BITUIDS]: Remove conditional code.
64873         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64874         <kernel-features.h>.
64875         [__ASSUME_32BITUIDS]: Make code unconditional.
64876         [!__ASSUME_32BITUIDS]: Remove conditional code.
64877         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64878         <kernel-features.h>.
64879         [__ASSUME_32BITUIDS]: Make code unconditional.
64880         [!__ASSUME_32BITUIDS]: Remove conditional code.
64881         * sysdeps/unix/sysv/linux/kernel-features.h
64882         (__ASSUME_SETRESUID_SYSCALL): Remove.
64883         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64884         (__ASSUME_32BITUIDS): Likewise.
64885         (__ASSUME_LDT_WORKS): Likewise.
64886         (__ASSUME_O_DIRECTORY): Likewise.
64887         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64888         architecture but not kernel version.
64889         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64890         (__ASSUME_MMAP2_SYSCALL): Likewise.
64891         (__ASSUME_STAT64_SYSCALL): Likewise.
64892         (__ASSUME_IPC64): Likewise.
64893         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64894         <kernel-features.h>.
64895         [__ASSUME_32BITUIDS]: Make code unconditional.
64896         [!__ASSUME_32BITUIDS]: Remove conditional code.
64897         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64898         <kernel-features.h>.
64899         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64900         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64901         132096]: Remove conditional code.
64902         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64903         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64904         <kernel-features.h>.
64905         [__ASSUME_32BITUIDS]: Make code unconditional.
64906         [!__ASSUME_32BITUIDS]: Remove conditional code.
64907         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64908         <kernel-features.h>.
64909         [__ASSUME_32BITUIDS]: Make code unconditional.
64910         [!__ASSUME_32BITUIDS]: Remove conditional code.
64911         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64912         <kernel-features.h>.
64913         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64914         unconditional.
64915         (__setresgid): Do not declare.
64916         [__ASSUME_32BITUIDS]: Make code unconditional.
64917         [!__ASSUME_32BITUIDS]: Remove conditional code.
64918         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64919         <kernel-features.h>.
64920         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64921         unconditional.
64922         (__setresuid): Do not declare.
64923         [__ASSUME_32BITUIDS]: Make code unconditional.
64924         [!__ASSUME_32BITUIDS]: Remove conditional code.
64925         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64926         <kernel-features.h>.
64927         [__ASSUME_32BITUIDS]: Make code unconditional.
64928         [!__ASSUME_32BITUIDS]: Remove conditional code.
64929         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64930         <kernel-features.h>.
64931         [__ASSUME_32BITUIDS]: Make code unconditional.
64932         [!__ASSUME_32BITUIDS]: Remove conditional code.
64934 2012-05-25  Richard Henderson  <rth@twiddle.net>
64936         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64937         dl_hwcap to ifunc resolver.
64938         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64939         elf_ifunc_invoke.
64940         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64941         dl_hwcap to ifunc resolver.
64942         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64944 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64946         [BZ #14153]
64947         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64948         for |x| <= 2**-26, not 2**-57.
64949         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64950         exception.
64952 2012-05-24  Jeff Law  <law@redhat.com>
64954         * stdio-common/Makefile (tests): Add bug25.
64955         * stdio-common/bug25.c: New test.
64957 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64959         [BZ #13576]
64960         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64961         multiple of MALLOC_ALIGNMENT in size.
64962         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64964 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64966         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64967         Require >= 256.
64968         (FILENAME_MAX): Use macro-int-constant.
64969         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64970         (_IOFBF): Use macro-int-constant.
64971         (_IOLBF): Likewise.
64972         (_IONBF): Likewise.
64973         (SEEK_CUR): Likewise.
64974         (SEEK_END): Likewise.
64975         (SEEK_SET): Likewise.
64976         (TMP_MAX): Likewise.
64977         (EOF): Use macro-int-constant.  Require < 0.
64978         (NULL): Use macro-constant.  Require == 0.
64979         (stdin): Require type to be FILE *.
64980         (stdout): Likewise.
64981         (stderr): Likewise.
64982         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64983         macro-int-constant.
64984         (EXIT_SUCCESS): Likewise.
64985         (NULL): Use macro-constant.  Require == 0.
64986         (RAND_MAX): Use macro-int-constant.
64987         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64988         [C99-based standards] (strtof): Require function.
64989         [C99-based standards] (strtold): Likewise.
64990         [C99-based standards] (strtoll): Likewise.
64991         [C99-based standards] (strtoull): Likewise.
64992         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64993         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64994         [ISO || ISO99 || ISO11] (math.h): Likewise.
64995         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64996         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64997         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64999 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65001         [BZ #14132]
65002         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65003         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65004         * intl/dgettext.c (DCGETTEXT): Likewise.
65005         * intl/gettext.c (DCGETTEXT): Likewise.
65006         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65007         * posix/regex_internal.h (gettext): Likewise.
65008         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65009         Remove declaration.
65010         * include/argz.h (__argz_count_internal)
65011         (__argz_stringify_internal): Remove declaration.
65012         (__argz_count, __argz_stringify): Declare hidden proto.
65013         * intl/dcgettext.c: Remove use of INTDEF.
65014         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65015         * string/argz-stringify.c: Likewise.
65016         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65017         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65018         Declare hidden proto.
65019         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65020         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65021         Declare hidden proto.
65022         * include/stdio.h (__asprintf_internal): Don't declare.
65023         (__asprintf): Don't define as macro.  Declare hidden proto.
65024         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65025         (__fsetlocking): Declare hidden proto.
65026         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65027         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65028         hidden proto.
65029         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65030         (_IO_setlinebuf): Remove use of INTUSE.
65031         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65032         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65033         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65034         Remove declaration.
65035         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65036         (_IO_do_flush): Remove use of INTUSE.
65037         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65038         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65039         (_IO_adjust_column, _IO_least_wmarker)
65040         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65041         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65042         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65043         (_IO_default_doallocate, _IO_wdefault_doallocate)
65044         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65045         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65046         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65047         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65048         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65049         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65050         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65051         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65052         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65053         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65054         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65055         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65056         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65057         proto.
65058         (_IO_flush_all_internal, _IO_adjust_column_internal)
65059         (_IO_default_uflow_internal, _IO_default_finish_internal)
65060         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65061         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65062         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65063         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65064         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65065         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65066         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65067         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65068         (_IO_file_close_internal, _IO_file_close_it_internal)
65069         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65070         (_IO_file_init_internal, _IO_file_attach_internal)
65071         (_IO_file_fopen_internal, _IO_file_read_internal)
65072         (_IO_file_sync_internal, _IO_file_seek_internal)
65073         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65074         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65075         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65076         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65077         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65078         (_IO_list_all_internal, _IO_link_in_internal)
65079         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65080         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65081         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65082         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65083         (_IO_do_write_internal, _IO_padn_internal)
65084         (_IO_getline_info_internal, _IO_getline_internal)
65085         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65086         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65087         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65088         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65089         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65090         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65091         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65092         with libc_hidden_ver, remove use of INTUSE.
65093         * libio/genops.c: Likewise.
65094         * libio/freopen.c: Likewise.
65095         * libio/freopen64.c: Likewise.
65096         * libio/iofclose.c: Likewise.
65097         * libio/iofdopen.c: Likewise.
65098         * libio/iofflush.c: Likewise.
65099         * libio/iofflush_u.c: Likewise.
65100         * libio/iofgets.c: Likewise.
65101         * libio/iofgets_u.c: Likewise.
65102         * libio/iofopen.c: Likewise.
65103         * libio/iofopncook.c: Likewise.
65104         * libio/iofread.c: Likewise.
65105         * libio/iofread_u.c: Likewise.
65106         * libio/ioftell.c: Likewise.
65107         * libio/iofwrite.c: Likewise.
65108         * libio/iogetline.c: Likewise.
65109         * libio/iogets.c: Likewise.
65110         * libio/iogetwline.c: Likewise.
65111         * libio/iopadn.c: Likewise.
65112         * libio/iopopen.c: Likewise.
65113         * libio/ioseekoff.c: Likewise.
65114         * libio/ioseekpos.c: Likewise.
65115         * libio/iosetbuffer.c: Likewise.
65116         * libio/iosetvbuf.c: Likewise.
65117         * libio/ioungetc.c: Likewise.
65118         * libio/ioungetwc.c: Likewise.
65119         * libio/iovdprintf.c: Likewise.
65120         * libio/iovsprintf.c: Likewise.
65121         * libio/iovsscanf.c: Likewise.
65122         * libio/memstream.c: Likewise.
65123         * libio/obprintf.c: Likewise.
65124         * libio/oldfileops.c: Likewise.
65125         * libio/oldiofclose.c: Likewise.
65126         * libio/oldiofdopen.c: Likewise.
65127         * libio/oldiofopen.c: Likewise.
65128         * libio/oldiopopen.c: Likewise.
65129         * libio/oldstdfiles.c: Likewise.
65130         * libio/putc.c: Likewise.
65131         * libio/setbuf.c: Likewise.
65132         * libio/setlinebuf.c: Likewise.
65133         * libio/stdfiles.c: Likewise.
65134         * libio/strops.c: Likewise.
65135         * libio/vasprintf.c: Likewise.
65136         * libio/vscanf.c: Likewise.
65137         * libio/vsnprintf.c: Likewise.
65138         * libio/vswprintf.c: Likewise.
65139         * libio/wfiledoalloc.c: Likewise.
65140         * libio/wfileops.c: Likewise.
65141         * libio/wgenops.c: Likewise.
65142         * libio/wmemstream.c: Likewise.
65143         * libio/wstrops.c: Likewise.
65144         * libio/__fpurge.c: Likewise.
65145         * libio/__fsetlocking.c: Likewise.
65146         * assert/assert.c: Likewise.
65147         * debug/fgets_chk.c: Likewise.
65148         * debug/fgets_u_chk.c: Likewise.
65149         * debug/fread_chk.c: Likewise.
65150         * debug/fread_u_chk.c: Likewise.
65151         * debug/gets_chk.c: Likewise.
65152         * debug/obprintf_chk.c: Likewise.
65153         * debug/vasprintf_chk.c: Likewise.
65154         * debug/vdprintf_chk.c: Likewise.
65155         * debug/vsnprintf_chk.c: Likewise.
65156         * debug/vsprintf_chk.c: Likewise.
65157         * malloc/mtrace.c: Likewise.
65158         * misc/error.c: Likewise.
65159         * misc/syslog.c: Likewise.
65160         * stdio-common/asprintf.c: Likewise.
65161         * stdio-common/fxprintf.c: Likewise.
65162         * stdio-common/getw.c: Likewise.
65163         * stdio-common/isoc99_fscanf.c: Likewise.
65164         * stdio-common/isoc99_scanf.c: Likewise.
65165         * stdio-common/isoc99_vfscanf.c: Likewise.
65166         * stdio-common/isoc99_vscanf.c: Likewise.
65167         * stdio-common/isoc99_vsscanf.c: Likewise.
65168         * stdio-common/printf-prs.c: Likewise.
65169         * stdio-common/printf_fp.c: Likewise.
65170         * stdio-common/printf_fphex.c: Likewise.
65171         * stdio-common/printf_size.c: Likewise.
65172         * stdio-common/putw.c: Likewise.
65173         * stdio-common/scanf.c: Likewise.
65174         * stdio-common/sprintf.c: Likewise.
65175         * stdio-common/tmpfile.c: Likewise.
65176         * stdio-common/vfprintf.c: Likewise.
65177         * stdio-common/vfscanf.c: Likewise.
65178         * stdlib/strfmon_l.c: Likewise.
65179         * sunrpc/openchild.c: Likewise.
65180         * sunrpc/xdr_stdio.c: Likewise.
65181         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65182         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65184 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65186         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65188         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65189         in the third column, to generate for the shared library an IFUNC
65190         that uses _dl_vdso_vsym.
65191         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65192         * Makeconfig (object-suffixes-noshared): New variable.
65194         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65195         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65196         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65197         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65199         [BZ #14132]
65200         * include/sys/time.h (__gettimeofday): Remove macro.
65201         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65202         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65203         Remove INTDEF.
65204         (__gettimeofday): Add libc_hidden_def.
65205         (gettimeofday): Add libc_hidden_weak.
65206         * sysdeps/mach/gettimeofday.c: Likewise.
65207         * sysdeps/posix/gettimeofday.c: Likewise.
65208         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65209         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65210         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65211         (__gettimeofday_internal): Remove strong_alias.
65212         (__gettimeofday): Add libc_hidden_def.
65213         (gettimeofday): Add libc_hidden_weak.
65214         * sysdeps/unix/syscalls.list (gettimeofday):
65215         Remove __gettimeofday_internal alias.
65217 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65218             H.J. Lu  <hongjiu.lu@intel.com>
65220         [BZ #12495]
65221         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65222         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65223         (largebin_index_32_big): New.
65224         (largebin_index): Use it for 16-byte alignment.
65225         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65226         correction with front_misalign.
65228 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65232         Likewise.
65233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65234         Likewise.
65235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65236         Likewise.
65237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65238         Likewise.
65239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65240         Likewise.
65241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65242         Likewise.
65243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65244         Likewise.
65245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65246         Likewise.
65247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65248         Likewise.
65249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65250         Likewise.
65251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65252         Likewise.
65253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65254         Likewise.
65256         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65257         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65259 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65261         [BZ #10846]
65262         [BZ #14036]
65263         * math/libm-test.inc (exp_test): Add test from bug 14036.
65264         (pow_test): Add test from bug 10846.
65266         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65267         and other flags.
65268         (special_function): Do not include flags in test name.
65269         (parse_args): Likewise.
65270         * sysdeps/i386/fpu/libm-test-ulps: Update.
65271         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65272         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65273         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65276         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65277         exceptions.
65278         * math/libm-test.inc ("Philosophy"): Update comment about
65279         exception testing.
65280         (UNDERFLOW_EXCEPTION): New macro.
65281         (UNDERFLOW_EXCEPTION_OK): Likewise.
65282         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65283         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65284         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65285         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65286         (INVALID_EXCEPTION_OK): Update value.
65287         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65288         (OVERFLOW_EXCEPTION_OK): Likewise.
65289         (IGNORE_ZERO_INF_SIGN): Likewise.
65290         (test_exceptions): Handle underflow exceptions.
65291         (acos_test): Update for underflow exception expectations.
65292         (cexp_test): Likewise.
65293         (clog_test): Likewise.
65294         (clog10_test): Likewise.
65295         (csqrt_test): Likewise.
65296         (ctan_test): Likewise.
65297         (ctanh_test): Likewise.
65298         (exp_test): Likewise.
65299         (exp10_test): Likewise.
65300         (exp2_test): Likewise.
65301         (expm1_test): Likewise.
65302         (fma_test): Likewise.
65303         (j0_test): Likewise.
65304         (jn_test): Likewise.
65305         (nexttoward_test): Likewise.
65306         (pow_test): Likewise.
65307         (scalbn_test): Likewise.
65308         (scalbln_test): Likewise.
65309         (tan_test): Likewise.
65310         (y1_test): Likewise.
65311         * sysdeps/i386/fpu/libm-test-ulps: Update.
65312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65314 2012-05-23  David S. Miller  <davem@davemloft.net>
65316         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65317         (__libc_sigaction): Remove unused local variables.
65319 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65321         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65323 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65325         mktime: avoid signed integer overflow
65326         * time/mktime.c (__mktime_internal): Do not mishandle the case
65327         where diff == INT_MIN.
65329         mktime: simplify computation of average
65330         * time/mktime.c (ranged_convert): Use new time_t_avg function
65331         instead of rolling our own (probably-slower) code.
65333         mktime: do not assume signed right shift propagates sign bit
65334         * time/mktime.c (isdst_differ): New static function.
65335         (__mktime_internal): No need to normalize tm_isdst now.
65336         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65337         tm_isdst values.
65339         mktime: merge another wrapv change from gnulib
65340         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65341         from some compilers.
65343         mktime: remove incorrect attempt at unusual arithmetics
65344         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65345         The code didn't really work on such machines anyway.
65346         (TYPE_MINIMUM): Assume two's complement.
65347         (twos_complement_arithmetic): Verify that long_int and time_t
65348         are two's complement (or unsigned, in the latter case).
65350         mktime: check signed shifts on long_int and time_t, too
65351         * time/mktime.c (SHR): Check that shifts work as desired
65352         on the types long_int and time_t too, as SHR is used on
65353         such types.
65355         mktime: do not assume 'long' is wide enough
65356         * time/mktime.c (verify): Move decl up.
65357         (long_int): New type.
65358         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65359         to remove assumption in the code that 'long' is wide enough to
65360         store year values.  This assumption is not true on x32 and on
65361         some non-glibc platforms.
65363         mktime: merge wrapv change from gnulib
65364         * time/mktime.c (WRAPV): New macro.
65365         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65366         (guess_time_tm, __mktime_internal): Do not assume that signed
65367         integer overflow wraps around; modern compilers generate code
65368         where this assumption is no longer valid.
65370 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65372         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65373         Replace "jmp L(pseudo_end)" with "ret".
65374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65375         Likewise.
65377 2012-05-23  Andreas Jaeger  <aj@suse.de>
65379         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65380         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65382 2012-05-23  Andreas Jaeger  <aj@suse.de>
65383             Maximilian Attems  <max@stro.at>
65385         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65386         New macros.
65388 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65390         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65391         code so that pseudo_end is just ret and the stack pointer is
65392         correct also for static library in error case.
65394 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65396         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65397         move to syscalls.list.
65398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65403         * manual/install.texi (Running make install): Do not mention Linux
65404         kernel version for which pt_chown is not needed.
65405         (Linux): Do not mention problems with nscd with 2.0 kernels.
65406         * INSTALL: Regenerated.
65408 2012-05-23  Andreas Jaeger  <aj@suse.de>
65410         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65411         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65412         macro.
65413         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65414         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65415         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65416         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65417         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65418         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65419         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65420         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65421         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65422         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65423         * sysdeps/unix/sysv/linux/bits/in.h
65424         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65426 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65428         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65429         (PREPARE_VERSION): Just use assert instead, it will be elided
65430         under [NDEBUG] anyway.
65432 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65434         * sysdeps/unix/sysv/linux/Makefile: Include
65435         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65436         (sysdep_routines): Remove sysctl.
65437         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65438         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65439         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65440         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65441         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65443 2012-05-22  Andreas Jaeger  <aj@suse.de>
65445         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65446         that pseudo_end is just ret and the stack pointer is correct also
65447         for static library in error case.
65449 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65451         [BZ #14122]
65452         * nss/nsswitch.c (defconfig_entries): New variable.
65453         (__nss_database_lookup): Don't leak defconfig entries.
65454         (nss_parse_service_list): Don't leak on error paths.
65455         (free_database_entries): New function.
65456         (free_defconfig): New function.
65457         (free_mem): Move common code to free_database_entries.
65459 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65461         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65462         Add arch_prctl.
65463         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65465         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65466         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65468         New macro.
65469         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65470         (INTERNAL_SYSCALL_TYPES): Likewise.
65471         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65472         (LOAD_REGS_TYPES_[1-6]): Likewise.
65473         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65474         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65476 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65478         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65479         copysignl for GLIBC_2_0.
65480         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65481         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65482         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65483         logbl for GLIBC_2_0.
65484         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65485         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65487 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65489         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65490         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65492         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65493         Use "neg %eax".
65495         * time/mktime.c: Update copyright years.
65497 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65499         mktime: merge comment-quoting-style change from gnulib
65500         * time/mktime.c: Quote 'like this' in comments.
65501         The GNU coding standards suggest that we no longer quote `like this',
65502         as "`" and "'" are typically rendered asymmetrically nowadays.
65503         The typical gnulib style is to quote 'like this' when quoting
65504         code, and "like this" when quoting English.
65506         * time/mktime.c (compile-command): Add "-I.".
65508         mktime: merge mktime-internal.h change from gnulib
65509         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65511         mktime: merge time_r change from gnulib
65512         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65514         mktime: merge DEBUG change from gnulib
65515         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65516         case system <time.h> has a #define.
65518         mktime: merge <sys/types.h> change from gnulib
65519         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65520         since <time.t> is now guaranteed to define time_t.
65522         mktime: merge HAVE_CONFIG_H change from gnulib
65523         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65525 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65527         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65528         Use "neg %eax".
65530         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65531         __rlim_t cast.
65532         (struct rusage): Use anonymous union to pad each field to
65533         __syscall_slong_t.
65535 2012-05-21  David S. Miller  <davem@davemloft.net>
65537         * Makefules (o-iterator): Remove .s cases.
65538         (compile-command.s): Delete.
65539         (COMPILE.s): Delete.
65540         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65542 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65544         * configure.in (libc_cv_predef_stack_protector): Only consider
65545         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65546         * configure: Regenerated.
65548 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65551         New macro.  Use R*LP on int and pointer.
65552         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65553         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65554         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65555         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65557         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65558         [__WORDSIZE_TIME64_COMPAT32] instead of
65559         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65560         (struct utmp): Likewise.
65561         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65562         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65563         Renamed to ...
65564         (__WORDSIZE_TIME64_COMPAT32): This.
65565         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65566         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65567         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65568         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65569         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65570         (__WORDSIZE_TIME64_COMPAT32): New macro.
65572 2012-05-21  Andreas Jaeger  <aj@suse.de>
65574         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65575         only if [SHARED]. Add prototype for __wcschr_ia32.
65577 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65579         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65580         of %rbp unmolested in the jmp_buf while mangling the low bits.
65581         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65582         unmolested high bits of %rbp while demangling the low bits.
65583         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65585 2012-05-21  Andreas Jaeger  <aj@suse.de>
65587         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65588         * sunrpc/svc_simple.c: Use it for registerrpc.
65589         * sunrpc/xcrypt.c: Use it for passwd2des.
65591         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65593 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65595         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65596         Don't define if [__SYSCALL_WORDSIZE != 32].
65597         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65598         New macro.
65600 2012-05-21  Bruno Haible  <bruno@clisp.org>
65601             Andreas Jaeger  <aj@suse.de>
65603         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65604         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65605         inptr and inend for must_buffer_ch.
65606         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65607         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65608         * stdio-common/Makefile (tests): Remove bug15.
65609         (bug15-ENV): Remove macro.
65610         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65611         anymore.
65613 2012-05-19  Andreas Jaeger  <aj@suse.de>
65614             Roland McGrath  <roland@hack.frob.com>
65616         * manual/contrib.texi: Completely rewritten. It contains now an
65617         alphabetical list of contributors and their contributions.
65619 2012-05-21  Richard Henderson  <rth@twiddle.net>
65621         * misc/getauxval.c (__getauxval): Use unsigned long int.
65622         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65623         (getauxval): Use unsigned long int.
65625 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65627         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65629 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65631         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65632         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65633         __alignof__ (long double).
65635 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65639 2012-05-20  Richard Henderson  <rth@twiddle.net>
65641         * misc/getauxval.c: New file.
65642         * misc/sys/auxv.h: New file.
65643         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65644         (routines): Add getauxval.
65645         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65646         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65647         * elf/dl-sysdep.c (_dl_auxv): Remove.
65648         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65649         * elf/dl-support.c (_dl_auxv): New variable.
65650         (_dl_aux_init): Initialize it.
65651         * manual/startup.texi (Auxiliary Vector): New node.
65652         * sysdeps/generic/bits/hwcap.h: New file.
65653         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65654         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65655         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65656         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65657         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65658         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65660         Update.
65661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65664         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65670 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65674 2012-05-19  David S. Miller  <davem@davemloft.net>
65676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65678 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65680         [BZ #14123]
65681         * math/s_ccosh.c: Include <float.h>
65682         (__ccosh): Avoid internal overflow calculating sinh and cosh
65683         values before multiplying by sin and cos values.
65684         * math/s_ccoshf.c: Likewise.
65685         * math/s_ccoshl.c: Likewise.
65686         * math/s_csin.c: Likewise.
65687         * math/s_csinf.c: Likewise.
65688         * math/s_csinl.c: Likewise.
65689         * math/s_csinh.c: Likewise.
65690         * math/s_csinhf.c: Likewise.
65691         * math/s_csinhl.c: Likewise.
65692         * math/libm-test.inc (ccos_test): Add more tests.
65693         (ccosh_test): Likewise.
65694         (csin_test): Likewise.
65695         (csinh_test): Likewise.
65696         * sysdeps/i386/fpu/libm-test-ulps: Update.
65697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65699 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65701         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65702         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65704         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65706 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65708         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65709         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65710         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65711         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65712         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65713         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65714         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65715         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65716         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65717         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65718         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65719         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65720         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65721         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65722         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65723         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65724         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65725         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65726         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65727         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65728         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65729         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65730         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65731         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65732         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65733         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65734         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65735         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65736         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65737         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65738         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65740 2012-05-18  Andreas Jaeger  <aj@suse.de>
65742         * csu/.gitignore: Delete.
65744 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65746         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65747         (timex): Use __syscall_slong_t.
65749 2012-05-18  Andreas Jaeger  <aj@suse.de>
65750             Carlos O'Donell  <carlos_odonell@mentor.com>
65752         * manual/install.texi (Configuring and compiling): Update
65753         description about files modified in the source directory.
65754         * INSTALL: Regenerated.
65756 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65758         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65759         value.  Use "or" to set return value to -1.
65760         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65761         negate return value.
65763 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65765         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65766         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65767         failure if the compiler has Graphite support disabled.
65768         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65769         Likewise.
65770         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65771         (CFLAGS-memmove.c): Likewise.
65772         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65773         Likewise.
65775 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65777         * sysdeps/x86_64/x32/_itoa.h: New file.
65779         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65780         getdents system call only if kernel and user dirents have the
65781         same d_ino and d_off.
65783         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65784         LLONG_MAX != LONG_MAX.
65785         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65786         (_fitoa_word): Likewise.
65788         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65789         years.
65790         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65791         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65792         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65794         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65795         include <bits/wordsize.h>.  Check __x86_64__ instead of
65796         __WORDSIZE.
65797         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65798         if __x86_64__ is defined.  Use anonymous union on fpstate.
65800         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65801         anonymous union.
65803 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65805         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65806         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65807         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65808         Refer to _rtld_local_ro instead of _rtld_global_ro.
65809         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65810         Likewise.
65811         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65812         Likewise.
65813         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65814         Likewise.
65815         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65816         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65817         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65819         [BZ #10882]
65820         * sysdeps/powerpc/powerpc32/dl-machine.c
65821         (__elf_machine_runtime_setup) [PROF]: Don't reference
65822         _dl_prof_resolve.
65824 2012-05-18  Andreas Jaeger  <aj@suse.de>
65826         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65827         function only available for GCCs before 3.4 since GCC 3.4
65828         introduced a builtin.
65829         (lrint): Likewise.
65830         (llrintf): Likewise.
65831         (llrint): Likewise.
65832         (fmaxf): Likewise.
65833         (fmax): Likewise.
65834         (fminf): Likewise.
65835         (fmin): Likewise.
65836         (rint): Likewise.
65837         (rintf): Likewise.
65838         (nearbyint): Likewise.
65839         (nearbyintf): Likewise.
65840         (ceil): Likewise.
65841         (ceilf): Likewise.
65842         (floor): Likewise.
65843         (floorf): Likewise.
65845 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65847         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65848         on both fields and cast pointer to __syscall_ulong_t.
65850         * bits/types.h (__fsword_t): New type.
65851         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65852         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65853         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65854         (__FSWORD_T_TYPE): Likewise.
65855         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65856         (__FSWORD_T_TYPE): Likewise.
65857         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65858         (__FSWORD_T_TYPE): Likewise.
65859         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65860         (__FSWORD_T_TYPE): Likewise.
65861         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65862         __SWORD_TYPE with __fsword_t.
65863         (statfs64): Likewise.
65865 2012-05-17  David S. Miller  <davem@davemloft.net>
65867         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65869 2012-05-17  Andreas Jaeger  <aj@suse.de>
65871         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65872         warning.
65874 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65876         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65878 2012-05-17  Andreas Jaeger  <aj@suse.de>
65880         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65881         when it is used.
65883 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65885         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65887 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65889         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65890         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65892 2012-05-17  Andreas Jaeger  <aj@suse.de>
65893             Carlos O'Donell  <carlos_odonell@mentor.com>
65895         [BZ #14059]
65896         * sysdeps/x86_64/multiarch/init-arch.h
65897         (bit_YMM_Usable): Rename to...
65898         (bit_AVX_Usable): ... this.
65899         (bit_FMA4_Usable): New macro.
65900         (bit_XMM_state): New macro.
65901         (bit_YMM_state): New macro.
65902         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65903         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65904         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65905         (CPUID_OSXSAVE): New macro.
65906         (CPUID_AVX): New macro.
65907         (CPUID_FMA4): New macro.
65908         (index_YMM_Usable): Rename to...
65909         (index_AVX_Usable): ... this.
65910         (HAS_AVX): Use HAS_ARCH_FEATURE.
65911         (HAS_FMA4): Likewise.
65912         (HAS_YMM_USABLE): Remove.
65913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65914         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65915         are present.
65916         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65917         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65918         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65919         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65920         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65922 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65924         * math/libm-test.c: Support platforms without multiple rounding modes.
65925         * math/bug-nextafter.c: Support platforms without FP exceptions.
65926         * math/bug-nexttoward.c: Likewise.
65927         * math/test-fenv.c: Likewise.
65928         * math/test-misc.c: Likewise.
65929         * stdlib/bug-getcontext.c: Likewise.
65931 2012-05-17  Andreas Jaeger  <aj@suse.de>
65933         * manual/examples/search.c (critter_cmp): Change signature to
65934         avoid warnings.
65935         * manual/string.texi (Collation Functions): Likewise.
65937 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65939         * bits/types.h: Fold copyright years.
65940         * bits/typesizes.h: Likewise.
65941         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65942         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65943         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65944         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65945         * time/time.h: Likewise.
65947 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65949         [BZ #208]
65950         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65951         in instead of returning them.  Return void.
65952         (__libc_mallinfo): Accumulate over all arenas.
65953         (__malloc_stats): Adjust for change in int_mallinfo interface.
65955 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65957         [BZ #10375]
65958         * configure.in (NM): Add AC_CHECK_TOOL for it.
65959         (libc_extra_cflags): New substituted variable.
65960         Check for -fstack-protector being used implicitly.
65961         * configure: Regenerated.
65962         * config.make.in (config-extra-cflags): New variable,
65963         gets @libc_extra_cflags@.
65964         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65966         [BZ #10375]
65967         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65968         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65969         * configure: Regenerated.
65970         * config.make.in (CPPUNDEFS): New substituted variable.
65971         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65972         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65973         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65975 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65977         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65978         (mq_attr): Use __syscall_slong_t.
65980 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65982         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65983         Check __x86_64__ instead of __WORDSIZE.
65984         (_STAT_VER_LINUX): Likewise.
65985         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65986         __syscall_ulong_t and __syscall_slong_t.
65987         (stat64): Likewise.
65989 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65991         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65993 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65995         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65997 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65999         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66000         __syscall_ulong_t.
66002         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66003         include <bits/wordsize.h>.  Check __x86_64__ instead of
66004         __WORDSIZE.
66005         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66006         defined.
66007         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66009         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66010         include <bits/wordsize.h>.  Check __x86_64__ instead of
66011         __WORDSIZE.
66012         (user_regs_struct): Use "__extension__ unsigned long long"
66013         instead of "unsigned long" if __x86_64__ is defined.
66014         (user): Likewise.  Pad after pointer field if __ILP32__ is
66015         defined.
66017 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66019         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66020         versions 5 to 9.
66021         * configure: Regenerated.
66022         * manual/install.texi (texinfo): Increase version requirement to
66023         4.5 or later.
66024         * INSTALL: Regenerated.
66026         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66028 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66030         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66032         * sysdeps/x86_64/x32/ffs.c: New file.
66034         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66035         __syscall_ulong_t.
66036         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66037         defined.  Use __syscall_ulong_t.
66038         (shminfo): Use __syscall_ulong_t.
66039         (shm_info): Likewise.
66041         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66042         __syscall_ulong_t.
66044         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66045         <bits/wordsize.h>.
66046         (msgqnum_t): Use __syscall_ulong_t.
66047         (msglen_t): Likewise.
66048         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66049         __syscall_ulong_t.
66051         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66052         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66054         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66056         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66057         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66059         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66060         __syscall_slong_t.
66062         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66063         include <bits/wordsize.h>.  Check __x86_64__ instead of
66064         __WORDSIZE.
66066         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66067         "unsigned long long int" if __x86_64__ is defined.
66068         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66070         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66071         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66072         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66074         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66075         <stdint.h>.
66076         (GET_PC): Cast to uintptr_t first.
66077         (GET_FRAME): Likewise.
66078         (GET_STACK): Likewise.
66080         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66081         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66082         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66083         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66084         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66085         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66086         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66087         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66088         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66089         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66090         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66091         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66092         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66093         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66094         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66095         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66096         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66097         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66098         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66099         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66100         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66101         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66102         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66103         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66104         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66105         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66106         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66107         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66108         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66110 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66112         * Makerules (+depfiles): Also collect depfiles from .oS in
66113         $(extra-objs).
66114         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66115         .oS, $(libnldbl-routines)).
66117         * Makerules (native-compile-mkdep-flags): Define.
66118         * sunrpc/Makefile (extra-objs): Add $(addprefix
66119         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66120         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66121         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66122         calling $(make-target-directory).
66124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66126         * bits/types.h (__snseconds_t): Removed.
66127         * time/time.h (struct timespec): Replace __snseconds_t with
66128         __syscall_slong_t.
66129         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66130         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66131         Likewise.
66132         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66133         (__SNSECONDS_T_TYPE): Likewise.
66134         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66135         (__SNSECONDS_T_TYPE): Likewise.
66136         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66137         (__SNSECONDS_T_TYPE): Likewise.
66139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66141         * sysdeps/mach/hurd/bits/typesizes.h
66142         (__SYSCALL_SLONG_TYPE): New macro.
66143         (__SYSCALL_ULONG_TYPE): Likewise.
66145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66147         * bits/types.h (__syscall_slong_t): New type.
66148         (__syscall_ulong_t): Likewise.
66150         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66151         (__SYSCALL_ULONG_TYPE): Likewise.
66152         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66153         (__SYSCALL_SLONG_TYPE): Likewise.
66154         (__SYSCALL_ULONG_TYPE): Likewise.
66155         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66156         (__SYSCALL_SLONG_TYPE): Likewise.
66157         (__SYSCALL_ULONG_TYPE): Likewise.
66158         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66159         (__SYSCALL_SLONG_TYPE): Likewise.
66160         (__SYSCALL_ULONG_TYPE): Likewise.
66162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66164         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66165         Add sigaltstack-offsets.sym.
66166         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66167         <sigaltstack-offsets.h>.
66168         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66169         longjmp_msg pointer.
66170         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66171         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66172         signal stack.
66173         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66175 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66177         * elf/stackguard-macros.h: Remove file.
66178         * sysdeps/generic/stackguard-macros.h: New file.
66179         * sysdeps/i386/stackguard-macros.h: Likewise.
66180         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66181         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66182         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66183         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66184         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66185         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66186         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66187         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66188         <elf/stackguard-macros.h>.
66190         [BZ #14109]
66191         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66192         __aligned__ in attribute.
66193         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66194         (gregset_t): Likewise.
66196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66198         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66199         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66200         * sysdeps/x86_64/x32/Implies-after: New file.
66202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66204         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66205         and access return value for _dl_profile_fixup.  Use R10_LP to
66206         load frame size.
66208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66210         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66214         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66215         * sysdeps/x86_64/x32/sysdep.h: New file.
66217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66219         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66220         * sysdeps/x86_64/setjmp.S: Likewise.
66222 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66224         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66225         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66226         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66227         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66228         remove unused global constant.
66230 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66232         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66233         include of <not-cancel.h>.
66235 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66237         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66239 2012-05-15  Jeff Law  <law@redhat.com>
66240             Andreas Jaeger  <aj@suse.de>
66242         [BZ #13594]
66243         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66244         out from...
66245         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66246         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66247         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66248         code changing __hst_map_handle.map.
66250 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66252         * configure.in (sysnames): Look for Implies-before and Implies-after
66253         files.
66254         * configure: Regenerated.
66256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66258         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66259         8-byte data alignment with LP_SIZE alignment.
66261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66263         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66264         into R10_LP.
66266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66268         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66272         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66273         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66274         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66275         Likewise.
66276         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66280         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66281         (stackinfo_sub_sp): Likewise.
66283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66285         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66286         RAX_LP.
66288 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66290         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66291         into R*_LP.
66293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66295         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66296         sizes into R*_LP.
66298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66300         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66304         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66305         into R11_LP and load __x86_64_shared_cache_size_half into
66306         R8_LP.
66308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66310         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66311         R8_LP.
66313 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66315         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66316         logb for POWER7.
66317         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66318         logbf for POWER7.
66319         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66320         logbl for POWER7.
66321         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66322         powerpc32/power7/fpu/s_logb.c via #include.
66323         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66324         powerpc32/power7/fpu/s_logbf.c via #include.
66325         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66326         powerpc32/power7/fpu/s_logbl.c via #include.
66328 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66330         * README.libm: Remove file.
66332 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66334         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66335         count for x32.  Use R*_LP and omit operand-size suffix.
66337 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66339         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66340         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66341         * sysdeps/x86_64/x32/shlib-versions: New file.
66343 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66345         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66346         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66347         Use _dl_fatal_printf instead.
66349 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66351         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66352         set if not set by the user.  Do not allow for being unset.
66353         * sysdeps/unix/sysv/linux/configure: Regenerated.
66355 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66357         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66358         the `q' suffix from lea and replace .quad with ASM_ADDR.
66360 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66363         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66364         instead of $17.
66365         (PTR_DEMANGLE): Likewise.
66367 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66369         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66370         (LP_OP): Likewise.
66371         (ASM_ADDR): Likewise.
66372         (RAX_LP): Likewise.
66373         (RBP_LP): Likewise.
66374         (RBX_LP): Likewise.
66375         (RCX_LP): Likewise.
66376         (RDI_LP): Likewise.
66377         (RSI_LP): Likewise.
66378         (RSP_LP): Likewise.
66379         (R8_LP): Likewise.
66380         (R9_LP): Likewise.
66381         (R10_LP): Likewise.
66382         (R10_LP): Likewise.
66383         (R11_LP): Likewise.
66384         (R12_LP): Likewise.
66385         (R13_LP): Likewise.
66386         (R14_LP): Likewise.
66387         (R15_LP): Likewise.
66389 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66391         * sysdeps/x86_64/x32/dl-machine.h: New file.
66393 2012-05-14  Andreas Jaeger  <aj@suse.de>
66395         * manual/Makefile (subdir): Remove export of subdir.
66396         (all): Remove target.
66397         (.PHONY): Remove all from list.
66398         (mkinstalldirs): Remove.
66399         (.PHONY): Remove installdirs from list.
66400         ($(inst_infodir)/libc.info): Use make-target-directory.
66401         (installdirs): Remove.
66402         (subdir_%): Remove.
66403         (glibc-targets): Remove.
66404         (lib): Remove.
66405         (stubs): Remove.
66406         ($(objpfx)stubs ../po/manual.pot): Remove.
66407         ($(objpfx)stamp%): Remove.
66408         (make-target-directory): Remove.
66409         (subdir_install): Remove.
66410         (routines): Remove.
66411         (aux): Remove.
66412         (sources): Remove.
66413         (objects): Remove.
66414         (headers): Remove.
66416         [BZ #13750]
66417         * manual/.gitignore: Remove, it's not needed anymore.
66418         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66419         all files in it.
66420         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66421         directory.
66422         (texis): Renamed to $(objpfx)texis.
66423         (texis-path): New, contains path to generated files.
66424         (chapters.%): Use texis-path for complete path, add extra argument
66425         libc-texinfo.sh.
66426         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66427         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66428         (summary,texi, stamp-summary): Use complete path of
66429         files. Generate files in build dir.
66430         (dir-add.texi): Build in build dir.
66431         (libm-err.texi,stamp-libm-err): Likewise.
66432         (version.texi, stamp-version): Likewise.
66433         (.%c.texi): Likewise.
66434         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66435         (mostlyclean): Remove target.
66436         (realclean): Remove target.
66437         (generated): Add new variable with contents from mostlyclean and
66438         realclean, remove entries duplicated in common-mostlyclean, add
66439         stamp-libm-err and stamp-version.
66440         (generated-dirs): Add libc directory.
66441         ($(inst_infodir)/libc.info): Install files from build dir.
66443         * manual/install.texi (Configuring and compiling): Adjust since
66444         the info files are not part of the tar ball anymore.
66446 2012-05-14  Andreas Jaeger  <aj@suse.de>
66448         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66449         variable.
66451 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66453         [BZ #13717]
66454         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66455         to 2.2.0 where earlier.
66456         * sysdeps/unix/sysv/linux/configure: Regenerated.
66457         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66458         Remove conditional code.
66459         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66460         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66461         Remove conditional code.
66462         [!__NR_lchown]: Likewise.
66463         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66464         [__NR_lchown]: Likewise.
66465         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66466         comment referencing __ASSUME_LCHOWN_SYSCALL.
66467         * sysdeps/unix/sysv/linux/i386/sigaction.c
66468         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66469         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66470         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66471         Remove conditional code.
66472         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66473         (__protocol_available): Remove #if 0 code.
66474         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66475         conditional code.
66476         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66477         * sysdeps/unix/sysv/linux/kernel-features.h
66478         (__ASSUME_GETCWD_SYSCALL): Don't define.
66479         (__ASSUME_REALTIME_SIGNALS): Likewise.
66480         (__ASSUME_PREAD_SYSCALL): Likewise.
66481         (__ASSUME_PWRITE_SYSCALL): Likewise.
66482         (__ASSUME_POLL_SYSCALL): Likewise.
66483         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66484         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66485         non-SPARC.
66486         (__ASSUME_SIOCGIFNAME): Don't define.
66487         (__ASSUME_MSG_NOSIGNAL): Likewise.
66488         (__ASSUME_SENDFILE): Define unconditionally.
66489         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66490         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66491         conditional code.
66492         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66493         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66494         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66495         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66496         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66497         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66498         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66500         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66503         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66504         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66506         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66507         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66509         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66510         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66512         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66513         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66515         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66516         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66518         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66519         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66521         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66522         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66523         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66524         Remove conditional code.
66525         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66526         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66527         Remove conditional code.
66528         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66529         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66530         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66531         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66532         Remove conditional code.
66533         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66534         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66535         Remove conditional code.
66536         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66537         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66538         Remove conditional code.
66539         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66540         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66541         Remove conditional code.
66542         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66543         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66544         Remove conditional code.
66545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66546         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66547         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66548         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66549         * sysdeps/unix/sysv/linux/sigaction.c
66550         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66551         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66552         * sysdeps/unix/sysv/linux/sigpending.c
66553         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66554         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66555         * sysdeps/unix/sysv/linux/sigprocmask.c
66556         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66557         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66558         * sysdeps/unix/sysv/linux/sigsuspend.c
66559         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66560         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66561         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66562         (__libc_missing_rt_sigs): Remove.
66563         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66564         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66565         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66566         Remove conditional code.
66567         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66568         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66569         return 1.
66570         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66571         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66572         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66573         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66575 2012-05-14  Andreas Jaeger  <aj@suse.de>
66577         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66578         it's not used in glibc.
66579         (__coshm1): Likewise.
66580         (__acosh1p): Likewise.
66581         (__sgn): Likewise.
66583         * manual/string.texi (Copying and Concatenation): Add missing
66584         variable in concat example.
66585         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66587 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66589         [BZ #14103]
66590         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66591         __builtin_clzl with __builtin_clzll.
66593 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66595         [BZ #14104]
66596         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66597         libc_freeres_ptr.
66599 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66601         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66602         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66603         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66604         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66606 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66608         * NEWS: Update ia64 info.
66610 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66612         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66613         used as bcopy.
66615 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66617         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66618         * sysdeps/unix/syscalls.list (dup3): Likewise.
66619         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66620         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66622 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66624         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66625         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66627 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66629         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66630         thread pointer.
66631         (TLS_IE): Use mov/add instead of movq/addq to load thread
66632         pointer.
66633         (TLS_GD_PREFIX): New.
66634         (TLS_GD): Use it.
66636 2012-05-11  David S. Miller  <davem@davemloft.net>
66638         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66639         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66640         (_FPU_SETCW): Likewise.
66642 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66644         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66645         is 32-byte aligned.
66647 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66649         [BZ #11837]
66650         * iconvdata/gb18030.c: Update tables.
66651         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66652         characters specially.
66653         (BODY for TO_LOOP): Add encoding of missing ranges.
66655 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66657         [BZ #13673]
66658         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66659         * sysdeps/mach/hurd/dup3.c: Likewise.
66660         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66661         * sysdeps/powerpc/memmove.c:: Likewise.
66663 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66665         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66666         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66668 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66670         * elf/elf.h (R_X86_64_RELATIVE64): New.
66671         (R_X86_64_NUM): Updated.
66672         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66673         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66674         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66675         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66676         tst-quad1pie tst-quad2pie
66677         (modules-names): Add tst-quadmod1 tst-quadmod2.
66678         ($(objpfx)tst-quad1): New dependency.
66679         ($(objpfx)tst-quad2): Likewise.
66680         ($(objpfx)tst-quad1pie): Likewise.
66681         ($(objpfx)tst-quad2pie): Likewise.
66682         * sysdeps/x86_64/tst-quad1.c: New file.
66683         * sysdeps/x86_64/tst-quad1pie.c: New file.
66684         * sysdeps/x86_64/tst-quad2.c: Likewise.
66685         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66686         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66687         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66688         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66689         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66691 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66693         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66694         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66695         * streams/stropts.h (t_scalar_t): Define type.
66697         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66698         (_PATH_PRESERVE): Set to "/var/lib".
66699         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66701         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66702         instead of int.
66704         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66705         if __dir_mkfile succeeded.
66707         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66708         checking for _hurd_dtablesize.  Unlock it right after having
66709         finished _hurd_dtable allocation.
66711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66713         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66714         * sysdeps/mach/hurd/configure: Regenerated.
66715         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66716         special-casing to...
66717         * sysdeps/gnu/configure.in: ... this new file.
66718         * sysdeps/unix/sysv/linux/configure: Regenerated.
66719         * sysdeps/gnu/configure: New generated file.
66721         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66722         for Linux: use nsec instead of usec, as well as:
66723         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66724         members of type struct timespec.
66725         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66726         New macros.
66727         (struct stat64): Likewise.
66728         (_STATBUF_ST_NSEC): New macro.
66729         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66731         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66732         __strtoul_internal rather than strtoul.
66734 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66736         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66737         and reject them.
66739 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66741         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66742         which preserves existing values.
66743         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66745 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66747         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66748         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66749         greater than FD_SETSIZE.
66751 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66753         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66754         allocated, call __vm_protect to finish enabling the existing space, and
66755         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66756         allocate the remainder.
66758 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66760         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66761         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66763 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66765         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66766         sysdeps/mach/hurd/readlink.c.
66768         * posix/tst-sysconf.c (posix_options): Only use
66769         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66770         _POSIX_SYNCHRONIZED_IO when they are defined
66771         * sysdeps/mach/hurd/bits/posix_opt.h:
66772         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66773         (_XOPEN_REALTIME): Undefine macro.
66774         (_XOPEN_REALTIME_THREADS): Undefine macro.
66775         (_XOPEN_SHM): Undefine macro.
66776         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66777         macro to -1.
66778         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66779         macro to -1.
66780         (_POSIX_ASYNC_IO): Undefine macro.
66781         (_POSIX_PRIORITIZED_IO): Undefine macro.
66782         (_POSIX_SPIN_LOCKS): Define macro to -1.
66784         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66785         SA_NODEFER, SA_RESETHAND.
66786         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66787         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66788         F_DUPFD_CLOEXEC.
66790 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66792         * elf/Makefile (pldd-modules): Define unconditionally.
66794 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66796         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66798 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66800         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66801         Return ENOENT when name is empty.
66802         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66804 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66806         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66808         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66810 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66812         Fix mlock in all cases except non-readable pages.
66813         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66814         instead of VM_PROT_ALL as parameter to __vm_wire function.
66816         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66817         (__mkdir): When path is `/', just fail with EEXIST.
66818         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66820 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66822         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66823         <sys/uio.h> (for writev).
66824         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66825         and <sys/param.h> (for MIN).
66827 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66829         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66830         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66831         if interrupted.
66833 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66835         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66836         Depend on against $(link-rpcuserlibs).
66838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66840         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66841         (__libc_stack_end): Do not use attribute_relro.
66842         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66843         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66844         to libthread-provided value.
66845         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66846         attribute_relro.
66848 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66850         [BZ #3748]
66851         * bits/libc-lock.h (__libc_once_get): New macro.
66852         * sysdeps/mach/bits/libc-lock.h: Likewise.
66853         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66854         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66855         instead of using implementation details.
66857         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66858         * libio/freopen.c: Likewise.
66859         * libio/freopen64.c: Likewise.
66860         * misc/syslog.c: Likewise.
66861         * nscd/connections.c: Likewise.
66862         * nscd/netgroupcache.c: Likewise.
66863         * sysdeps/posix/getcwd.c: Likewise.
66865 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66867         * math/w_ilogbf.c: Add #include <limits.h>.
66869 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66871         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66872         path instead of returning without unlocking.
66874         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66875         immediate-write ioctls.
66876         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66880         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66881         __builtin_frame_address instead of making assumptions about the
66882         location of the return address relative to DATA.  Force early load of
66883         the return address.
66884         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66885         __builtin_frame_address.
66887         dup3 for GNU Hurd.
66888         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66889         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66890         implement dup3 and do some further code clean-ups.
66891         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66892         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66894 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66896         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66898         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66899         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66900         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66901         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66902         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66903         d->port.lock.
66905         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66906         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66907         when handler == SIG_ERR, not when handler != SIG_ERR.
66909 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66911         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66912         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66913         definitions.
66915         accept4 for GNU Hurd.
66916         * include/sys/socket.h (__libc_accept4): New prototype.
66917         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66918         to implement __libc_accept4.
66919         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66920         __libc_accept4.
66921         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66923         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66924         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66925         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66926         signal-defines.sym.
66928 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66930         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66934         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66935         assertion on O_CLOEXEC flag.
66936         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66937         * hurd/intern-fd.c: Likewise.
66938         * hurd/port2fd.c: Likewise.
66940 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66942         [BZ #3906]
66943         * bits/in.h (IPV6_PKTINFO): Define new macro.
66944         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66946 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66948         [BZ #13954]
66949         [BZ #13955]
66950         [BZ #13956]
66951         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66952         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66953         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66954         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66955         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66956         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66957         * math/libm-test.inc (logb_test) : Additional logb tests.
66959 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66960             Andreas Jaeger  <aj@suse.de>
66962         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66963         * configure: Regenerated.
66964         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66965         * config.make.in (link-obsolete-rpc): New substituted variable.
66966         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66967         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66968         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66969         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66970         so that libc.a contains the symbols.
66971         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66972         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66973         * sunrpc/auth_none.c: Likewise.
66974         * sunrpc/auth_unix.c: Likewise.
66975         * sunrpc/authdes_prot.c: Likewise.
66976         * sunrpc/authuxprot.c: Likewise.
66977         * sunrpc/clnt_gen.c: Likewise.
66978         * sunrpc/clnt_perr.c: Likewise.
66979         * sunrpc/clnt_raw.c: Likewise.
66980         * sunrpc/clnt_simp.c: Likewise.
66981         * sunrpc/clnt_tcp.c: Likewise.
66982         * sunrpc/clnt_udp.c: Likewise.
66983         * sunrpc/clnt_unix.c: Likewise.
66984         * sunrpc/des_crypt.c: Likewise.
66985         * sunrpc/des_soft.c: Likewise.
66986         * sunrpc/get_myaddr.c: Likewise.
66987         * sunrpc/key_call.c: Likewise.
66988         * sunrpc/key_prot.c: Likewise.
66989         * sunrpc/netname.c: Likewise.
66990         * sunrpc/pm_getmaps.c: Likewise.
66991         * sunrpc/pm_getport.c: Likewise.
66992         * sunrpc/pmap_clnt.c: Likewise.
66993         * sunrpc/pmap_prot.c: Likewise.
66994         * sunrpc/pmap_prot2.c: Likewise.
66995         * sunrpc/pmap_rmt.c: Likewise.
66996         * sunrpc/publickey.c: Likewise.
66997         * sunrpc/rpc_cmsg.c: Likewise.
66998         * sunrpc/rpc_common.c: Likewise.
66999         * sunrpc/rpc_dtable.c: Likewise.
67000         * sunrpc/rpc_prot.c: Likewise.
67001         * sunrpc/rpc_thread.c: Likewise.
67002         * sunrpc/rtime.c: Likewise.
67003         * sunrpc/svc.c: Likewise.
67004         * sunrpc/svc_auth.c: Likewise.
67005         * sunrpc/svc_raw.c: Likewise.
67006         * sunrpc/svc_run.c: Likewise.
67007         * sunrpc/svc_tcp.c: Likewise.
67008         * sunrpc/svc_udp.c: Likewise.
67009         * sunrpc/svc_unix.c: Likewise.
67010         * sunrpc/svcauth_des.c: Likewise.
67011         * sunrpc/xcrypt.c: Likewise.
67012         * sunrpc/xdr.c: Likewise.
67013         * sunrpc/xdr_array.c: Likewise.
67014         * sunrpc/xdr_float.c: Likewise.
67015         * sunrpc/xdr_intXX_t.c: Likewise.
67016         * sunrpc/xdr_mem.c: Likewise.
67017         * sunrpc/xdr_rec.c: Likewise.
67018         * sunrpc/xdr_ref.c: Likewise.
67019         * sunrpc/xdr_sizeof.c: Likewise.
67020         * sunrpc/xdr_stdio.c: Likewise.
67022 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67024         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67025         change.  Update copyright years.
67027 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67029         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67031 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67032             Joseph Myers  <joseph@codesourcery.com>
67033             Paul Pluzhnikov  <ppluzhnikov@google.com>
67035         [BZ #14012]
67036         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67037         requiring rpcgen.
67038         [cross-compiling] (extra-libs): Likewise.
67039         [cross-compiling] (extra-libs-others): Likewise.
67040         [cross-compiling] (librpcsvc-routines): Likewise.
67041         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67042         [cross-compiling] (omit-deps): Likewise.
67043         (sunrpc-CPPFLAGS): New variable.
67044         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67045         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67046         (cross-rpcgen-objs): New variable.
67047         (extra-objs): Append $(cross-rpcgen-objs).
67048         ($(cross-rpcgen-objs)): New rule.
67049         ($(objpfx)cross-rpcgen): Likewise.
67050         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67051         comment.
67052         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67053         ($(objpfx)x%.stmp): Likewise.
67054         * sunrpc/proto.h [IS_IN_build] (_): Define.
67055         [IS_IN_build] (_libc_intl_domainname): Likewise.
67057 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67059         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67060         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67061         and R_X86_64_TPOFF64.
67063 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67065         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67066         sysdeps/unix/sysv/syscalls.list.
67067         (stime): Likewise.
67068         (utime): Likewise.
67069         * sysdeps/unix/sysv/syscalls.list: Remove file.
67071 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67073         [BZ #3440]
67074         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67075         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67076         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67077         (__LC_IDENTIFICATION): Make these macros useful in #if
67078         expressions, as required by C99.
67080 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67082         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67083         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67084         after this.
67086 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67088         * stdlib/longlong.h: Updated from GCC.
67090 2012-05-09  Andreas Jaeger  <aj@suse.de>
67092         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67093         default is first entry.
67094         (run_mode): Set type.
67095         (main): Remove informal message about syslog.
67096         (options): Fix typo.
67098         [BZ #14053]
67099         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67100         to asm.
67101         (lrint): Likewise.
67102         (llrintf): Likewise.
67103         (llrint): Likewise.
67104         (rint): Likewise.
67105         (rintf): Likewise.
67106         (nearbyint): Likewise.
67107         (nearbyintf): Likewise.
67109 2012-05-09  Andreas Jaeger  <aj@suse.de>
67110             Pedro Alves  <palves@redhat.com>
67112         * nscd/nscd.c (run_mode): Use enum.
67113         (main): Cleanup coding style issue.
67115 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67116             Andreas Jaeger  <aj@suse.de>
67118         * nscd/nscd.c (go_background): Replaced with...
67119         (run_mode): ... this.
67120         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67121         (options): Add -F --foreground.
67122         (main): Implement it.
67123         (parse_opt): Parse it.
67125 2012-05-09  Andreas Jaeger  <aj@suse.de>
67127         [BZ #14083]
67128         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67129         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67130         -Wconversion warning.
67131         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67132         Likewise.
67134 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67136         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67137         == 0.
67138         (LC_ALL): Use macro-int-constant.
67139         (LC_COLLATE): Likewise.
67140         (LC_CTYPE): Likewise.
67141         (LC_MESSAGES): Likewise.
67142         (LC_MONETARY): Likewise.
67143         (LC_NUMERIC): Likewise.
67144         (LC_TIME): Likewise.
67145         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67146         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67147         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67148         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67149         Specify type.
67150         [C99-based standards] (float_t): Expect type.
67151         [C99-based standards] (double_t): Expect type.
67152         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67153         type.
67154         [C99-based standards] (HUGE_VALL): Likewise.
67155         [C99-based standards] (INFINITY): Likewise.
67156         [C99-based standards] (NAN): Likewise.
67157         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67158         [C99-based standards] (FP_NAN): Likewise.
67159         [C99-based standards] (FP_NORMAL): Likewise.
67160         [C99-based standards] (FP_SUBNORMAL): Likewise.
67161         [C99-based standards] (FP_ZERO): Likewise.
67162         [C99-based standards] (FP_FAST_FMA): Use
67163         optional-macro-int-constant.  Specify type.  Require == 1.
67164         [C99-based standards] (FP_FAST_FMAF): Likewise.
67165         [C99-based standards] (FP_FAST_FMAL): Likewise.
67166         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67167         [C99-based standards] (FP_ILOGBNAN): Likewise.
67168         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67169         Specify type.
67170         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67171         [C99-based standards] (math_errhandling): Specify type.
67172         [ISO99 || ISO11] (signgam): Do not allow.
67173         [non-C99-based standards] (copysignf): Do not allow.
67174         [non-C99-based standards] (exp2f): Likewise.
67175         [non-C99-based standards] (log2f): Likewise.
67176         [non-C99-based standards] (modff): Allow.
67177         [non-C99-based standards] (erff): Do not allow.
67178         [non-C99-based standards] (erfcf): Likewise.
67179         [non-C99-based standards] (gammaf): Likewise.
67180         [non-C99-based standards] (hypotf): Likewise.
67181         [non-C99-based standards] (j0f): Likewise.
67182         [non-C99-based standards] (j1f): Likewise.
67183         [non-C99-based standards] (jnf): Likewise.
67184         [non-C99-based standards] (lgammaf): Likewise.
67185         [non-C99-based standards] (tgammaf): Likewise.
67186         [non-C99-based standards] (y0f): Likewise.
67187         [non-C99-based standards] (y1f): Likewise.
67188         [non-C99-based standards] (ynf): Likewise.
67189         [non-C99-based standards] (isnanf): Likewise.
67190         [non-C99-based standards] (acoshf): Likewise.
67191         [non-C99-based standards] (asinhf): Likewise.
67192         [non-C99-based standards] (atanhf): Likewise.
67193         [non-C99-based standards] (cbrtf): Likewise.
67194         [non-C99-based standards] (expm1f): Likewise.
67195         [non-C99-based standards] (ilogbf): Likewise.
67196         [non-C99-based standards] (log1pf): Likewise.
67197         [non-C99-based standards] (logbf): Likewise.
67198         [non-C99-based standards] (nextafterf): Likewise.
67199         [non-C99-based standards] (remainderf): Likewise.
67200         [non-C99-based standards] (rintf): Likewise.
67201         [non-C99-based standards] (scalbf): Likewise.
67202         [non-C99-based standards] (copysignl): Likewise.
67203         [non-C99-based standards] (exp2l): Likewise.
67204         [non-C99-based standards] (log2l): Likewise.
67205         [non-C99-based standards] (modfl): Allow.
67206         [non-C99-based standards] (erfl): Do not allow.
67207         [non-C99-based standards] (erfcl): Likewise.
67208         [non-C99-based standards] (gammal): Likewise.
67209         [non-C99-based standards] (hypotl): Likewise.
67210         [non-C99-based standards] (j0l): Likewise.
67211         [non-C99-based standards] (j1l): Likewise.
67212         [non-C99-based standards] (jnl): Likewise.
67213         [non-C99-based standards] (lgammal): Likewise.
67214         [non-C99-based standards] (tgammal): Likewise.
67215         [non-C99-based standards] (y0l): Likewise.
67216         [non-C99-based standards] (y1l): Likewise.
67217         [non-C99-based standards] (ynl): Likewise.
67218         [non-C99-based standards] (isnanl): Likewise.
67219         [non-C99-based standards] (acoshl): Likewise.
67220         [non-C99-based standards] (asinhl): Likewise.
67221         [non-C99-based standards] (atanhl): Likewise.
67222         [non-C99-based standards] (cbrtl): Likewise.
67223         [non-C99-based standards] (expm1l): Likewise.
67224         [non-C99-based standards] (ilogbl): Likewise.
67225         [non-C99-based standards] (log1pl): Likewise.
67226         [non-C99-based standards] (logbl): Likewise.
67227         [non-C99-based standards] (nextafterl): Likewise.
67228         [non-C99-based standards] (remainderl): Likewise.
67229         [non-C99-based standards] (rintl): Likewise.
67230         [non-C99-based standards] (scalbl): Likewise.
67231         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67232         [non-C99-based standards] (FP_*): Do not allow.
67233         [C99-based standards] (FP_*): Change to
67234         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67235         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67236         allow.
67237         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67238         (SIG_ERR): Likewise.
67239         [X/Open-based standards] (SIG_HOLD): Likewise.
67240         (SIG_IGN): Likewise.
67241         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67242         positive value.
67243         (SIGFPE): Likewise.
67244         (SIGILL): Likewise.
67245         (SIGINT): Likewise.
67246         (SIGSEGV): Likewise.
67247         (SIGTER): Likewise.
67248         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67249         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67250         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67251         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67252         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67253         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67254         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67255         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67256         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67257         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67258         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67259         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67260         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67261         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67262         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67263         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67264         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67265         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67266         [X/Open-based standards] (SIGTRAP): Likewise.
67267         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67268         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67269         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67270         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67271         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67272         allow.
67274 2012-05-08  Ian Wienand  <ianw@vmware.com>
67276         [BZ #14080]
67277         * time/tzset.c (__tzset_parse_tz): Update default rules for
67278         daylight time changes in the Energy Policy Act of 2005.
67280 2012-05-09  Andreas Jaeger  <aj@suse.de>
67282         [BZ #13983]
67283         * elf/ldconfig.c (parse_conf): Change string to make clear that
67284         ldconfig only issued a warning if ld.so.conf does not exist.
67286 2012-05-08  David S. Miller  <davem@davemloft.net>
67288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67289         movxtod instead of popping the value on the stack.
67291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67293 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67295         * config.h.in: Add HAVE_ARM_PCS_VFP.
67297 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67299         [BZ #13979]
67300         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67301         checking but the checks are disabled for any reason.
67303 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67305         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67306         and ELF64_R_TYPE with ELFW(R_TYPE).
67308 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67310         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67311         (ulimit): Likewise.
67313         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67314         (settimeofday): Likewise.
67316 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67318         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67319         a struct th_u2 inside the union, and move tu_block/tu_code into
67320         a new th_u3 union of tu_block/tu_code inside of that.  Move
67321         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67322         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67323         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67324         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67325         (th_stuff): Change to th_u1.tu_stuff.
67326         (th_data): Define.
67327         (th_msg): Change to th_u1.th_u2.tu_data.
67329 2012-05-07  David S. Miller  <davem@davemloft.net>
67331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67333         [BZ #14074]
67334         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67335         (SETUP_PIC_REG): Use it.
67336         (SETUP_PIC_REG_LEAF): Use it.
67338 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67340         [BZ #13885]
67341         [BZ #13923]
67342         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67343         USE_AS_EXPM1L.
67344         (EXPL_FINITE): Likewise.
67345         (FLDLOG): Likewise.
67346         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67347         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67348         e_expl.S.
67349         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67350         USE_AS_EXPM1L.
67351         (EXPL_FINITE): Likewise.
67352         (FLDLOG): Likewise.
67353         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67354         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67355         e_expl.S.
67356         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67357         test of -max_value argument for long double.
67358         * sysdeps/i386/fpu/libm-test-ulps: Update.
67359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67361 2012-05-06  David S. Miller  <davem@davemloft.net>
67363         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67364         quad soft-float symbols whose references which are compiler
67365         generated.
67366         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67368 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67370         [BZ #13884]
67371         [BZ #13914]
67372         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67373         USE_AS_EXP10L.
67374         (EXPL_FINITE): Likewise.
67375         (FLDLOG): Likewise.
67376         (c0): Likewise.
67377         (c1): Likewise.
67378         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67379         Adjust comments for base varying.
67380         (__expl_finite): Change alias to EXPL_FINITE.
67381         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67382         e_expl.S.
67383         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67384         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67385         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67386         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67387         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67388         USE_AS_EXP10L.
67389         (EXPL_FINITE): Likewise.
67390         (FLDLOG): Likewise.
67391         (c0): Likewise.
67392         (c1): Likewise.
67393         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67394         Adjust comments for base varying.
67395         (__expl_finite): Change alias to EXPL_FINITE.
67396         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67397         tests for bugs.
67398         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67400         [BZ #14064]
67401         * math/libm-test.inc (check_float_internal): Correct ulp
67402         calculation for subnormal expected results.
67404 2012-05-06  Andreas Jaeger  <aj@suse.de>
67406         * Makeconfig (+math-flags): New, set to -frounding-math.
67407         (+cflags): Add +math-flags so that all of glibc gets compiled with
67408         it.
67410         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67412 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67414         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67415         Disable one test.
67417         [BZ #13787]
67418         [BZ #13922]
67419         [BZ #14036]
67420         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67421         (__ieee754_expl): Allow for and saturate large arguments.
67422         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67423         (u_threshold): Likewise.
67424         (__exp): Call __ieee754_exp before checking for overflow and
67425         underflow.
67426         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67427         (u_threshold): Likewise.
67428         (__expf): Call __ieee754_expf before checking for overflow and
67429         underflow.
67430         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67431         (u_threshold): Likewise.
67432         (__expl): Call __ieee754_expl before checking for overflow and
67433         underflow.
67434         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67435         (__ieee754_expl): Allow for and saturate large arguments.
67436         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67437         missing overflow exception on overflow.
67438         (expm1_test): Do not allow missing overflow exception on overflow.
67440         * sysdeps/i386/fpu/e_expl.c: Move to ...
67441         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67442         rather than using inline asm.
67443         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67444         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67445         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67447         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67448         (nice): Likewise.
67449         (poll): Likewise.
67450         (signal): Likewise.
67451         (time): Likewise.
67452         (times): Likewise.
67454 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67456         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67457         sysdeps/unix/common/syscalls.list.
67458         (fchmod): Likewise.
67459         (fchown): Likewise.
67460         (ftruncate): Likewise.
67461         (getrusage): Likewise.
67462         (gettimeofday): Likewise.
67463         (setpgid): Likewise.
67464         (setregid): Likewise.
67465         (setreuid): Likewise.
67466         (sigaction): Likewise.
67467         (truncate): Likewise.
67468         (vhangup): Likewise.
67469         * sysdeps/unix/common/syscalls.list: Remove file.
67470         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67471         * sysdeps/unix/sysv/linux/Implies: Likewise.
67473 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67475         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67477         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67478         Moved to ...
67479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67480         Here.
67481         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67482         to ...
67483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67484         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67485         to ...
67486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67487         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67488         to ...
67489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67490         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67491         to ...
67492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67493         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67494         to ...
67495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67496         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67497         to ...
67498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67499         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67500         to ...
67501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67502         Here.
67503         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67504         to ...
67505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67506         Here.
67507         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67508         to ...
67509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67510         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67511         Moved to ...
67512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67513         Here.
67514         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67515         to ...
67516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67518 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67520         * sysdeps/unix/common/bits/dirent.h: Remove file.
67521         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67523         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67524         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67525         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67526         * sysdeps/unix/bsd/isatty.c: Likewise.
67527         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67528         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67529         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67531 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67533         [BZ #13563]
67534         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67535         long double comparison inaccuracies.
67536         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67539 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67541         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67542         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67544 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67546         [BZ #14049]
67547         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67548         nonzero digits before rounding a hex value.
67549         * stdlib/tst-strtod.c (tests): Add another test.
67551 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67553         * sysdeps/s390/fpu/libm-test-ulps: Update.
67555 2012-05-03  Andreas Jaeger  <aj@suse.de>
67557         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67558         does not get optimized out.
67559         (malloc_opt_barrier): New.
67561 2012-05-03  Andreas Jaeger  <aj@suse.de>
67562             Roland McGrath  <roland@hack.frob.com>
67564         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67565         intermediate file deletion.
67566         (generated): Add .symlist files.
67568 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67570         [BZ #13775]
67571         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67572         Redirect under this condition.
67573         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67574         [__USE_GNU] (__dprintf_chk): Not under this condition.
67575         [__USE_GNU] (__vdprintf_chk): Likewise.
67576         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67577         under this condition.
67578         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67579         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67580         [__USE_XOPEN2K8] (vdprintf): Likewise.
67581         [__USE_GNU] (__dprintf_chk): Not under this condition.
67582         [__USE_GNU] (__vdprintf_chk): Likewise.
67583         [__USE_GNU] (dprintf): Likewise.
67584         [__USE_GNU] (vdprintf): Likewise.
67586 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67588         * elf/Makefile (common-generated): Set this instead of generated for
67589         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67590         $(all-built-dso)-derived lists.
67592 2012-05-03  Andreas Jaeger  <aj@suse.de>
67594         * sysdeps/i386/fpu/libm-test-ulps: Update.
67596         * FAQ: Removed.
67597         * FAQ.in: Likewise.
67598         * scripts/gen-FAQ.pl: Likewise.
67599         * manual/install.texi (Installation): Point to online location of
67600         FAQ.
67601         * Makefile (files-for-dist): Remove FAQ.
67602         (FAQ): Remove.
67604 2012-05-02  Allan McRae  <allan@archlinux.org>
67606         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67607         (LDFLAGS-reldepmod5.so): Likewise.
67608         (LDFLAGS-reldep6mod1.so): Likewise.
67609         (LDFLAGS-reldep6mod4.so): Likewise.
67610         (LDFLAGS-reldep8mod3.so): Likewise.
67611         (LDFLAGS-unload4mod1.so): Likewise.
67612         (LDFLAGS-unload4mod2.so): Likewise.
67613         (LDFLAGS-tst-initorder): Likewise.
67614         (LDFLAGS-tst-initordera2.so): Likewise.
67615         (LDFLAGS-tst-initordera3.so): Likewise.
67616         (LDFLAGS-tst-initordera4.so): Likewise.
67617         (LDFLAGS-tst-initorderb2.so): Likewise.
67618         (LDFLAGS-noload): Likewise.
67619         (LDFLAGS-next): Likewise.
67620         (LDFLAGS-order2mod1.so): Likewise.
67621         (LDFLAGS-order2mod2.so): Likewise.
67622         (LDFLAGS-tst-initorder2): Likewise.
67623         (LDFLAGS-tst-initorder2a.so): Likewise.
67624         (LDFLAGS-tst-initorder2b.so): Likewise.
67625         (LDFLAGS-tst-initorder2c.so): Likewise.
67626         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67628 2012-05-02  David S. Miller  <davem@davemloft.net>
67630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67632 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67634         [BZ #14055]
67635         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67637 2012-05-02  Andreas Jaeger  <aj@suse.de>
67639         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67640         since we manipulate rounding mode.
67641         (CPPFLAGS-test-idouble.c): Likewise.
67642         (CPPFLAGS-test-ifloat.c): Likewise.
67643         (CFLAGS-test-ldouble.c): Likewise.
67644         (CFLAGS-test-double.c): Likewise.
67645         (CFLAGS-test-float.c): Likewise.
67646         (CFLAGS-test-misc.c): Likewise.
67647         (CFLAGS-test-test-fenv.c): Likewise.
67649 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67651         [BZ #2550]
67652         [BZ #2570]
67653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67654         comparisons to determine direction to adjust input.
67656 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67658         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67659         output to the target.
67661         * scripts/localplt.awk: New file.
67662         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67663         (check-localplt-CFLAGS): Variable removed.
67664         ($(all-built-dso:=.jmprel)): New static pattern rule.
67665         (generated): Add those targets.
67666         (localplt-built-dso): New variable.
67667         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67669         * elf/check-localplt.c: File removed.
67671         * scripts/check-execstack.awk: New file.
67672         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67673         (check-execstack-CFLAGS): Variable removed.
67674         ($(objpfx)check-execstack.h): Target removed.
67675         ($(objpfx)execstack-default): New target.
67676         (generated): Add that instead of check-execstack.h.
67677         ($(all-built-dso:=.phdr)): New static pattern rule.
67678         (generated): Add those targets.
67679         * elf/check-execstack.c: File removed.
67681         * scripts/check-textrel.awk: New file.
67682         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67683         (check-textrel-CFLAGS): Variable removed.
67684         (all-built-dso): Use := to define.o
67685         ($(all-built-dso:=.dyn)): New static pattern rule.
67686         (generated): Add those targets.
67687         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67688         * config.make.in (READELF): New substituted variable.
67689         * elf/check-textrel.c: File removed.
67691 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67693         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67694         allow.
67695         * conform/data/ctype.h-data [C99-based standards] (isblank):
67696         Expect function.
67697         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67698         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67699         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67700         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67701         Specify type.  Require positive value.
67702         (EILSEQ): Likewise.
67703         (ERANGE): Likewise.
67704         [ISO || POSIX] (EILSEQ): Do not expect.
67705         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67706         Specify type.  Require positive value.
67707         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67708         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67709         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67710         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67711         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67712         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67713         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67714         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67715         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67716         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67717         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67718         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67719         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67720         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67721         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67722         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67723         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67724         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67725         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67726         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67727         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67728         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67729         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67730         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67731         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67732         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67733         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67734         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67735         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67736         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67737         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67738         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67739         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67740         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67741         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67742         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67743         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67744         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67745         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67746         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67747         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67748         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67749         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67750         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67751         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67752         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67753         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67754         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67755         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67756         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67757         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67758         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67759         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67760         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67761         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67762         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67763         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67764         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67765         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67766         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67767         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67768         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67769         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67770         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67771         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67772         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67773         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67774         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67775         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67776         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67777         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67778         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67779         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67780         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67781         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67782         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67783         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67784         Require >= 2.
67785         (FLT_ROUNDS): Expect as macro, not constant.
67786         (FLT_MANT_DIG): Use macro-int-constant.
67787         (DBL_MANT_DIG): Likewise.
67788         (LDBL_MANT_DIG): Likewise.
67789         (FLT_DIG): Likewise.
67790         (DBL_DIG): Likewise.
67791         (LDBL_DIG): Likewise.
67792         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67793         (DBL_MIN_EXP): Likewise.
67794         (LDBL_MIN_EXP): Likewise.
67795         (FLT_MAX_EXP): Use macro-int-constant.
67796         (DBL_MAX_EXP): Likewise.
67797         (LDBL_MAX_EXP): Likewise.
67798         (FLT_MAX_10_EXP): Likewise.
67799         (DBL_MAX_10_EXP): Likewise.
67800         (LDBL_MAX_10_EXP): Likewise.
67801         (FLT_MAX): Use macro-constant.
67802         (DBL_MAX): Likewise.
67803         (LDBL_MAX): Likewise.
67804         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67805         (DBL_EPSILON): Likewise.
67806         (LDBL_EPSILON): Likewise.
67807         (FLT_MIN): Likewise.
67808         (DBL_MIN): Likewise.
67809         (LDBL_MIN): Likewise.
67810         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67811         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67812         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67813         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67814         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67815         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67816         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67817         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67818         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67819         [ISO11] (FLT_TRUE_MIN): Likewise.
67820         [ISO11] (LDBL_TRUE_MIN): Likewise.
67821         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67822         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67823         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67824         (SCHAR_MAX): Likewise.
67825         (UCHAR_MAX): Likewise.
67826         (CHAR_MIN): Likewise.
67827         (CHAR_MAX): Likewise.
67828         (MB_LEN_MAX): Use macro-int-constant.
67829         (SHRT_MIN): Use macro-int-constant.  Specify type.
67830         (SHRT_MAX): Likewise.
67831         (USHRT_MAX): Likewise.
67832         (INT_MAX): Likewise.
67833         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67834         bound negative.
67835         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67836         bound with "U".
67837         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67838         bound with "L".
67839         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67840         bound negative.  Suffix upper bound with "L".
67841         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67842         bound with "UL".
67843         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67844         Specify type.
67845         [C99-based standards] (LLONG_MAX): Likewise.
67846         [C99-based standards] (ULLONG_MAX): Likewise.
67847         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67848         == 0.
67849         [ISO11] (max_align_t): Require type.
67850         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67852         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67853         from $CFLAGS, without defining away __attribute__ calls.
67854         (checknamespace): Use $CFLAGS_namespace.
67856         * conform/conformtest.pl (@keywords): Only include C99 keywords
67857         for standards based on C99 or C11.
67859         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67860         Disable tests.
67861         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67862         UNIX98]: Likewise.
67864         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67865         usability of symbols in #if.
67867         * conform/conformtest.pl: If macro or constant types start
67868         "promoted:", expect the symbol to be of the following type
67869         promoted by the integer promotions.
67871         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67872         in one place.  Also handle "macro-constant".
67874         * conform/conformtest.pl: Only accept expected macro values with
67875         "==".  Parse all "macro" lines in one place.
67876         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67878         * conform/conformtest.pl: Handle braced types on "constant" lines
67879         instead of handling "typed-constant".
67880         * conform/data/signal.h-data: Use "constant" instead of
67881         "typed-constant".
67883         * conform/conformtest.pl: Handle "optional-" at start of lines in
67884         one place rather than duplicating several cases.  Handle each
67885         format of "macro" line with initial "optional-".
67887         * conform/conformtest.pl: Only accept expected constant or
67888         optional-constant values with "==".  Parse all "constant" lines in
67889         one place.  Parse all "optional-constant" lines in one place.
67890         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67891         * conform/data/fmtmsg.h-data: Likewise.
67892         * conform/data/netinet/in.h-data: Likewise.
67893         * conform/data/tar.h-data: Likewise.
67894         * conform/data/limits.h-data: Use "==" form on "constant" and
67895         "optional-constant" lines.
67897         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67898         Use -std=c99 for XOPEN2K.
67899         (@knownproblems): Remove.
67900         (newtoken): Don't check %isknown.
67902         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67903         Do not expect macro.
67904         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67905         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67906         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67907         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67908         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67909         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67910         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67911         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67912         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67913         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67914         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67915         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67916         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67917         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67918         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67919         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67920         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67921         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67922         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67923         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67924         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67925         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67926         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67927         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67928         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67929         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67930         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67931         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67932         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67933         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67934         [XPG3] (acosh): Likewise.
67935         [XPG3] (asinh): Likewise.
67936         [XPG3] (atanh): Likewise.
67937         [XPG3] (cbrt): Likewise.
67938         [XPG3] (expm1): Likewise.
67939         [XPG3] (ilogb): Likewise.
67940         [XPG3] (log1p): Likewise.
67941         [XPG3] (logb): Likewise.
67942         [XPG3] (nextafter): Likewise.
67943         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67944         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67945         [XPG3] (remainder): Likewise.
67946         [XPG3] (rint): Likewise.
67947         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67948         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67949         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67950         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67951         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67952         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67953         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67954         [UNIX98 || XOPEN2K] (scalb): Expect.
67955         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67956         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67957         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67958         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67959         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67960         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67961         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67962         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67963         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67964         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67965         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67966         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67967         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67968         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67969         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67970         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67971         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67972         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67973         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67974         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67975         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67976         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67977         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67978         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67979         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67980         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67981         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67982         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67983         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67984         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67985         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67986         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67987         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67988         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67989         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67990         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67991         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67992         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67993         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67994         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67995         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67996         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67997         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67998         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67999         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68000         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68001         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68002         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68003         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68004         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68005         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68006         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68007         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68008         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68009         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68010         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68011         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68012         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68013         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68014         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68015         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68016         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68017         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68018         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68019         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68020         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68021         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68022         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68023         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68024         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68025         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68026         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68027         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68028         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68029         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68030         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68031         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68032         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68033         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68034         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68035         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68036         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68037         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68038         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68039         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68040         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68041         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68042         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68043         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68044         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68045         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68046         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68047         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68048         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68049         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68050         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68051         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68052         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68053         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68054         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68055         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68056         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68057         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68058         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68059         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68060         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68061         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68062         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68063         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68064         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68065         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68066         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68067         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68068         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68069         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68070         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68071         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68072         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68073         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68074         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68075         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68076         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68077         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68078         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68079         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68080         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68081         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68082         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68083         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68084         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68085         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68086         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68087         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68088         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68089         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68090         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68091         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68093         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68094         _XOPEN_SOURCE_EXTENDED for XPG4.
68096         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68098         * Makeconfig (localtime): Remove variable.
68099         (inst_localtime-file): Likewise.
68101 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68104         Update.
68105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68106         Update.
68107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68108         Update.
68109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68110         Update.
68111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68112         Update.
68113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68114         Update.
68115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68116         Update.
68117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68118         Update.
68119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68120         Update.
68122 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68124         [BZ #2550]
68125         [BZ #2570]
68126         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68127         comparisons to determine direction to adjust input.
68128         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68129         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68130         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68131         Likewise.
68132         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68133         Likewise.
68134         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68135         Likewise.
68136         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68137         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68138         Likewise.
68139         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68140         Likewise.
68141         * math/libm-test.inc (nexttoward_test): Add more tests.
68143 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68145         [BZ #14040]
68146         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68147         in version GLIBC_2.1, not GLIBC_2.0.
68148         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68149         Likewise.
68151 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68153         [BZ #13942]
68154         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68155         (1 - x) * (1 + x).
68156         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68157         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68158         * math/libm-test.inc (acos_test): Add more tests.
68159         (asin_test): Likewise.
68160         * sysdeps/i386/fpu/libm-test-ulps: Update.
68161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68163         [BZ #14034]
68164         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68165         of square root.
68166         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68167         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68168         * math/libm-test.inc (acos_test_tonearest): New function.
68169         (acos_test_towardzero): Likewise.
68170         (acos_test_downward): Likewise.
68171         (acos_test_upward): Likewise.
68172         (asin_test_tonearest): Likewise.
68173         (asin_test_towardzero): Likewise.
68174         (asin_test_downward): Likewise.
68175         (asin_test_upward): Likewise.
68176         (main): Call the new functions.
68177         * sysdeps/i386/fpu/libm-test-ulps: Update.
68178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68180         [BZ #13884]
68181         [BZ #13924]
68182         * math/e_exp10.c: Include <float.h>.
68183         (__ieee754_exp10): Handle underflow here rather than multiplying
68184         large negative argument by M_LN10.
68185         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68186         of __ieee754_expf.
68187         * math/e_exp10l.c: Include <float.h>.
68188         (__ieee754_exp10l): Handle underflow here rather than multiplying
68189         large negative argument by M_LN10l.
68190         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68191         spurious overflow exception on underflow.
68193 2012-04-29  Marek Polacek  <polacek@redhat.com>
68195         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68196         (__fortify_function): New macro.
68197         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68198         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68199         __extern_always_inline.
68200         * libio/bits/stdio2.h: Likewise.
68201         * libio/bits/stdio.h: Likewise.
68202         * string/string.h: Likewise.
68203         * string/bits/string3.h: Likewise.
68204         * include/stdio.h: Likewise.
68205         * stdlib/bits/stdlib.h: Likewise.
68206         * stdlib/stdlib.h: Likewise.
68207         * rt/bits/mqueue2.h: Likewise.
68208         * rt/mqueue.h: Likewise.
68209         * posix/bits/unistd.h: Likewise.
68210         * posix/unistd.h: Likewise.
68211         * io/bits/poll2.h: Likewise.
68212         * io/bits/fcntl2.h: Likewise.
68213         * io/fcntl.h: Likewise.
68214         * io/sys/poll.h: Likewise.
68215         * misc/bits/syslog.h: Likewise.
68216         * misc/bits/syslog-ldbl.h: Likewise.
68217         * misc/sys/syslog.h: Likewise.
68218         * socket/bits/socket2.h: Likewise.
68219         * socket/sys/socket.h: Likewise.
68220         * debug/tst-chk1.c: Likewise.
68221         * wcsmbs/bits/wchar2.h: Likewise.
68222         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68223         * wcsmbs/wchar.h: Likewise.
68225 2012-04-29  Andreas Jaeger  <aj@suse.de>
68227         * Makerules (tests): Remove enable-check-abi protection.
68228         (check-abi-warn): Remove.
68229         (check-abi-%): Remove check-abi-warn usage.
68231         * configure.in: Remove check-abi configure option.
68232         * configure: Regenerated.
68233         * config.make.in (enable-check-abi): Remove.
68235 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68237         [BZ #14033]
68238         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68239         double functions to double *_finite functions.
68241         [BZ #13941]
68242         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68243         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68244         LDBL_MIN_EXP.
68245         * stdio-common/Makefile (tests): Add tst-sprintf3.
68246         * stdio-common/tst-sprintf3.c: New file.
68248         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68249         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68251 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68253         * conform/conformtest.pl: Remove duplicate typed-constant
68254         handling.
68256 2012-04-28  David S. Miller  <davem@davemloft.net>
68258         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68259         (check-abi-%): Remove AWK script prerequisite and explicit
68260         abilist directory.
68261         (check-abi): Rewrite to just diff the symlist with the abilist.
68262         (config-tls, config-abi-config): Delete, no longer used.
68263         (update-abi-%): Remove AWK script and explicit abilist directory.
68264         (update-abi): Rewrite to simply compare and conditionally copy the
68265         symlist and the sysdep abilist file.  Remove update-abi-config
68266         checks.
68267         * abilist/ld.abilist: Remove.
68268         * abilist/libBrokenLocale.abilist: Remove.
68269         * abilist/libanl.abilist: Remove.
68270         * abilist/libcrypt.abilist: Remove.
68271         * abilist/libdl.abilist: Remove.
68272         * abilist/librt.abilist: Remove.
68273         * abilist/libthread_db.abilist: Remove.
68274         * abilist/libutil.abilist: Remove.
68275         * scripts/extract-abilist.awk: Remove.
68276         * scripts/merge-abilist.awk: Remove.
68277         * sysdeps/generic/libcidn.abilist: New file.
68278         * sysdeps/generic/libnss_compat.abilist: New file.
68279         * sysdeps/generic/libnss_db.abilist: New file.
68280         * sysdeps/generic/libnss_dns.abilist: New file.
68281         * sysdeps/generic/libnss_files.abilist: New file.
68282         * sysdeps/generic/libnss_hesiod.abilist: New file.
68283         * sysdeps/generic/libnss_nis.abilist: New file.
68284         * sysdeps/generic/libnss_nisplus.abilist: New file.
68285         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68286         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68287         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68288         file.
68289         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68290         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68291         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68292         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68293         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68294         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68295         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68296         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68297         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68298         file.
68299         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68300         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68301         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68302         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68303         file.
68304         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68305         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68306         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68307         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68308         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68309         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68310         file.
68311         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68312         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68313         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68314         file.
68315         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68317         New file.
68318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68319         New file.
68320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68321         New file.
68322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68323         New file.
68324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68325         New file.
68326         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68327         New file.
68328         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68329         New file.
68330         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68331         New file.
68332         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68333         New file.
68334         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68335         New file.
68336         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68337         New file.
68338         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68339         New file.
68340         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68341         New file.
68342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68343         file.
68344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68345         New file.
68346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68347         New file.
68348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68349         file.
68350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68351         New file.
68352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68353         New file.
68354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68355         file.
68356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68357         New file.
68358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68359         New file.
68360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68361         New file.
68362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68363         New file.
68364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68365         New file.
68366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68367         New file.
68368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68370         file.
68371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68372         New file.
68373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68374         file.
68375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68376         file.
68377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68378         file.
68379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68380         file.
68381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68382         file.
68383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68384         New file.
68385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68386         file.
68387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68388         file.
68389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68390         New file.
68391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68392         file.
68393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68395         file.
68396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68397         New file.
68398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68399         file.
68400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68401         file.
68402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68403         file.
68404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68405         file.
68406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68407         file.
68408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68409         New file.
68410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68411         file.
68412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68413         file.
68414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68415         New file.
68416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68417         file.
68418         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68419         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68420         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68421         file.
68422         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68423         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68424         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68425         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68426         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68427         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68428         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68429         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68430         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68431         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68434         file.
68435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68436         New file.
68437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68438         file.
68439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68440         file.
68441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68442         file.
68443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68444         file.
68445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68446         file.
68447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68448         New file.
68449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68450         New file.
68451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68452         file.
68453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68454         New file.
68455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68456         file.
68457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68459         file.
68460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68461         New file.
68462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68463         file.
68464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68465         file.
68466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68467         file.
68468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68469         file.
68470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68471         file.
68472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68473         New file.
68474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68475         New file.
68476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68477         file.
68478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68479         New file.
68480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68481         file.
68483 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68485         * conform/conformtest.pl: Fix typo in handling typed-constant from
68486         allow-header.
68488 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68490         * README: Cut down references to pre-2.6 Linux kernels and
68491         Linuxthreads.  Update lists of configurations in libc and ports
68492         and sort alphabetically.  Say "or newer" with Linux kernel version
68493         requirements.
68495         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68497 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68499         [BZ #887]
68500         * math/libm-test.inc (logb_test_downward): New test to expose
68501         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68502         rounding mode.
68504 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68506         [BZ #14027]
68507         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68508         to be done.
68509         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68510         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68512 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68514         * sysdeps/unix/i386/brk.S: Remove file.
68515         * sysdeps/unix/i386/dl-brk.S: Likewise.
68516         * sysdeps/unix/i386/pipe.S: Likewise.
68517         * sysdeps/unix/i386/sigreturn.S: Likewise.
68518         * sysdeps/unix/i386/syscall.S: Likewise.
68519         * sysdeps/unix/i386/vfork.S: Likewise.
68520         * sysdeps/unix/i386/wait.S: Likewise.
68522         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68523         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68525         * configure.in (arm*-none*): Do not allow without
68526         --enable-hacker-mode.
68527         (netbsd*): Remove case setting base_os.
68528         (386bsd*): Likewise.
68529         (freebsd*): Likewise.
68530         (bsdi*): Likewise.
68531         (osf*): Likewise.
68532         (sunos*): Likewise.
68533         (ultrix*): Likewise.
68534         (newsos*): Likewise.
68535         (dynix*): Likewise.
68536         (*bsd*): Likewise.
68537         (sysv*): Likewise.
68538         (isc*): Likewise.
68539         (esix*): Likewise.
68540         (sco*): Likewise.
68541         (minix*): Likewise.
68542         (irix4*): Likewise.
68543         (irix6*): Likewise.
68544         (solaris[2-9]*): Likewise.
68545         (none): Likewise.
68546         * configure: Regenerated.
68548 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68550         [BZ #11521]
68551         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68552         overflow or cancellation in calculating denominator.
68553         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68554         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68555         down expression to avoid unexpected rounding in newer GCCs.
68556         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68558 2012-04-26  David S. Miller  <davem@davemloft.net>
68560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68561         long-double compat symbols.
68562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68576 2012-04-25  David S. Miller  <davem@davemloft.net>
68578         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68579         HWCAP_* values only after the memory barriers have been defined.
68580         (atomic_full_barrier): Define.
68581         (atomic_read_barrier): Define.
68582         (atomic_write_barrier): Define.
68584 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68586         * shlib-versions: Add libgcc_s version information.
68587         * sysdeps/generic/libgcc_s.h: Remove.
68588         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68589         libgcc_s.h.
68590         * sysdeps/gnu/unwind-resume.c: Likewise.
68591         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68593 2012-04-25  David S. Miller  <davem@davemloft.net>
68595         * sysdeps/unix/sparc/brk.S: Delete.
68596         * sysdeps/unix/sparc/dl-brk.S: Delete.
68597         * sysdeps/unix/sparc/pipe.S: Delete.
68598         * sysdeps/unix/sparc/sysdep.S: Delete.
68599         * sysdeps/unix/sparc/sysdep.h: Delete.
68600         * sysdeps/unix/sparc/vfork.S: Delete.
68601         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68602         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68603         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68604         (ret_ERRVAL, r0, r1, MOVE): Define.
68605         (JUMPTARGET): Remove.
68606         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68607         sysdeps/unix/sparc/sysdep.h
68608         (ENTRY, END): Remove.
68609         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68611 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68613         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68614         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68615         -DIS_IN_build.
68617         * timezone/README: Update upstream location and email address for
68618         tzcode and tzdata.
68619         * timezone/zdump.c: Update from tzcode 2012b.
68620         * timezone/zic.c: Likewise.
68622         * configure.in (libc_cv_as_needed): Remove test.
68623         * configure: Regenerated.
68624         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68625         conditional definition.
68626         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68627         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68628         * config.make.in (have-as-needed): Remove variable.
68630 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68631             Paul Pluzhnikov  <ppluzhnikov@google.com>
68633         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68634         strings correctly.
68636 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68638         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68639         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68640         * sysdeps/sh/strlen.S: Likewise.
68642 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68644         * sysdeps/unix/fork.S: Remove file.
68645         * sysdeps/unix/i386/fork.S: Likewise.
68646         * sysdeps/unix/sparc/fork.S: Likewise.
68648         * sysdeps/unix/system.c: Remove file.
68649         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68651         * sysdeps/unix/getegid.S: Remove file.
68652         * sysdeps/unix/geteuid.S: Likewise.
68654 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68656         * scripts/check-localplt.awk: New file.
68657         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68658         of diff.
68659         * scripts/data/localplt-generic.data: Add a comment.
68661         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68662         NODE when __dir_mkfile failed.
68663         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68664         Reported by Ludovic Courtès <ludo@gnu.org>.
68666 2012-04-24  Andreas Jaeger  <aj@suse.de>
68668         * Makerules (common-clean): Also remove gen-as-const-headers
68669         files.
68671 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68673         * Makerules (native-compile): Do not change working directory for
68674         build.  Use $(OUTPUT_OPTION) in command.
68675         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68677 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68679         [BZ #13886]
68680         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68681         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68682         * math/libm-test.inc (floor_test): Add more tests.
68683         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68685 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68687         * sysdeps/unix/getdents.c: Remove file.
68688         * sysdeps/unix/sysv/getdents.c: Likewise.
68689         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68691         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68692         sysdeps/unix/mman/syscalls.list.
68693         (mmap): Likewise.
68694         (mprotect): Likewise.
68695         (msync): Likewise.
68696         (munmap): Likewise.
68697         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68698         * sysdeps/unix/mman/syscalls.list: Remove.
68699         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68701         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68702         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68703         * configure: Regenerated.
68704         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68705         $(libgcc_s_suffix).
68706         * config.make.in (libgcc_s_suffix): Remove variable.
68708 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68710         * sysdeps/unix/sysv/gethostname.c: Move to ...
68711         * sysdeps/posix/gethostname.c: ... here.
68713         * sysdeps/unix/execve.S: Remove file.
68715         * sysdeps/unix/_exit.S: Remove file.
68717 2012-04-23  Andreas Jaeger  <aj@suse.de>
68719         [BZ #13739]
68720         * manual/Makefile: Remove make dist support, there's no
68721         need for a stand-alone documentation tar ball.
68722         (TEXI2DVI): Define always, it's not in Makeconfig.
68723         (dist): Removed.
68724         (tar-it): Removed.
68725         (edition): Removed.
68726         (glibc-doc-$(edition).tar): Removed
68727         (%.Z): Removed.
68728         (%.gz): Removed.
68729         (%.uu): Removed.
68730         (ETAGS): Remove, it's in Makeconfig.
68731         (move-if-change): Remove, it's in Makeconfig.
68733 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68735         [BZ #13970]
68736         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68737         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68738         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68739         (strtod_l, strtof_l, strtold_l): Remove __wur.
68740         It is not necessarily an error to ignore strtol's return value.
68741         One can reliably look at the stored endptr to decide whether
68742         the number had valid syntax.
68744 2012-04-21  Andreas Jaeger  <aj@suse.de>
68746         [BZ #13739]
68747         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68749 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68751         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68752         * sysdeps/unix/sysv/Versions: Remove file.
68754 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68756         [BZ #13927]
68757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68759 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68761         [BZ #7064]
68762         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68763         version from __vm86.
68765 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68767         * sysdeps/unix/common/lxstat.c: Remove file.
68768         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68770         * sysdeps/unix/sysv/Makefile: Remove file.
68772         * sysdeps/unix/sysv/direct.h: Remove file.
68774         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68775         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68776         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68777         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68778         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68779         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68780         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68782         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68784         * sysdeps/unix/xmknod.c: Remove file.
68785         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68787         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68789         * sysdeps/unix/sysv/i386/time.S: Remove file.
68791         * sysdeps/unix/fxstat.c: Remove file.
68792         * sysdeps/unix/xstat.c: Likewise.
68793         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68795         * sysdeps/unix/sysv/sigaction.c: Remove file.
68797         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68798         (sysdep_headers): Remove variable.
68799         [termio.h not in sysdep_headers] (generated): Likewise.
68800         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68801         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68802         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68803         * sysdeps/unix/sysv/tcflow.c: Likewise.
68804         * sysdeps/unix/sysv/tcflush.c: Likewise.
68805         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68806         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68807         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68808         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68809         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68811         * sysdeps/unix/siglist.c: Remove file.
68813         * sysdeps/unix/getppid.S: Remove file.
68815         * sysdeps/unix/mkdir.c: Remove file.
68816         * sysdeps/unix/rmdir.c: Likewise.
68818 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68820         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68821         ERR_MAX value.
68822         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68823         errlist-compat value.
68825 2012-04-18  David S. Miller  <davem@davemloft.net>
68827         * sysdeps/generic/memcopy.h (reg_char): Delete.
68828         * debug/strcat_chk.c: Use char, not reg_char.
68829         * debug/strcpy_chk.c: Likewise.
68830         * debug/strncat_chk.c: Likewise.
68831         * debug/strncpy_chk.c: Likewise.
68832         * string/memchr.c: Likewise.
68833         * string/memrchr.c: Likewise.
68834         * string/rawmemchr.c: Likewise.
68835         * string/strcat.c: Likewise.
68836         * string/strchr.c: Likewise.
68837         * string/strchrnul.c: Likewise.
68838         * string/strcmp.c: Likewise.
68839         * string/strcpy.c: Likewise.
68840         * string/strncat.c: Likewise.
68841         * string/strncmp.c: Likewise.
68842         * string/strncpy.c: Likewise.
68844 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68846         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68847         __builtin_memcopy is called when src and dest ranges are known to not
68848         overlap.
68850 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68852         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68853         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68854         fwd_align_merge macro call.
68855         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68856         bwd_align_merge macro call.
68857         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68859 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68861         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68862         bwd_align_merge macros.
68863         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68864         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68865         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68867 2012-04-18  David S. Miller  <davem@davemloft.net>
68869         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68871 2012-04-18  Andreas Jaeger  <aj@suse.de>
68873         [BZ# 6794]
68874         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68875         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68876         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68878         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68879         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68880         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68882         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68883         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68884         Adjust for changed ldbl-128 files.
68886         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68887         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68888         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68890 2012-04-17  David S. Miller  <davem@davemloft.net>
68892         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68894 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68896         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68897         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68898         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68899         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68900         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68901         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68903 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68905         [BZ #6794]
68906         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68907         * math/libm-test.inc: Add ilogb errno and exception tests.
68908         * math/w_ilogb.c: New file: ilogb wrapper.
68909         * math/w_ilogbf.c: New file: ilogbf wrapper.
68910         * math/w_ilogbl.c: New file: ilogbl wrapper.
68911         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68912         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68913         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68914         exception being thrown with 0.0 as argument.
68915         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68916         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68917         exception being thrown with 0.0 as argument.
68918         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68919         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68920         exception being thrown with 0.0 as argument.
68921         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68922         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68923         exception being thrown with 0.0 as argument.
68924         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68925         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68926         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68927         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68928         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68929         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68930         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68931         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68932         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68934 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68936         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68937         with altivec.
68939 2012-04-16  Marek Polacek  <polacek@redhat.com>
68941         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68943 2012-04-16  Marek Polacek  <polacek@redhat.com>
68945         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68946         operands of fdivp instruction.
68948 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68950         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68951         * elf/tst-auditmod3b.c: Likewise.
68952         * elf/tst-auditmod4b.c: Likewise.
68953         * elf/tst-auditmod5b.c: Likewise.
68954         * elf/tst-auditmod6b.c: Likewise.
68955         * elf/tst-auditmod6c.c: Likewise.
68956         * elf/tst-auditmod7b.c: Likewise.
68957         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68958         * sysdeps/x86_64/preconfigure.in: Likewise.
68959         * sysdeps/x86_64/preconfigure: Regenerated.
68961 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68963         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68964         __ILP32__.
68966 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68968         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68969         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68971 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68973         [BZ #13973]
68974         * locale/iso-639.def: Fix gl language name. Spotted by
68975         Yaron Shahrabani.
68977 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68979         [BZ #2074]
68980         * libio/libio.h (__io_write_fn): Update comment.
68982 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68984         [BZ #2074]
68985         * stdio.texi (Hook Functions): The user provided writer function
68986         is not allowed to return -1.
68988 2012-04-11  David S. Miller  <davem@davemloft.net>
68990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68992 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68994         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68995         Add a leading slash to rtkaio.
68997 2012-04-11  Jim Meyering  <meyering@redhat.com>
68999         [BZ #11959]
69000         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69001         It is not necessarily an error to ignore fwrite's return
69002         value.  One can reliably use ferror to test for errors after
69003         the fact.
69005 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69007         * bits/types.h (__snseconds_t): New type.
69008         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69010         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69011         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69012         (__SNSECONDS_T_TYPE): Likewise.
69013         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69014         (__SNSECONDS_T_TYPE): Likewise.
69015         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69016         (__SNSECONDS_T_TYPE): Likewise.
69018 2012-04-10  Andreas Jaeger  <aj@suse.de>
69020         [BZ #2636]
69021         * manual/time.texi (Processor Time): Return type of times is
69022         elapsed real time since an arbitrary point in the past.
69023         (CPU Time): Move CLK_TCK from here...
69024         (Processor Time): ...to here.  Correct description.
69025         * manual/conf.texi (Constants for Sysconf): Correct description of
69026         _SC_CLK_TCK.
69028 2012-04-10  David S. Miller  <davem@davemloft.net>
69030         [BZ #13967]
69031         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69032         where the is a gap between DT_REL(A) and DT_JMPREL.
69034 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69036         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69037         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69038         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69040 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69042         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69043         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69044         (dl_main): Handle --inhibit-cache.
69045         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69046         _dl_inhibit_cache.
69047         * elf/dl-load.c (_dl_map_object): Use it.
69048         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69050 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69052         [BZ #13872]
69053         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69054         (__ieee754_powl): Saturate large exponents rather than testing for
69055         overflow of y*log2(x).
69056         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69057         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69058         exceptions.
69060         [BZ #11521]
69061         * math/s_ctan.c: Include <float.h>.
69062         (__ctan): Avoid internal overflow or cancellation in calculating
69063         denominator.
69064         * math/s_ctanf.c: Likewise.
69065         * math/s_ctanl.c: Likewise.
69066         * math/s_ctanh.c: Likewise.
69067         * math/s_ctanhf.c: Likewise.
69068         * math/s_ctanhl.c: Likewise.
69069         * math/libm-test.inc (ctan_test): Add more tests.
69070         (ctanh_test): Likewise.
69071         * sysdeps/i386/fpu/libm-test-ulps: Update.
69072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69074 2012-04-09  Andreas Jaeger  <aj@suse.de>
69076         [BZ #6894]
69077         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69078         is an optional BSD extension.
69080         [BZ #10254]
69081         * manual/stdio.texi (Opening Streams): Document additional fopen
69082         parameters.
69084 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69086         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69087         %eax without telling the compiler.
69089 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69091         [BZ # 13963]
69092         * manual/install.texi: Use sourceware.org.
69094 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69096         [BZ #13873]
69097         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69098         (__ieee754_pow): Generate overflow and underflow using huge*huge
69099         and tiny*tiny rather than just returning constant infinity or zero
69100         for large exponents.
69101         * math/libm-test.inc (pow_test): Require overflow exceptions for
69102         applicable cases of large exponents.
69104         [BZ #706]
69105         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69106         (__ieee754_pow): Use iterative multiplication algorithm only for
69107         integer exponents with absolute value below 1024.  Check for odd
69108         integer exponents when using algorithm for real exponents.
69109         * math/libm-test.inc (pow_test): Add more tests.
69110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69112 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69114         [BZ #13705]
69115         * math/libm-test.inc (exp_test): Do not allow overflow exception
69116         on underflow test.
69118 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69120         [BZ #13705]
69121         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69122         instead of __kernel_standard_f.
69124 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69126         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69127         * sysdeps/x86_64/memset_chk.S: Likewise.
69129 2012-04-08  Andreas Jaeger  <aj@suse.de>
69131         [BZ #10153]
69132         * manual/startup.texi (Environment Access): Describe return value
69133         for putenv and setenv.
69135         [BZ #6895]
69136         * manual/filesys.texi (Directory Entries): Add description for
69137         DT_LNK.
69139         [BZ #6890]
69140         * manual/filesys.texi (Directory Entries): Clarify that it's file
69141         system not operating system in the description of DT_UNKNOWN.
69143         [BZ #6578]
69144         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69146 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69148         [BZ #6649]
69149         * manual/llio.texi (Opening and Closing Files): Add cross
69150         reference to explain mode argument.
69152 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69154         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69155         * sysdeps/x86_64/memset_chk.S: Likewise.
69157 2012-04-07  David S. Miller  <davem@davemloft.net>
69159         * elf/elf.h (R_SPARC_WDISP10): Define.
69160         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69161         R_SPARC_SIZE32.
69162         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69163         R_SPARC_SIZE64 and R_SPARC_H34.
69165 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69167         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69168         conditions and remove no longer applicable assertion.
69170 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69172         * bits/byteswap.h: Include <features.h>.
69173         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69174         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69176 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69178         * bits/byteswap.h (__bswap_16): Removed.
69179         Include <bits/byteswap-16.h> to get __bswap_16.
69180         * sysdeps/i386/bits/byteswap.h: Likewise.
69181         * sysdeps/s390/bits/byteswap.h: Likewise.
69182         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69183         * bits/byteswap-16.h: New file.
69184         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69185         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69186         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69187         * string/Makefile (headers): Add bits/byteswap-16.h.
69189 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69191         [BZ #13895]
69192         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69193         extra indirection.
69194         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69195         * nss/tst-nss-static.c: New.
69197 2012-04-06  Robert Millan  <rmh@gnu.org>
69199         [BZ #6486]
69200         * manual/llio.texi (File Position Primitive): lseek
69201         refers to WHENCE when it really means OFFSET.
69203 2012-04-06  Andreas Jaeger  <aj@suse.de>
69205         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69206         strncmp declarations.
69208         * abilist/libc.abilist: Add __poll and __ppoll.
69210 2012-04-05  David S. Miller  <davem@davemloft.net>
69212         * scripts/check-local-headers.sh: Accept a host triplet in the
69213         path matched by the exclude regexp.
69215         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69216         definition.
69217         * sysdeps/powerpc/powerpc32/dl-machine.h
69218         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69219         * sysdeps/s390/s390-32/dl-machine.h
69220         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69221         * sysdeps/sparc/sparc32/dl-machine.h
69222         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69223         * sysdeps/sparc/sparc64/dl-machine.h
69224         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69226         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69227         lazy binding.
69228         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69229         undefined symbol errors.
69231         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69232         DT_NEEDED entries.
69234 2012-04-05  Michael Matz  <matz@suse.de>
69236         [BZ #13592]
69237         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69239 2012-04-05  Andreas Jaeger  <aj@suse.de>
69241         [BZ #13908]
69242         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69243         comment.
69245 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69247         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69248         which ROUND is no valid rounding mode.
69250 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69252         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69253         read again.
69254         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69256 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69258         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69259         an exception using FPU order intentionally.
69261 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69263         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69264         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69265         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69266         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69268 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69270         [BZ #12340]
69271         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69272         EINVAL when BUFLEN is too smal.
69274 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69276         [BZ #13553]
69277         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69278         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69280 2012-04-03  Andreas Jaeger  <aj@suse.de>
69282         [BZ #13938]
69283         * manual/setjmp.texi (System V contexts): Fix sentence.
69285         [BZ #13926]
69286         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69287         New macro for this case.
69288         [!__GNUC__] (__bswap_64): New inline function for this case.
69289         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69290         * bits/byteswap.h: Likewise.
69291         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69292         ull, guard with __GLIBC_HAVE_LONG_LONG.
69294         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69295         __GLIBC_HAVE_LONG_LONG.
69297         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69298         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69300 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69302         [BZ #13691]
69303         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69304         inptr and inend, rather than using last_ch.
69306 2012-04-02  David S. Miller  <davem@davemloft.net>
69308         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69309         * stdio-common/printf-parse.h (read_int): Change return type to
69310         'int', return -1 on INT_MAX overflow.
69311         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69312         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69313         overflows INT_MAX.  Check for overflow of in-format-string precision
69314         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69315         SIZE_MAX not INT_MAX for integer overflow test.
69316         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69317         skip the construct in the format string but do not record anything.
69318         * stdio-common/bug22.c: Adjust to test both width/prevision
69319         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69320         explicitly for proper errno values.
69322 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69324         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69325         CHAR_MAX.
69326         * string/test-strcmp.c [! WIDE]: Likewise.
69327         * time/tst-mktime2.c: Likewise for INT_MAX.
69328         * string/test-string.h: #include <sys/param.h> for MIN.
69330         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69331         * sysdeps/i386/init-first.c (init): Likewise.
69332         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69333         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69334         * sysdeps/sh/init-first.c (init): Likewise.
69336 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69338         * po/ru.po: Update from translation team.
69339         * po/vi.po: Likewise.
69341 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69343         * resolv/nss_dns/dns-host.c: Merge copyright years.
69345 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69347         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69348         Optimize memcpy with prefetch if
69349         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69350         src, dst pointers have unequal 16 byte alignments.
69352 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69354         [BZ #13928]
69355         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69356         from a CNAME entry and return the minimum ttl for the query.
69357         (gaih_getanswer_slice): Likewise.
69359 2012-03-30  Jeff Law  <law@redhat.com>
69361         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69362         due to long keys.
69363         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69364         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69366         * resolv/nss_dns/dns-host.c: Update copyright year.
69368 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69370         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69371         requests to save a system call.  Fix check that all bytes are sent.
69373         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69374         comments for sendmmsg.
69376 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69378         [BZ #13691]
69379         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69380         with only 1 character between 0x0041 and 0x01b0.
69381         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69382         * wcsmbs/tst-mbsnrtowcs.c: New file.
69384 2012-03-29  David S. Miller  <davem@davemloft.net>
69386         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69387         small copies by hand.
69389 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69391         [BZ #13761]
69392         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69393         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69394         group memberships.
69396 2012-03-28  David S. Miller  <davem@davemloft.net>
69398         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69399         that branches into memcpy.
69400         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69401         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69402         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69403         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69404         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69405         bits.
69406         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69407         implementation too.
69408         * sysdeps/sparc/mempcpy.S: New file.
69410         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69411         the IFUNC routine in the libc case.
69412         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69414         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69415         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69416         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69417         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69418         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69419         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69420         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69421         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69423         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69424         loop to 256 bytes instead of 64 bytes and fix test signedness.
69426         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69427         * sysdeps/sparc/sparc32/Makefile: rather than here...
69428         * sysdeps/sparc/sparc64/Makefile: and here.
69430 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69432         * malloc/mallocbug.c: Avoid warnings about unused variables.
69434 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69436         [BZ #13760]
69437         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69438         in the right place. Discard and retry query if response is
69439         larger than input buffer size.
69441 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69443         [BZ #369]
69444         [BZ #2678]
69445         [BZ #3866]
69446         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69447         x for large integer exponent.
69448         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69449         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69450         sign of result as needed afterwards.
69451         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69452         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69453         result for underflowing pow the same as for overflow.
69454         (__kernel_standard_l): Handle powl overflow and underflow here
69455         rather than calling __kernel_standard.
69456         * math/libm-test.inc (pow_test): Add more tests.
69458         [BZ #3868]
69459         [BZ #13879]
69460         [BZ #13910]
69461         [BZ #13911]
69462         [BZ #13912]
69463         [BZ #13913]
69464         [BZ #13915]
69465         [BZ #13916]
69466         [BZ #13917]
69467         [BZ #13918]
69468         [BZ #13919]
69469         [BZ #13920]
69470         [BZ #13921]
69471         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69472         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69473         (__kernel_standard_l): New function.
69474         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69475         __kernel_standard.
69476         * math/w_acosl.c (__acosl): Likewise.
69477         * math/w_asinl.c (__asinl): Likewise.
69478         * math/w_atan2l.c (__atan2l): Likewise.
69479         * math/w_atanhl.c (__atanhl): Likewise.
69480         * math/w_coshl.c (__coshl): Likewise.
69481         * math/w_exp10l.c (__exp10l): Likewise.
69482         * math/w_exp2l.c (__exp2l): Likewise.
69483         * math/w_fmodl.c (__fmodl): Likewise.
69484         * math/w_hypotl.c (__hypotl): Likewise.
69485         * math/w_j0l.c (__j0l, __y0l): Likewise.
69486         * math/w_j1l.c (__j1l, __y1l): Likewise.
69487         * math/w_jnl.c (__jnl, __ynl): Likewise.
69488         * math/w_lgammal.c (__lgammal): Likewise.
69489         * math/w_log10l.c (__log10l): Likewise.
69490         * math/w_log2l.c (__log2l): Likewise.
69491         * math/w_logl.c (__logl): Likewise.
69492         * math/w_powl.c (__powl): Likewise.
69493         * math/w_remainderl.c (__remainderl): Likewise.
69494         * math/w_scalbl.c (sysv_scalbl): Likewise.
69495         * math/w_sinhl.c (__sinhl): Likewise.
69496         * math/w_sqrtl.c (__sqrtl): Likewise.
69497         * math/w_tgammal.c (__tgammal): Likewise.
69498         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69499         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69500         * math/libm-test.inc (acos_test): Add more tests.
69501         (acosh_test): Likewise.
69502         (asin_test): Likewise.
69503         (atanh_test): Likewise.
69504         (exp_test): Likewise.
69505         (exp10_test): Likewise.
69506         (exp2_test): Likewise.
69507         (expm1_test): Likewise.
69508         (lgamma_test): Likewise.
69509         (log_test): Likewise.
69510         (log10_test): Likewise.
69511         (log1p_test): Likewise.
69512         (log2_test): Likewise.
69513         (pow_test): Do not allow some spurious overflow exceptions.
69514         (sqrt_test): Add more tests.
69515         (tgamma_test): Likewise.
69516         (y0_test): Likewise.
69517         (y1_test): Likewise.
69518         (yn_test): Likewise.
69520 2012-03-27  Anton Blanchard  <anton@samba.org>
69522         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69523         MAP_HUGETLB.
69524         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69525         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69526         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69528 2012-03-27  David S. Miller  <davem@davemloft.net>
69530         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69532         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69533         have-as-vis3 check.
69535 2012-03-27  Andreas Jaeger  <aj@suse.de>
69537         * sysdeps/x86_64/elf/configure.in: Moved to ...
69538         * sysdeps/x86_64/configure.in: ... here.
69539         * sysdeps/x86_64/elf/start.S: Moved to ...
69540         * sysdeps/x86_64/start.S: ... here.
69541         * sysdeps/x86_64/elf/configure: Delete.
69543         * sysdeps/x86_64/configure.in: Merge contents from
69544         sysdeps/i386/configure.in (without i686 check).
69546         * sysdeps/i386/elf/Versions: Merge into ...
69547         * sysdeps/i386/Versions: ... this.
69548         * sysdeps/i386/elf/Versions: Delete file.
69549         * sysdeps/i386/elf/start.S: Moved to ...
69550         * sysdeps/i386/start.S: ...here.
69551         * sysdeps/i386/elf/configure.in: Merge into...
69552         * sysdeps/i386/configure.in: ...here.
69553         * sysdeps/i386/elf/configure.in: Delete file.
69554         * sysdeps/i386/elf/configure: Delete file.
69556         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69557         * debug/backtracesyms.c: ... here.
69558         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69559         * debug/backtracesymsfd.c: ... here.
69560         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69561         * sysdeps/generic/ifunc-sel.h: ... here.
69563         * sysdeps/unix/i386/start.c: Delete file.
69564         * sysdeps/unix/sparc/start.c: Delete file.
69565         * sysdeps/unix/start.c: Delete file.
69567         * sysdeps/sh/elf/configure.in: Moved to ...
69568         * sysdeps/sh/configure.in: ... here.
69569         * sysdeps/sh/elf/start.S: Moved to ...
69570         * sysdeps/sh/start.S: ... here.
69571         * sysdeps/sh/elf/configure: Delete file.
69573         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69574         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69575         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69576         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69577         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69578         * sysdeps/powerpc/powerpc64/start.S: here.
69579         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69580         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69581         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69582         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69583         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69585         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69586         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69587         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69588         * sysdeps/powerpc/powerpc32/start.S: ... here.
69589         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69590         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69591         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69593         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69594         * sysdeps/powerpc/ifunc-sel.h: ... here.
69595         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69596         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69598         * sysdeps/sparc/elf/configure.in: Moved to ...
69599         * sysdeps/sparc/configure.in: ... here.
69600         * sysdeps/sparc/elf/configure: Delete file.
69601         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69602         * sysdeps/sparc/sparc32/start.S: ... here.
69603         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69604         * sysdeps/sparc/sparc64/start.S: ... here.
69605         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69606         * sysdeps/sparc/sparc32/Makefile: ... this.
69607         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69608         * sysdeps/sparc/sparc64/Makefile: ... this.
69610         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69611         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69612         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69613         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69614         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69615         * sysdeps/s390/s390-32/setjmp.S: ... here.
69616         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69617         * sysdeps/s390/s390-32/configure.in: ... here.
69618         * sysdeps/s390/s390-32/elf/configure: Delete file.
69619         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69620         * sysdeps/s390/s390-32/start.S: ... here.
69622         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69623         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69624         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69625         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69626         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69627         * sysdeps/s390/s390-64/setjmp.S: ... here.
69628         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69629         * sysdeps/s390/s390-64/configure.in: ... here
69630         * sysdeps/s390/s390-64/elf/configure: Delete file.
69631         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69632         * sysdeps/s390/s390-64/start.S: ... here.
69633         * sysdeps/s390/s390-64/elf/configure: Delete.
69635         * configure.in: Remove support for elf directories in sysdeps.
69637         * configure: Regenerated.
69638         * sysdeps/i386/configure: Regenerated.
69639         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69640         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69641         * sysdeps/s390/s390-32/configure: Regenerated.
69642         * sysdeps/s390/s390-64/configure: Regenerated.
69643         * sysdeps/sh/configure: Regenerated.
69644         * sysdeps/sparc/configure: Regenerated.
69645         * sysdeps/x86_64/configure: Regenerated.
69647 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69651         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69652         denormal result into account.
69654 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69656         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69657         Reported by Allan McRae <allan@archlinux.org>.
69659 2012-03-23  Jeff Law  <law@redhat.com>
69661         * nss/getnssent.c (__nss_getent): Fix typo.
69663 2012-03-23  David S. Miller  <davem@davemloft.net>
69665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69667 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69669         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69670         to pad to uint64_t for each field.
69671         (dl_tls_index): Replace unsigned long with uint64_t.
69673 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69674         Paul Pluzhnikov  <ppluzhnikov@google.com>
69676         [BZ #6528]
69677         * grp/Makefile (otherlibs): Don't set it.
69678         * inet/Makefile (otherlibs): Likewise.
69679         * login/Makefile (otherlibs): Likewise.
69680         * nscd/Makefile (otherlibs): Likewise.
69681         * posix/Makefile (otherlibs): Likewise.
69682         * pwd/Makefile (otherlibs): Likewise.
69683         * rt/Makefile (otherlibs): Likewise.
69684         * sunrpc/Makefile (otherlibs): Likewise.
69685         * nss/Makefile (otherlibs): Likewise.
69686         Add libnss_files to routines and static-only-routines.
69687         ($(objpfx)getent): Remove rule.
69688         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69689         static-only-routines.
69691 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69693         [BZ #13892]
69694         * math/s_cexp.c: Include <float.h>.
69695         (__cexp): Handle exp result overflowing not necessarily
69696         overflowing both real and imaginary parts of result.
69697         * math/s_cexpf.c: Likewise.
69698         * math/s_cexpl.c: Likewise.
69699         * math/libm-test.inc (cexp_test): Add more tests.
69700         * sysdeps/i386/fpu/libm-test-ulps: Update.
69701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69703 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69705         * include/link.h (ELFW): New macro.
69706         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69707         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69709 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69711         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69712         with uint64_t.
69714 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69716         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69717         declaration.
69718         (struct La_x32_retval): Likewise.
69720 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69722         * sysdeps/x86_64/preconfigure.in: New file.
69723         * sysdeps/x86_64/preconfigure: New generated file.
69725 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69727         [BZ #13824]
69728         * math/e_exp2l.c: Include <float.h>.
69729         (__ieee754_exp2l): Handle overflow and underflow cases
69730         separately.  Only pass fractional part of argument to
69731         __ieee754_expl.
69732         * math/libm-test.inc (exp2_test): Add more tests.
69734         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69735         negating x to take absolute value.
69736         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69737         Likewise.
69738         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69739         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69740         Likewise.
69741         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69742         computing low part if x was negated.
69743         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69745 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69747         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69748         la_x32_gnu_pltexit.
69749         (pltexit): Cast int_retval to ptrdiff_t.
69750         * elf/tst-auditmod3b.c: Likewise.
69751         * elf/tst-auditmod4b.c: Likewise.
69752         * elf/tst-auditmod5b.c: Likewise.
69753         * elf/tst-auditmod6b.c: Likewise.
69754         * elf/tst-auditmod6c.c: Likewise.
69755         * elf/tst-auditmod7b.c: Likewise.
69757         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69758         and x32_gnu_pltexit.
69760         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69761         __ELF_NATIVE_CLASS.
69762         (La_x32_regs): New macro.
69763         (La_x32_retval): Likewise.
69764         (la_x32_gnu_pltenter): New function prototype.
69765         (la_x32_gnu_pltexit): Likewise.
69767 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69769         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69770         exponent.
69772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69774         * configure.in (libc_cv_cc_nofma): Check for option to disable
69775         generation of FMA instructions.
69776         * configure: Regenerate.
69777         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69778         * sysdeps/ieee754/dbl-64/Makefile: New file.
69779         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69780         Remove brandred-fma4.
69781         (CFLAGS-brandred-fma4.c): Remove.
69782         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69783         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69784         define.
69785         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69786         define.
69788 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69790         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69791         LLONG_MAX != LONG_MAX.
69792         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69793         (_fitoa_word): Likewise.
69794         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69795         LLONG_MAX != LONG_MAX.
69796         * stdio-common/_itowa.h: Include <_itoa.h>.
69797         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69798         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69799         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69800         only if not defined.
69801         (_ITOA_WORD_TYPE): Likewise.
69802         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69803         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69805 2012-03-21  David S. Miller  <davem@davemloft.net>
69807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69809 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69811         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69812         of x86_64 when setting libc_cv_slibdir, libdir and
69813         libc_cv_localedir.
69814         * sysdeps/unix/sysv/linux/configure: Regenerated.
69816 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69818         * manual/lang.texi (Old Varargs): Remove section.
69819         (How Variadic): Update menu.
69820         (va_start): Do not mention varargs.h.
69822 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69823             Joseph Myers  <joseph@codesourcery.com>
69825         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69826         link test.
69827         * configure: Regenerated.
69829 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69831         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69832         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69833         conformtest.pl
69835 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69837         * NOTES: Remove.
69838         * Makefile (files-for-dist): Remove NOTES.
69839         (NOTES): Remove rule.
69840         * README: Don't refer to NOTES.
69841         * manual/creature.texi: Don't include macros.texi.
69842         * manual/intro.texi (creature.texi): Remove comment referring to
69843         NOTES.
69845         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69846         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69847         * configure: Regenerated.
69848         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69849         LIBC_TRY_CC_OPTION.
69850         (libc_cv_as_i686): Likewise.
69851         (libc_cv_cc_avx): Likewise.
69852         (libc_cv_cc_sse2avx): Likewise.
69853         (libc_cv_cc_fma4): Likewise.
69854         (libc_cv_cc_novzeroupper): Likewise.
69855         * sysdeps/i386/configure: Regenerated.
69857         [BZ #13883]
69858         * sysdeps/i386/fpu/s_cexp.S: Remove.
69859         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69860         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69861         * math/libm-test.inc (cexp_test): Add more tests.
69862         * sysdeps/i386/fpu/libm-test-ulps: Update.
69863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69865 2012-03-21  Allan McRae  <allan@archlinux.org>
69867         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69869 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69871         [BZ #13871]
69872         * math/w_exp2.c: Do not include <float.h>.
69873         (o_threshold, u_threshold): Remove.
69874         (__exp2): Calculate result before checking finiteness and calling
69875         __kernel_standard.
69876         * math/w_exp2f.c: Likewise.
69877         * math/w_exp2l.c: Likewise.
69878         * math/libm-test.inc (exp2_test): Require overflow exception for
69879         1e6 input.
69881         [BZ #3866]
69882         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69883         range of signed 64-bit integers before using fistpll.  Remove
69884         checks for whether integers fit in mantissa bits.
69885         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69886         the range of signed 32-bit integers before using fistpl.  Remove
69887         checks for whether integers fit in mantissa bits.
69888         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69889         (__ieee754_powl): Test for y outside the range of signed 64-bit
69890         integers before using fistpll.  Reduce 64-bit values to 63-bit
69891         ones as needed.
69892         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69893         divide-by-zero is raised for zero to large negative powers.
69894         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69895         (__ieee754_powl): Test for y outside the range of signed 64-bit
69896         integers before using fistpll.  Reduce 64-bit values to 63-bit
69897         ones as needed.
69898         * math/libm-test.inc (pow_test): Add more tests.
69900 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69902         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69903         <stdio-common/_itoa.h>.
69904         * debug/segfault.c: Likewise.
69905         * elf/dl-cache.c: Likewise.
69906         * elf/dl-minimal.c: Likewise.
69907         * elf/dl-misc.c: Likewise.
69908         * elf/dl-sysdep.c: Likewise.
69909         * elf/dl-version.c: Likewise.
69910         * elf/rtld.c: Likewise.
69911         * hurd/hurdsock.c: Likewise.
69912         * hurd/lookup-retry.c: Likewise.
69913         * malloc/malloc.c: Likewise.
69914         * malloc/mtrace.c: Likewise.
69915         * nscd/nscd_getgr_r.c: Likewise.
69916         * nscd/nscd_getpw_r.c: Likewise.
69917         * nscd/nscd_getserv_r.c: Likewise.
69918         * posix/getopt_init.c: Likewise.
69919         * posix/wordexp.c: Likewise.
69920         * stdio-common/_itoa.c: Likewise.
69921         * stdio-common/printf_fphex.c: Likewise.
69922         * stdio-common/vfprintf.c: Likewise.
69923         * string/_strerror.c: Likewise.
69924         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69925         * sysdeps/i386/i686/hp-timing.h: Likewise.
69926         * sysdeps/mach/_strerror.c: Likewise.
69927         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69928         * sysdeps/mach/hurd/sethostid.c: Likewise.
69929         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69930         * sysdeps/mach/xpg-strerror.c: Likewise.
69931         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69932         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69933         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69934         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69935         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69936         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69937         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69938         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69939         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69940         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69941         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69942         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69943         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69944         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69945         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69946         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69947         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69948         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69949         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69950         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69951         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69953         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69955         * stdio-common/_itoa.h: Moved to ...
69956         * sysdeps/generic/_itoa.h: Here.
69958         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69960         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69961         instead of "_itoa.h" and "_itowa.h".
69962         * stdio-common/vfprintf.: Likewise.
69964 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69966         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69967         <bits/wordsize.h>.
69968         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69969         (__signbit): Likwise.
69970         (llrintf): Likwise.
69971         (llrint): Likwise.
69973 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69975         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69976         __WORDSIZE != 64.
69978 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69980         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69981         OVERFLOW_EXCEPTION_OK.
69982         * math/libm-test.inc ("Philosophy"): Update comment about
69983         exception testing.
69984         (OVERFLOW_EXCEPTION): Define.
69985         (OVERFLOW_EXCEPTION_OK): Likewise.
69986         (INVALID_EXCEPTION_OK): Renumber.
69987         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69988         (IGNORE_ZERO_INF_SIGN): Likewise.
69989         (test_exceptions): Handle FE_OVERFLOW.
69990         (exp10_test): Expect overflow exceptions.
69991         (exp2_test): Likewise.
69992         (expm1_test): Likewise.
69993         (nextafter_test): Likewise.
69994         (pow_test): Likewise.
69995         (scalbn_test): Likewise.
69996         (scalbln_test): Likewise.
69998 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70000         * sysdeps/x86_64/bits/atomic.h
70001         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70002         64bit integer.
70003         (atomic_exchange_acq): Likewise.
70004         (__arch_exchange_and_add_body): Likewise.
70005         (__arch_add_body): Likewise.
70006         (atomic_add_negative): Likewise.
70007         (atomic_add_zero): Likewise.
70009 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70011         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70012         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70014 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70016         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70017         Check __x86_64__ instead of __WORDSIZE.
70019 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70021         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70023 2012-03-19  David S. Miller  <davem@davemloft.net>
70025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70027         * sysdeps/sparc/fpu/fenv_private.h: New file.
70028         * sysdeps/sparc/fpu/math_private.h: Use it.
70029         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70030         Remove.
70031         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70032         (libc_feholdexcept_setroundl): Remove.
70033         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70034         Remove.
70035         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70036         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70038 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70040         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70041         int64_t instead of long int.
70042         (INSERT_WORDS64): Likwise.
70044 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70046         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70047         _Unwind_GetCFA return to _Unwind_Ptr first.
70049 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70051         [BZ #13629]
70052         * math/s_clog.c: Include <float.h>.
70053         (__clog): Scale large or subnormal inputs.
70054         * math/s_clogf.c: Likewise.
70055         * math/s_clogl.c: Likewise.
70056         * math/s_clog10.c: Include <float.h>.
70057         (M_LOG10_2): Define.
70058         (__clog10): Scale large or subnormal inputs.
70059         * math/s_clog10f.c: Likewise.
70060         * math/s_clog10l.c: Likewise.
70061         * math/libm-test.inc (clog_test): Add more tests.
70062         (clog10_test): Likewise.
70063         * sysdeps/i386/fpu/libm-test-ulps: Update.
70064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70066         [BZ #11451]
70067         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70068         x and y.
70069         * math/libm-test.inc (atan2_test): Add another test.
70071         * Makerules (common-objdir-compile): Remove.
70072         * sysdeps/unix/Makefile (config-generated): Do not add
70073         $(unix-generated) to variable.
70074         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70075         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70076         Remove rule.
70077         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70078         Likewise.
70079         [generic bits/local_lim.h] (before-compile): Do not append to
70080         variable.
70081         [generic bits/local_lim.h] (common-generated): Likewise.
70082         [generic sys/param.h] (before-compile): Do not append to variable.
70083         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70084         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70085         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70086         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70087         include.
70088         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70089         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70090         [generic sys/param.h] ($(addprefix
70091         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70092         [generic sys/param.h] (common-generated): Do not append to
70093         variable.
70094         [generic sys/param.h] (sysdep_headers): Likewise.
70095         [generic bits/errno.h] (before-compile): Do not append to
70096         variable.
70097         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70098         rule.
70099         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70100         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70101         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70102         [generic bits/errno.h] (common-generated): Do not append to
70103         variable.
70104         [generic bits/ioctls.h] (before-compile): Do not append to
70105         variable.
70106         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70107         rule.
70108         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70109         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70110         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70111         rule.
70112         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70113         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70114         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70115         [generic bits/ioctls.h] (common-generated): Do not append to
70116         variable.
70117         [generic sys/syscall.h] (syscall.h): Remove variable.
70118         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70119         rule.
70120         [generic sys/syscall.h] (before-compile): Do not append to
70121         variable.
70122         [generic sys/syscall.h] (common-generated): Likewise.
70123         * sysdeps/unix/errnos-tmpl.c: Remove file.
70124         * sysdeps/unix/errnos.awk: Likewise.
70125         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70126         * sysdeps/unix/ioctls.awk: Likewise.
70127         * sysdeps/unix/mk-local_lim.c: Likewise.
70128         * sysdeps/unix/snarf-ioctls: Likewise.
70130 2012-03-19  Richard Henderson  <rth@twiddle.net>
70132         * sysdeps/i386/fpu/fenv_private.h: New file.
70133         * sysdeps/i386/fpu/math_private.h: Use it.
70134         (math_opt_barrier, math_force_eval): Remove.
70135         (libc_feholdexcept_setround_53bit): Remove.
70136         (libc_feupdateenv_53bit): Remove.
70137         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70138         (math_opt_barrier, math_force_eval): Remove.
70139         (libc_feholdexcept): Remove.
70140         (libc_feholdexcept_setround): Remove.
70141         (libc_fetestexcept, libc_fesetenv): Remove.
70142         (libc_feupdateenv_test): Remove.
70143         (libc_feupdateenv, libc_feholdsetround): Remove.
70144         (libc_feresetround): Remove.
70146         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70147         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70149         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70150         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70151         (libc_feupdateenv_testl): New.
70152         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70153         (libc_feupdateenv_testf): New.
70154         (libc_feupdateenv): Use libc_feupdateenv_test.
70155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70156         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70158         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70159         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70160         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70161         (libc_feresetround_noex): New.
70162         (libc_feresetround_noexf): New.
70163         (libc_feresetround_noexl): New.
70164         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70165         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70166         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70167         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70168         SET_RESTORE_ROUND.
70169         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70170         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70171         (__cos): Likewise.
70172         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70173         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70174         SET_RESTORE_ROUND_NOEX.
70175         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70176         SET_RESTORE_ROUND_NOEXF.
70177         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70178         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70179         (libc_feholdsetroundf): New.
70180         (libc_feresetround, libc_feresetroundf): New.
70182         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70183         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70184         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70186         * sysdeps/generic/math_private.h: Include <fenv.h>.
70187         (default_libc_feholdexcept): New.
70188         (default_libc_feholdexcept_setround): New.
70189         (default_libc_fesetenv, default_libc_feupdateenv): New.
70190         (libc_feholdexcept): Only define if undefined.
70191         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70192         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70193         (libc_feholdexcept_setroundl): Likewise.
70194         (libc_feholdexcept_setround_53bit): Likewise.
70195         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70196         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70197         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70198         (libc_feupdateenv_53bit): Likewise.
70199         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70200         (libc_feholdexcept): Convert from macro to inline function.
70201         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70202         (libc_fesetenv, libc_feupdateenv): Likewise.
70204         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70205         not previously defined.
70206         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70207         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70208         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70209         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70210         * sysdeps/ieee754/flt-32/math_private.h: New file.
70211         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70212         math_private.h below SET_FLOAT_WORD.
70213         (__isnan, __isinf_ns, __finite): Remove.
70214         (__isnanf, __isinf_nsf, __finitef): Remove.
70216 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70220 2012-03-17  David S. Miller  <davem@davemloft.net>
70222         [BZ #6471]
70223         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70224         for 2.16.
70226 2012-03-16  David S. Miller  <davem@davemloft.net>
70228         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70229         warnings.
70231         [BZ #6471]
70232         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70233         properly.
70234         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70235         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70236         sysdep_routines when subdir is sysvipc.
70237         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70238         __getshmlba helper.
70240         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70242 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70244         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70245         [__LP64__].
70247 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70249         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70250         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70251         (__lround): Renamed to ...
70252         (__llround): This.  Replace long int with long long int.
70253         Define lround functions as aliases of llround functions.
70254         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70256 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70258         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70259         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70260         adresses to uintptr_t.  Replace "long int" and "unsigned long
70261         int" with "greg_t" on va_arg.
70263 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70265         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70266         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70268         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70269         Move e_machine check before EI_CLASS check.  Handle x32
70270         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70271         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70272         SKIP_EM_IA_64 and include
70273         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70275         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70276         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70277         (add_system_dir): New macro.
70279         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70280         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70282 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70284         [BZ #2551]
70285         [BZ #2552]
70286         [BZ #2553]
70287         [BZ #2554]
70288         [BZ #2562]
70289         [BZ #2563]
70290         [BZ #2565]
70291         [BZ #2566]
70292         [BZ #2576]
70293         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70294         (y0): Likewise.
70295         * math/w_j0f.c (j0f): Likewise.
70296         (y0f): Likewise.
70297         * math/w_j0l.c (__j0l): Likewise.
70298         (__y0l): Likewise.
70299         * math/w_j1.c (j1): Likewise.
70300         (y1): Likewise.
70301         * math/w_j1f.c (j1f): Likewise.
70302         (y1f): Likewise.
70303         * math/w_j1l.c (__j1l): Likewise.
70304         (__y1l): Likewise.
70305         * math/w_jn.c (jn): Likewise.
70306         (yn): Likewise.
70307         * math/w_jnf.c (jnf): Likewise.
70308         (ynf): Likewise.
70309         * math/w_jnl.c (__jnl): Likewise.
70310         (__ynl): Likewise.
70311         * math/libm-test.inc (j0_test): Add more tests.
70312         (j1_test): Likewise.
70313         (jn_test): Likewise.  Add trailing semicolon to existing test.
70314         (y0_test): Likewise.
70315         (y1_test): Likewise.
70316         * sysdeps/i386/fpu/libm-test-ulps: Update.
70317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70319         [BZ #13851]
70320         [BZ #13854]
70321         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70322         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70323         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70324         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70325         (__tanl): Set errno for infinite argument.
70326         * sysdeps/i386/fpu/mptan.c: Remove.
70327         * sysdeps/i386/fpu/s_tan.S: Likewise.
70328         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70329         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70330         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70331         * math/libm-test.inc (tan_test): Add more tests and enable more
70332         tests for double and long double.
70333         * sysdeps/i386/fpu/libm-test-ulps: Update.
70334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70336 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70338         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70339         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70341 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70343         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70344         * configure.in: Use it for both main tree and add-ons.
70345         * configure: Regenerated.
70347 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70349         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70351 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70353         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70354         in comment.
70356         [BZ #13851]
70357         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70358         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70359         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70360         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70361         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70362         infinite argument.
70363         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70364         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70365         != 0 for prec == 2.
70366         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70367         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70368         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70369         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70370         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70371         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70372         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70373         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70374         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70375         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70376         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70377         * math/libm-test.inc (cos_test): Add more tests and enable more
70378         tests for long double.
70379         (sin_test): Likewise.
70380         (sincos_test): Likewise.
70381         * sysdeps/i386/fpu/libm-test-ulps: Update.
70382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70384 2012-03-16  David S. Miller  <davem@davemloft.net>
70386         * sysdeps/sparc/fpu/math_private.h: New file.
70388 2012-03-15  David S. Miller  <davem@davemloft.net>
70390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70391         file.
70392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70394         file.
70395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70400         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70401         sysdep routines.
70402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70404         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70405         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70407         * sysdeps/sparc/sparc-ifunc.h: New file.
70408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70409         sparc-ifunc.h
70410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70412         Likewise.
70413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70414         Likewise.
70415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70419         Likewise.
70420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70425         Likewise.
70426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70427         Likewise.
70428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70433         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70434         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70435         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70436         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70442         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70443         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70446         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70447         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70448         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70449         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70450         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70451         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70453 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70455         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70456         scaling.
70457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70459 2012-03-15  Andreas Jaeger  <aj@suse.de>
70461         [BZ #13852]
70462         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70463         ieee754/flt-32 implementation for sin, cos and sincos.
70464         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70465         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70466         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70467         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70468         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70469         ieee754/flt-32 implementation for tan.
70471         * math/libm-test.inc (cos_test): Enable some large input tests for
70472         float as well
70473         (sin_test): Likewise.
70474         (sincos_test): Likewise.
70475         (tan_test): Add tests for large input.
70477         * sysdeps/i386/fpu/libm-test-ulps: Update.
70479 2012-03-15  Andreas Jaeger  <aj@suse.de>
70481         [BZ #13658]
70482         * math/libm-test.inc (cos_test): Add more test cases.
70483         (sin_test): Likewise.
70484         (sincos_test): Likewise.
70486 2012-03-15  Andreas Jaeger  <aj@suse.de>
70488         [BZ #13837]
70489         * math/libm-test.inc (cos_test): Add a test case for large input
70490         value.
70491         (sin_test): Likewise.
70492         (sincos_test): Likewise.
70494 2012-03-15  Andreas Jaeger  <aj@suse.de>
70495             Joseph Myers  <joseph@codesourcery.com>
70497         [BZ #13658]
70498         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70499         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70500         * sysdeps/i386/fpu/branred.c: Likewise.
70501         * sysdeps/i386/fpu/dosincos.c: Likewise.
70502         * sysdeps/i386/fpu/mpa.c: Likewise.
70503         * sysdeps/i386/fpu/s_cos.S: Likewise.
70504         * sysdeps/i386/fpu/s_sin.S: Likewise.
70505         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70506         * sysdeps/i386/fpu/sincos32.c: Likewise.
70508         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70509         Define.
70510         (libc_feupdateenv_53bit): Define.
70511         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70512         Define.
70513         (libc_feupdateenv_53bit): Define.
70515         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70516         53 bit (without extend i386 double precision).
70518         * math/libm-test.inc (sincos_test): Add tests for large input.
70519         (sin): Likewise.
70520         (cos): Likewise.
70522         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70524 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70528 2012-03-15  David S. Miller  <davem@davemloft.net>
70530         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70531         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70532         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70533         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70541         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70543         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70546         file.
70547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70549         file.
70550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70552         file.
70553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70555         file.
70556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70557         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70558         fmin/fmax sysdep routines.
70559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70561 2012-03-14  David S. Miller  <davem@davemloft.net>
70563         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70564         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70565         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70567         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70568         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70569         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70570         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70573         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70575         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70576         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70581         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70582         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70583         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70584         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70585         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70586         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70587         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70588         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70589         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70590         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70591         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70592         routines.
70593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70594         file.
70595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70597         file.
70598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70600         file.
70601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70603         file.
70604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70606         file.
70607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70609         file.
70610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70611         file.
70612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70613         file.
70614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70615         file.
70616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70617         New file.
70618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70619         file.
70620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70621         file.
70622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70624         file.
70625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70627         file.
70628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70630         file.
70631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70633         VIS3 routines.
70635         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70636         New file.
70638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70640         * sysdeps/sparc/configure.in: New file.
70641         * sysdeps/sparc/configure: Generate.
70642         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70643         * configure: Regenerate.
70644         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70645         * config.make.in (have-as-vis3): New.
70646         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70647         available use -Av9d instead of -Av9a.
70648         * sysdeps/sparc/sparc64/Makefile: Likewise.
70649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70651         New file.
70652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70653         file.
70654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70655         New file.
70656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70657         file.
70658         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70659         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70660         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70661         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70662         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70664         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70665         fzeros/fnegs to load 0x80000000 into a float register instead of
70666         using the stack.
70667         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70669 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70671         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70672         bits/syscall.h.
70673         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70674         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70675         ($(inst_includedir)/bits/syscall.h): Remove rule.
70676         ($(objpfx)bits/syscall.d): Include instead of
70677         $(objpfx)syscall-list.d.
70678         (generated): Change syscall-list.h and syscall-list.d to
70679         bits/syscall.h and bits/syscall.d.
70681 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70683         [BZ #13846]
70684         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70686 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70688         [BZ #13841]
70689         * math/s_csqrt.c: Include <float.h>.
70690         (__csqrt): Scale large or subnormal inputs.
70691         * math/s_csqrtf.c: Likewise.
70692         * math/s_csqrtl.c: Likewise.
70693         * math/libm-test.inc (csqrt_test): Add more tests.
70694         * sysdeps/i386/fpu/libm-test-ulps: Update.
70695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70697         [BZ #13840]
70698         * math/libm-test.inc (hypot_test): Add more tests.
70700 2012-03-13  David S. Miller  <davem@davemloft.net>
70702         [BZ #13840]
70703         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70704         double-precision for the calculation instead of scaling.
70706 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70708         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70709         manipulate bits before adding and subtracting TWO52[sx].
70710         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70711         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70712         Likewise.
70713         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70715 2012-03-13  David S. Miller  <davem@davemloft.net>
70717         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70718         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70719         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70720         rtld-global-offsets.h
70721         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70723         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70724         large parameters.
70726         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70728         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70729         'err' in the ifdef scope in which it is actually used.
70731         * nss/nss_db/db-init.c: Include string.h
70733 2012-03-12  David S. Miller  <davem@davemloft.net>
70735         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70736         masking out of the most significant byte of random value used.
70737         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70738         Fix coding style in previous change.
70740         * sysdeps/unix/sysv/linux/kernel-features.h
70741         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70742         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70743         expression.
70744         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70745         later.
70747 2012-03-11  David S. Miller  <davem@davemloft.net>
70749         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70750         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70751         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70752         for 'resultvar' otherwise things get truncated on 64-bit.
70754         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70755         Fix masking out of the most significant byte of random value used.
70757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70759 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70763 2012-03-09  David S. Miller  <davem@davemloft.net>
70765         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70766         variables with appropriate CPP guards.
70767         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70768         from the frame pointer, not the stack pointer.  Correct layout
70769         comments.  Fix test on resulting framesize and the management of
70770         the outregs buffer for pltexit.  Preserve floating point return
70771         values across _dl_call_pltexit call.
70772         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70773         framesize and the management of the outregs buffer for pltexit.
70774         Preserve floating point return values across _dl_call_pltexit
70775         call.
70776         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70777         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70778         (la_sparc64_gnu_pltexit): New functions.
70779         (print_exit): Fix format string for return register value.
70781 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70783         * sunrpc/Makefile (others): Add rpcgen.
70784         ($(objpfx)rpcgen): Remove special build rule and dependency on
70785         libc.
70786         * sunrpc/rpcgen.c: New file.
70788 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70790         [BZ #13673]
70791         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70792         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70793         * sysdeps/i386/crti.S: Likewise.
70794         * sysdeps/i386/crtn.S: Likewise.
70795         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70796         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70797         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70798         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70799         * sysdeps/sh/crti.S: Likewise.
70800         * sysdeps/sh/crtn.S: Likewise.
70801         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70803         [BZ #13673]
70804         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70805         with URL.
70806         * locale/programs/locfile-kw.gperf: Likewise.
70807         * locale/programs/charmap-kw.h: Regenerated.
70808         * locale/programs/locfile-kw.h: Likewise.
70810         [BZ #13673]
70811         * intl/plural.y: Replace FSF snail mail address with URL.
70812         * intl/plural.c: Regenerated.
70814 2012-03-09  Richard Henderson  <rth@twiddle.net>
70816         * include/math_private.h: Remove file.
70817         * math/math_private.h: Move file ...
70818         * sysdeps/generic/math_private.h: ... here.
70820         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70821         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70822         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70824         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70825         and <math_private.h>.
70826         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70827         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70828         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70829         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70830         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70831         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70832         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70833         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70834         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70835         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70836         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70837         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70838         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70839         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70840         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70841         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70842         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70843         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70844         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70845         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70846         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70847         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70848         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70849         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70850         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70851         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70852         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70853         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70854         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70855         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70856         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70857         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70858         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70859         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70860         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70861         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70862         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70863         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70864         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70865         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70866         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70867         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70868         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70869         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70870         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70871         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70872         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70873         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70874         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70875         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70876         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70877         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70878         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70879         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70880         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70881         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70882         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70883         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70884         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70885         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70886         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70887         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70888         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70889         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70890         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70891         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70892         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70893         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70894         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70895         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70896         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70897         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70898         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70899         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70900         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70901         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70902         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70903         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70904         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70905         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70906         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70907         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70908         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70909         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70910         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70911         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70912         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70913         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70914         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70915         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70916         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70917         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70918         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70919         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70920         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70921         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70922         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70923         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70924         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70925         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70926         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70927         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70928         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70929         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70930         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70931         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70932         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70933         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70934         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70935         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70936         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70937         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70938         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70939         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70940         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70941         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70942         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70943         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70944         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70945         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70946         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70947         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70948         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70949         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70950         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70951         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70952         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70953         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70954         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70955         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70956         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70957         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70958         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70959         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70960         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70961         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70962         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70963         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70964         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70965         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70966         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70967         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70968         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70969         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70970         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70971         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70972         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70973         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70974         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70975         * sysdeps/ieee754/k_standard.c: Likewise.
70976         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70977         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70978         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70979         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70980         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70981         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70982         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70983         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70984         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70985         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70986         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70987         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70988         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70989         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70990         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70991         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70992         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70993         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70994         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70995         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70996         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70997         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70998         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70999         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71000         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71001         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71002         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71003         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71004         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71005         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71006         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71007         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71008         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71009         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71010         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71011         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71012         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71013         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71014         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71015         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71016         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71017         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71018         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71019         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71020         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71021         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71022         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71023         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71024         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71025         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71026         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71027         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71028         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71029         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71030         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71031         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71032         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71033         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71034         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71035         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71036         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71037         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71038         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71039         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71040         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71041         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71042         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71043         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71044         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71045         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71046         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71047         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71048         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71049         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71050         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71051         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71052         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71053         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71054         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71055         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71056         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71057         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71058         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71059         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71060         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71061         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71062         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71063         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71064         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71065         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71066         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71067         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71068         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71069         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71070         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71071         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71072         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71073         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71074         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71075         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71076         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71077         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71078         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71079         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71080         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71081         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71082         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71083         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71084         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71085         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71086         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71087         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71088         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71089         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71090         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71091         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71092         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71093         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71094         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71095         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71096         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71097         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71098         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71099         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71100         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71101         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71102         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71103         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71104         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71105         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71106         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71107         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71108         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71109         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71110         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71111         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71112         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71113         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71114         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71115         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71116         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71117         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71118         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71119         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71120         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71121         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71122         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71123         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71124         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71125         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71126         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71127         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71128         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71129         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71130         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71131         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71132         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71133         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71134         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71135         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71136         * sysdeps/ieee754/s_lib_version.c: Likewise.
71137         * sysdeps/ieee754/s_matherr.c: Likewise.
71138         * sysdeps/ieee754/s_signgam.c: Likewise.
71139         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71140         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71141         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71142         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71143         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71144         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71145         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71146         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71147         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71148         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71149         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71150         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71151         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71152         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71153         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71154         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71155         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71156         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71157         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71158         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71159         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71161 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71163         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71164         * sunrpc/rpc_main.c: Likewise.
71165         * sunrpc/rpc_svcout.c: Likewise.
71167 2012-03-09  David S. Miller  <davem@davemloft.net>
71169         * include/math_private.h: New file.
71171 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71173         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71174         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71175         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71176         from <bits/socket_type.h>.
71177         (enum __socket_type): Don't define here.
71178         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71179         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71180         bits/socket_type.h.
71182         [BZ #13566]
71183         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71184         checking __USE_GNU.
71186         * Makerules ($(inst_includedir)/%.h): New rule.
71187         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71188         (install-others): Remove variable setting.
71189         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71191 2012-03-08  Richard Henderson  <rth@twiddle.net>
71193         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71194         from macro to inline function; merge with the
71195         !__LIBC_INTERNAL_MATH_INLINES version.
71196         (__ieee754_sqrtf): Likewise.
71198         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71199         to inline function.
71200         (__rintf, __floor, __floorf): Likewise.
71202         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71203         macro to inline function.
71204         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71206         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71207         not <math/math_private.h>.
71209 2012-03-08  David S. Miller  <davem@davemloft.net>
71211         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71212         copyright year.
71213         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71215 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71217         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71218         normalization.
71219         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71220         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71222 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71224         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71225         be defined individually, they must be defined as a block.  Define
71226         S for printing a string instead of hidint the different by using a
71227         macro for adding the 'l'.
71228         * stdio-common/tst-fphex-wide.c: Adjust.
71230 2012-03-07  Marek Polacek  <polacek@redhat.com>
71232         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71234 2012-03-08  Marek Polacek  <polacek@redhat.com>
71236         [BZ #13806]
71237         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71238         * stdio-common/tst-fphex.c: Define a few macros to make the
71239         test reusable.  Use them.
71240         * stdio-common/tst-fphex-wide.c: New file.
71242 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71244         [BZ #6911]
71245         * manual/macros.texi (gnusystems): New macro.
71246         (nongnusystems): Likewise.
71247         (gnulinuxhurdsystems): Likewise.
71248         (gnuhurdsystems): Likewise..
71249         (gnulinuxsystems): Likewise.
71250         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71251         variants of the GNU system, not "GNU system".
71252         * manual/conf.texi: Likewise.
71253         * manual/errno.texi: Likewise.  Update example of errno macro
71254         expansion.
71255         * manual/filesys.texi: Likewise.
71256         (getumask): Document as specific to GNU/Hurd.
71257         * manual/install.texi: Likewise.  Reword some references to
71258         GNU/Linux.
71259         * manual/intro.texi: Likewise.
71260         * manual/io.texi: Likewise.
71261         (File Name Portability): Detail which constraints are inapplicable
71262         to all GNU systems and which are only inapplicable to GNU/Hurd.
71263         * manual/job.texi: Likewise.
71264         * manual/llio.texi: Likewise.
71265         (O_NOCTTY): Document as present on GNU/Linux.
71266         * manual/maint.texi: Likewise.
71267         * manual/memory.texi: Likewise.
71268         * manual/pattern.texi: Likewise.
71269         * manual/pipe.texi: Likewise.
71270         * manual/process.texi: Likewise.
71271         * manual/resource.texi: Likewise.
71272         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71273         child on GNU/Hurd.
71274         * manual/setjmp.texi: Likewise.
71275         * manual/signal.texi: Likewise.
71276         * manual/startup.texi: Likewise.
71277         * manual/stdio.texi: Likewise.
71278         * manual/terminal.texi: Likewise.
71279         (ONLCR): Document as POSIX.
71280         (OXTABS): Document availability on GNU/Linux as XTABS.
71281         (ONOEOT): Document availability separately from other bits.
71282         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71283         * manual/time.texi: Likewise.
71284         * manual/users.texi: Likewise.
71285         * INSTALL: Regenerated.
71286         * sysdeps/gnu/errlist.c: Regenerated.
71288         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71289         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71290         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71291         puts.
71292         * configure: Regenerated.
71294 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71296         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71297         default includes instead of AC_HEADER_CHECK.
71298         * sysdeps/i386/configure: Regenerated.
71300         [BZ #10716]
71301         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71302         * math/s_cacoshf.c (__cacoshf): Likewise.
71303         * math/s_cacoshl.c (__cacoshl): Likewise.
71304         * math/s_casinh.c (__casinh): Set signs of result from argument.
71305         * math/s_casinhf.c (__casinhf): Likewise.
71306         * math/s_casinhl.c (__casinhl): Likewise.
71307         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71308         (casinh_test): Add more tests.
71309         * sysdeps/i386/fpu/libm-test-ulps: Update.
71310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71312 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71314         * po/zh_TW.po: Update from translation team.
71316         * login/Makefile (distribute): Remove variable.
71317         * catgets/Makefile: Likewise.
71318         * mach/Makefile: Likewise.
71319         * malloc/Makefile: Likewise.
71320         * misc/Makefile: Likewise.
71321         * iconv/Makefile: Likewise.
71322         * nscd/Makefile: Likewise.
71323         * hurd/Makefile: Likewise.
71324         * manual/Makefile: Likewise.
71325         * locale/Makefile: Likewise.
71326         * intl/Makefile: Likewise.
71327         * conform/Makefile: Likewise.
71328         * nss/Makefile: Likewise.
71329         * time/Makefile: Likewise.
71330         * soft-fp/Makefile: Likewise.
71331         * dirent/Makefile: Likewise.
71332         * gmon/Makefile: Likewise.
71333         * po/Makefile: Likewise.
71334         * rt/Makefile: Likewise.
71335         * socket/Makefile: Likewise.
71336         * math/Makefile: Likewise.
71337         * signal/Makefile: Likewise.
71338         * debug/Makefile: Likewise.
71339         * elf/Makefile: Likewise.
71340         * timezone/Makefile: Likewise.
71341         * stdlib/Makefile: Likewise.
71342         * iconvdata/Makefile: Likewise.
71343         * sunrpc/Makefile: Likewise.
71344         * io/Makefile: Likewise.
71345         * argp/Makefile: Likewise.
71346         * inet/Makefile: Likewise.
71347         * hesiod/Makefile: Likewise.
71348         * grp/Makefile: Likewise.
71349         * csu/Makefile: Likewise.
71350         * wctype/Makefile: Likewise.
71351         * crypt/Makefile: Likewise.
71352         * libio/Makefile: Likewise.
71353         * string/Makefile: Likewise.
71354         * nis/Makefile: Likewise.
71355         * resolv/Makefile: Likewise.
71356         * stdio-common/Makefile: Likewise.
71357         * wcsmbs/Makefile: Likewise.
71358         * dlfcn/Makefile: Likewise.
71359         * posix/Makefile: Likewise.
71361         [BZ #6959]
71362         * timezone/Makefile: Don't install timezone files, just the programs
71363         and scripts.
71365 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71367         * nss/databases.def: Add missing gshadow entry.
71369         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71371 2012-03-06  Marek Polacek  <polacek@redhat.com>
71373         [BZ #13726]
71374         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71375         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71376         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71377         * stdio-common/tst-long-dbl-fphex.c: New file.
71379 2012-03-06  David S. Miller  <davem@davemloft.net>
71381         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71382         (set_obp_int): New function.
71383         (get_obp_int): New function.
71384         (__get_clockfreq_via_dev_openprom): Likewise.
71385         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71386         Avoid unused variable warnings on 'val' and use builtin_expect.
71387         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71388         __builtin_expect.
71389         (INLINE_CLONE_SYSCALL): Likewise.
71391 2012-03-05  David S. Miller  <davem@davemloft.net>
71393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71395 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71399         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71400         only for |x| >= 40.
71401         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71403 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71405         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71406         Replace gettimeofday with __vdso_gettimeofday.
71408         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71409         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71410         __vdso_clock_gettime and __vdso_getcpu.
71412         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71413         time with __vdso_time.
71415 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71417         * manual/lang.texi (size_t): Note types to which size_t may be
71418         equivalent with the GNU C Library, but do not describe when
71419         differences between them are significant.
71421 2012-03-05  Andreas Jaeger  <aj@suse.de>
71423         * sysdeps/i386/fpu/libm-test-ulps: Update.
71425 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71427         [BZ #3976]
71428         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71429         (__ieee754_pow): Save and restore rounding mode and use
71430         round-to-nearest for main computations.
71431         * math/libm-test.inc (pow_test_tonearest): New function.
71432         (pow_test_towardzero): Likewise.
71433         (pow_test_downward): Likewise.
71434         (pow_test_upward): Likewise.
71435         (main): Call the new functions.
71436         * sysdeps/i386/fpu/libm-test-ulps: Update.
71437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71439         [BZ #3976]
71440         * math/libm-test.inc (cosh_test_tonearest): New function.
71441         (cosh_test_towardzero): Likewise.
71442         (cosh_test_downward): Likewise.
71443         (cosh_test_upward): Likewise.
71444         (sinh_test_tonearest): Likewise.
71445         (sinh_test_towardzero): Likewise.
71446         (sinh_test_downward): Likewise.
71447         (sinh_test_upward): Likewise.
71448         (main): Call the new functions.
71449         * sysdeps/i386/fpu/libm-test-ulps: Update.
71450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71452 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71454         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71455         default stack guard is set in last bytes.
71456         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71458 2012-03-05  Kees Cook  <keescook@chromium.org>
71460         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71462         [BZ #13656]
71463         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71464         possibly allocate from heap instead of stack.
71465         * stdio-common/bug-vfprintf-nargs.c: New file.
71466         * stdio-common/Makefile (tests): Add nargs overflow test.
71468 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71472 2012-03-03  Marek Polacek  <polacek@redhat.com>
71474         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71475         * math/math_private.h: Likewise.
71476         * stdlib/tst-strtod.c: Likewise.
71477         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71478         * sysdeps/x86_64/bits/atomic.h: Likewise.
71480 2012-03-02  David S. Miller  <davem@davemloft.net>
71482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71486         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71487         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71488         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71489         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71491 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71493         [BZ #13792]
71494         * manual/examples/README: New file, says the example source files
71495         can be used under GPL>=2.
71496         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71497         line containing just "*/".
71498         * manual/examples/add.c: Add copyright header (GPL>=2).
71499         * manual/examples/argp-ex1.c: Likewise.
71500         * manual/examples/argp-ex2.c: Likewise.
71501         * manual/examples/argp-ex3.c: Likewise.
71502         * manual/examples/argp-ex4.c: Likewise.
71503         * manual/examples/atexit.c: Likewise.
71504         * manual/examples/db.c: Likewise.
71505         * manual/examples/dir.c: Likewise.
71506         * manual/examples/dir2.c: Likewise.
71507         * manual/examples/execinfo.c: Likewise.
71508         * manual/examples/filecli.c: Likewise.
71509         * manual/examples/filesrv.c: Likewise.
71510         * manual/examples/fmtmsgexpl.c: Likewise.
71511         * manual/examples/genpass.c: Likewise.
71512         * manual/examples/inetcli.c: Likewise.
71513         * manual/examples/inetsrv.c: Likewise.
71514         * manual/examples/isockad.c: Likewise.
71515         * manual/examples/longopt.c: Likewise.
71516         * manual/examples/memopen.c: Likewise.
71517         * manual/examples/memstrm.c: Likewise.
71518         * manual/examples/mkfsock.c: Likewise.
71519         * manual/examples/mkisock.c: Likewise.
71520         * manual/examples/mygetpass.c: Likewise.
71521         * manual/examples/pipe.c: Likewise.
71522         * manual/examples/popen.c: Likewise.
71523         * manual/examples/rprintf.c: Likewise.
71524         * manual/examples/search.c: Likewise.
71525         * manual/examples/select.c: Likewise.
71526         * manual/examples/setjmp.c: Likewise.
71527         * manual/examples/sigh1.c: Likewise.
71528         * manual/examples/sigusr.c: Likewise.
71529         * manual/examples/stpcpy.c: Likewise.
71530         * manual/examples/strdupa.c: Likewise.
71531         * manual/examples/strftim.c: Likewise.
71532         * manual/examples/strncat.c: Likewise.
71533         * manual/examples/subopt.c: Likewise.
71534         * manual/examples/swapcontext.c: Likewise.
71535         * manual/examples/termios.c: Likewise.
71536         * manual/examples/testopt.c: Likewise.
71537         * manual/examples/testpass.c: Likewise.
71538         * manual/examples/timeval_subtract.c: Likewise.
71540         [BZ #13792]
71541         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71542         function to ...
71543         * manual/timeval_subtract.c.texi: ... here, new file.
71545 2012-03-02  David S. Miller  <davem@davemloft.net>
71547         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71549 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71551         [BZ #3976]
71552         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71553         (__sin): Save and restore rounding mode and use round-to-nearest
71554         for all computations.
71555         (__cos): Save and restore rounding mode and use round-to-nearest
71556         for all computations.
71557         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71558         <fenv.h>.
71559         (tan): Save and restore rounding mode and use round-to-nearest for
71560         all computations.
71561         * math/libm-test.inc (cos_test_tonearest): New function.
71562         (cos_test_towardzero): Likewise.
71563         (cos_test_downward): Likewise.
71564         (cos_test_upward): Likewise.
71565         (sin_test_tonearest): Likewise.
71566         (sin_test_towardzero): Likewise.
71567         (sin_test_downward): Likewise.
71568         (sin_test_upward): Likewise.
71569         (tan_test_tonearest): Likewise.
71570         (tan_test_towardzero): Likewise.
71571         (tan_test_downward): Likewise.
71572         (tan_test_upward): Likewise.
71573         (main): Call the new functions.
71574         * sysdeps/i386/fpu/libm-test-ulps: Update.
71575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71577         [BZ #10135]
71578         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71579         small n, then large n, before computing and testing k+n.
71580         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71581         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71582         Likewise.
71583         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71584         Likewise.
71585         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71586         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71587         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71588         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71589         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71590         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71591         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71592         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71593         * math/libm-test.inc (scalbn_test): Add more tests.
71594         (scalbln_test): Likewise.
71596         * manual/filesys.texi (mode_t): Describe constraints on size and
71597         signedness, not exact equivalence to a particular type.
71598         (ino_t): Likewise.
71599         (ino64_t): Likewise.
71600         (dev_t): Likewise.
71601         (nlink_t): Likewise.
71602         (blkcnt_t): Likewise.
71603         (blkcnt64_t): Likewise.
71604         * manual/llio.texi (off_t): Likewise.
71606         [BZ #3976]
71607         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71608         (__ieee754_exp): Save and restore rounding mode and use
71609         round-to-nearest for all computations.
71610         * math/libm-test.inc (exp_test_tonearest): New function.
71611         (exp_test_towardzero): Likewise.
71612         (exp_test_downward): Likewise.
71613         (exp_test_upward): Likewise.
71614         (main): Call the new functions.
71615         * sysdeps/i386/fpu/libm-test-ulps: Update.
71616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71618 2012-03-01  Chris Demetriou  <cgd@google.com>
71620         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71621         have predictable order.
71623 2012-03-01  David S. Miller  <davem@davemloft.net>
71625         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71627         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71628         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71629         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71630         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71632         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71633         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71634         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71636         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71637         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71638         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71639         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71640         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71644         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71645         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71646         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71648         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71649         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71650         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71651         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71652         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71653         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71654         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71655         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71656         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71657         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71658         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71659         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71660         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71661         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71662         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71663         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71664         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71665         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71666         * sysdeps/sparc/elf/configure: Regenerated.
71668 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71670         * configure.in (AS, LD): Require binutils 2.20 or later.
71671         * configure: Regenerated.
71672         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71673         as required minimum version.
71674         * INSTALL: Regenerated.
71676         [BZ #2541]
71677         [BZ #4108]
71678         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71679         before squaring exponent.
71680         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71681         bottom long double and 27 bits of top long double before squaring
71682         exponent.
71683         * math/libm-test.inc (erfc_test): Add more tests.
71684         * sysdeps/i386/fpu/libm-test-ulps: Update.
71685         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71688 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71690         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71691         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71692         containing bit-fields.
71693         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71694         * soft-fp/single.h (_FP_UNION_S): Likewise.
71695         * soft-fp/double.h (_FP_UNION_D): Likewise.
71697 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71699         [BZ #13786]
71700         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71701         not include ../strcmp.S.
71702         [USE_AS_STRNCASECMP_L]: Likewise.
71703         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71704         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71705         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71706         (__strncasecmp_l_ia32): Define as alias to
71707         __strncasecmp_l_nonascii.
71709         [BZ #5794]
71710         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71711         * sysdeps/i386/fpu/libm-test-ulps: Update.
71712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71714         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71717 2012-02-29  Jeff Law  <law@redhat.com>
71719         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71720         out of bounds read.
71722 2012-02-29  Marek Polacek  <polacek@redhat.com>
71724         [BZ #13706]
71725         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71726         * elf/Makefile: Add rules to run tst-unused-dep.out.
71728 2012-02-28  David S. Miller  <davem@davemloft.net>
71730         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71731         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71732         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71733         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71734         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71735         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71737 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71739         * math/libm-test.inc (llround_test): Move one test from
71740         lround_test.  Use TEST_f_L in moved test.
71741         (lround_test): Move misplaced test to llround_test.  Add testcase
71742         from bug 2561.
71744 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71746         * sysdeps/x86_64/fpu/e_expf.S: New file.
71747         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71749 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71751         [BZ #13637]
71752         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71753         of remain_len that may cause incomplete multi-byte character and
71754         false match.
71755         * posix/bug-regex33.c: New file.
71756         * posix/Makefile (tests): Add bug-regex33.
71758 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71760         * manual/macros.texi: New file.
71761         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71762         * manual/libc.texinfo: Include macros.texi.
71763         * manual/creatute.texi: Likewise.
71764         * manual/install.texi: Likewise.
71765         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71766         @glibcadj{} in references to the GNU C Library.
71767         * manual/charset.texi: Likewise.
71768         * manual/conf.texi: Likewise.
71769         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71770         when not using those macros.
71771         * manual/creature.texi: Likewise.
71772         * manual/crypt.texi: Likewise.
71773         * manual/errno.texi: Likewise.
71774         * manual/filesys.texi: Likewise.
71775         * manual/header.texi: Likewise.
71776         * manual/install.texi: Likewise.
71777         * manual/intro.texi: Likewise.
71778         * manual/io.texi: Likewise.
71779         * manual/job.texi: Likewise.
71780         * manual/lang.texi: Likewise.
71781         * manual/libc.texiinfo: Likewise.
71782         * manual/llio.texi: Likewise.
71783         * manual/locale.texi: Likewise.
71784         * manual/maint.texi: Likewise.
71785         * manual/math.texi: Likewise.
71786         * manual/memory.texi: Likewise.
71787         * manual/message.texi: Likewise.
71788         * manual/nss.texi: Likewise.
71789         * manual/pattern.texi: Likewise.
71790         * manual/process.texi: Likewise.
71791         * manual/resource.texi: Likewise.
71792         * manual/search.texi: Likewise.
71793         * manual/setjmp.texi: Likewise.
71794         * manual/signal.texi: Likewise.
71795         * manual/socket.texi: Likewise.
71796         * manual/startup.texi: Likewise.
71797         * manual/stdio.texi: Likewise.
71798         * manual/string.texi: Likewise.
71799         * manual/sysinfo.texi: Likewise.
71800         * manual/syslog.texi: Likewise.
71801         * manual/terminal.texi: Likewise.
71802         * manual/time.texi: Likewise.
71803         * manual/users.texi: Likewise.
71804         * INSTALL: Regenerated.
71805         * NOTES: Regenerated.
71806         * sysdeps/gnu/errlist.c: Regenerated.
71808 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71810         * include/dirent.h: Include <dirstream.h> before
71811         <dirent/dirent.h>.
71813 2012-02-28  David S. Miller  <davem@davemloft.net>
71815         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71816         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71817         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71818         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71820 2012-02-27  David S. Miller  <davem@davemloft.net>
71822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71824         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71825         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71828         frame pointer instead of stack pointer relative arg slot.
71829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71830         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71831         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71833 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71835         [BZ #3992]
71836         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71838 2012-02-27  David S. Miller  <davem@davemloft.net>
71840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71844         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71845         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71846         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71847         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71849 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71851         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71852         later.  Allow versions 5-9.
71853         * configure: Regenerated.
71854         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71855         required minimum version and 4.6 as recommended version.  Do not
71856         mention bugs in GCC 2.7 and 2.8.
71857         * INSTALL: Regenerated.
71859 2012-02-27  David S. Miller  <davem@davemloft.net>
71861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71865         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71866         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71867         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71868         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71870         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71871         manipulate bits before adding and subtracting TWO112[sx].
71872         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71874 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71876         [BZ #13775]
71877         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71878         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71879         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71880         being in POSIX, because they are in 1003.1-2008.
71882         * rt/tst-aio.c: Include <fcntl.h>.
71883         * rt/tst-aio7.c: Likewise.
71884         * rt/tst-aio64.c: Likewise.
71886         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71888 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71890         * manual/install.texi (--with-headers): Describe headers as
71891         interface headers, not private headers.
71892         (Specific advice for GNU/Linux systems): Describe use of headers
71893         from "make headers_install", not private headers from older
71894         kernels.
71895         * INSTALL: Regenerated.
71896         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71897         Change to 2.6.19.
71898         * sysdeps/unix/sysv/linux/configure: Regenerated.
71900         * manual/llio.texi (fclean): Remove documentation.
71902         * manual/Makefile (libc-texi-generated): New variable.  Include
71903         version.texi.
71904         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71905         $(libc-texi-generated), not duplicated list of files.
71906         (version.texi, stamp-version): New rules.
71907         (realclean): Remove $(libc-texi-generated), not individual files
71908         from that list.  Do not remove dir-add.texinfo.
71909         * manual/libc.texinfo: Comment out uses of edition numbers and
71910         references to printed manual.  Remove last-updated dates.
71911         (EDITION): Comment out.
71912         (ISBN): Likewise.
71913         (VERSION, UPDATED): Remove.
71914         (version.texi): Include.
71916 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71918         * sysdeps/posix/spawni.c: Include <signal.h>.
71919         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71920         * sysdeps/pthread/aio_fsync.c: Likewise.
71922 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71924         * conform/Makefile (tests): Run only when not cross-compiling and
71925         when fast-check is not defined.
71927         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71928         * conform/data/limits.h-data: Fixes for POSIX2008.
71929         * conform/run-conformtest.sh: Run all tests.
71930         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71931         headers.
71932         * include/bits/dlfcn.h: Likewise.
71933         * include/langinfo.h: Likewise.
71934         * include/monetary.h: Likewise.
71935         * include/sys/poll.h: Likewise.
71937         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71938         for __USE_GNU.
71939         * posix/spawn.h: Define __need_sigset_t.
71940         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71941         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71942         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71943         to get sigevent_t only.
71944         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71945         only for __USE_GNU.
71946         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71947         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71948         process_vm_writev only for __USE_GNU.
71949         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71951         * conform/Makefile: For now ignore errors from run-conformtest.
71952         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71953         POSIX to avoid namespace pollution.  Don't prepend headers.
71954         * conform/data/aio.h-data: Fixes for POSIX testing.
71955         * conform/data/fcntl.h-data: Likewise.
71956         * conform/data/glob.h-data: Likewise.
71957         * conform/data/grp.h-data: Likewise.
71958         * conform/data/pthread.h-data: Likewise.
71959         * conform/data/pwd.h-data: Likewise.
71960         * conform/data/signal.h-data: Likewise.
71961         * conform/data/spawn.h-data: Likewise.
71962         * conform/data/stdio.h-data: Likewise.
71963         * conform/data/stdlib.h-data: Likewise.
71964         * conform/data/stropts.h-data: Likewise.
71965         * conform/data/sys/mman.h-data: Likewise.
71966         * conform/data/sys/stat.h-data: Likewise.
71967         * conform/data/sys/types.h-data: Likewise.
71968         * conform/data/sys/wait.h-data: Likewise.
71969         * conform/data/time.h-data: Likewise.
71970         * conform/data/unistd.h-data: Likewise.
71971         * conform/data/utime.h-data: Likewise.
71973         * io/sys/stat.h: fchmod was always in POSIX.
71974         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71975         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71976         * rt/aio.h: Define __need_timespec before including <time.h>.
71977         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71978         struct.  Add forward declaration of pthread_attr_t and use it in
71979         sigevent.
71980         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71981         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71982         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71983         always remove CLK_TCK definition.
71985 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71987         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71989 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71991         * conform/run-conformtest.sh: New file.
71992         * conform/Makefile: Run run-conformtest for tests.
71993         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71994         support.
71996         * conform/data/uchar.h-data: New file.
71997         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71998         * conform/data/arpa/inet.h-data: Likewise.
71999         * conform/data/assert.h-data: Likewise.
72000         * conform/data/complex.h-data: Likewise.
72001         * conform/data/cpio.h-data: Likewise.
72002         * conform/data/ctype.h-data: Likewise.
72003         * conform/data/dirent.h-data: Likewise.
72004         * conform/data/dlfcn.h-data: Likewise.
72005         * conform/data/errno.h-data: Likewise.
72006         * conform/data/fcntl.h-data: Likewise.
72007         * conform/data/float.h-data: Likewise.
72008         * conform/data/fmtmsg.h-data: Likewise.
72009         * conform/data/fnmatch.h-data: Likewise.
72010         * conform/data/ftw.h-data: Likewise.
72011         * conform/data/glob.h-data: Likewise.
72012         * conform/data/grp.h-data: Likewise.
72013         * conform/data/iconv.h-data: Likewise.
72014         * conform/data/inttypes.h-data: Likewise.
72015         * conform/data/langinfo.h-data: Likewise.
72016         * conform/data/libgen.h-data: Likewise.
72017         * conform/data/limits.h-data: Likewise.
72018         * conform/data/locale.h-data: Likewise.
72019         * conform/data/math.h-data: Likewise.
72020         * conform/data/monetary.h-data: Likewise.
72021         * conform/data/mqueue.h-data: Likewise.
72022         * conform/data/ndbm.h-data: Likewise.
72023         * conform/data/net/if.h-data: Likewise.
72024         * conform/data/netdb.h-data: Likewise.
72025         * conform/data/netinet/in.h-data: Likewise.
72026         * conform/data/nl_types.h-data: Likewise.
72027         * conform/data/poll.h-data: Likewise.
72028         * conform/data/pthread.h-data: Likewise.
72029         * conform/data/pwd.h-data: Likewise.
72030         * conform/data/regex.h-data: Likewise.
72031         * conform/data/sched.h-data: Likewise.
72032         * conform/data/search.h-data: Likewise.
72033         * conform/data/semaphore.h-data: Likewise.
72034         * conform/data/setjmp.h-data: Likewise.
72035         * conform/data/signal.h-data: Likewise.
72036         * conform/data/spawn.h-data: Likewise.
72037         * conform/data/stdarg.h-data: Likewise.
72038         * conform/data/stdio.h-data: Likewise.
72039         * conform/data/stdlib.h-data: Likewise.
72040         * conform/data/string.h-data: Likewise.
72041         * conform/data/strings.h-data: Likewise.
72042         * conform/data/stropts.h-data: Likewise.
72043         * conform/data/sys/ipc.h-data: Likewise.
72044         * conform/data/sys/mman.h-data: Likewise.
72045         * conform/data/sys/msg.h-data: Likewise.
72046         * conform/data/sys/resource.h-data: Likewise.
72047         * conform/data/sys/select.h-data: Likewise.
72048         * conform/data/sys/sem.h-data: Likewise.
72049         * conform/data/sys/shm.h-data: Likewise.
72050         * conform/data/sys/socket.h-data: Likewise.
72051         * conform/data/sys/stat.h-data: Likewise.
72052         * conform/data/sys/statvfs.h-data: Likewise.
72053         * conform/data/sys/time.h-data: Likewise.
72054         * conform/data/sys/timeb.h-data: Likewise.
72055         * conform/data/sys/times.h-data: Likewise.
72056         * conform/data/sys/types.h-data: Likewise.
72057         * conform/data/sys/uio.h-data: Likewise.
72058         * conform/data/sys/un.h-data: Likewise.
72059         * conform/data/sys/utsname.h-data: Likewise.
72060         * conform/data/sys/wait.h-data: Likewise.
72061         * conform/data/syslog.h-data: Likewise.
72062         * conform/data/tar.h-data: Likewise.
72063         * conform/data/termios.h-data: Likewise.
72064         * conform/data/utime.h-data: Likewise.
72065         * conform/data/utmpx.h-data: Likewise.
72066         * conform/data/varargs.h-data: Likewise.
72067         * conform/data/wchar.h-data: Likewise.
72068         * conform/data/wctype.h-data: Likewise.
72069         * conform/data/wordexp.h-data: Likewise.
72071         * include/stropts.h: New file.
72072         * include/uchar.h: New file.
72073         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72074         * include/assert.h: Likewise.
72075         * include/ctype.h: Likewise.
72076         * include/dirent.h: Likewise.
72077         * include/dlfcn.h: Likewise.
72078         * include/fcntl.h: Likewise.
72079         * include/fnmatch.h: Likewise.
72080         * include/glob.h: Likewise.
72081         * include/grp.h: Likewise.
72082         * include/libio.h: Likewise.
72083         * include/locale.h: Likewise.
72084         * include/math.h: Likewise.
72085         * include/net/if.h: Likewise.
72086         * include/netdb.h: Likewise.
72087         * include/netinet/in.h: Likewise.
72088         * include/pthread.h: Likewise.
72089         * include/pwd.h: Likewise.
72090         * include/regex.h: Likewise.
72091         * include/sched.h: Likewise.
72092         * include/search.h: Likewise.
72093         * include/setjmp.h: Likewise.
72094         * include/signal.h: Likewise.
72095         * include/stdio.h: Likewise.
72096         * include/stdlib.h: Likewise.
72097         * include/string.h: Likewise.
72098         * include/sys/cdefs.h: Likewise.
72099         * include/sys/mman.h: Likewise.
72100         * include/sys/msg.h: Likewise.
72101         * include/sys/resource.h: Likewise.
72102         * include/sys/select.h: Likewise.
72103         * include/sys/socket.h: Likewise.
72104         * include/sys/stat.h: Likewise.
72105         * include/sys/statvfs.h: Likewise.
72106         * include/sys/time.h: Likewise.
72107         * include/sys/times.h: Likewise.
72108         * include/sys/uio.h: Likewise.
72109         * include/sys/utsname.h: Likewise.
72110         * include/sys/wait.h: Likewise.
72111         * include/termios.h: Likewise.
72112         * include/time.h: Likewise.
72113         * include/ulimit.h: Likewise.
72114         * include/unistd.h: Likewise.
72115         * include/utime.h: Likewise.
72116         * include/wchar.h: Likewise.
72117         * include/wctype.h: Likewise.
72118         * include/wordexp.h: Likewise.
72120         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72122         * time/time.h: TIME_UTC must be a macro.
72123         Make timespec_get available for ISO C11 only as well.
72125 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72127         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72128         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72130 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72132         * configure.in: Use -o not -a in test for unsupported multi-arch.
72134 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72136         * manual/texinfo.tex: Update to version 2012-01-19.16.
72138 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72140         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72142 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72144         [BZ #13738]
72145         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72146         * manual/fdl-1.3.texi: New file.
72147         * manual/fdl-1.1.texi: File removed.
72149         [BZ #13738]
72150         * manual/libc.texinfo (FDL_VERSION): New @set.
72151         Use it for mention of FDL in cover text.
72152         (Documentation License): Use it in @include file name.
72154 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72155             Roland McGrath  <roland@hack.frob.com>
72157         [BZ #5461]
72158         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72159         (not LONG_LONG_MAX and LONG_LONG_MIN.
72160         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72161         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72162         name.
72163         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72165 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72167         [BZ #2547]
72168         [BZ #11365]
72169         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72170         manipulate bits before adding and subtracting TWO23[sx].
72171         * math/libm-test.inc (nearbyint_test): Add more tests.
72173 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72175         [BZ #2548]
72176         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72177         bits before adding and subtracting TWO23[sx].
72178         * math/libm-test.inc (rint_test): Add more tests.
72179         (rint_test_tonearest): Likewise.
72180         (rint_test_towardzero): Likewise.
72181         (rint_test_downward): Likewise.
72182         (rint_test_upward: Likewise.
72184 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72186         [BZ #10110]
72187         * include/stdc-predef.h: New file.  Extracted from features.h.
72188         * include/features.h: Include stdc-predef.h.
72189         * Makefile (headers): Add stdc-predef.h.
72190         * CONFORMANCE (Compiler limitations): Update.
72192 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72194         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72196 2012-02-21  David S. Miller  <davem@davemloft.net>
72198         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72199         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72201 2012-02-20  David S. Miller  <davem@davemloft.net>
72203         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72204         using a normal save/restore sequence, rather than allocating a
72205         dummy stack frame just to store a frame pointer and restore.
72206         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72208 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72210         * manual/install.texi: Fix stray word in line-wrapped comment.
72212 2012-02-20  David S. Miller  <davem@davemloft.net>
72214         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72215         both binutils and gcc support GOTDATA.
72217         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72218         "rd %pc" in the PIC register setup sequences.
72220         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72221         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72222         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72223         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72224         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72225         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72226         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72227         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72229         (SYSCALL_ERROR_HANDLER): Likewise.
72230         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72231         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72232         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72233         (SYSCALL_ERROR_HANDLER): Likewise.
72235         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72236         (HAVE_GCC_GOTDATA): New.
72237         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72238         relocation support in both binutils and gcc.
72239         * sysdeps/sparc/elf/configure: Regenerate.
72241         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72242         * sysdeps/sparc/sparc32/elf/configure: Delete.
72243         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72244         * sysdeps/sparc/sparc64/elf/configure: Delete.
72245         * sysdeps/sparc/elf/configure.in: New file.
72246         * sysdeps/sparc/elf/configure: Generate.
72248         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72249         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72250         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72251         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72252         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72254 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72256         * manual/install.texi: Do not mention specific glibc version
72257         numbers.
72258         * manual/libc.texinfo (VERSION, UPDATED): Update.
72259         (@copying): Use @copyright{} and range of years.
72261 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72263         [BZ #13695]
72264         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72265         [crti.S not in sysdirs] (generated): Do not append.
72266         [crti.S not in sysdirs] (omit-deps): Likewise.
72267         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72268         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72269         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72270         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72271         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72272         Likewise.
72273         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72274         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72275         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72276         * csu/defs.awk: Remove file.
72277         * sysdeps/generic/initfini.c: Likewise.
72278         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72279         variable.
72280         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72281         Likewise.
72283 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72285         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72286         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72287         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72288         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72289         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72290         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72291         <bits/epoll.h>.
72292         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72293         (__EPOLL_PACKED): Define to empty if not defined by
72294         <bits/epoll.h>.
72295         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72296         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72297         bits/epoll.h.
72299 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72301         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72302         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72303         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72304         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72305         <bits/timerfd.h>.
72306         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72307         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72308         bits/timerfd.h.
72310 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72312         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72313         in C locale.
72314         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72315         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72316         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72319 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72321         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72322         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72324 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72326         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72327         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72328         defined.
72329         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72330         Likewise.
72331         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72332         entry for 2.16.
72334 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72336         * math/w_acos.c: Use non-signaling floating-point comparisons.
72337         * math/w_acosf.c: Likewise.
72338         * math/w_acosh.c: Likewise.
72339         * math/w_acoshf.c: Likewise.
72340         * math/w_acoshl.c: Likewise.
72341         * math/w_acosl.c: Likewise.
72342         * math/w_asin.c: Likewise.
72343         * math/w_asinf.c: Likewise.
72344         * math/w_asinl.c: Likewise.
72345         * math/w_atanh.c: Likewise.
72346         * math/w_atanhf.c: Likewise.
72347         * math/w_atanhl.c: Likewise.
72348         * math/w_exp2.c: Likewise.
72349         * math/w_exp2f.c: Likewise.
72350         * math/w_exp2l.c: Likewise.
72351         * math/w_j0.c: Likewise.
72352         * math/w_j0f.c: Likewise.
72353         * math/w_j0l.c: Likewise.
72354         * math/w_j1.c: Likewise.
72355         * math/w_j1f.c: Likewise.
72356         * math/w_j1l.c: Likewise.
72357         * math/w_jn.c: Likewise.
72358         * math/w_jnf.c: Likewise.
72359         * math/w_log.c: Likewise.
72360         * math/w_log10.c: Likewise.
72361         * math/w_log10f.c: Likewise.
72362         * math/w_log10l.c: Likewise.
72363         * math/w_log2.c: Likewise.
72364         * math/w_log2f.c: Likewise.
72365         * math/w_log2l.c: Likewise.
72366         * math/w_logf.c: Likewise.
72367         * math/w_logl.c: Likewise.
72368         * math/w_sqrt.c: Likewise.
72369         * math/w_sqrtf.c: Likewise.
72370         * math/w_sqrtl.c: Likewise.
72371         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72372         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72373         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72374         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72375         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72377 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72379         [BZ #9739]
72380         * manual/string.texi (strnlen): Use correct parameter name in
72381         equivalent expression.
72383 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72385         [BZ #11174]
72386         * manual/users.texi (seteuid): Consistently use neweuid for
72387         argument name.
72389 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72391         [BZ #13704]
72392         * manual/nss.texi (Services in the NSS configuration): Correct
72393         list of services in example configuration file.
72395 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72397         [BZ #11322]
72398         * manual/arith.texi: Remove statements about negative zero
72399         behaving identically to zero.
72401 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72403         [BZ #5993]
72404         * manual/install.texi: Do not document upgrading from libc5.
72406 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72408         [BZ #4596]
72409         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72411 2012-02-18  David S. Miller  <davem@davemloft.net>
72413         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72414         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72415         %o7 across the call.
72416         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72417         instead.
72418         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72419         SETUP_PIC_REG_LEAF.
72420         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72421         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72422         * sysdeps/sparc/crtn.S: Likewise.
72424 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72426         * aout/Makefile: Remove.
72428 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72430         [BZ #13058]
72431         * manual/examples/argp-ex1.c (main): Format definition in GNU
72432         style.
72433         * manual/examples/argp-ex2.c (main): Likewise.
72434         * manual/examples/argp-ex3.c (main): Likewise.
72435         * manual/examples/argp-ex4.c (main): Likewise.
72436         * manual/examples/longopt.c (main): Use new-style prototype
72437         definition.
72438         * manual/examples/strncat.c (main): Specify return type and use
72439         (void) for arguments.
72440         * manual/examples/subopt.c (main): Use char **argv argument.
72442 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72444         [BZ #5077]
72445         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72446         rounding modes.
72448 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72450         [BZ #6907]
72451         * manual/string.texi (strchr): Change when strchrnul is
72452         recommended.
72454 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72456         [BZ #174]
72457         * manual/locale.texi (setlocale): Document LOCPATH.
72459 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72461         [BZ #10210]
72462         * manual/process.texi (execle): Move @dots{} before last argument.
72464 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72466         [BZ #12047]
72467         * manual/charset.texi (Generic Charset Conversion): Fix typo
72468         (LC_TYPE -> LC_CTYPE).
72470 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72472         [BZ #5805]
72473         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72474         (scalbnf): Likewise.
72475         (scalbnl): Likewise.
72476         (scalbln): Likewise.
72477         (scalblnf): Likewise.
72478         (scalblnl): Likewise.
72479         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72480         (vwarnx): Likewise.
72481         (verr): Likewise.
72482         (verrx): Likewise.
72483         * manual/filesys.texi (telldir): Use braces around return type.
72484         * manual/llio.texi (mmap): Add space after comma.
72485         (mmap64): Likewise.
72486         * manual/math.texi (jn): Use @var{} on parameter names.
72487         (jnf): Likewise.
72488         (jnl): Likewise.
72489         (yn): Likewise.
72490         (ynf): Likewise.
72491         (ynl): Likewise.
72492         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72493         line.
72494         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72495         "...".
72496         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72497         (sched_get_priority_max): Likewise.
72498         * manual/signal.texi (sigvec): Add space after comma.
72499         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72500         names.
72501         (if_indextoname): Likewise.
72502         (if_freenameindex): Likewise.
72503         (sendto): Use ',' instead of '.' in prototype.
72504         * manual/startup.texi (syscall): Use @dots{} instead of literal
72505         "...".
72506         * manual/stdio.texi (__fpending): Separate initial words of
72507         paragraph from @deftypefun line.
72508         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72509         "...".
72510         (vsyslog): Use @var{} on parameter names.
72511         * manual/terminal.texi (stty): Use @var{} on parameter names.
72512         * manual/users.texi (getutmp): Use @var{} on parameter names.
72513         (getutmpx): Likewise.
72515 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72517         [BZ #6884]
72518         * manual/stdio.texi (fopen): Fix typos in description of
72519         ",ccs=STRING".
72521 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72523         [BZ #4026]
72524         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72525         get clock_id definition.
72527 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72529         [BZ #4822]
72530         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72531         (madvise): Cast every argument to void on its own.
72533 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72535         [BZ #9902]
72536         * manual/startup.texi (Exit Status): Fix typo.
72538 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72540         [BZ #10140]
72541         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72542         * manual/examples/argp-ex2.c: Likewise.
72543         * manual/examples/argp-ex3.c: Likewise.
72545 2012-02-16  Richard Henderson  <rth@redhat.com>
72547         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72548         * sysdeps/s390/s390-32/initfini.c: Remove.
72549         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72550         * sysdeps/s390/s390-64/initfini.c: Remove.
72552 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72554         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72555         compiler output for sysdeps/generic/initfini.c.
72556         * sysdeps/sh/elf/initfini.c: Remove file.
72558 2012-02-16  David S. Miller  <davem@davemloft.net>
72560         [BZ #11494]
72561         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72563         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72564         * sysdeps/sparc/crti.S: New file.
72565         * sysdeps/sparc/crtn.S: New file.
72566         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72567         * sysdeps/sparc/sparc64/Makefile: Likewise.
72569 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72571         [BZ #3335]
72572         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72574 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72576         [BZ #4822]
72577         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72579         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72580         (write, read, close): Likewise.
72581         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72583 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72585         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72586         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72587         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72588         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72589         <bits/signalfd.h>.
72590         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72592         bits/signalfd.h.
72594 2012-02-14  Marek Polacek  <polacek@redhat.com>
72596         * sysdeps/x86_64/crti.S: New file.
72597         * sysdeps/x86_64/crtn.S: New file.
72598         * sysdeps/x86_64/elf/initfini.c: Remove file.
72600 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72602         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72603         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72604         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72605         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72606         <bits/inotify.h>.
72607         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72608         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72609         bits/inotify.h.
72611 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72613         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72614         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72615         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72616         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72617         <bits/eventfd.h>.
72618         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72619         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72620         bits/eventfd.h.
72622 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72624         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72625         __feraiseexcept instead of feraiseexcept.
72627         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72628         nanosleep invocations.
72629         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72630         strings, and add error checking for a nanosleep invocations.
72632 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72634         Replace FSF snail mail address with URLs, as per GNU coding standards.
72635         Most of the snail mail addresses were wrong anyway, and omitting
72636         them makes the source code easier to maintain.  Almost all of the
72637         changes are to license notices and to locale LC_IDENTIFICATION
72638         addresses, except for this one:
72639         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72640         not its snail mail address.
72642 2012-02-09  Richard Henderson  <rth@twiddle.net>
72644         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72645         of kernel-features.h.
72647         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72649 2012-02-08  Marek Polacek  <polacek@redhat.com>
72651         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72652         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72653         * sysdeps/gnu/_G_config.h: Likewise.
72654         * sysdeps/generic/_G_config.h: Likewise.
72656 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72658         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72659         tests.
72660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72662         * sysdeps/powerpc/powerpc32/crti.S: New file.
72663         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72664         * sysdeps/powerpc/powerpc64/crti.S: New file.
72665         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72667         * Makeconfig (have-initfini): Don't set.
72668         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72669         * configure.in (nopic_initfini): Don't substitute.
72670         * config.h.in (HAVE_INITFINI): Don't #undef.
72671         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72672         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72674 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72676         Support crti.S and crtn.S provided directly by architectures.
72677         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72678         [crti.S in sysdirs] (omit-deps): Likewise.
72679         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72680         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72681         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72682         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72683         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72684         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72685         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72686         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72687         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72688         compiler output for sysdeps/generic/initfini.c.
72689         * sysdeps/i386/elf/Makefile: Remove file.
72690         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72692 2012-02-07  Marek Polacek  <polacek@redhat.com>
72694         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72695         * sysdeps/gnu/_G_config.h: Likewise.
72696         * sysdeps/mach/hurd/_G_config.h: Likewise.
72698 2012-02-07  Marek Polacek  <polacek@redhat.com>
72700         * math/Makefile (tests): Add tst-CMPLX2.
72701         * math/tst-CMPLX2.c: New file.
72703 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72705         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72707         * math/libm-test.inc (jn_test): Add missing L suffix.
72709 2012-02-06  Marek Polacek  <polacek@redhat.com>
72711         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72712         * sysdeps/i386/fpu/e_powf.S: Likewise.
72713         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72714         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72715         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72716         * sysdeps/i386/fpu/e_pow.S: Likewise.
72717         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72718         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72719         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72720         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72721         * sysdeps/i386/fpu/e_log2.S: Likewise.
72722         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72723         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72724         * sysdeps/i386/fpu/e_powl.S: Likewise.
72725         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72726         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72727         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72728         * sysdeps/i386/fpu/e_logl.S: Likewise.
72729         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72730         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72731         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72732         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72733         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72734         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72735         * sysdeps/i386/fpu/e_log.S: Likewise.
72736         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72737         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72738         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72739         * sysdeps/i386/fpu/e_logf.S: Likewise.
72740         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72741         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72742         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72743         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72744         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72745         * sysdeps/i386/fpu/e_log10.S: Likewise.
72746         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72747         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72748         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72749         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72750         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72751         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72752         * sysdeps/i386/asm-syntax.h: Likewise.
72753         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72754         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72755         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72756         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72757         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72758         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72759         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72760         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72761         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72762         * sysdeps/powerpc/sysdep.h: Likewise.
72763         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72764         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72766 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72768         [BZ #411]
72769         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72771 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72773         * sysdeps/i386/sysdep.h: Include <features.h>.
72774         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72775         version.
72777 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72779         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72780         Define.
72781         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72782         LOAD_PIC_REG_STR.
72784 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72786         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72787         (SETUP_PIC_REG): Use GET_PC_THUNK.
72788         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72789         macro.
72791 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72793         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72794         for non-PIC compilation.
72795         (SETUP_PIC_REG): Add .p2align directive.
72796         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72797         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72798         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72799         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72800         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72801         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72802         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72803         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72804         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72805         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72806         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72807         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72808         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72809         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72810         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72811         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72812         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72813         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72814         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72815         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72816         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72817         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72818         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72819         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72820         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72821         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72822         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72823         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72824         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72825         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72826         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72827         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72828         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72829         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72830         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72831         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72832         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72833         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72834         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72835         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72836         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72838 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72840         * math/tst-CMPLX.c: Include <stdio.h>.
72842 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72844         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72845         float.
72846         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72847         * sysdeps/sparc/bits/mathdef.h: Likewise.
72849 2012-01-31  Marek Polacek  <polacek@redhat.com>
72851         * libio/libio.h: Don't define _PARAMS.
72852         * locale/programs/config.h: Don't define PARAMS.
72853         * stdlib/strtol_l.c: Likewise.
72854         (__strtol_l): Remove PARAMS from the prototype.
72856 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72858         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72859         names.  Just use the correct names.  Remove unnecessary wrapper
72860         functions.
72861         * malloc/arena.c: Likewise.
72862         * malloc/hooks.c: Likewise.
72864         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72865         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72866         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72868 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72870         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72871         into tail calls.
72872         (update_get_addr): New function.
72873         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72874         GET_ADDR_MODULE parameter.
72876 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72878         * crypt/cert.c: Remove __STDC__ conditionals.
72879         * crypt/crypt-entry.c: Likewise.
72880         * crypt/crypt_util.c: Likewise.
72881         * libio/filedoalloc.c: Likewise.
72882         * libio/fileops.c: Likewise.
72883         * libio/genops.c: Likewise.
72884         * libio/iofclose.c: Likewise.
72885         * libio/iofdopen.c: Likewise.
72886         * libio/iofopen.c: Likewise.
72887         * libio/iofopen64.c: Likewise.
72888         * libio/iogetdelim.c: Likewise.
72889         * libio/iopopen.c: Likewise.
72890         * libio/obprintf.c: Likewise.
72891         * libio/oldfileops.c: Likewise.
72892         * libio/oldiofclose.c: Likewise.
72893         * libio/oldiofdopen.c: Likewise.
72894         * libio/oldiofopen.c: Likewise.
72895         * libio/oldiopopen.c: Likewise.
72896         * libio/wfiledoalloc.c: Likewise.
72897         * libio/wgenops.c: Likewise.
72898         * locale/programs/xmalloc.c: Likewise.
72899         * misc/syslog.c: Likewise.
72900         * stdio-common/xbug.c: Likewise.
72901         * string/memchr.c: Likewise.
72902         * string/memcmp.c: Likewise.
72903         * string/memrchr.c: Likewise.
72904         * string/rawmemchr.c: Likewise.
72905         * sysdeps/posix/getcwd.c: Likewise.
72906         * time/strftime_l.c: Likewise.
72908 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72910         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72911         * config.make.in (config-cflags-sse2avx): Define.
72912         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72913         Fix typo.
72915 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72917         * scripts/config.guess: Update from upstream config git repository.
72918         * scripts/config.sub: Likewise.
72920 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72922         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72923         (EM_NUM): Update.
72924         (R_TILEPRO_*, R_TILEGX_*): New macros.
72926         * scripts/firstversions.awk: Fix bug in version range handling.
72928         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72930         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72932         * include/sys/epoll.h: New file.
72933         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72934         libc_hidden_def.
72936 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72938         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72939         Avoid unnecessary __WORDSIZE == 64 test.
72940         (fmaxf): Use VEX format if possible.
72941         (fmax): Likewise.
72942         (fminf): Likewise.
72943         (fmin): Likewise.
72945         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72946         * math/math_private.h: Remove libc_fegetround* and
72947         libc_fesetround*.
72948         * sysdeps/i386/configure.in: Check for -msse2avx.
72949         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72950         also if SSE2AVX is defined.
72951         Remove libc_fegetround* and libc_fesetround*.
72952         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72953         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72954         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72955         of HAS_YMM_USABLE.
72956         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72957         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72958         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72959         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72960         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72962         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72964 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72966         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72967         size is not set.
72968         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72970 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72972         [BZ #13618]
72973         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72974         relocation.
72975         * Makeconfig (libm): Define.
72976         * elf/Makefile: Add rules to build and run tst-relsort1.
72977         * elf/tst-relsort1.c: New file.
72978         * elf/tst-relsort1mod1.c: New file.
72979         * elf/tst-relsort1mod2.c: New file.
72981 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72983         * math/s_ldexp.c: Remove __STDC__ conditionals.
72984         * math/s_ldexpf.c: Likewise.
72985         * math/s_ldexpl.c: Likewise.
72986         * math/s_nextafter.c: Likewise.
72987         * math/s_nexttowardf.c: Likewise.
72988         * math/s_significand.c: Likewise.
72989         * math/s_significandf.c: Likewise.
72990         * math/s_significandl.c: Likewise.
72991         * math/w_jnl.c: Likewise.
72992         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72993         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72994         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72995         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72996         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72997         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72998         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72999         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73000         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73001         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73002         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73003         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73004         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73005         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73006         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73007         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73008         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73009         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73010         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73011         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73012         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73013         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73014         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73015         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73016         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73017         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73018         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73019         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73020         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73021         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73022         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73023         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73024         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73025         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73026         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73027         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73028         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73029         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73030         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73031         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73032         * sysdeps/ieee754/k_standard.c: Likewise.
73033         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73034         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73035         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73036         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73037         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73038         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73039         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73040         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73041         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73042         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73043         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73044         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73045         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73046         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73047         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73048         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73049         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73050         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73051         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73052         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73053         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73054         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73055         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73056         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73057         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73058         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73059         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73060         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73061         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73062         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73063         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73064         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73065         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73066         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73067         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73068         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73069         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73070         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73071         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73072         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73073         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73074         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73075         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73076         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73077         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73078         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73079         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73080         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73081         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73082         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73083         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73084         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73085         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73086         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73087         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73088         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73089         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73090         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73091         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73092         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73093         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73094         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73095         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73096         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73097         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73098         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73099         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73100         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73101         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73102         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73103         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73104         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73105         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73106         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73107         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73108         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73109         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73110         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73111         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73112         * sysdeps/ieee754/s_matherr.c: Likewise.
73113         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73114         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73115         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73116         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73118 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73120         * crypt/md5.h: Remove __STDC__ conditionals.
73121         * libio/libioP.h: Likewise.
73122         * locale/programs/config.h: Likewise.
73123         * sysdeps/generic/sysdep.h: Likewise.
73124         * sysdeps/i386/asm-syntax.h: Likewise.
73125         * sysdeps/s390/asm-syntax.h: Likewise.
73126         * sysdeps/unix/sysdep.h: Likewise.
73127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73130 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73132         * libio/libio.h: Remove __STDC__ conditionals.
73133         * malloc/obstack.h: Likewise.
73134         * math/complex.h: Likewise.
73135         * math/math.h: Likewise.
73136         * sysdeps/generic/_G_config.h: Likewise.
73137         * sysdeps/gnu/_G_config.h: Likewise.
73138         * sysdeps/mach/hurd/_G_config.h: Likewise.
73139         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73140         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73141         * sysdeps/sparc/bits/mathdef.h: Likewise.
73143 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73145         [BZ #13583]
73146         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73147         Clean up HAS_* macros.
73148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73149         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73150         possible.
73151         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73152         HAS_AVX.
73153         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73154         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73155         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73156         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73157         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73159 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73161         * elf/tst-unique3.cc (gets): Remove declaration.
73162         * elf/tst-unique3lib.cc (gets): Likewise.
73163         * elf/tst-unique3lib2.cc (gets): Likewise.
73164         * elf/tst-unique4.cc (gets): Likewise.
73166 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73168         * include/stdio.h: Add C++ protection.  Add gets declarations and
73169         definitions.
73170         * debug/tst-chk1.c: Don't declare gets here.
73171         * stdio-common/tst-gets.c: Likewise.
73173 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73175         * posix/glob: Remove directory.
73177 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73179         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73181 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73183         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73184         of the non-standard EPFNOSUPPORT.
73186 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73188         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73189         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73190         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73192 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73194         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73196 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73198         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73199         transient errors.
73200         * nscd/grpcache.c (cache_addgr): Likewise.
73201         * nscd/hstcache.c (cache_addhst): Likewise.
73202         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73203         * nscd/pwdcache.c (cache_addpw): Likewise.
73204         * nscd/servicescache.c (cache_addserv): Likewise.
73206 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73208         * malloc/malloc.c: Various cleanups.
73209         * malloc/hooks.c: Likewise.
73211         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73212         * stdlib/bug-fmtmsg1.c: New file.
73214         * stdlib/fmtmsg.c (init): Add missing unlock.
73215         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73217 2012-01-12  Marek Polacek  <polacek@redhat.com>
73219         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73220         and _GNU_SOURCE.
73222 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73224         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73225         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73226         macro to ensure uniqueness of label name.
73227         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73228         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73230 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73232         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73234         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73235         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73236         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73237         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73239 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73241         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73243         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73244         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73245         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73247         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73249         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73250         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73251         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73252         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73254         * math/bits/math-finite.h: Add ldexp support.
73256 2012-01-10  Marek Polacek  <polacek@redhat.com>
73258         * locale/programs/localedef.h (show_archive_content): Add noreturn
73259         attribute.
73261 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73263         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73265 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73267         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73269         * io/Makefile (headers): Add bits/poll2.h.
73271 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73274         typo #include statement.
73276 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73278         * include/sys/cdefs.h: Define __attribute_alloc_size.
73279         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73280         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73281         * elf/pldd.c: Likewise.
73282         * iconv/iconv_charmap.c: Likewise.
73283         * iconv/iconvconfig.c: Likewise.
73284         * iconv/strtab.c: Likewise.
73285         * locale/programs/locale.c: Likewise.
73286         * locale/programs/localedef.h: Likewise.
73287         * locale/programs/simple-hash.c: Likewise.
73288         * nscd/nscd.h: Likewise.
73289         * nss/makedb.c: Likewise.
73290         * sysdeps/generic/ldconfig.h: Likewise.
73291         * locale/programs/localedef.c: Remove xmalloc prototype.
73292         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73294 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73296         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73297         appropriate.
73299 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73301         * math/Makefile (tests): Add tst-CMPLX.
73302         * math/tst-CMPLX.c: New file.
73304         * math/complex.h (CMPLXL): Fix typo.
73306         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73307         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73308         GLIBC_2.16.
73309         * debug/tst-chk1.c: Add poll and ppoll tests.
73310         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73311         * include/sys/poll.h: Add hidden proto for ppoll.
73312         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73313         * sysdeps/mach/hurd/ppoll.c: Likewise.
73314         * io/ppoll.c: Likewise.
73315         * debug/poll_chk.c: New file.
73316         * debug/ppoll_chk.c: New file.
73317         * include/bits/poll2.h: New file.
73318         * io/bits/poll2.h: New file.
73320         [BZ #1350]
73321         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73323         * configure.in: static is always set to yes.  Remove.
73324         * config.make.in: Don't set build-static.
73325         * Makeconfig: Remove use of build-static.
73326         * dlfcn/Makefile: Likewise.
73327         * elf/Makefile: Likewise.
73328         * math/Makefile: Likewise.
73329         * misc/Makefile: Likewise.
73330         * nptl/Makefile: Likewise.
73331         * sysdeps/mach/hurd/Makefile: Likewise.
73333         * configure.in: PWD_P is not used anymore.
73334         * config.make.in: Remove PWD_P entry.
73336         * configure.in: Remove last remnants of RANLIB.
73337         No need to check for signed size_t anymore.
73338         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73339         and IA-64.
73340         Remove __builtin_expect test because we require at least gcc 3.4.
73341         * aclocal.m4: Likewise.
73343         * wcsmbs/mbrtoc16.c: Implement using towc function.
73344         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73345         * wcsmbs/wcsmbsload.c: Likewise.
73346         * iconv/gconv_simple.c: Likewise.
73347         * iconv/gconv_int.h: Likewise.
73348         * iconv/gconv_builtin.h: Likewise.
73349         * iconv/iconv_prog.c: Remove CHAR16 handling.
73351         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73353         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73355         * configure.in: Remove --with-elf and --enable-bounded options.
73356         Dont set base_machine for ia64.  More non-ELF conditions removed.
73357         Remove testing and setting of leading underscore information.
73358         * config.make.in (build-bounded): Set to no.
73359         * config.h.in: Remove NO_UNDERSCORES entry.
73360         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73361         them.
73362         * csu/start.c: Remove !NO_UNDERSCORE code.
73363         * locale/localeinfo.h: Likewise.
73364         * sysdeps/generic/machine-gmon.h: Likewise.
73365         * sysdeps/generic/sysdep.h: Likewise.
73366         * sysdeps/i386/sysdep.h: Likewise.
73367         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73368         * sysdeps/mach/sysdep.h: Likewise.
73369         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73370         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73371         * sysdeps/sh/sysdep.h: Likewise.
73372         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73373         * sysdeps/unix/i386/sysdep.S: Likewise.
73374         * sysdeps/unix/sparc/start.c: Likewise.
73375         * sysdeps/unix/sparc/sysdep.S: Likewise.
73376         * sysdeps/unix/sparc/sysdep.h: Likewise.
73377         * sysdeps/unix/start.c: Likewise.
73378         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73379         * sysdeps/x86_64/sysdep.h: Likewise.
73381 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73383         [BZ #13553]
73384         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73385         for non-gcc.
73386         * argp/argp-fmtstream.h: Use const instead __const.
73387         * argp/argp.h: Likewise.
73388         * assert/assert.h: Likewise.
73389         * bits/fenv.h: Likewise.
73390         * bits/sched.h: Likewise.
73391         * bits/sigset.h: Likewise.
73392         * bits/sigthread.h: Likewise.
73393         * catgets/nl_types.h: Likewise.
73394         * conform/data/pthread.h-data: Likewise.
73395         * crypt/crypt-private.h: Likewise.
73396         * crypt/crypt.h: Likewise.
73397         * crypt/crypt_util.c: Likewise.
73398         * ctype/ctype.h: Likewise.
73399         * debug/execinfo.h: Likewise.
73400         * debug/mbsnrtowcs_chk.c: Likewise.
73401         * debug/mbsrtowcs_chk.c: Likewise.
73402         * debug/wcsnrtombs_chk.c: Likewise.
73403         * debug/wcsrtombs_chk.c: Likewise.
73404         * debug/wcstombs_chk.c: Likewise.
73405         * dirent/dirent.h: Likewise.
73406         * dlfcn/dlfcn.h: Likewise.
73407         * elf/neededtest4.c: Likewise.
73408         * grp/grp.h: Likewise.
73409         * gshadow/gshadow.h: Likewise.
73410         * iconv/gconv.h: Likewise.
73411         * iconv/gconv_int.h: Likewise.
73412         * iconv/gconv_simple.c: Likewise.
73413         * iconv/iconv.h: Likewise.
73414         * iconv/loop.c: Likewise.
73415         * iconv/skeleton.c: Likewise.
73416         * include/aio.h: Likewise.
73417         * include/aliases.h: Likewise.
73418         * include/argz.h: Likewise.
73419         * include/arpa/inet.h: Likewise.
73420         * include/assert.h: Likewise.
73421         * include/dirent.h: Likewise.
73422         * include/dlfcn.h: Likewise.
73423         * include/execinfo.h: Likewise.
73424         * include/fcntl.h: Likewise.
73425         * include/fenv.h: Likewise.
73426         * include/glob.h: Likewise.
73427         * include/grp.h: Likewise.
73428         * include/libintl.h: Likewise.
73429         * include/mntent.h: Likewise.
73430         * include/netdb.h: Likewise.
73431         * include/pwd.h: Likewise.
73432         * include/rpc/netdb.h: Likewise.
73433         * include/sched.h: Likewise.
73434         * include/search.h: Likewise.
73435         * include/shadow.h: Likewise.
73436         * include/signal.h: Likewise.
73437         * include/stdio.h: Likewise.
73438         * include/stdlib.h: Likewise.
73439         * include/string.h: Likewise.
73440         * include/sys/socket.h: Likewise.
73441         * include/sys/stat.h: Likewise.
73442         * include/sys/statfs.h: Likewise.
73443         * include/sys/statvfs.h: Likewise.
73444         * include/sys/syslog.h: Likewise.
73445         * include/sys/time.h: Likewise.
73446         * include/sys/uio.h: Likewise.
73447         * include/time.h: Likewise.
73448         * include/unistd.h: Likewise.
73449         * include/utmp.h: Likewise.
73450         * include/wchar.h: Likewise.
73451         * include/wctype.h: Likewise.
73452         * inet/aliases.h: Likewise.
73453         * inet/arpa/inet.h: Likewise.
73454         * inet/netinet/ether.h: Likewise.
73455         * inet/netinet/in.h: Likewise.
73456         * intl/libintl.h: Likewise.
73457         * io/bits/fcntl2.h: Likewise.
73458         * io/fcntl.h: Likewise.
73459         * io/ftw.h: Likewise.
73460         * io/sys/poll.h: Likewise.
73461         * io/sys/stat.h: Likewise.
73462         * io/sys/statfs.h: Likewise.
73463         * io/sys/statvfs.h: Likewise.
73464         * io/utime.h: Likewise.
73465         * libio/bits/stdio.h: Likewise.
73466         * libio/bits/stdio2.h: Likewise.
73467         * libio/libio.h: Likewise.
73468         * libio/libioP.h: Likewise.
73469         * libio/stdio.h: Likewise.
73470         * locale/lc-ctype.c: Likewise.
73471         * locale/locale.h: Likewise.
73472         * login/utmp.h: Likewise.
73473         * malloc/arena.c: Likewise.
73474         * malloc/malloc.c: Likewise.
73475         * malloc/malloc.h: Likewise.
73476         * malloc/mcheck.c: Likewise.
73477         * malloc/mtrace.c: Likewise.
73478         * math/bits/mathcalls.h: Likewise.
73479         * math/fenv.h: Likewise.
73480         * math/math_private.h: Likewise.
73481         * misc/bits/error.h: Likewise.
73482         * misc/bits/syslog.h: Likewise.
73483         * misc/err.h: Likewise.
73484         * misc/error.h: Likewise.
73485         * misc/fstab.h: Likewise.
73486         * misc/mntent.h: Likewise.
73487         * misc/regexp.h: Likewise.
73488         * misc/search.h: Likewise.
73489         * misc/sgtty.h: Likewise.
73490         * misc/sys/mman.h: Likewise.
73491         * misc/sys/syslog.h: Likewise.
73492         * misc/sys/uio.h: Likewise.
73493         * misc/sys/xattr.h: Likewise.
73494         * misc/ttyent.h: Likewise.
73495         * nis/rpcsvc/ypclnt.h: Likewise.
73496         * nss/nss.h: Likewise.
73497         * posix/bits/unistd.h: Likewise.
73498         * posix/fnmatch.h: Likewise.
73499         * posix/glob.h: Likewise.
73500         * posix/sched.h: Likewise.
73501         * posix/spawn.h: Likewise.
73502         * posix/sys/wait.h: Likewise.
73503         * posix/unistd.h: Likewise.
73504         * posix/wordexp.h: Likewise.
73505         * pwd/pwd.h: Likewise.
73506         * resolv/netdb.h: Likewise.
73507         * resource/sys/resource.h: Likewise.
73508         * rt/aio.h: Likewise.
73509         * rt/bits/mqueue2.h: Likewise.
73510         * rt/mqueue.h: Likewise.
73511         * shadow/shadow.h: Likewise.
73512         * signal/signal.h: Likewise.
73513         * socket/send.c: Likewise.
73514         * socket/sendto.c: Likewise.
73515         * socket/sys/socket.h: Likewise.
73516         * stdio-common/printf.h: Likewise.
73517         * stdlib/bits/stdlib.h: Likewise.
73518         * stdlib/fmtmsg.h: Likewise.
73519         * stdlib/monetary.h: Likewise.
73520         * stdlib/stdlib.h: Likewise.
73521         * stdlib/ucontext.h: Likewise.
73522         * streams/stropts.h: Likewise.
73523         * string/argz.h: Likewise.
73524         * string/bits/string2.h: Likewise.
73525         * string/string.h: Likewise.
73526         * string/strings.h: Likewise.
73527         * sunrpc/rpc/auth.h: Likewise.
73528         * sunrpc/rpc/auth_des.h: Likewise.
73529         * sunrpc/rpc/clnt.h: Likewise.
73530         * sunrpc/rpc/netdb.h: Likewise.
73531         * sunrpc/rpc/pmap_clnt.h: Likewise.
73532         * sunrpc/rpc/xdr.h: Likewise.
73533         * sysdeps/generic/inttypes.h: Likewise.
73534         * sysdeps/generic/net/if.h: Likewise.
73535         * sysdeps/generic/sys/swap.h: Likewise.
73536         * sysdeps/gnu/net/if.h: Likewise.
73537         * sysdeps/gnu/utmpx.h: Likewise.
73538         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73539         * sysdeps/i386/i486/bits/string.h: Likewise.
73540         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73541         * sysdeps/s390/bits/string.h: Likewise.
73542         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73543         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73544         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73545         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73546         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73547         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73548         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73549         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73550         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73551         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73552         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73553         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73554         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73555         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73556         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73557         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73558         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73559         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73560         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73561         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73562         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73563         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73564         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73565         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73566         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73567         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73568         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73569         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73570         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73571         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73572         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73573         * sysvipc/sys/ipc.h: Likewise.
73574         * sysvipc/sys/msg.h: Likewise.
73575         * sysvipc/sys/sem.h: Likewise.
73576         * sysvipc/sys/shm.h: Likewise.
73577         * termios/termios.h: Likewise.
73578         * time/sys/time.h: Likewise.
73579         * time/time.h: Likewise.
73580         * wcsmbs/bits/wchar2.h: Likewise.
73581         * wcsmbs/uchar.h: Likewise.
73582         * wcsmbs/wchar.h: Likewise.
73583         * wctype/wctype.h: Likewise.
73585         [BZ #13551]
73586         * Makeconfig: Remove all but ELF support including AIX support.
73587         * Makerules: Likewise.
73588         * config.h.in: Likewise.
73589         * config.make.in: Likewise.
73590         * configure: Likewise.
73591         * configure.in: Likewise.
73592         * csu/Makefile: Likewise.
73593         * csu/version.c: Likewise.
73594         * debug/Makefile: Likewise.
73595         * dlfcn/Makefile: Likewise.
73596         * elf/Makefile: Likewise.
73597         * extra-lib.mk: Likewise.
73598         * iconv/Makefile: Likewise.
73599         * include/libc-symbols.h: Likewise.
73600         * include/shlib-compat.h: Likewise.
73601         * resolv/Makefile: Likewise.
73602         * resolv/res_libc.c: Likewise.
73603         * rt/Makefile: Likewise.
73604         * sysdeps/i386/asm-syntax.h: Likewise.
73605         * sysdeps/i386/sysdep.h: Likewise.
73606         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73607         * sysdeps/mach/sysdep.h: Likewise.
73608         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73609         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73610         * sysdeps/s390/asm-syntax.h: Likewise.
73611         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73612         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73613         * sysdeps/sh/sysdep.h: Likewise.
73614         * sysdeps/unix/sparc/sysdep.h: Likewise.
73615         * sysdeps/wordsize-32/divdi3.c: Likewise.
73616         * sysdeps/x86_64/sysdep.h: Likewise.
73618         * argp/Versions: Remove _argp_unlock_xxx.
73620         [BZ #13559]
73621         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73622         * abilist/libBrokenLocale.abilist: Likewise.
73623         * abilist/libanl.abilist: Likewise.
73624         * abilist/libc.abilist: Likewise.
73625         * abilist/libcrypt.abilist: Likewise.
73626         * abilist/libdl.abilist: Likewise.
73627         * abilist/libm.abilist: Likewise.
73628         * abilist/libnsl.abilist: Likewise.
73629         * abilist/libpthread.abilist: Likewise.
73630         * abilist/libresolv.abilist: Likewise.
73631         * abilist/librt.abilist: Likewise.
73632         * abilist/libthread_db.abilist: Likewise.
73633         * abilist/libutil.abilist: Likewise.
73634         * abilist/libnss_db.abilist: New file.
73636         * scripts/abilist.awk: Add support for indirect functions.
73638         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73640         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73642         * shlib-versions: Remove entries for ports architectures.
73644         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73645         files in ports.
73646         * elf/stackguard-macros.h: Remove support for IA-64.
73647         * elf/tst-auditmod1.c: Likewise.
73648         * sysdeps/generic/ldsodefs.h: Likewise.
73650         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73651         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73652         configure files.
73654         [BZ #13552]
73655         * configure.in: Remove --enable-omitfp support.
73656         * FAQ.in: Adjust.
73657         * config.make.in: Likewise.
73658         * Makeconfig: Likewise.
73659         * manual/install.texi: Likewise.
73661         In case anyone cares, the IA-64 architecture could move to ports.
73662         * sysdeps/ia64/*: Removed.
73663         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73664         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73666         [BZ #13555]
73667         * configure.in: Remove entries for unsupported architectures.
73669         [BZ #13533]
73670         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73671         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73672         routines.
73673         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73674         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73675         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73676         fall back to using wcrtomb.
73677         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73678         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73679         renaming.
73680         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73681         * wcsmbs/tst-c16c32-1.c: New file.
73683         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73684         local variable.
73686         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73688         * elf/tst-unique3.cc: Add explicit declaration of gets.
73689         * elf/tst-unique3lib.cc: Likewise.
73690         * elf/tst-unique3lib2.cc: Likewise.
73691         * elf/tst-unique4.cc: Likewise.
73693         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73695 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73697         [BZ #13566]
73698         * assert/assert.h (static_assert): Don't define for C++.
73699         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73700         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73702 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73704         * iconv/loop.c (single loop): Fix assertion in storing of
73705         remaining bytes.
73707         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73709 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73711         * posix/getconf.c: Update copyright year.
73712         * nss/getent.c: Likewise.
73713         * nss/makedb.c: Likewise.
73714         * iconv/iconvconfig.c: Likewise.
73715         * iconv/iconv_prog.c: Likewise.
73716         * elf/ldconfig.c: Likewise.
73717         * elf/pldd.c: Likewise.
73718         * elf/sotruss.ksh: Likewise.
73719         * catgets/gencat.c: Likewise.
73720         * csu/version.c: Likewise.
73721         * elf/ldd.bash.in: Likewise.
73722         * elf/sprof.c (print_version): Likewise.
73723         * locale/programs/locale.c: Likewise.
73724         * locale/programs/localedef.c: Likewise.
73725         * login/programs/pt_chown.c: Likewise.
73726         * nscd/nscd.c (print_version): Likewise.
73727         * debug/xtrace.sh: Likewise.
73728         * malloc/memusage.sh: Likewise.
73729         * malloc/mtrace.pl: Likewise.
73730         * debug/catchsegv.sh: Likewise.
73732 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73734         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73735         pure attribute.
73737 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73739         [BZ #13533]
73740         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73741         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73742         transformations.
73743         * iconv/gconv_int.h: Likewise.
73744         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73745         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73746         from libc for GLIBC_2.16.
73747         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73748         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73749         * wcsmbs/uchar.h: Really define mbstate_t.
73750         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73751         * wcsmbs/c16rtomb.c: New file.
73752         * wcsmbs/mbrtoc16.c: New file.
73753         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73754         for C/POSIX locale.
73755         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73756         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73758         * wcsmbs/wchar.h: Add missing __restrict.
73760 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73762         [BZ #13532]
73763         * time/Makefile (routines): Add timespec_get.
73764         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73765         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73766         timespec for ISO C11.
73767         * time/timespec_get.c: New file.
73768         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73769         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73771         [BZ #13531]
73772         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73773         * stdlib/stdlib.h: Declare aligned_alloc.
73774         * Versions.def: Add GLIBC_2.16 for libc.
73775         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73777         [BZ 13527]
73778         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73779         ISO C11.
73781         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73782         code.
73784         [BZ #13528]
73785         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73787         [BZ #13529]
73788         * assert/assert.h (static_assert): Define.
73790         * version.h: Update for 2.16 development version.
73792         [BZ #13526]
73793         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73794         _ISOC11_SOURCE.
73796         * version.h (RELEASE): Bump for 2.15 release.
73797         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73799         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73800         Patch by Marek Polacek <mpolacek@redhat.com>.
73802         * bits/byteswap.h: Protect long long constants with __extension__.
73803         * sysdeps/i386/bits/byteswap.h: Likewise.
73804         * sysdeps/ia64/bits/byteswap.h: Likewise.
73805         * sysdeps/s390/bits/byteswap.h: Likewise.
73806         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73808 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73810         [BZ #13540]
73811         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73812         destination buffer.
73813         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73815 2011-12-23  Marek Polacek  <polacek@redhat.com>
73817         * elf/dl-addr.c (determine_info): Add inline keyword.
73818         * elf/tst-auditmod4b.c (check_avx): Likewise.
73819         * elf/tst-auditmod6b.c (check_avx): Likewise.
73820         * elf/tst-auditmod6c.c (check_avx): Likewise.
73821         * elf/tst-auditmod7b.c (check_avx): Likewise.
73823 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73825         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73826         !__SSE_MATH__.
73828 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73830         [BZ #13540]
73831         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73832         processing for last bytes.
73834 2011-08-06  Bruno Haible  <bruno@clisp.org>
73836         [BZ #13061]
73837         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73838         U+0385, not to U+1FEE.
73840         [BZ #13062]
73841         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73842         entry for U+00A5 U+0301.
73844 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73846         [BZ #13166]
73847         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73848         buffer for the output is too small.
73850         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73851         optimization.
73853         [BZ #13185]
73854         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73855         SSE flags if possible.
73857 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73859         [BZ #13540]
73860         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73861         processing for last bytes.
73863 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73865         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73866         (syscall-list-default-options, syscall-list-default-condition)
73867         (syscall-list-includes): Define.
73868         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73869         list of ABIs and options and #if conditions for each ABI.  Do not
73870         handle common syscalls between ABIs specially.
73871         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73872         Remove.
73873         (syscall-list-variants, syscall-list-32bit-options)
73874         (syscall-list-32bit-condition, syscall-list-64bit-options)
73875         (syscall-list-64bit-condition): Define.
73876         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73877         (syscall-list-variants, syscall-list-32bit-options)
73878         (syscall-list-32bit-condition, syscall-list-64bit-options)
73879         (syscall-list-64bit-condition): Define.
73880         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73881         Remove.
73882         (syscall-list-variants, syscall-list-32bit-options)
73883         (syscall-list-32bit-condition, syscall-list-64bit-options)
73884         (syscall-list-64bit-condition): Define.
73885         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73886         Remove.
73887         (syscall-list-variants, syscall-list-32bit-options)
73888         (syscall-list-32bit-condition, syscall-list-64bit-options)
73889         (syscall-list-64bit-condition): Define.
73891 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73893         * locale/iso-639.def: Add brx entry.
73895         [BZ #13328]
73896         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73897         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73899         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73900         __feraiseexcept_renamed.
73902 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73904         [BZ #13538]
73905         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73906         EPOLLET with unsigned values.
73907         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73908         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73910         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73911         to large cancellation.
73912         * math/s_cacoshf.c: Likewise.
73913         * math/s_cacoshl.c: Likewise.
73915 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73917         [BZ #13305]
73918         [BZ #12786]
73919         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73920         * math/s_cacoshf.c: Likewise.
73921         * math/s_cacoshl.c: Likewise.
73923 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73925         [BZ #13439]
73926         * iconv/gconv.h: Define __GCONV_SWAP.
73927         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73928         * iconvdata/utf-16.c: Likewise.
73929         * iconvdata/utf-32.c: Likewise.
73931 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73933         [BZ #13524]
73934         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73935         numerator after shifting it by one limb.
73937 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73939         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73940         under [__USE_EXTERN_INLINES].
73942 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73944         [BZ #13446]
73945         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73947 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73949         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73950         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73951         optimized code.
73952         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73953         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73954         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73955         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73956         for strncasecmp/strncasecmp_l compilation.
73957         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73958         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73960 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73962         [BZ #13484]
73963         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73964         of __asm__.
73966 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73968         [BZ #13506]
73969         * time/tzfile.c (__tzfile_read): Check values from file header.
73971 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73973         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73974         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73975         * powerpc/powerpc32/dl-start.S: Likewise.
73976         * powerpc/powerpc32/elf/start.S: Likewise.
73977         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73978         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73979         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73980         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73981         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73982         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73983         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73984         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73985         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73986         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73987         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73988         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73989         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73990         * powerpc/powerpc32/memset.S: Likewise.
73991         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73992         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73993         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73994         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73995         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73996         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73997         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73998         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73999         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74000         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74001         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74002         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74003         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74005 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74007         * math/libm-test.inc: Added more nearbyint tests.
74008         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74009         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74010         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74011         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74013 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74015         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74016         FD_CLOEXEC.
74018 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74020         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74021         Add wcscpy-ssse3 wcscpy-c.
74022         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74023         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74024         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74025         * sysdeps/x86_64/wcschr.S: New file.
74026         * sysdeps/x86_64/wcsrchr.S: New file.
74027         * string/test-strcmp.c: Remove checking of wcscmp function for
74028         wrong alignments.
74029         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74030         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74031         wcsrchr-sse2 wcsrchr-c.
74032         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74033         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74034         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74035         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74036         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74037         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74038         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74039         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74040         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74041         * wcsmbc/wcschr.c (WCSCHR): New macro.
74043 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74045         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74046         * wcsmbs/test-wcsrchr.c: New file.
74047         * string/test-strrchr.c: Add wcsrchr support.
74048         (WIDE): New macro.
74049         * wcsmbs/test-wcscpy.c: New file.
74050         * string/test-strcpy.c: Add wcscpy support.
74051         (WIDE): New macro.
74053 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74055         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74056         the inner loop.
74058 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74060         [BZ #13472]
74061         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74063 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74065         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74066         Minor optimizations.
74068         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74069         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74070         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74072 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74074         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74075         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74076         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74077         for gcc to avoid warnings.
74078         * inet/Makefile (tests): Add tst-checks.
74079         * inet/tst-checks.c: New file.
74081         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74082         warning.
74084         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74085         __wmemcmp_sse2.
74087         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74088         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74090         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74092 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74094         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74095         problem.
74097         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74099 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74101         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74102         conditional on GCC version.
74103         (__arch_compare_and_exchange_val_8_acq)
74104         (__arch_compare_and_exchange_val_16_acq)
74105         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74106         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74107         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74109 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74111         * sysdeps/sh/backtrace.c: New file.
74113 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74115         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74116         parenthesis.
74118 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74120         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74121         falling back to utime.
74123 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74125         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74126         expectations for float.
74128 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74130         * locale/weight.h (findidx): Add parameter len.
74131         * locale/weightwc.h (findidx): Likewise.
74132         * posix/fnmatch_loop.c (FCT): Adjust caller.
74133         * posix/regcomp.c (build_equiv_class): Likewise.
74134         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74135         * posix/regexec.c (check_node_accept_bytes): Likewise.
74136         * string/strcoll_l.c (STRCOLL): Likewise.
74137         * string/strxfrm_l.c (STRXFRM): Likewise.
74139 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74141         * Makefile.in: Remove CVSOPT handling.
74142         * configure.in: Remove use of AC_REVISION.
74143         * iconvdata/Makefile (distribute): No need to filter out CVS.
74144         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74145         handling.
74147 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74149         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74150         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74151         [USE_AS_STRNCASECMP_L]: Likewise.
74152         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74153         NO_TLS_DIRECT_SEG_REFS.
74154         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74155         Fix argument offsets for non-PIC.
74156         [USE_AS_STRNCASECMP_L]: Likewise.
74157         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74158         NO_TLS_DIRECT_SEG_REFS.
74160 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74162         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74163         O_CLOEXEC.
74164         * locale/loadlocale.c (_nl_load_locale): Likewise.
74166 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74168         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74169         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74170         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74171         (SYSCALL_GETTIME): Set errno on error.
74173         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74174         count references to noai6ai_cached.
74176 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74178         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74180         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74181         FD_CLOEXEC for /proc/self/maps.
74183         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74184         FD_CLOEXEC for /proc/meminfo.
74186         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74187         gai.conf.
74189         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74190         FD_CLOEXEC for given file.
74192         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74194         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74195         FD_CLOEXEC for /etc/hosts.
74196         (_gethtent): Likewise.
74198         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74200         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74201         cancellation and set FD_CLOEXEC for /etc/netgroup.
74203         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74204         reading /etc/publickey.
74206         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74207         allow cancellation when reading /etc/group.
74209         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74210         cancellation.
74211         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74213         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74214         when using data file.
74216         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74218         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74219         (write_nis_obj): Use "c" and "e" in fopen.
74221         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74223         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74225         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74227         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74229         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74230         locale.alias.
74232         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74234         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74236         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74238         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74239         file parsing and set FD_CLOEXEC.
74241 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74243         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74245 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74247         * malloc/arena.c (arena_get2): Don't call reused_arena when
74248         _int_new_arena failed.
74250 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74252         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74253         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74254         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74255         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74256         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74257         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74258         to compile strcasecmp and strncasecmp.
74259         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74260         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74262         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74264 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74266         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74267         locale-defines.sym to gen-as-const-headers.
74268         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74269         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74270         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74271         to compile strcasecmp and strncasecmp.
74272         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74273         strcasecmp_l and strncasecmp_l.
74274         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74275         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74276         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74277         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74278         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74279         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74280         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74281         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74282         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74283         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74284         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74286 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74288         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74289         result of SYSDEP_GETTIME_CPU to retval.
74290         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74291         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74293         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74294         variable.
74296         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74297         mantissa words.
74298         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74300         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74301         from unused variable.
74303         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74304         DWARF definitions.
74305         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74306         for assembling.
74308         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74309         over namespaces.
74311         * sunrpc/rpc_prot.c (rejected): Fix case value.
74313         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74314         unsigned long long int to avoid warnings in shift.
74316         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74317         of use of trans.
74318         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74319         variable tmp.
74321         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74322         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74323         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74325         * nis/nis_table.c (nis_list): Use variable of correct type for
74326         result of __follow_path call.
74328 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74330         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74331         of math functions ceil, trunc, floor, round, and sqrt, when
74332         avaliable on the platform.
74333         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74334         name clash.
74335         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74336         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74337         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74339 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74341         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74342         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74344 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74346         * include/unistd.h: Fix __readlink return type.
74347         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74349 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74351         * stdlib/ucontext.h: Undo last change for makecontext.
74353 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74355         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74357         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74358         * setjmp/setjmp.h: Mark functions as non-leaf.
74359         * setjmp/bits/setjmp2.h: Likewise.
74360         * stdlib/ucontext.h: Likewise.
74362 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74364         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74365         (reused_arena): Don't check arena limit.
74366         (arena_get2): Atomically check arena limit.
74368 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74370         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74371         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74373         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74374         instructions.
74376 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74378         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74379         handler when locking.
74381         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74382         Fix size of allocated buffer.
74384 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74386         [BZ #10103]
74387         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74388         declarations for long double functions.
74389         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74391         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74393 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74395         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74396         installed.
74398         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74399         is disabled.
74401 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74403         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74405 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74407         * include/alloca.h (stackinfo_alloca_round): Define.
74408         (extend_alloca): Use it.
74409         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74410         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74411         here.
74413         * scripts/check-local-headers.sh: Ignore libaudit.h.
74415         * nscd/Makefile (extra-objs): Make recursively expanded.
74417 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74419         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74420         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74422         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74423         * posix/tst-rfc3484-2.c: Likewise.
74424         * posix/tst-rfc3484-3.c: Likewise.
74426         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74427         process_vm_writev.
74428         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74429         process_vm_writev.
74430         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74431         process_vm_writev from libc using GLIBC_2.15 version.
74433         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74435 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74437         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74438         stack usage.
74440 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74442         [BZ #13367]
74443         * nss/getent.c (initgroups_keys): Show error message in case no group
74444         names are given.
74446         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74447         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74448         __bump_nl_timestamp.
74449         * nscd/connections (nscd_init): When host database is served open
74450         netlink socket and request notification about configuration changes.
74451         (main_loop_poll): Track netlink file descriptor and bump timestamp
74452         in case data becomes available.
74453         (main_loop_epoll): Likewise.
74454         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74455         (database_pers_head): Add extra_data fileds.
74456         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74457         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74458         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74459         Adjust caller.
74460         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74461         in6ai data, call __free_in6ai.
74462         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74463         Add -DHAVE_NETLINK.
74464         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74465         interface information.  Reuse previous data if netlink timestamp
74466         is not changed.
74467         (__bump_nl_timestamp): New function.
74468         (__free_in6ai): New function.
74470 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74472         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74473         close_not_cancel_no_status here.
74474         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74476 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74478         [BZ #13276]
74479         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74480         return value.
74482         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74483         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74484         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74486 2011-07-03  Andreas Jaeger  <aj@suse.de>
74488         [BZ #10709]
74489         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74490         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74491         * math/libm-test.inc (sin_test): Add test case.
74493 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74495         [BZ #13337]
74496         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74497         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74499         * elf/chroot_canon.c (chroot_canon): Cleanups.
74501         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74503         [BZ #13335]
74504         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74505         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74507         * string/test-strchr.c: Make usable for strchrnul testing.
74508         * string/test-strchrnul.c: New file.
74509         * string/Makefile (strop-tests): Add strchrnul.
74511         * po/it.po: Update from translation team.
74512         * po/es.po: Likewise.
74514 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74516         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74517         the three constants needed as parameters.  Drop the others.
74518         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74519         __m128i_strloadu_tolower.
74520         Create and initialize variable zero and use it in all the places
74521         where _mm_setzero_si128 was used.
74523         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74524         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74525         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74526         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74527         anymore.
74528         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74529         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74530         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74531         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74532         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74533         __mpranred, __mptan.
74534         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74535         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74536         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74537         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74538         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74539         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74540         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74541         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74542         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74544 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74546         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74547         redefine if SHARED.
74548         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74550         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74551         wide char related routines to wcsmbs subdir.
74553 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74555         [BZ #13344]
74556         * misc/sys/cdefs.h (__THROWNL): Define.
74557         * posix/unistd.h: Use __THREADNL instead of __THREAD
74558         for memory synchronization functions.
74560 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74562         [BZ #13349]
74563         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74564         doesn't exist.
74565         * manual/stdio.texi (Obstack Streams): Node removed.
74567 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74569         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74570         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74571         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74573         * math/math_private.h (math_force_eval): Allow non-addressable
74574         arguments.
74575         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74577 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74579         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74580         file is not needed.
74582         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74583         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74584         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74585         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74586         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74587         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74588         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74589         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74590         Add AVX variants.
74591         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74592         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74593         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74594         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74595         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74596         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74597         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74598         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74599         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74600         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74601         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74602         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74603         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74604         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74605         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74606         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74607         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74608         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74609         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74611         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74612         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74614         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74615         place.  Use VEX encoding when compiling for AVX.
74617 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74619         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74620         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74622         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74624 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74626         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74627         useless if() expression.
74628         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74629         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74630         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74631         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74632         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74633         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74634         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74635         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74636         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74637         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74638         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74639         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74640         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74641         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74642         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74643         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74644         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74645         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74646         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74648         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74650 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74652         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74653         condition.
74654         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74656 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74658         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74659         .text section.  Avoid duplicate constants.
74660         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74662         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74664         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74665         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74666         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74667         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74668         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74669         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74670         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74671         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74672         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74673         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74674         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74675         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74676         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74677         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74678         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74679         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74680         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74681         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74682         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74683         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74684         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74685         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74686         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74687         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74688         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74689         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74690         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74691         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74692         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74693         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74694         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74695         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74696         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74697         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74698         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74699         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74700         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74701         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74702         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74703         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74704         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74706 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74708         * sysdeps/x86_64/dla.h: Move to ...
74709         * sysdeps/x86_64/fpu/dla.h: ...here.
74710         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74711         situations.  Use __builtin_fma only for gcc 4.6 and up.
74713         * config.make.in: Add have-mfma4 entry.
74714         * configure.in: Substitute libc_cv_cc_fma4.
74715         * math/Makefile (dbl-only-routines): Add sincostab.
74716         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74717         Use __sincostab not sincos.
74718         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74719         name is a macro.
74720         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74721         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74722         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74723         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74724         using __copysign.
74725         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74726         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74727         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74728         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74729         and __inv.
74730         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74731         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74732         __copysign.
74733         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74734         define aliases when function name is a macro.
74735         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74736         sysdeps/ieee754/dbl-64/sincos.tbl.
74737         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74738         fma4-enabled routines.
74739         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74740         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74741         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74742         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74743         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74744         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74745         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74746         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74747         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74748         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74749         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74750         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74751         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74752         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74753         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74754         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74755         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74756         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74757         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74758         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74759         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74760         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74761         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74762         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74763         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74764         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74765         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74766         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74767         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74768         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74770         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74771         rename.
74772         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74773         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74774         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74775         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74776         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74778         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74779         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74781 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74783         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74785 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74787         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74789         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74790         prediction.
74791         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74793         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74794         Remove unused variable magic_bits.
74795         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74797         * string/strnlen.c: Define and use STRNLEN macro.
74798         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74799         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74800         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74801         * wcsmbs/wcslen.c: Define and use WCSLEN.
74802         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74803         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74804         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74805         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74806         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74807         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74808         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74810 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74813         strnlen-sse2-no-bsf.
74814         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74815         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74816         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74817         Add strnlen support.
74818         (USE_AS_STRNLEN): New macro.
74819         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74820         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74821         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74822         * sysdeps/x86_64/wcslen.S: New file.
74824 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74826         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74827         XMM-moves are used for copying on small sizes.
74829 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74831         * wcsmbs/Makefile (strop-tests): Add wcschr.
74832         * wcsmbs/test-wcschr.c: New file.
74833         * string/test-strchr.c: Update.
74834         Add wcschr support.
74835         (WIDE): New macro.
74837 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74839         * wcsmbs/Makefile (strop-tests): Add wcslen.
74840         * wcsmbs/test-wcslen.c: New file.
74841         * string/test-strlen.c: Update.
74842         Add wcslen support.
74843         (WIDE): New macro.
74845 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74847         * po/it.po: Update from translation team.
74849 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74851         * sysdeps/x86_64/wcscmp.S: Update.
74852         Fix wrong comparison semantics.
74853         wcscmp shall use signed comparison not unsigned.
74854         Don't use substraction to avoid overflow bug.
74855         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74856         * wcsmbc/wcscmp.c: Likewise.
74857         * string/test-strcmp.c: Likewise.
74858         Add new tests to check cases with negative values.
74860 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74862         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74863         * sysdeps/x86_64/dla.h: ...here.  New file.
74864         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74865         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74866         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74867         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74868         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74869         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74870         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74871         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74872         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74874 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74876         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74877         __ynl_finite aliases.
74879 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74883         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74884         define DLA_FMA.
74885         [DLA_FMA] (EMULV): Use DLA_FMA.
74886         [DLA_FMA] (MUL12): Use EMULV.
74887         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74888         that are not needed.
74889         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74890         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74892         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74893         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74894         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74895         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74897 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74899         * math/s_nan.c: Undef __nan.
74900         * math/s_nanf.c: Undef __nanf.
74901         * math/s_nanl.c: Undef __nanl.
74902         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74903         "math_private.h".
74905 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74907         * math/s_catan.c: Add branch predictions.
74908         * math/s_catanf.c: Likewise.
74909         * math/s_catanh.c: Likewise.
74910         * math/s_catanhf.c: Likewise.
74911         * math/s_catanhl.c: Likewise.
74912         * math/s_catanl.c: Likewise.
74913         * math/s_cexp.c: Likewise.
74914         * math/s_cexpf.c: Likewise.
74915         * math/s_cexpl.c: Likewise.
74916         * math/s_clog.c: Likewise.
74917         * math/s_clog10.c: Likewise.
74918         * math/s_clog10f.c: Likewise.
74919         * math/s_clog10l.c: Likewise.
74920         * math/s_clogf.c: Likewise.
74921         * math/s_clogl.c: Likewise.
74922         * math/s_csqrt.c: Likewise.
74923         * math/s_csqrtf.c: Likewise.
74924         * math/s_csqrtl.c: Likewise.
74925         * math/s_ctanf.c: Likewise.
74926         * math/s_ctanh.c: Likewise.
74927         * math/s_ctanhf.c: Likewise.
74928         * math/s_ctanhl.c: Likewise.
74929         * math/s_ctanl.c: Likewise.
74931         * math/math_private.h: Define __nan, __nanf, __nanl.
74932         * math/s_cacosh.c: Include <math_private.h>.
74933         * math/s_cacoshl.c: Likewise.
74934         * math/s_casinh.c: Likewise.
74935         * math/s_casinhf.c: Likewise.
74936         * math/s_casinhl.c: Likewise.
74937         * math/s_ccos.c: Rely entire on ccosh.
74938         * math/s_ccosf.c: Rely entire on ccoshf.
74939         * math/s_ccosl.c: Rely entirely on ccoshl.
74940         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74941         Remove tests for FE_INVALID.
74942         * math/s_ccoshf.c: Likewise.
74943         * math/s_ccoshl.c: Likewise.
74944         * math/s_csin.c: Likewise.
74945         * math/s_csinf.c: Likewise.
74946         * math/s_csinh.c Likewise.
74947         * math/s_csinhf.c: Likewise.
74948         * math/s_csinhl.c: Likewise.
74949         * math/s_csinl.c: Likewise.
74950         * math/s_ctan.c: Likewise.
74951         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74952         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74953         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74955 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74957         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74958         compilation problems.
74960         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74961         __builtin_expect.
74963 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74965         * sysdeps/i386/configure.in: Test for -mfma4 option.
74966         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74967         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74968         COMMON_CPUID_INDEX_80000001.
74969         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74970         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74971         use it if FMA3 is not supported.
74972         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74974         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74975         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74977 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74979         [BZ #12892]
74980         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74981         it would create a cycle with a link time dependency.
74983 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74985         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74986         instruction.
74987         * string/Makefile (strop-tests): Add rawmemchr.
74988         * string/test-rawmemchr.c: New file.
74990         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74991         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74992         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74993         when compiling str{,n}casecmp and when AVX is available.  Hook up
74994         new optimized code in initializers.
74996 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74998         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74999         __feraiseexcept instead of feraiseexcept.
75001 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75003         * math/math_private.h: Define defaults for libc_fetestexcept and
75004         libc_feupdateenv.
75005         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75006         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75007         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75008         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75009         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75010         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75011         libc_fetestexcept and libc_feupdateenv.
75013         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75014         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75015         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75016         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75017         libc_feholdexcept_setround.
75019         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75020         Add s_nearbyint-c and s_nearbyintf-c.
75021         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75022         nearbyintf inlines.
75023         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75024         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75025         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75026         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75028         * math/math_private.h: Define defaults for libc_fegetround,
75029         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75030         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75031         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75032         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75033         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75034         standard functions.
75035         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75036         Remove comments and hacks for old compiler versions.
75037         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75038         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75039         libc_feholdexceptl.
75041 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75043         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75044         (__feraiseexcept_renamed): Add __NTH.
75045         (feraiseexcept): Add __NTH.  Rename local variables to fix
75046         namespace violations.
75048 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75050         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75052         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75054         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75055         recently added interfaces.
75056         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75058         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75059         about macro parameter expansion.
75061         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75062         __NO_MATH_INLINES is defined.  Cleanups.
75064         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75065         and __floorf is target has SSE4.1.
75066         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75067         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75068         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75069         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75071         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75072         name.
75073         (floorf): Likewise.
75075         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75077 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75079         * misc/sys/cdefs.h: Fix last change.
75081         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75082         database lookup.
75084 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75086         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75088         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75089         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75090         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75091         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75092         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75093         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75094         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75095         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75096         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75097         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75098         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75099         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75100         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75101         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75102         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75103         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75104         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75105         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75106         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75107         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75108         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75109         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75111         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75112         ceil, ceilf, floor, floorf.
75114         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75115         Perform IRELATIVE relocations last.
75117         * elf/do-rel.h: Add another parameter nrelative, replacing the
75118         local variable with the same name.  Change name of the function
75119         to end in Rel or Rela (uppercase).
75120         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75121         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75122         elf_dynamic_do_##reloc function.
75124 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75126         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75127         is sufficient, at least on modern CPUs.
75129         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75131         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75132         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75134         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75135         __expl_finite.
75136         * math/bits/math-finite.h: Add entries for exp.
75137         * math/e_expl.c: Add __*_finite alias.
75138         * sysdeps/i386/fpu/e_exp.S: Likewise.
75139         * sysdeps/i386/fpu/e_expf.S: Likewise.
75140         * sysdeps/i386/fpu/e_expl.c: Likewise.
75141         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75142         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75143         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75144         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75145         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75146         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75147         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75149         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75150         is sufficient, at least on modern CPUs.
75152         * ctype/ctype-info.c (__ctype_init): Define.
75153         * include/ctype.h (__ctype_init): Declare.
75154         (__ctype_b_loc): The variable is always initialized.
75155         (__ctype_toupper_loc): Likewise.
75156         (__ctype_tolower_loc): Likewise.
75157         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75158         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75160 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75162         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75164         * configure.in: Also look in $cxxmachine/include for C++ system
75165         headers.
75167 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75169         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75170         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75171         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75172         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75173         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75174         (USE_AS_WMEMCMP): New macro.
75175         Fixing indents.
75176         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75177         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75178         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75179         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75180         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75181         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75182         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75183         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75184         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75185         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75186         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75187         (USE_AS_WMEMCMP): New macro.
75188         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75189         * sysdeps/string/test-memcmp.c: Update.
75190         Fix simple_wmemcmp.
75191         Add new tests.
75192         * wcsmbs/wmemcmp.c: Update.
75193         (WMEMCMP): New macro.
75194         Fix overflow bug.
75196 2011-10-12  Andreas Jaeger  <aj@suse.de>
75198         [BZ #13268]
75199         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75201 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75203         * libio/iofwide.c (do_length): Avoid warning.
75205         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75207 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75209         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75211         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75212         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75213         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75214         * sysdeps/i386/i686/fpu/e_log.S: New file.
75215         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75216         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75218         * ctype/ctype.h: Add support for inlined isXXX functions when
75219         compiling C++ code.
75221 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75223         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75225         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75227 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75229         [BZ #13291]
75230         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75232 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75234         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75235         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75236         feraiseexcept.
75238         * sysdeps/x86_64/memrchr.S: Check for zero size.
75240         * string/stratcliff.c: Add memrchr tests.
75242 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75244         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75245         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75246         rawmemchr-sse2 rawmemchr-sse2-bsf.
75247         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75248         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75249         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75250         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75251         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75252         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75253         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75254         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75255         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75256         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75257         * string/memrchr.c (MEMRCHR): New macro.
75259 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75261         Add integration with gcc's -ffinite-math-only and optimize wrapper
75262         functions in libm.
75263         * Versions.def: Define GLIBC_2.15 version for libm.
75264         * math/Makefile (headers): Add bits/math-finite.h.
75265         * math/bits/math-finite.h: New file.
75266         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75267         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75268         * math/e_acoshl.c: Add __*_finite alias.
75269         * math/e_acosl.c: Likewise.
75270         * math/e_asinl.c: Likewise.
75271         * math/e_atan2l.c: Likewise.
75272         * math/e_atanhl.c: Likewise.
75273         * math/e_coshl.c: Likewise.
75274         * math/e_exp10.c: Likewise.
75275         * math/e_exp10f.c: Likewise.
75276         * math/e_exp10l.c: Likewise.
75277         * math/e_exp2l.c: Likewise.
75278         * math/e_fmodl.c: Likewise.
75279         * math/e_gammal_r.c: Likewise.
75280         * math/e_hypotl.c: Likewise.
75281         * math/e_j0l.c: Likewise.
75282         * math/e_j1l.c: Likewise.
75283         * math/e_jnl.c: Likewise.
75284         * math/e_lgammal_r.c: Likewise.
75285         * math/e_log10l.c: Likewise.
75286         * math/e_log2l.c: Likewise.
75287         * math/e_logl.c: Likewise.
75288         * math/e_powl.c: Likewise.
75289         * math/e_sinhl.c: Likewise.
75290         * math/e_sqrtl.c: Likewise.
75291         * math/e_scalb.c: Completely rewritten and optimized.
75292         * math/e_scalbf.c: Likewise.
75293         * math/e_scalbl.c: Likewise.
75294         * math/w_acos.c: Likewise.
75295         * math/w_acosf.c: Likewise.
75296         * math/w_acosl.c: Likewise.
75297         * math/w_acosh.c: Likewise.
75298         * math/w_acoshf.c: Likewise.
75299         * math/w_acoshl.c: Likewise.
75300         * math/w_asin.c: Likewise.
75301         * math/w_asinf.c: Likewise.
75302         * math/w_asinl.c: Likewise.
75303         * math/w_atan2.c: Likewise.
75304         * math/w_atan2f.c: Likewise.
75305         * math/w_atan2l.c: Likewise.
75306         * math/w_atanh.c: Likewise.
75307         * math/w_atanhf.c: Likewise.
75308         * math/w_atanhl.c: Likewise.
75309         * math/w_exp10.c: Likewise.
75310         * math/w_exp10f.c: Likewise.
75311         * math/w_exp10l.c: Likewise.
75312         * math/w_fmod.c: Likewise.
75313         * math/w_fmodf.c: Likewise.
75314         * math/w_fmodl.c: Likewise.
75315         * math/w_j0.c: Likewise.
75316         * math/w_j0f.c: Likewise.
75317         * math/w_j0l.c: Likewise.
75318         * math/w_j1.c: Likewise.
75319         * math/w_j1f.c: Likewise.
75320         * math/w_j1l.c: Likewise.
75321         * math/w_jn.c: Likewise.
75322         * math/w_jnf.c: Likewise.
75323         * math/w_log.c: Likewise.
75324         * math/w_logf.c: Likewise.
75325         * math/w_logl.c: Likewise.
75326         * math/w_log10.c: Likewise.
75327         * math/w_log10f.c: Likewise.
75328         * math/w_log10l.c: Likewise.
75329         * math/w_log2.c: Likewise.
75330         * math/w_log2f.c: Likewise.
75331         * math/w_log2l.c: Likewise.
75332         * math/w_pow.c: Likewise.
75333         * math/w_powf.c: Likewise.
75334         * math/w_powl.c: Likewise.
75335         * math/w_remainder.c: Likewise.
75336         * math/w_remainderf.c: Likewise.
75337         * math/w_remainderl.c: Likewise.
75338         * math/w_scalb.c: Likewise.
75339         * math/w_scalbf.c: Likewise.
75340         * math/w_scalbl.c: Likewise.
75341         * math/w_sqrt.c: Likewise.
75342         * math/w_sqrtf.c: Likewise.
75343         * math/w_sqrtl.c: Likewise.
75344         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75345         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75346         used.
75347         * math/math_private.h: Declare __kernel_standard_f.
75348         * math/w_cosh.c: Remove cruft and optimize a bit.
75349         * math/w_coshf.c: Likewise.
75350         * math/w_coshl.c: Likewise.
75351         * math/w_exp2.c: Likewise.
75352         * math/w_exp2f.c: Likewise.
75353         * math/w_exp2l.c: Likewise.
75354         * math/w_hypot.c: Likewise.
75355         * math/w_hypotf.c: Likewise.
75356         * math/w_hypotl.c: Likewise.
75357         * math/w_lgamma.c: Likewise.
75358         * math/w_lgamma_r.c: Likewise.
75359         * math/w_lgammaf.c: Likewise.
75360         * math/w_lgammaf_r.c: Likewise.
75361         * math/w_lgammal.c: Likewise.
75362         * math/w_lgammal_r.c: Likewise.
75363         * math/w_sinh.c: Likewise.
75364         * math/w_sinhf.c: Likewise.
75365         * math/w_sinhl.c: Likewise.
75366         * math/w_tgamma.c: Likewise.
75367         * math/w_tgammaf.c: Likewise.
75368         * math/w_tgammal.c: Likewise.
75369         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75370         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75371         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75372         Minor optimizations.  Pretty printing.  Remove cruft.
75373         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75374         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75375         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75376         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75377         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75378         * sysdeps/i386/fpu/e_asin.S: Likewise.
75379         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75380         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75381         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75382         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75383         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75384         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75385         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75386         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75387         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75388         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75389         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75390         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75391         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75392         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75393         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75394         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75395         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75396         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75397         * sysdeps/i386/fpu/e_log.S: Likewise.
75398         * sysdeps/i386/fpu/e_log10.S: Likewise.
75399         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75400         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75401         * sysdeps/i386/fpu/e_log2.S: Likewise.
75402         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75403         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75404         * sysdeps/i386/fpu/e_logf.S: Likewise.
75405         * sysdeps/i386/fpu/e_logl.S: Likewise.
75406         * sysdeps/i386/fpu/e_pow.S: Likewise.
75407         * sysdeps/i386/fpu/e_powf.S: Likewise.
75408         * sysdeps/i386/fpu/e_powl.S: Likewise.
75409         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75410         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75411         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75412         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75413         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75414         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75415         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75416         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75417         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75418         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75419         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75420         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75421         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75422         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75423         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75424         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75425         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75426         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75427         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75428         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75429         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75430         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75431         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75432         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75433         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75434         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75435         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75436         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75437         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75438         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75439         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75440         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75441         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75442         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75443         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75444         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75445         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75446         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75447         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75448         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75449         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75450         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75451         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75452         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75453         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75454         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75455         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75456         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75457         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75458         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75459         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75460         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75461         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75462         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75463         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75464         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75465         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75466         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75467         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75468         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75469         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75470         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75471         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75472         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75473         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75474         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75475         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75476         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75477         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75478         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75479         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75480         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75481         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75482         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75483         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75484         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75485         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75486         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75487         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75488         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75489         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75490         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75491         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75492         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75493         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75494         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75495         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75496         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75497         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75498         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75499         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75500         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75501         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75502         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75503         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75504         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75505         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75506         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75507         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75508         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75509         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75510         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75511         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75512         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75513         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75514         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75515         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75516         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75517         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75518         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75519         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75520         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75521         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75522         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75523         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75524         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75525         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75526         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75527         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75528         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75529         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75530         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75531         (__isnanf): Likewise.
75532         (__isinf_ns): Likewise.
75533         (__isinf_nsf): Likewise.
75534         (__finite): Likewise.
75535         (__finitef): Likewise.
75536         (__ieee754_sqrt): Define as macro.
75537         (__ieee754_sqrtf): Define as macro.
75538         (__ieee754_sqrtl): Define as macro.
75539         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75540         inlined copy.
75541         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75542         __FINITE_MATH_ONLY__ consistent.
75543         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75545 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75547         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75548         of rawmemchr.
75550         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75552 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75554         * po/ja.po: Update from translation team.
75556 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75558         * locale/programs/locarchive.c (prepare_address_space): New function.
75559         (create_archive, enlarge_archive, open_archive): Use it.
75561         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75562         inside [SHARED], where it is used.
75564         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75566         * nss/getent.c (netgroup_keys): Remove unused variable.
75567         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75569 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75571         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75572         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75573         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75574         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75575         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75576         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75577         * math/Makefile (libm-calls): Add s_isinf_ns.
75578         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75579         * math/multc3.c: Likewise.
75580         * math/s_casin.c: Likewise.
75581         * math/s_casinf.c: Likewise.
75582         * math/s_casinl.c: Likewise.
75583         * math/s_ccos.c: Likewise.
75584         * math/s_ccosf.c: Likewise.
75585         * math/s_ccosl.c: Likewise.
75586         * math/s_ctan.c: Likewise.
75587         * math/s_ctanf.c: Likewise.
75588         * math/s_ctanh.c: Likewise.
75589         * math/s_ctanhf.c: Likewise.
75590         * math/s_ctanhl.c: Likewise.
75591         * math/s_ctanl.c: Likewise.
75592         * math/w_fmod.c: Likewise.
75593         * math/w_fmodf.c: Likewise.
75594         * math/w_fmodl.c: Likewise.
75595         * math/w_remainder.c: Likewise.
75596         * math/w_remainderf.c: Likewise.
75597         * math/w_remainderl.c: Likewise.
75598         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75599         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75600         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75601         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75602         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75603         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75604         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75605         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75607         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75608         of the number.
75609         * stdio-common/printf_fphex.c: Likewise.
75610         * stdio-common/printf_size.c: Likewise.
75612         * math/e_exp10.c: Include math_private.h using <...> not "...".
75613         * math/e_exp10f.c: Likewise.
75614         * math/e_exp10l.c: Likewise.
75615         * math/e_exp2l.c: Likewise.
75616         * math/e_j0l.c: Likewise.
75617         * math/e_j1l.c: Likewise.
75618         * math/e_jnl.c: Likewise.
75619         * math/e_lgammal_r.c: Likewise.
75620         * math/e_rem_pio2l.c: Likewise.
75621         * math/e_scalb.c: Likewise.
75622         * math/e_scalbf.c: Likewise.
75623         * math/e_scalbl.c: Likewise.
75624         * math/k_cosl.c: Likewise.
75625         * math/k_sinl.c: Likewise.
75626         * math/k_tanl.c: Likewise.
75627         * math/s_cacoshf.c: Likewise.
75628         * math/s_catan.c: Likewise.
75629         * math/s_catanf.c: Likewise.
75630         * math/s_catanh.c: Likewise.
75631         * math/s_catanhf.c: Likewise.
75632         * math/s_catanhl.c: Likewise.
75633         * math/s_catanl.c: Likewise.
75634         * math/s_ccosh.c: Likewise.
75635         * math/s_ccoshf.c: Likewise.
75636         * math/s_ccoshl.c: Likewise.
75637         * math/s_cexp.c: Likewise.
75638         * math/s_cexpf.c: Likewise.
75639         * math/s_cexpl.c: Likewise.
75640         * math/s_clog.c: Likewise.
75641         * math/s_clog10.c: Likewise.
75642         * math/s_clog10f.c: Likewise.
75643         * math/s_clog10l.c: Likewise.
75644         * math/s_clogf.c: Likewise.
75645         * math/s_clogl.c: Likewise.
75646         * math/s_csin.c: Likewise.
75647         * math/s_csinf.c: Likewise.
75648         * math/s_csinh.c: Likewise.
75649         * math/s_csinhf.c: Likewise.
75650         * math/s_csinhl.c: Likewise.
75651         * math/s_csinl.c: Likewise.
75652         * math/s_csqrt.c: Likewise.
75653         * math/s_csqrtf.c: Likewise.
75654         * math/s_csqrtl.c: Likewise.
75655         * math/s_ctan.c: Likewise.
75656         * math/s_ctanf.c: Likewise.
75657         * math/s_ctanh.c: Likewise.
75658         * math/s_ctanhf.c: Likewise.
75659         * math/s_ctanhl.c: Likewise.
75660         * math/s_ctanl.c: Likewise.
75661         * math/s_ldexp.c: Likewise.
75662         * math/s_ldexpf.c: Likewise.
75663         * math/s_ldexpl.c: Likewise.
75664         * math/s_significand.c: Likewise.
75665         * math/s_significandf.c: Likewise.
75666         * math/s_significandl.c: Likewise.
75667         * math/w_acos.c: Likewise.
75668         * math/w_acosf.c: Likewise.
75669         * math/w_acosh.c: Likewise.
75670         * math/w_acoshf.c: Likewise.
75671         * math/w_acoshl.c: Likewise.
75672         * math/w_acosl.c: Likewise.
75673         * math/w_asin.c: Likewise.
75674         * math/w_asinf.c: Likewise.
75675         * math/w_asinl.c: Likewise.
75676         * math/w_atan2.c: Likewise.
75677         * math/w_atan2f.c: Likewise.
75678         * math/w_atan2l.c: Likewise.
75679         * math/w_atanh.c: Likewise.
75680         * math/w_atanhf.c: Likewise.
75681         * math/w_atanhl.c: Likewise.
75682         * math/w_cosh.c: Likewise.
75683         * math/w_coshf.c: Likewise.
75684         * math/w_coshl.c: Likewise.
75685         * math/w_dremf.c: Likewise.
75686         * math/w_exp10.c: Likewise.
75687         * math/w_exp10f.c: Likewise.
75688         * math/w_exp10l.c: Likewise.
75689         * math/w_exp2.c: Likewise.
75690         * math/w_exp2f.c: Likewise.
75691         * math/w_fmod.c: Likewise.
75692         * math/w_fmodf.c: Likewise.
75693         * math/w_fmodl.c: Likewise.
75694         * math/w_hypot.c: Likewise.
75695         * math/w_hypotf.c: Likewise.
75696         * math/w_hypotl.c: Likewise.
75697         * math/w_j0.c: Likewise.
75698         * math/w_j0f.c: Likewise.
75699         * math/w_j0l.c: Likewise.
75700         * math/w_j1.c: Likewise.
75701         * math/w_j1f.c: Likewise.
75702         * math/w_j1l.c: Likewise.
75703         * math/w_jn.c: Likewise.
75704         * math/w_jnf.c: Likewise.
75705         * math/w_jnl.c: Likewise.
75706         * math/w_lgamma.c: Likewise.
75707         * math/w_lgamma_r.c: Likewise.
75708         * math/w_lgammaf.c: Likewise.
75709         * math/w_lgammaf_r.c: Likewise.
75710         * math/w_lgammal.c: Likewise.
75711         * math/w_lgammal_r.c: Likewise.
75712         * math/w_log.c: Likewise.
75713         * math/w_log10.c: Likewise.
75714         * math/w_log10f.c: Likewise.
75715         * math/w_log10l.c: Likewise.
75716         * math/w_log2.c: Likewise.
75717         * math/w_log2f.c: Likewise.
75718         * math/w_log2l.c: Likewise.
75719         * math/w_logf.c: Likewise.
75720         * math/w_logl.c: Likewise.
75721         * math/w_pow.c: Likewise.
75722         * math/w_powf.c: Likewise.
75723         * math/w_powl.c: Likewise.
75724         * math/w_remainder.c: Likewise.
75725         * math/w_remainderf.c: Likewise.
75726         * math/w_remainderl.c: Likewise.
75727         * math/w_scalb.c: Likewise.
75728         * math/w_scalbf.c: Likewise.
75729         * math/w_scalbl.c: Likewise.
75730         * math/w_sinh.c: Likewise.
75731         * math/w_sinhf.c: Likewise.
75732         * math/w_sinhl.c: Likewise.
75733         * math/w_sqrt.c: Likewise.
75734         * math/w_sqrtf.c: Likewise.
75735         * math/w_sqrtl.c: Likewise.
75736         * math/w_tgamma.c: Likewise.
75737         * math/w_tgammaf.c: Likewise.
75738         * math/w_tgammal.c: Likewise.
75740         * po/ja.po: Update from translation team.
75742 2011-09-29  Andreas Jaeger  <aj@suse.de>
75744         [BZ #13179]
75745         * sunrpc/netname.c (netname2host): Fix logic.
75747         [BZ #6779]
75748         [BZ #6783]
75749         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75750         correctly.
75751         * math/w_remainder.c (__remainder): Likewise.
75752         * math/w_remainderf.c (__remainderf): Likewise.
75753         * math/libm-test.inc (remainder_test): Add test cases.
75755 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75757         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75758         sdiv_qrnnd.
75760 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75762         * string/test-memcmp.c: Avoid unncessary #defines.
75763         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75765 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75767         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75768         Use new sse2 version for core i3 - i7 as it's faster
75769         than sse42 version.
75770         (bit_Prefer_PMINUB_for_stringop): New.
75771         * sysdeps/x86_64/rawmemchr.S: Update.
75772         Replace with faster SSE2 version.
75773         * sysdeps/x86_64/memrchr.S: New file.
75774         * sysdeps/x86_64/memchr.S: Update.
75775         Replace with faster SSE2 version.
75777 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75779         * elf/dl-load.c (lose): Add cast to avoid warning.
75781 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75783         * po/ca.po: Update from translation team.
75785         * inet/getnetgrent_r.c: Hook up nscd.
75786         * nscd/Makefile (routines): Add nscd_netgroup.
75787         (nscd-modules): Add netgroupcache.
75788         (CFLAGS-netgroupcache.c): Define.
75789         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75790         (cache_search): Add const to second parameter.
75791         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75792         INNETGR.
75793         (dbs): Add netgrdb entry.
75794         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75795         (verify_persistent_db): Handle netgrdb.
75796         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75797         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75798         GETFDNETGR.
75799         (netgroup_response_header): Define.
75800         (innetgroup_response_header): Define.
75801         (datahead): Add netgroup_response_header and innetgroup_response_header
75802         elements.
75803         * nscd/nscd.conf: Add entries for netgroup cache.
75804         * nscd/nscd.h (dbtype): Add netgrdb.
75805         (_PATH_NSCD_NETGROUP_DB): Define.
75806         (netgroup_iov_disabled): Declare.
75807         (xmalloc, xcalloc, xrealloc): Move declarations here.
75808         (cache_search): Adjust prototype.
75809         Add netgroup-related prototypes.
75810         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75811         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75812         (__nscd_innetgr): Declare.
75813         * nscd/selinux.c (perms): Use access_vector_t as element type and
75814         add netgroup-related initializers.
75815         * nscd/netgroupcache.c: New file.
75816         * nscd/nscd_netgroup.c: New file.
75817         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75818         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75819         For four parameters use innetgr.
75820         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75821         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75822         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75823         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75825         * nscd/connections.c (register_traced_file): Don't register file
75826         for disabled databases.
75828 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75830         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75832         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75833         from tree and freeing node.
75835 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75837         * nss/nsswitch.c (__nss_database_lookup): Handle
75838         nss_parse_service_list out of memory case.
75840 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75842         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75843         out of memory case.
75845 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75847         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75848         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75849         pass it down.
75850         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75851         elf_machine_rela, elf_machine_lazy_rel.
75852         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75853         (ELF_DYNAMIC_DO_REL): Likewise.
75854         (ELF_DYNAMIC_DO_RELA): Likewise.
75855         (ELF_DYNAMIC_RELOCATE): Likewise.
75856         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75857         to ELF_DYNAMIC_DO_REL.
75858         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75859         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75860         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75861         elf_machine_rela.
75862         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75863         skip_ifunc, don't call ifunc function if non-zero.
75864         (elf_machine_rela): Likewise.
75865         (elf_machine_lazy_rel): Likewise.
75866         (elf_machine_lazy_rela): Likewise.
75867         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75868         (elf_machine_lazy_rel): Likewise.
75869         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75870         Likewise.
75871         (elf_machine_lazy_rel): Likewise.
75872         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75873         Likewise.
75874         (elf_machine_lazy_rel): Likewise.
75875         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75876         (elf_machine_lazy_rel): Likewise.
75877         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75878         (elf_machine_lazy_rel): Likewise.
75879         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75880         (elf_machine_lazy_rel): Likewise.
75881         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75882         (elf_machine_lazy_rel): Likewise.
75883         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75884         (elf_machine_lazy_rel): Likewise.
75885         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75886         (elf_machine_lazy_rel): Likewise.
75888 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75890         * nss/nss_files/files-init.c (_nss_files_init): Use static
75891         initialization for all the *_traced_file variables.
75893 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75895         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75897 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75899         [BZ #13226]
75900         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75902 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75904         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75905         Reread the line before reparsing it.
75907 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75909         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75911 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75912             Maxim Kuvyrkov  <maxim@codesourcery.com>
75913             Joseph Myers  <joseph@codesourcery.com>
75915         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75916         if needed for __stack_chk_guard.
75918 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75920         * sysdeps/posix/spawni.c (script_execute): Always define it.
75921         It will be optimized away if unused.
75922         (maybe_script_execute): New function.
75923         (__spawni): Call it.
75925         * Makerules: Don't include tls.make.
75926         (config-tls): Always set to thread.
75927         * tls.make.c: File removed.
75929 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75931         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75932         * config.make.in (CPPFLAGS-config): New substituted variable.
75934 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75936         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75938         [BZ #13192]
75939         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75940         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75942 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75944         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75945         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75946         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75947         (CALL_FAIL): Likewise.
75948         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75949         (CALL_FAIL): Macro removed.
75950         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75952 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75954         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75955         for __FINITE_MATH_ONLY__ == 1.
75957 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75959         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75960         __ieee754_sqrt instead of sqrt.
75961         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75962         __ieee754_sqrtf instead of sqrtf.
75963         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75964         __floorf instead of floorf.
75965         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75966         __floorf, __truncf instead of floorf, truncf.
75968 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75970         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75972         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75973         __extern_always_inline.
75974         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75975         32-bit.
75977 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75979         * elf/rtld.c (dl_main): Also relocate in dependency order when
75980         doing symbol dependency testing.
75982 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75984         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75985         Always define `refsym'.
75987 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75989         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75990         (__FD_ELT): Renamed from __FDELT.
75991         * misc/bits/select2.h (__FD_ELT): Likewise.
75992         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75993         __FD_MASK instead of __FDELT, __FDMASK.
75994         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75995         Likewise.
75996         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75997         Likewise.
75999         * elf/Makefile (gen-ldd): Fix pattern.
76001         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76002         (init_tls): Likewise.
76004 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76006         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76008 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76010         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76011         `struct cmsghdr *' instead of `void *'.
76012         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76013         Likewise.
76015 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76017         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76018         if non-absolute.
76019         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76020         ldd_rewrite_script.
76022 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76024         * configure.in: Remove --with-tls option.
76025         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76026         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76027         out in case it is missing.
76028         * sysdeps/ia64/elf/configure.in: Likewise.
76029         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76030         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76031         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76032         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76033         * sysdeps/sh/elf/configure.in: Likewise.
76034         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76035         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76036         * sysdeps/x86_64/elf/configure.in: Likewise.
76037         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76038         * sysdeps/mach/hurd/tls.h: Likewise.
76040         [BZ #13067]
76041         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76043         [BZ #13090]
76044         * configure.in: Fix use of AC_INIT.
76046         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76048 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76050         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76051         __set_errno.
76052         * malloc/hooks.c: Likewise.
76054         [BZ #11929]
76055         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76056         variables statically.
76057         (narenas): Initialize.
76058         (list_lock): Initialize.
76059         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76060         initializtion of main_arena and list_lock.  Small cleanups.
76061         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76062         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76063         Add initializers to main_arena and mp_.
76064         (malloc_state): Remove pagesize member.  Change all users to use
76065         GLRO(dl_pagesize).
76067         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76068         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76069         is always initialized.
76071         * malloc/malloc.c: Removed unused configurations and dead code.
76072         * malloc/arena.c: Likewise.
76073         * malloc/hooks.c: Likewise.
76074         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76076         * include/tls.h: Removed.  USE___THREAD must always be defined.
76077         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76078         * elf/dl-libc.c: Likewise.
76079         * elf/dl-tsd.c: Likewise.
76080         * include/errno.h: Likewise.
76081         * include/netdb.h: Likewise.
76082         * include/resolv.h: Likewise.
76083         * inet/herrno-loc.c: Likewise.
76084         * inet/herrno.c: Likewise.
76085         * malloc/arena.c: Likewise.
76086         * malloc/hooks.c: Likewise.
76087         * malloc/malloc.c: Likewise.
76088         * resolv/res-state.c: Likewise.
76089         * resolv/res_libc.c: Likewise.
76090         * sysdeps/i386/dl-machine.h: Likewise.
76091         * sysdeps/ia64/dl-machine.h: Likewise.
76092         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76093         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76094         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76095         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76096         * sysdeps/sh/dl-machine.h: Likewise.
76097         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76098         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76099         * sysdeps/unix/i386/sysdep.S: Likewise.
76100         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76101         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76102         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76104         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76105         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76106         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76107         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76108         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76109         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76110         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76111         * sysdeps/x86_64/dl-machine.h: Likewise.
76112         * tls.make.c: Likewise.
76114         * configure.in: Remove --with-__thread option.  Make tests for
76115         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76116         tls_model attribute fail if no support is available.  Remove
76117         USE_IN_LIBIO.
76118         * Makeconfig: Adjust for dropped configure option.  All features are
76119         now mandatory.
76120         * Makerules: Likewise.
76121         * Versions.def: Likewise.
76122         * argp/argp-fmtstream.c: Likewise.
76123         * argp/argp-fmtstream.h: Likewise.
76124         * argp/argp-help.c: Likewise.
76125         * assert/assert.c: Likewise.
76126         * config.h.in: Likewise.
76127         * config.make.in: Likewise.
76128         * configure: Likewise.
76129         * configure.in: Likewise.
76130         * csu/Versions: Likewise.
76131         * csu/init.c: Likewise.
76132         * elf/tst-audit2.c: Likewise.
76133         * elf/tst-tls10.c: Likewise.
76134         * elf/tst-tls10.h: Likewise.
76135         * elf/tst-tls11.c: Likewise.
76136         * elf/tst-tls12.c: Likewise.
76137         * elf/tst-tls14.c: Likewise.
76138         * elf/tst-tlsmod11.c: Likewise.
76139         * elf/tst-tlsmod12.c: Likewise.
76140         * elf/tst-tlsmod13.c: Likewise.
76141         * elf/tst-tlsmod13a.c: Likewise.
76142         * elf/tst-tlsmod14a.c: Likewise.
76143         * elf/tst-tlsmod15b.c: Likewise.
76144         * elf/tst-tlsmod16a.c: Likewise.
76145         * elf/tst-tlsmod16b.c: Likewise.
76146         * elf/tst-tlsmod7.c: Likewise.
76147         * elf/tst-tlsmod8.c: Likewise.
76148         * elf/tst-tlsmod9.c: Likewise.
76149         * gmon/gmon.c: Likewise.
76150         * grp/fgetgrent_r.c: Likewise.
76151         * grp/putgrent.c: Likewise.
76152         * hurd/fopenport.c: Likewise.
76153         * include/libc-symbols.h: Likewise.
76154         * include/tls.h: Likewise.
76155         * intl/gettextP.h: Likewise.
76156         * intl/loadinfo.h: Likewise.
76157         * locale/global-locale.c: Likewise.
76158         * locale/localeinfo.h: Likewise.
76159         * mach/devstream.c: Likewise.
76160         * malloc/arena.c: Likewise.
76161         * malloc/set-freeres.c: Likewise.
76162         * misc/err.c: Likewise.
76163         * misc/getttyent.c: Likewise.
76164         * misc/mntent_r.c: Likewise.
76165         * posix/getopt.c: Likewise.
76166         * posix/wordexp.c: Likewise.
76167         * pwd/fgetpwent_r.c: Likewise.
76168         * resolv/Versions: Likewise.
76169         * resolv/res_hconf.c: Likewise.
76170         * shadow/fgetspent_r.c: Likewise.
76171         * shadow/putspent.c: Likewise.
76172         * stdio-common/printf_fphex.c: Likewise.
76173         * stdio-common/tmpfile.c: Likewise.
76174         * stdlib/abort.c: Likewise.
76175         * stdlib/fmtmsg.c: Likewise.
76176         * sunrpc/auth_unix.c: Likewise.
76177         * sunrpc/clnt_perr.c: Likewise.
76178         * sunrpc/clnt_tcp.c: Likewise.
76179         * sunrpc/clnt_udp.c: Likewise.
76180         * sunrpc/clnt_unix.c: Likewise.
76181         * sunrpc/openchild.c: Likewise.
76182         * sunrpc/svc_simple.c: Likewise.
76183         * sunrpc/svc_tcp.c: Likewise.
76184         * sunrpc/svc_udp.c: Likewise.
76185         * sunrpc/svc_unix.c: Likewise.
76186         * sunrpc/xdr.c: Likewise.
76187         * sunrpc/xdr_array.c: Likewise.
76188         * sunrpc/xdr_rec.c: Likewise.
76189         * sunrpc/xdr_ref.c: Likewise.
76190         * sunrpc/xdr_stdio.c: Likewise.
76192 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76194         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76196 2011-07-03  Andreas Jaeger  <aj@suse.de>
76198         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76199         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76200         regenerate with gen-libm-tests.pl.
76202 2010-05-12  Petr Baudis  <pasky@suse.cz>
76204         [BZ #11589]
76205         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76206         around j0() zero points by switching to j1().
76207         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76208         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76209         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76210         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76212 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76214         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76215         instead of 0.
76216         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76217         instead of 0.
76218         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76219         Patch in part by Pavel Roskin <proski@gnu.org>.
76221         [BZ #13138]
76222         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76223         realloc.
76224         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76225         Free memory block if necessary.
76227         [BZ #12847]
76228         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76229         be NULL.  Don't lock in this case.
76231 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76233         * elf/elf.h (ELFOSABI_GNU): New macro.
76234         (ELFOSABI_LINUX): Define to that.
76236 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76238         * string/strncat.c (strncat): Undef the symbol in case it has been
76239         defined in bits/string.h.
76241 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76243         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76245         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76246         link map.
76248 2011-08-17  Andreas Jaeger  <aj@suse.de>
76250         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76252 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76253             Ian Lance Taylor  <iant@google.com>
76255         * math/libm-test.inc (lround_test): New testcase.
76256         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76258 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76260         * Makefile: Remove support for automatic cvs check-ins.
76261         * Makerules: Likewise.
76262         * config.make.in: Likewise.
76263         * configure.in: Likewise.
76264         * intl/Makefile: Likewise.
76265         * locale/Makefile: Likewise.
76266         * po/Makefile: Likewise.
76267         * posix/Makefile: Likewise.
76268         * sysdeps/gnu/Makefile: Likewise.
76269         * sysdeps/mach/hurd/Makefile: Likewise.
76270         * sysdeps/sparc/sparc32/Makefile: Likewise.
76272         [BZ #13118]
76273         * posix/Makefile (bug-regex32-ENV): Define.
76274         Patch by John Stanley <jpsinthemix@verizon.net>.
76276         * misc/Makefile (headers): Add bits/select2.h.
76277         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76278         * misc/bits/select2.h: New file.
76279         * include/bits/select2.h: New file.
76280         * debug/Makefile (routines): Add fdelt_chk.
76281         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76282         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76283         FD_ISSET.
76284         * debug/fdelt_chk.c: New file.
76286         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76287         * wcsmbs/test-wmemcmp.c: Likewise.
76288         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76289         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76291 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76293         * string/Makefile (strop-tests): Add memcmp.
76294         * string/test-wmemcmp.c: New file.
76295         * string/test-memcmp.c: Add wmemcmp support.
76297 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76299         [BZ #13153]
76300         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76301         2011-07-19 change.
76303         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76304         garbage value in a __mach_port_mod_refs call in the cases of the
76305         task-self and thread-self ports.
76307 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76309         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76311 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76313         * elf/dl-load.c (lose): Check for non-null L.
76315 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76317         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76319         * elf/dl-libc.c (dlerror_run): Pass back error code from
76320         dl_catch_error.
76322         [BZ #13123]
76323         * elf/dl-load.c (lose): Free l_origin if it is valid.
76325         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76326         names.
76327         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76328         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76329         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76330         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76331         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76332         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76334 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76336         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76337         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76338         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76339         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76340         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76341         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76342         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76343         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76344         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76345         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76347 2011-08-15  Alan Modra  <amodra@gmail.com>
76349         [BZ #13092]
76350         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76351         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76352         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76353         ppc_mcount to static-only-routines.
76354         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76355         __mcount_internal.
76356         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76357         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76359 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76361         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76362         for finite and infinity parameters.
76364 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76366         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76367         and add nop instructions for throughput optimization.
76368         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76370 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76372         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76373         aligned copy for power7 with vector-scalar instructions.
76374         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76376 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76378         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76379         AVX check.
76381 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76383         [BZ #13144]
76384         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76385         last change.
76387 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76389         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76390         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76391         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76392         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76393         clock_gettime.
76395 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76397         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76398         Forgot to demangle the pointer.
76400         * sysdeps/i386/sysdep.h: Define atom_text_section.
76401         * sysdeps/x86_64/sysdep.h: Likewise.
76402         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76403         section with atom_text_section.
76404         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76405         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76406         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76407         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76408         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76410         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76411         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76412         already be defined.  Change to take two parameters and don't assign
76413         result to variable.  Adjust all users.
76414         Define INTERNAL_GETTIME if not already defined.
76415         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76416         call.
76417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76418         HAVE_CLOCK_GETTIME_VSYSCALL.
76419         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76421         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76422         gettimeofday vsyscall, just use time.
76424 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76426         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76427         <errno.h>.
76429 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76431         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76432         syscall on x86-64.
76433         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76434         syscall.
76435         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76436         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76437         syscall if possible.
76439 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76441         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76442         e_ident.  Don't pass to find_mapsXX.
76443         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76445 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76448         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76449         * sysdeps/x86_64/multiarch/strchr.S: Update.
76450         Check bit_slow_BSF bit.
76451         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76452         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76453         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76455 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76457         [BZ #13134]
76458         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76459         before glibc 2.15.
76460         (tryshell): Define.
76461         (__spawni): Change last parameter to be flag.  Test
76462         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76463         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76464         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76465         * posix/spawni.c: Likewise.
76466         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76467         * posix/spawnp.c: Likewise.  Change normal version to use
76468         SPAWN_XFLAGS_USE_PATH.
76469         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76470         SPAWN_XFLAGS_TRY_SHELL.
76472         [BZ #13150]
76473         * posix/glob.h: Remove gcc 1.x support.
76475         [BZ #13068]
76476         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76478 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76481         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76482         strrchr-sse2-bsf
76483         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76484         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76485         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76486         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76487         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76488         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76490 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76492         * sysdeps/x86_64/wcscmp.S: New file.
76494         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76495         wcscmp-c wcscmp-sse2
76496         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76497         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76498         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76499         * wcsmbs/wcscmp.c: Allow renaming.
76501 2011-09-05  David S. Miller  <davem@davemloft.net>
76503         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76504         stack slot, rather than the struct return pointer slot.
76505         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76506         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76508         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76510 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76512         * po/ja.po: Update from translation team.
76514         [BZ #13144]
76515         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76516         kernel in 64-bit binaries.
76518 2011-09-01  David S. Miller  <davem@davemloft.net>
76520         * elf/elf.h (HWCAP_SPARC_*): Move to..
76521         * sysdeps/sparc/sysdep.h: this new file and add new values.
76522         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76523         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76524         _DL_HWCAP_COUNT to 24.
76525         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76526         entries.
76527         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76528         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76529         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76530         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76531         instead of magic constants.
76532         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76534 2011-08-31  David S. Miller  <davem@davemloft.net>
76536         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76537         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76538         Reimplement to do errno handling inline.
76539         (SYSCALL_ERROR_HANDLER): New macro.
76540         (__SYSCALL_STRING): Do not do errno handling in asm.
76541         (__CLONE_SYSCALL_STRING): Delete.
76542         (__INTERNAL_SYSCALL_STRING): Delete.
76543         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76544         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76545         (PSEUDO): Reimplement to do errno handling inline.
76546         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76547         (SYSCALL_ERROR_HANDLER): New macro.
76548         (__SYSCALL_STRING): Do not do errno handling in asm.
76549         (__CLONE_SYSCALL_STRING): Delete.
76550         (__INTERNAL_SYSCALL_STRING): Delete.
76551         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76552         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76553         i386.
76554         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76555         (inline_syscall*): Add 'err' argument.
76556         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76557         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76558         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76559         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76561         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76562         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76564 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76566         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76568 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76570         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76571         directive.
76573 2011-08-24  David S. Miller  <davem@davemloft.net>
76575         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76577 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76579         * elf/Makefile: Add rules to build and run unload8 test.
76580         * elf/unload8.c: New file.
76581         * elf/unload8mod1.c: New file.
76582         * elf/unload8mod1x.c: New file.
76583         * elf/unload8mod2.c: New file.
76584         * elf/unload8mod3.c: New file.
76586         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76587         it wasn't used.
76589 2011-08-23  David S. Miller  <davem@davemloft.net>
76591         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76592         subtract stack bias.
76593         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76594         %sp not %fp in calculations.
76595         (_JMPBUF_UNWINDS_ADJ): Likewise.
76597         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76598         (aio_suspend): Call it to force an exception region around the
76599         AIO_MISC_WAIT() invocation.
76601 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76603         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76604         backslash.
76606 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76608         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76609         protection macro.
76610         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76611         and <dl-machine.h>.
76612         (Elf64_FuncDesc): Remove.
76614 2011-08-22  David S. Miller  <davem@davemloft.net>
76616         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76617         sigaltstack check, add missing cfi directives.
76618         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76619         missing cfi directives, and sigaltstack handling.
76621 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76623         [BZ #11724]
76624         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76625         object is seen twice.
76626         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76628         * elf/Makefile (distribute): Add tst-initorder2.c.
76629         (tests): Add tst-initorder2.
76630         (modules-names): Add tst-initorder2a tst-initorder2b
76631         tst-initorder2c tst-initorder2d.  Add rules to build them.
76632         ($(objpfx)tst-initorder2.out): New rule.
76633         * elf/tst-initorder2.c: New file.
76634         * elf/tst-initorder2.exp: New file.
76636 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76638         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76640         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76641         dependencies back to end of function.
76643         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76644         $(elfobjdir)/ld.so.
76646 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76648         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76649         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76650         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76651         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76652         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76653         of __vdso_gettimeofday.
76654         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76655         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76656         attribute_hidden.
76657         (_libc_vdso_platform_setup): Remove initialization of
76658         __vdso_gettimeofday and __vdso_time.
76660 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76662         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76663         and fgetc_unlocked.
76664         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76665         getc_unlocked.
76667         * elf/dl-open.c (add_to_global): Report additions to the global scope
76668         for LD_DEBUG=scopes.
76669         (dl_open_worker): Also print scope of newly loaded dependencies.
76670         (_dl_show_scope): Indicate if there is no scope.
76672         [BZ #13114]
76673         * stdio-common/Makefile (tests): Add bug24.
76674         * stdio-common/bug24.c: New file.
76676 2011-08-19  Andreas Jaeger  <aj@suse.de>
76678         [BZ #13114]
76679         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76680         non-existant file when using close-on-exec mode.
76682 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76684         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76685         the very first instruction.
76687         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76688         the CFI state in the end.
76689         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76690         inclusion of dl-trampoline.h.
76691         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76693 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76695         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76696         expectations for long double.
76698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76699         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76701 2011-08-14  David S. Miller  <davem@davemloft.net>
76703         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76704         artificual limit depends upon the system page size.
76706 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76708         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76709         * resolv/Makefile: Define CFLAGS-libresolv.
76711 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76713         * nss/makedb.c (compute_tables): Make variables used in nested
76714         function static.
76716 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76718         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76719         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76720         if buffer was too small.
76722         * elf/pldd.c (main): Attach to all threads in the process.
76723         Rewrite /proc handling to use *at functions.
76725 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76727         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76728         specifies first scope to show.
76729         (dl_open_worker): Update callers.  Move printing scope of new
76730         object to before the relocation.
76731         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76732         * sysdeps/generic/ldsodefs.h: Update declaration.
76734         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76735         string for the scope number.
76737 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76739         * nscd/servicescache.c (cache_addserv): Make sure written is always
76740         initialized.
76742 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76744         * sysdeps/i386/i486/bits/atomic.h
76745         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76746         statement expression, so as to suppress "set but not used" warning.
76747         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76749         * string/strncat.c (STRNCAT): Use prototype definition.
76751         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76752         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76753         -Iprograms here.
76754         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76755         (localedef-modules): Add localedef.
76756         (locale-modules): Add locale.
76758         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76759         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76760         to avoid a warning.
76762 2011-08-14  David S. Miller  <davem@davemloft.net>
76764         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76765         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76767 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76769         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76770         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76771         * elf/rtld.c (dl_main): Set l_name of vDSO.
76772         Call _dl_show_scope when DL_DEBUG_SCOPES.
76773         (process_dl_debug): Recognize scopes flag and also set it for all.
76774         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76775         Declare _dl_show_scope.
76777         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76778         (do_dlopen): Pass caller_dlopen to dl_open.
76779         (__libc_dlopen_mode): Initialize caller_dlopen.
76781         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76782         of libc.  Make tolower call locale-independent.  Optimize a bit by
76783         using isdigit instead of isalnum.
76784         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76786 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76788         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76789         was a dependency or dynamically loaded.
76791 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76793         * intl/l10nflist.c: Allow architecture-specific pop function.
76794         * sysdeps/x86_64/l10nflist.c: New file.
76796         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76797         classification.
76799 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76801         * include/dirent.h: Add libc_hidden_proto for scandirat and
76802         scandirat64.  Don't declare __scandirat64.
76803         * dirent/scandirat.c: Add libc_hidden_def.
76804         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76805         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76807 2011-08-10  David S. Miller  <davem@davemloft.net>
76809         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76810         enum.
76811         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76812         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76813         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76815 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76817         * Versions.def [libc]: Add GLIBC_2.15.
76818         * dirent/Makefile (routines): Add scandirat and scandirat64.
76819         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76820         GLIBC_2.15.
76821         * dirent/dirent.h: Declare scandirat and scandirat64.
76822         * dirent/scandirat.c: New file.
76823         * dirent/scandirat64.c: New file.
76824         * sysdeps/wordsize-64/scandirat.c: New file.
76825         * sysdeps/wordsize-64/scandirat64.c: New file.
76826         * dirent/opendir.c: Define opendirat.
76827         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76828         using scandirat.
76829         * dirent/scandir64.c: Adjust for scandir.c change.
76830         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76831         __scandirat64, and __scandir_cancel_handler.
76832         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76833         additional parameter and use openat instead of open (outside of ld.so).
76834         Add new __opendir as wrapper around __opendirat.
76835         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76836         here without requiring old scandirat implementation.
76838 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76840         * dirent/scandir.c (cancel_handler): Renamed to
76841         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76842         defined.  Adjust users.
76843         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76844         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76846 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76848         * string/test-string.h (IMPL): Use __STRING to expand name and then
76849         stringify it.
76851         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76852         of cleanups.
76854 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76856         * string/Makefile: Update.
76857         (strop-tests): Append strncat.
76858         * string/test-wcscmp.c: New file.
76859         New comprehensive test for wcscmp.
76860         * string/test-strcmp.c: Update.
76861         (WIDE): New define.
76863 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76865         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76866         line.
76868 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76870         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76871         encoding to ACE if AI_IDN.
76873 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76875         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76876         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76878 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76880         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76881         Fix overflow bug in strncat.
76882         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76884         * string/test-strncat.c: Update.
76885         Add new tests for checking overflow bugs.
76887 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76889         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76890         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76891         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76892         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76893         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76894         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76895         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76896         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76897         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76899         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76900         (USE_AS_STRCAT): Define.
76901         Add strcat and strncat support.
76902         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76904 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76906         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76907         __n bigger than INT_MAX+1.
76908         (__strncmp_g): Likewise.
76910 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76912         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76913         * libio/stido.h: Likewise.
76915         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76916         (AF_NFC): Define.
76917         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76918         (AF_NFC): Define.
76920         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76921         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76922         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76923         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76924         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76926         [BZ #13021]
76927         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76928         installed.
76930         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76931         typo.
76932         (_dl_x86_64_save_sse): Likewise.
76934 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76936         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76937         OSXSAVE.
76938         (_dl_x86_64_save_sse): Likewise.
76940         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76942         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76944 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76946         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76947         change.
76948         (_dl_x86_64_save_sse): Use correct AVX check.
76950 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76952         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76953         bug in strncpy/strncat.
76954         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76956 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76958         * string/tester.c (test_strcat): Add tests for different alignments
76959         of source and destination.
76960         (test_strncat): Likewise.
76962 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76964         [BZ #12852]
76965         * posix/glob.c (glob): Check passed in values before using them in
76966         expressions to avoid some overflows.
76967         (glob_in_dir): Likewise.
76969         [BZ #13007]
76970         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76971         check for AVX enablement so that we don't crash with old kernels and
76972         new hardware.
76973         * elf/tst-audit4.c: Add same checks here.
76974         * elf/tst-audit6.c: Likewise.
76976         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76978 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76980         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76982 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76984         * po/cs.po: Update from translation team.
76985         * po/bg.po: Likewise.
76987 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76989         * misc/sys/cdefs.h: Add support for const attribute.
76990         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76991         to gnu_dev_{major,minor,makedev} functions.
76993 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76995         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76997 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76999         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77000         strlen results.
77002 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77004         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77005         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77006         register in order to avoid conflicts with the soft frame pointer
77007         being held in r11 when necessary.
77008         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77009         (INTERNAL_VSYSCALL_NCS): Likewise.
77011 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77013         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77014         * elf/dl-fini.c (_dl_fini): Adjust caller.
77015         * elf/dl-close.c (_dl_close_worker): Likewise.
77016         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77018 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77020         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77021         "aux_cache->nlibs < 0".
77023         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77024         in the reload-count case.
77026 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77029         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77030         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77031         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77032         * sysdeps/x86_64/multiarch/strcat.S: New file.
77033         * sysdeps/x86_64/multiarch/strncat.S: New file.
77034         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77035         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77036         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77037         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77038         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77039         (USE_AS_STRCAT): Define.
77040         Add strcat and strncat support.
77041         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77042         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77043         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77044         * string/strncat.c: Update.
77045         (USE_AS_STRNCAT): Define.
77046         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77047         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77048         and i7.
77049         * sysdeps/x86_64/multiarch/init-arch.h
77050         (bit_Prefer_PMINUB_for_stringop): New.
77051         (index_Prefer_PMINUB_for_stringop): Likewise.
77052         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77053         bit_Prefer_PMINUB_for_stringop.
77055 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77057         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77058         buffer64.
77059         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77060         of casting of buffer.
77061         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77062         buffer32 and buffer64.
77063         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77064         writes instead of casting of buffer.
77065         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77066         buffer32.
77067         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77068         casting of buffer.
77070 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77072         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77074 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77076         * nscd/nscd.c (termination_handler): Don't do anything for a database
77077         if it has not yet been initialized.
77079 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77081         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77083 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77085         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77087 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77089         * po/nl.po: Update from translation team.
77090         * po/sv.po: Likewise.
77092 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77094         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77095         now disallowed by GCC.
77097         * configure.in (use-default-link): Default to yes if a test -shared
77098         link meets our qualifications.
77099         * configure: Regenerated.
77101         * config.make.in (output-format): New variable.
77102         * configure.in: Check for ld --print-output-format support.
77103         * configure: Regenerated.
77104         * Makerules ($(common-objpfx)format.lds)
77105         [$(output-format) != unknown]: Just use $(output-format),
77106         instead of the linker-script munging.
77108 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77110         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77111         of $(common-objpfx)shlib.lds.
77112         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77114         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77115         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77117         * configure.in (-z relro check): Adjust test code to add a large
77118         writable data section after it.
77119         * configure: Regenerated.
77121 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77123         * configure.in (-z relro check): Fix test code to make the variable
77124         truly const.
77125         * configure: Regenerated.
77127 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77129         * nscd/nscd.h (struct traced_file): Define.
77130         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77131         elements.  Add traced_files.
77132         (inotify_fd): Declare.
77133         (register_traced_file): Declare.
77134         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77135         (inotify_fd): Export.
77136         (resolv_conf_descr): Remove.
77137         (nscd_init): Move inotify descriptor creation to main.
77138         Don't register files for notification here.
77139         (register_traced_file): New function.
77140         (invalidate_cache): Don't use reset_res to determine whether to call
77141         res_init, go through the list of registered files.
77142         (main_loop_poll): The inotify descriptors are now stored in the
77143         structures for the traced files.
77144         (main_loop_epoll): Likewise.
77145         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77146         to __nss_disable_nscd.
77147         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77148         for a database anymore.  Check the records for all the registered
77149         files instead.
77150         * nss/Makefile (libnss_files-routines): Add files-init.
77151         (libnss_db-routines): Add db-init.
77152         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77153         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77154         * nss/nss_db/db-init.c: New file.
77155         * nss/nss_files/files-init.c: New file.
77156         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77157         __nss_lookup_function.
77158         (__nss_lookup_function): Call nss_load_library.
77159         (nss_load_all_libraries): New function.
77160         (__nss_disable_nscd): Take parameter with callback function for files
77161         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77162         used for the cached services.
77163         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77164         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77165         options for features to all the files in nscd.
77167         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77169 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77171         * csu/elf-init.c (__libc_csu_init): Comment typo.
77173 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77175         * po/pl.po: Update from translation team.
77176         * po/ja.po: Likewise.
77177         * po/ru.po: Likewise.
77178         * po/ko.po: Likewise.
77179         * po/fr.po: Likewise.
77181 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77183         * configure.in (.ctors/.dtors header and trailer check):
77184         Use an empirical test on a built program.
77185         * configure: Regenerated.
77187         * configure.in (-z relro check): Use an empirical test on a built DSO.
77188         Detect, but do not require, on ia64.
77189         * configure: Regenerated.
77191         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77192         Update tests that use readelf to use $READELF instead.
77193         * configure: Regenerated.
77195 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77197         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77198         if the result is not used.
77200 2011-07-05  Andreas Jaeger  <aj@suse.de>
77202         [BZ#9696]
77203         * stdlib/tst-strtod.c: Add testcase.
77205 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77207         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77208         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77209         The latter has a higher limit.  Take additional parameter to pass to
77210         the new function.
77211         (__pathconf): Pass file to __statfs_link_max.
77212         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77213         __statfs_link_max.
77214         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77215         __statfs_link_max.
77217         [BZ #12868]
77218         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77219         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77220         Handle Lustre.
77221         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77222         (__statfs_filesize_max): Likewise.
77223         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77225 2011-07-05  Andreas Jaeger  <aj@suse.de>
77227         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77229 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77231         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77232         `status' variable.
77233         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77234         Likewise.
77236 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77238         * Makefile (strop-tests): Add strncat.
77239         * string/test-strncat.c: New file.
77241 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77243         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77245 2011-06-21  Andreas Jaeger  <aj@suse.de>
77247         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77248         Copy rule from iconvdata/Makefile.
77250 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77252         [BZ #12922]
77253         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77254         but no long options are defined, just return 'W'.
77256 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77258         [BZ #9696]
77259         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77261 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77263         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77264         netgroups to read.
77265         (innetgr): Likewise.
77267 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77269         * config.make.in (install_root): Default to $(DESTDIR).
77271 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77273         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77275 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77277         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77279         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77280         containing directory rather than embedding absolute directory names.
77282         * scripts/check-local-headers.sh: Rewritten using awk.
77283         Match by word, not by line.  Print error messages for matches.
77284         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77286         * Makerules [shlib-lds-flags empty]:
77287         ($(common-objpfx)libc_pic.opts): New target.
77288         ($(common-objpfx)libc_pic.os.clean): New target.
77289         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77291         * config.make.in (OBJCOPY): New variable.
77292         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77293         * configure: Regenerated.
77295         * config.make.in (use-default-link): New variable.
77296         * configure.in (use_default_link): Grok --with-default-link to set it.
77297         * configure: Regenerated.
77298         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77299         (shlib-lds, shlib-lds-flags): Define to empty.
77301         * Makerules (shlib-lds): New variable.
77302         (shlib-lds-flags): New variable.
77303         (build-shlib, build-moduile, build-module-asneeded): Use it.
77304         ($(common-objpfx)libc.so): Use $(shlib-lds).
77305         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77306         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77308         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77309         DT_FLAGS/DT_FLAGS_1 with zero flags.
77311         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77312         linker script munging.
77314 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77316         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77317         as 128-bit value.
77318         * crypt/sha512.c (sha512_process_block): Perform total addition using
77319         128-bit if possible.
77320         (__sha512_finish_ctx): Likewise.
77321         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77322         as 64-bit value.
77323         * crypt/sha256.c (SWAP64): Define.
77324         (sha256_process_block): Perform total addition using 64-bit if
77325         possible.
77326         (__sha256_finish_ctx): Likewise.
77328 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77330         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77331         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77332         * nscd/hstcache.c (cache_addhst): Likewise.
77333         * nscd/grpcache.c (cache_addgr): Likewise.
77334         * nscd/aicache.c (addhstaiX): Likewise.
77335         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77337 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77339         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77340         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77341         * nscd/hstcache.c (cache_addhst): Likewise.
77342         * nscd/grpcache.c (cache_addgr): Likewise.
77343         * nscd/aicache.c (addhstaiX): Likewise.
77345 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77347         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77348         domain only when needed.
77350 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77353         is always restored.
77355 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77357         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77358         are re-adding the entry.
77359         * nscd/servicescache.c (cache_addserv): Likewise.
77361 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77363         * sysdeps/generic/dl-irel.h: fix protection against multiple
77364         inclusions.
77365         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77367 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77369         [BZ #12935]
77370         * malloc/memusage.sh: Fix quoting in message.
77371         * debug/xtrace.sh: Likewise.
77373         * configure.in: Remove support for --experimental-malloc option, make
77374         it the default.
77375         * config.make.in: Likewise.
77376         * malloc/Makefile: Likewise.
77378 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77380         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77381         two-byte characters.
77383 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77385         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77386         AC_CACHE_CHECK invocation.
77387         * configure: Regenerated.
77389         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77391 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77393         [BZ #12350]
77394         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77395         bit from old_res_options.
77397         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77399         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77400         value type for setfct.
77402 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77404         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77405         __gettimeofday instead of gettimeofday.
77407 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77409         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77411 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77413         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77415         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77416         info.
77418 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77421         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77422         strcpy-sse2-unaligned strncpy-sse2-unaligned
77423         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77424         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77425         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77426         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77427         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77428         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77429         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77430         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77431         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77432         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77433         (STRCPY): Support SSE2 and SSSE3 versions.
77435 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77437         [BZ #12874]
77438         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77439         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77440         kernels which artificially limit size of requests.
77442 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77444         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77445         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77446         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77447         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77448         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77449         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77450         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77451         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77452         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77453         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77454         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77455         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77456         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77457         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77458         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77460         Enable unaligned load optimization for Intel Core i3, i5 and i7
77461         processors.
77462         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77463         Define.
77464         (index_Fast_Unaligned_Load): Define.
77465         (HAS_FAST_UNALIGNED_LOAD): Define.
77467 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77469         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77471 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77473         [BZ #12907]
77474         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77475         until it is clear that the information is realy needed.
77476         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77478 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77482 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77484         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77485         /sys/devices/system/cpu/online if it is usable.
77487         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77488         reading the information from the /proc filesystem to once a second.
77490 2011-06-21  Andreas Jaeger  <aj@suse.de>
77492         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77493         NULL after inclusion of kernel headers.
77495 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77497         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77498         calls to internal_setent.
77500         [BZ #12885]
77501         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77502         addresses using gethostbyname4_r ignore IPv4 addresses.
77504         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77505         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77507         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77509 2011-06-20  David S. Miller  <davem@davemloft.net>
77511         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77512         inclusions.
77513         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77515         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77516         (elf_irel): Use it.
77517         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77518         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77519         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77520         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77521         * sysdeps/x86_64/dl-irel.h: Likewise.
77523         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77524         * elf/dl-sym.c: Likewise.
77526 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77528         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77529         need to dereference resplen2.
77531 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77533         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77535 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77537         * Makeconfig: Define vardbdir and inst_vardbdir.
77538         * nss/Makefile: Add rules to install db-Makefile.
77540         * nss/nss_db/db-XXX.c: Cleanup.
77542         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77543         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77544         GLIBC_PRIVATE.
77545         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77546         * nss/makedb.c: Implement -g option to specify that value strings
77547         are generated and should not be added to table iterated over for
77548         get*ent calls.
77549         * nss/nss_db/db-initgroups.c: New file.
77551         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77552         interface.
77554         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77555         (internal_getgrouplist): Adjust to name change.
77556         Update use_initgroups_entry if this is not the first call.
77557         * nss/databases.def: Add initgroups entry.
77559         * nss/makedb.c (compute_tables): Check result of multiple hash table
77560         sizes to minimize maximum chain length.
77562 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77564         * Versions.def: Add entry for libnss_db.
77565         * shlib-versions: Likewise.
77566         * nss/Makefile: Add rules to build libnss_db.
77567         * nss/Versions: Add libnss_db information.  Organize libnss_files
77568         entries better.
77569         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77570         makedb progra.  Some minor improvements to generate smaller files.
77571         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77572         here from...
77573         * nss/makedb.c: ...here.
77574         Improve database format to be smaller and require less memory at
77575         runtime.
77576         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77577         db anymore.
77578         * nss/nss_db/db-netgrp.c: Likewise.
77579         * nss/nss_db/db-open.c: Likewise.
77580         * nss/nss_files/flies-XXX.x: Adjust comments.
77581         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77582         * nss/nss_files/files-grp.c: Likewise.
77583         * nss/nss_files/files-hosts.c: Likewise.
77584         * nss/nss_files/files-network.c: Likewise.
77585         * nss/nss_files/files-proto.c: Likewise.
77586         * nss/nss_files/files-pwd.c: Likewise.
77587         * nss/nss_files/files-rpc.c: Likewise.
77588         * nss/nss_files/files-service.c: Likewise.
77589         * nss/nss_files/files-sgrp.c: Likewise.
77590         * nss/nss_files/files-spwd.c: Likewise.
77591         * nss/nss_db/db-alias.c: Removed.
77592         * nss/nss_db/dummy-db.h: Removed.
77594 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77596         * nss/makedb.c: Rewritten to not use database library.
77597         * nss/Makefile: Update to build new makedb program.
77599 2011-06-14  Andreas Jaeger  <aj@suse.de>
77601         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77602         memset declaration.
77604 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77606         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77607         tmpbuf.
77609 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77611         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77612         * elf/Makefile ($(objpfx)ld.so): Likewise.
77614         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77615         Don't list ld.so twice in dependencies.
77617         * posix/bug-regex31.c: Include <stdlib.h>.
77619         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77621         * nis/nss_compat/compat-spwd.c
77622         (getspent_next_nss_netgr): Remove unused variable.
77623         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77625         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77626         nonmembers" output to use the right array.
77628         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77630         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77632         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77633         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77634         * catgets/gencat.c (read_input_file): Likewise.
77635         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77637         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77638         variable definition inside #if's controlling its use.
77640         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77642         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77644         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77646         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77647         unreachable code.
77649         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77651         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77652         * configure: Regenerated.
77654         * Makerules: Revert last change.
77655         * elf/Makefile: Likewise.
77657 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77659         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77660         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77661         (reloc-link): Likewise.
77663 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77665         * elf/Makefile: Add rules to build pldd.
77666         * elf/pldd.c: New file.
77667         * elf/pldd-xx.c: New file.
77669 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77671         * version.h: Update for 2.15 development version.
77673 2011-06-07  David S. Miller  <davem@davemloft.net>
77675         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77676         ifuncs.
77677         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77678         elf_machine_lazy_rel): Likewise.
77679         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77680         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77681         elf_machine_lazy_rel): Likewise.
77682         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77683         dl_hwcap via passed in argument.
77684         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77685         Likewise.
77687 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77689         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77691 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77693         [BZ #12849]
77694         * manual/fdl-1.1.texi: New file, verbatim from:
77695         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77696         * manual/lgpl-2.1.texi: New file, verbatim from:
77697         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77698         * manual/Makefile (licenses): New variable, list those new file names.
77699         (texis): Use it.
77700         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77702         * manual/fdl.texi: File removed.
77703         * manual/lesser.texi: File removed.
77704         * manual/libc.texinfo (Copying, Documentation License):
77705         Use new @include file names, put @appendix directive before @include.
77707 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77709         [BZ #12841]
77710         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77711         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77712         (mq_open): Add __NTH.
77714 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77717         Assume Intel Core i3/i5/i7 processor if AVX is available.
77719 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77721         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77722         typo.
77724 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77726         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77727         memory.  Use alloca_account.  Fix memory leak when retrying.
77729 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77731         * version.h (RELEASE): Bump for 2.14 release.
77732         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77734         * config.make.in (RANLIB): Remove entry.
77736 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77738         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77739         (libc.pot): Work around missing support for .ksh extension in xgettext.
77741         [BZ #12684]
77742         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77743         if both request failed.
77744         (send_dg): In case of server errors clear resplen or *resplen2.
77746         [BZ #12454]
77747         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77748         when there are multiple maps.
77749         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77750         (_dl_fini): Remove test here.
77752         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77754 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77756         [BZ #12350]
77757         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77758         bit from old_res_options.
77759         (gaih_inet): Likewise.
77761         [BZ #11099]
77762         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77763         as signed.
77765         * resolv/res_init.c (res_setoptions): Make the code more compact.
77767         [BZ #11558]
77768         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77769         set RES_USEVC.
77771         [BZ #11634]
77772         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77774         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77776         [BZ #11781]
77777         * malloc/malloc.h: Declare malloc hook variables as volatile.
77779         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77780         in last patch.
77782         [BZ #11799]
77783         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77784         raise in the comment.
77785         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77786         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77787         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77789 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77791         [BZ #12811]
77792         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77793         grow the buffers more if it already has to be sufficient.
77794         (build_wcs_upper_buffer): Likewise.
77795         * posix/regexec.c (check_matching): Likewise.
77796         (clean_state_log_if_needed): Likewise.
77797         (extend_buffers): Don't enlarge buffers beyond size of the input
77798         buffer.
77799         Patches mostly by Emil Wojak <emil@wojak.eu>.
77800         * posix/bug-regex32.c: New file.
77801         * posix/Makefile (tests): Add bug-regex32.
77803         * locale/findlocale.c (_nl_find_locale): Return right away if
77804         _nl_explode_name failed.
77805         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77807         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77809         * debug/xtrace.sh: Unify messages.
77810         * malloc/memusage.sh: Likewise.
77812         [BZ #12813]
77813         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77814         time symbol from vDSO.  Substitute with vsyscall if not available.
77815         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77816         __vdso_time.
77818         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77819         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77820         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77821         Add sendmmsg and internal_sendmmsg.
77822         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77823         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77824         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77826         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77827         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77828         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77830 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77832         [BZ #12813]
77833         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77834         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77835         available.
77836         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77837         __vdso_getcpu.
77839         [BZ #12814]
77840         * iconvdata/Makefile (tests): Add bug-iconv9.
77841         * iconvdata/bug-iconv9.c: New file.
77843 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77845         [BZ #12814]
77846         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77848 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77850         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77851         (struct user_regs_struct): Change intcs field back to cs.
77853 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77855         * po/ja.po: Update from translation team.
77857 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77859         [BZ #12795]
77860         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77861         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77863 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77865         * stdlib/longlong.h: Update from GCC.
77867 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77869         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77870         parameter name.
77871         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77872         Add parameter name.
77873         (__sysconf): Pass it down.
77875 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77877         [BZ #12671]
77878         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77879         some situations.
77880         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77881         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77882         add in in __libc_use_alloca calls.  Adjust callers.
77883         (glob): Use malloc in some situations.
77885         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77886         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77887         pltexit.
77889 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77891         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77892         and CLOCK_BOOTTIME_ALARM.
77894         [BZ #12782]
77895         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77896         is returned.
77898         * string/_strerror.c (__strerror_r): Print negative errors as signed
77899         numbers.
77901         [BZ #12777]
77902         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77903         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77904         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77906         * configure.in: Fix typo in redirection and correct removal of test
77907         files in two cases.
77909         [BZ #12788]
77910         * locale/setlocale.c (new_composite_name): Fix test to check for
77911         identical name of all categories.
77913         [BZ #12792]
77914         * libio/filedoalloc.c (local_isatty): New function.
77915         (_IO_file_doallocate): Use local_isatty.
77916         * stdio-common/perror.c (perror): In case a new stream is used
77917         forward the stream error.
77918         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77919         error flag.
77921 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77923         [BZ #11884]
77924         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77925         alloca.
77926         * include/alloca.h (extend_alloca_account): Define.
77928         [BZ #11857]
77929         * posix/regex.h: Fix comments with documentation of user-accessible
77930         fields after compilation and describe correct free'ing of pattern
77931         after re_compile_pattern.
77932         Patch by Reuben Thomas <rrt@sc3d.org>.
77934 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77936         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77937         and -mno-altivec to prevent the compiler from using Altivec and/or
77938         VSX instructions when the corresponding registers are not available.
77940 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77942         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77944 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77946         * libio/freopen.c (freopen): Use __dup2, not dup2.
77947         * libio/freopen64.c (freopen64): Likewise.
77949 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77951         [BZ #12775]
77952         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77953         * math/Makefile (tests): Add test-powl.
77954         (CFLAGS-test-powl.c): Define.
77955         * math/test-powl.c: New file.
77957 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77959         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77961 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77963         [BZ #11837]
77964         * iconvdata/gb18030.c: Update to GB18020-2005.
77966 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77968         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77969         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77970         Patch by Aharon Robbins <arnold@skeeve.com>.
77972         [BZ #11892]
77973         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77974         on the stack.
77976         [BZ #11895]
77977         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77978         through underflows.
77980         [BZ #12766]
77981         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77982         point to strings before performing equality test for error_one_per_line
77983         mode.
77985         [BZ #11697]
77986         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77988         [BZ #11820]
77989         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77990         (struct user_fpregs_struct): Avoid __uint*_t types.
77992         [BZ #6420]
77993         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77994         symbol info.  Use it instead of calling _dl_addr locally.
77995         (lock_and_info): New function.
77996         (tr_freehook): Call lock_and_info and pass symbol info as additional
77997         parameter to tr_where.
77998         (tr_mallochook): Likewise.
77999         (tr_reallochook): Likewise.
78000         (tr_memalignhook): Likewise.
78002         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78003         used and couldn't be at all thread-safe.
78005 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78007         * libio/freopen.c (freopen): Don't close old file descriptor
78008         before the new one is opened.  Instead dup the new file descriptor
78009         to the old one after the new stream is created.
78010         * libio/freopen64.c (freopen64): Likewise.
78011         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78012         * libio/fileops.c (_IO_new_file_close_it): Handle new
78013         _IO_FLAGS2_NOCLOSE flag.
78014         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78015         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78016         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78017         _IO_FLAGS2_NOCLOSE flag.
78018         * include/unistd.h: Add hidden_proto for dup3.
78019         Define __have_dup3.
78020         * io/dup3.c: Define hidden symbol.
78021         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78023         [BZ #7101]
78024         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78025         when an incomplete long option is used.
78026         * posix/tst-getopt_long1.c: New file.
78027         * posix/Makefile (tests): Add tst-getopt_long1.
78029         [BZ #10138]
78030         * scripts/config.guess: Update from autoconf-2.68.
78031         * scripts/config.sub: Likewise.
78033         [BZ #10157]
78034         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78035         tests into ...
78036         (has_cpuclock): ...this.  New function.
78037         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78038         macro here based on has_cpuclock code.
78040         [BZ #10149]
78041         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78042         First byte (not low byte) is now always NUL.
78043         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78045         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78046         Use non-cancelable interfaces.
78048         [BZ #9809]
78049         * locale/iso-639.def: Add entry for Sorani.
78051         [BZ #11901]
78052         * include/stdlib.h: Move include protection to the right place.
78053         Define abort_msg_s.  Declare __abort_msg with it.
78054         * stdlib/abort.c (__abort_msg): Adjust type.
78055         * assert/assert.c (__assert_fail_base): New function.  Majority
78056         of code from __assert_fail.  Allocate memory for __abort_msg with
78057         mmap.
78058         (__assert_fail): Now call __assert_fail_base.
78059         * assert/assert-perr.c: Remove bulk of implementation.  Use
78060         __assert_fail_base.
78061         * include/assert.hL Declare __assert_fail_base.
78062         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78063         mmap.
78064         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78066 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78068         [BZ #11952]
78069         [BZ #12453]
78070         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78071         until all modules are registered in the DTV.
78072         * elf/Makefile: Add rules to build and run tst-tls19.
78073         * elf/tst-tls19.c: New file.
78074         * elf/tst-tls19mod1.c: New file.
78075         * elf/tst-tls19mod2.c: New file.
78076         * elf/tst-tls19mod3.c: New file.
78077         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78079         [BZ #12083]
78080         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78081         correctly.
78083         [BZ #12601]
78084         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78085         two-byte sequence errors.
78086         * iconvdata/Makefile (tests): Add bug-iconv8.
78087         * iconvdata/bug-iconv8.c: New file.
78089         [BZ #12626]
78090         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78091         buf2 definition.
78093         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78095         [BZ #12432]
78096         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78097         (dummy_getcfa): New function.
78098         (init): Get _Unwind_GetCFA address, use dummy if not found.
78099         (backtrace_helper): In recursion check, also check whether CFA changes.
78100         (__backtrace): Completely initialize arg.
78102         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78103         storing incomplete byte sequence in state object.  Avoid testing for
78104         guaranteed too small input if we know there is enough data available.
78106 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78108         * Makeconfig (+link-pie): Indent.
78109         * Rules (binaries-pie): Define if $(have-fpie) and
78110         $(build-shared).
78111         (binaries-shared): Also filter out $(binaries-pie).
78112         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78113         * nscd/Makefile (others-pie): Add nscd.
78114         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78115         ($(objpfx)nscd): Remove command override.
78116         * login/Makefile (others-pie): Add pt_chown.
78117         ($(objpfx)pt_chown): Remove command override.
78118         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78119         remove command overrides.
78121 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78123         * libio/tst_putwc.c: Fix error messages.
78125         [BZ #12724]
78126         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78127         currently writing and seek to current position when not.
78128         * libio/Makefile (tests): Add bug-fclose1.
78129         * libio/bug-fclose1.c: New file.
78131 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78133         [BZ #12511]
78134         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78135         don't set DF_1_NODELETE here.
78136         (do_lookup_x): When entering new entry test for copy relocation
78137         and if necessary set DF_1_NODELETE flag.
78138         * elf/tst-unique4.cc: New file.
78139         * elf/tst-unique4.h: New file.
78140         * elf/tst-unique4lib.cc: New file.
78141         * elf/Makefile: Add rules to build and run tst-unique4.
78142         Patch by Piotr Bury <pbury@goahead.com>.
78144 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78146         [BZ #12052]
78147         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78149         [BZ #12625]
78150         * misc/mntent_r.c (addmntent): Flush the stream after the output
78152         [BZ #12393]
78153         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78154         (is_trusted_path_normalize): Skip initial colon.  Append slash
78155         to empty buffer.  Duplicate is_trusted_path code but allow
78156         constructed patch to be prefix.
78157         (is_dst): Allow $ORIGIN followed by /.
78158         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78159         Correct testing of result of is_trusted_path_normalize
78160         (decompose_rpath): Fix warning.
78162 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78164         [BZ #11257]
78165         * grp/initgroups.c (internal_getgrouplist): When we found the service
78166         list through the initgroups entry in nsswitch.conf do not always
78167         continue on a successful lookup.  Don't always use the
78168         __nss_group_database value if it is set.
78169         * nss/nsswitch.conf (initgroups): Change action for successful db
78170         lookup to continue for compatibility.
78172 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78174         [BZ #11532]
78175         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78176         and CP774 modules.
78177         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78178         and CP774 modules.
78179         * iconvdata/tst-tables.sh: Likewise.
78180         * iconvdata/cp770.c: New file.
78181         * iconvdata/cp771.c: New file.
78182         * iconvdata/cp772.c: New file.
78183         * iconvdata/cp773.c: New file.
78184         * iconvdata/cp774.c: New file.
78185         * iconvdata/testdata/CP770: New file.
78186         * iconvdata/testdata/CP770..UTF8: New file.
78187         * iconvdata/testdata/CP771: New file.
78188         * iconvdata/testdata/CP771..UTF8: New file.
78189         * iconvdata/testdata/CP772: New file.
78190         * iconvdata/testdata/CP772..UTF8: New file.
78191         * iconvdata/testdata/CP773: New file.
78192         * iconvdata/testdata/CP773..UTF8: New file.
78193         * iconvdata/testdata/CP774: New file.
78194         * iconvdata/testdata/CP774..UTF8: New file.
78196         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78197         END CHARMAP line.
78198         * iconvdata/gen-8bit-gap.sh: Likewise.
78199         * iconvdata/gen-8bit.sh: Likewise.
78201         * locale/iso-639.def: Add ary entry.
78203         [BZ #11258]
78204         * locale/C-translit.h.in: Add U20A1 transliteration.
78206         [BZ #12178]
78207         * locale/iso-639.def: Add wae entry.
78208         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78210         [BZ #12545]
78211         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78212         for n.
78214         [BZ #12711]
78215         * locale/C-translit.h.in: Add entry for U20B9.
78216         Patch by pravin.d.s@gmail.com.
78218 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78220         [BZ #12713]
78221         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78222         ENAMETOOLONG use generic getcwd.
78223         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78224         in rtld.  Use *stat64.
78225         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78226         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78227         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78228         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78229         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78230         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78231         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78232         __fstatat64 macros.
78233         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78234         * dirent/rewinddir.c: Add libc_hidden_def.
78235         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78236         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78238         * include/dirent.h (__alloc_dir): Add flags parameter.
78239         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78240         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78241         __alloc_dir.
78242         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78243         from fdopendir if O_CLOEXEC is already set.
78245 2011-03-15  Alan Modra  <amodra@gmail.com>
78247         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78248         l_tls_firstbyte_offset non-zero.  Save padding offset in
78249         l_tls_firstbyte_offset for later use.
78250         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78251         freeing static tls block.
78253 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78255         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78256         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78257         being defined by the kernel headers.
78259 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78261         [BZ #12734]
78262         * resolv/resolv.h: Define RES_NOTLDQUERY.
78263         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78264         no-tld-query and set RES_NOTLDQUERY.
78265         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78266         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78267         modern BIND to search name as TLD unless forbidden.
78269 2011-05-07  Petr Baudis  <pasky@suse.cz>
78270             Ulrich Drepper  <drepper@gmail.com>
78272         [BZ #12393]
78273         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78274         (is_trusted_path): ...to here.
78275         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78276         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78277         using is_trusted_path_normalize() in setuid scripts.
78279 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78281         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78282         __BEGIN/__END_DECLS.
78284 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78286         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78287         NSS_STATUS_NOTFOUND if no record was found.
78289 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78291         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78292         (headers-not-in-tirpc): Remove rpc/netdb.h
78293         * resolv/netdb.h: Revert last change.
78295 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78297         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78298         circular dependency between libgcc.a and libc.a.
78300 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78302         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78303         * nis/Makefile: Don't install rpcsvc/*.
78304         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78305         instead of <rpc/types.h>.
78306         (MAXHOSTNAMELEN): Define.
78308 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78310         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78312 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78314         [BZ #12714]
78315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78316         gethostbyname4_r when IPv6 results are possible.
78318 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78320         [BZ #12723]
78321         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78322         _PC_PIPE_BUF handling.
78324 2011-04-30  Bruno Haible  <bruno@clisp.org>
78326         [BZ #12717]
78327         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78328         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78329         to 'int'.
78330         * inet/getnameinfo.c (getnameinfo): Likewise.
78332 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78334         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78335         to groups setting in database lookup.
78336         * nss/nsswitch.conf: Add initgroups entry.
78338 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78340         [BZ #12685]
78341         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78342         mode string.
78343         Patch by Eric Blake <eblake@redhat.com>.
78345 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78347         * sunrpc/Makefile (need-export-routines): Add svc_run.
78348         (routines): Remove svc_run.
78349         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78350         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78351         * sunrpc/svc_run.c (svc_run): Likewise.
78352         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78354 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78356         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78357         problem in reallocation in last patch.
78359 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78361         * sunrpc/Makefile: Move inclusion of Rules.
78363 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78365         * nss/nss_files/files-initgroups.c: New file.
78366         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78367         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78368         _nss_files_initgroups_dyn.
78370 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78372         * elf/elf.h (R_ARM_IRELATIVE): Define.
78374 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78376         * po/ru.po: Update from translation team.
78378 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78380         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78381         dependencies.
78383 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78385         [BZ #12653]
78386         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78387         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78388         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78389         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78390         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78392 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78394         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78395         differing bytes.
78396         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78397         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78398         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78400 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78402         [BZ #12420]
78403         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78404         storing it.
78405         * stdlib/bug-getcontext.c: New file.
78406         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78408 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78410         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78411         instructions into .machine "z9-109".
78412         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78413         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78415 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78417         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78418         between environment variables and auxiliary vector.
78420 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78422         * Makefile: Add rules to build linkobj/libc.so.
78423         * include/libc-symbols.h: Define libc_hidden_nolink.
78424         * include/rpc/auth.h: Mark functions which are to be hidden.
78425         * include/rpc/auth_des.h: Likewise.
78426         * include/rpc/auth_unix.h: Likewise.
78427         * include/rpc/clnt.h: Likewise.
78428         * include/rpc/des_crypt.h: Likewise.
78429         * include/rpc/key_prot.h: Likewise.
78430         * include/rpc/pmap_clnt.h: Likewise.
78431         * include/rpc/pmap_prot.h: Likewise.
78432         * include/rpc/pmap_rmt.h: Likewise.
78433         * include/rpc/rpc_msg.h: Likewise.
78434         * include/rpc/svc.h: Likewise.
78435         * include/rpc/svc_auth.h: Likewise.
78436         * include/rpc/xdr.h: Likewise.
78437         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78438         * nss/Makefile: Likewise.
78439         * sunrpc/Makefile: Don't install headers.  Build library with normal
78440         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78441         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78442         for the compat linking library.  Remove use of INTDEF/INTUSE.
78443         * sunrpc/auth_none.c: Likewise.
78444         * sunrpc/auth_unix.c: Likewise.
78445         * sunrpc/authdes_prot.c: Likewise.
78446         * sunrpc/authuxprot.c: Likewise.
78447         * sunrpc/clnt_gen.c: Likewise.
78448         * sunrpc/clnt_perr.c: Likewise.
78449         * sunrpc/clnt_raw.c: Likewise.
78450         * sunrpc/clnt_simp.c: Likewise.
78451         * sunrpc/clnt_tcp.c: Likewise.
78452         * sunrpc/clnt_udp.c: Likewise.
78453         * sunrpc/clnt_unix.c: Likewise.
78454         * sunrpc/des_crypt.c: Likewise.
78455         * sunrpc/des_soft.c: Likewise.
78456         * sunrpc/get_myaddr.c: Likewise.
78457         * sunrpc/key_call.c: Likewise.
78458         * sunrpc/key_prot.c: Likewise.
78459         * sunrpc/netname.c: Likewise.
78460         * sunrpc/pm_getmaps.c: Likewise.
78461         * sunrpc/pm_getport.c: Likewise.
78462         * sunrpc/pmap_clnt.c: Likewise.
78463         * sunrpc/pmap_prot.c: Likewise.
78464         * sunrpc/pmap_prot2.c: Likewise.
78465         * sunrpc/pmap_rmt.c: Likewise.
78466         * sunrpc/publickey.c: Likewise.
78467         * sunrpc/rpc_cmsg.c: Likewise.
78468         * sunrpc/rpc_common.c: Likewise.
78469         * sunrpc/rpc_dtable.c: Likewise.
78470         * sunrpc/rpc_prot.c: Likewise.
78471         * sunrpc/rpc_thread.c: Likewise.
78472         * sunrpc/rtime.c: Likewise.
78473         * sunrpc/svc.c: Likewise.
78474         * sunrpc/svc_auth.c: Likewise.
78475         * sunrpc/svc_authux.c: Likewise.
78476         * sunrpc/svc_raw.c: Likewise.
78477         * sunrpc/svc_run.c: Likewise.
78478         * sunrpc/svc_simple.c: Likewise.
78479         * sunrpc/svc_tcp.c: Likewise.
78480         * sunrpc/svc_udp.c: Likewise.
78481         * sunrpc/svc_unix.c: Likewise.
78482         * sunrpc/svcauth_des.c: Likewise.
78483         * sunrpc/xcrypt.c: Likewise.
78484         * sunrpc/xdr.c: Likewise.
78485         * sunrpc/xdr_array.c: Likewise.
78486         * sunrpc/xdr_float.c: Likewise.
78487         * sunrpc/xdr_intXX_t.c: Likewise.
78488         * sunrpc/xdr_mem.c: Likewise.
78489         * sunrpc/xdr_rec.c: Likewise.
78490         * sunrpc/xdr_ref.c: Likewise.
78491         * sunrpc/xdr_sizeof.c: Likewise.
78492         * sunrpc/xdr_stdio.c: Likewise.
78494 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78496         [BZ #12650]
78497         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78498         * sysdeps/ia64/dl-tls.h: Likewise.
78499         * sysdeps/powerpc/dl-tls.h: Likewise.
78500         * sysdeps/s390/dl-tls.h: Likewise.
78501         * sysdeps/sh/dl-tls.h: Likewise.
78502         * sysdeps/sparc/dl-tls.h: Likewise.
78503         * sysdeps/x86_64/dl-tls.h: Likewise.
78504         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78506 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78508         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78509         rpath element also skip the following colon.
78510         (expand_dynamic_string_token): Add is_path parameter and pass
78511         down to DL_DST_REQUIRED and _dl_dst_substitute.
78512         (decompose_rpath): Call expand_dynamic_string_token with
78513         non-zero is_path.  Ignore empty rpaths.
78514         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78515         with zero is_path.
78517 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78520         Make cancelable.
78522 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78524         [BZ #12655]
78525         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78526         Patch by Filipe David Manana <fdmanana@apache.org>.
78528 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78530         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78531         Maintain aligned stack.
78532         (CHECK_RSP): Remove unused macro.
78534 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78536         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78537         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78539 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78541         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78543         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78545 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78547         [BZ #12518]
78548         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78549         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78550         * sysdeps/x86_64/memmove.c: New file.
78551         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78552         (memcpy): Renamed to ...
78553         (__new_memcpy): This.
78554         (memcpy): Provide GLIBC_2_14 memcpy.
78555         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78556         (memcpy): Provide GLIBC_2_2_5 memcpy.
78558 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78560         [BZ #12631]
78561         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78563 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78565         * misc/syncfs.c: New file.
78566         * misc/Makefile (routines): Add syncfs.
78567         * posix/unistd.h: Declare syncfs.
78568         * sysdeps/unix/syscalls.list: Add syncfs.
78570 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78572         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78573         open_by_handle_at.
78574         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78575         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78577         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78579         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78580         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78582 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78584         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78585         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78586         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78587         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78588         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78589         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78590         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78592         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78593         sync_file_range.c with -fexceptions.
78594         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78595         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78596         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78597         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78598         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78599         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78600         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78601         sync_file_range as cancellation point
78602         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78603         now a wrapper around __call_sync_file_range with cancellation handling.
78604         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78605         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78606         function name to __call_sync_file_range.
78607         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78608         Add call_sync_file_range.
78610 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78612         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78613         bits/timex.h.
78615 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78617         * iconv/iconv.h: Fix typo in comment.
78618         * io/fcntl.h: Likewise.
78619         * libio/stdio.h: Likewise.
78620         * posix/spawn.h: Likewise.
78621         * posix/unistd.h: Likewise.
78622         * stdlib/stdlib.h: Likewise.
78623         * time/time.h: Likewise.
78624         * wcsmbs/wchar.h: Likewise.
78626         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78627         open_by_handle): Add.
78628         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78629         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78630         Augment a few comments.
78631         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78632         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78633         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78634         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78635         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78636         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78637         open_by_handle.
78639         * io/fcntl.h (AT_EMPTY_PATH): Define.
78641 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78643         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78644         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78645         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78646         to...
78647         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78648         * Versions.def: Add GLIBC_2.14.
78649         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78650         Export.
78652 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78654         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78655         round counter.
78656         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78658 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78660         [BZ #12597]
78661         * string/test-strncmp.c (do_page_test): New function.
78662         (check2): Likewise.
78663         (test_main): Call check2.
78664         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78666 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78668         [BZ #12587]
78669         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78670         Handle cache information in CPU leaf 4.
78671         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78673 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78675         [BZ #12583]
78676         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78677         character representation.
78678         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78680 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78682         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78683         END(__isnan) to END(__isnanf) to match function entry point/label
78684         EALIGN(__isnanf,...).
78686 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78688         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78690 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78692         [BZ #12510]
78693         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78694         copy from the symbol referenced in the relocation to initialize the
78695         used variable.
78696         Patch by Piotr Bury <pbury@goahead.com>.
78697         * elf/Makefile: Add rules to build and tst-unique3.
78698         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78699         * elf/tst-unique3.cc: New file.
78700         * elf/tst-unique3.h: New file.
78701         * elf/tst-unique3lib.cc: New file.
78702         * elf/tst-unique3lib2.cc: New file.
78704         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78706 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78708         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78709         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78710         to _start.
78712 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78714         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78715         to-be-loaded object along a path to loader is ld.so.
78717 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78718             Ulrich Drepper  <drepper@gmail.com>
78720         * sysdeps/x86_64/memset.S: After aligning destination, code
78721         branches to different locations depending on the value of
78722         misalignment, when multiarch is enabled. Fix this.
78724 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78726         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78727         Set _x86_64_preferred_memory_instruction for AMD processsors.
78728         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78729         Set bit_Prefer_SSE_for_memop for AMD processors.
78731 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78733         * libio/fmemopen.c (fmemopen): Optimize a bit.
78735 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78737         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78739 2011-03-03  Roland McGrath  <roland@redhat.com>
78741         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78743 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78745         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78746         __bzero_ultra1 instead of __memset_ultra1.
78748 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78749             Ulrich Drepper  <drepper@gmail.com>
78751         [BZ #12509]
78752         * include/link.h (struct link_map): Add l_orig_initfini.
78753         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78754         returning unsuccessfully.
78755         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78756         close of a file loaded at startup, restore the original l_initfini
78757         list.
78758         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78759         list, store the pointer.
78760         * elf/Makefile ($(objpfx)noload-mem): New rule.
78761         (noload-ENV): Define.
78762         (tests): Add $(objpfx)noload-mem.
78763         * elf/noload.c: Include <memcheck.h>.
78764         (main): Call mtrace.  Close all opened handles.
78766 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78768         [BZ #12454]
78769         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78770         dependencies are missing.
78772 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78774         Fix __if_freereq crash: Unlike the generic version which uses free,
78775         Hurd needs munmap.
78776         * sysdeps/mach/hurd/ifreq.h: New file.
78778 2011-01-27  Petr Baudis  <pasky@suse.cz>
78779             Ulrich Drepper  <drepper@gmail.com>
78781         [BZ 12445]#
78782         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78783         to extend_alloca().
78784         * stdio-common/bug23.c: New file.
78785         * stdio-common/Makefile (tests): Add bug23.
78787 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78788             Ulrich Drepper  <drepper@gmail.com>
78790         [BZ #12489]
78791         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78792         before performing relro protection.  At old place add assertion
78793         to make sure nothing changed.
78795 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78796             Glauber de Oliveira Costa  <glommer@gmail.com>
78798         * elf/elf.h: Add new ARM TLS relocs.
78800 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78803         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78804         cast from r3.
78805         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78806         'tests' variable.
78807         * sysdeps/wordsize-64/tst-writev.c: New file.
78809 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78811         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78812         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78813         insns in _dl_start to prevent a TOC reference before relocs are
78814         resolved.
78816 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78818         [BZ #12469]
78819         * Makeconfig: Remove RANLIB definition.
78820         * Makerules: Don't use RANLIB.
78821         * aclocal.m4: Remove ranlib test.
78822         * configure.in: No need to check for ranlib.
78823         * elf/rtld-Rules: Don't use RANLIB.
78825 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78827         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78828         protection macro.
78829         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78830         inclusion protection macro.
78832         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78833         SIGRTMIN and SIGRTMAX and print information in that case only when
78834         SIGRTMIN is defined.
78836 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78838         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78839         arginfo fn returning -1.
78841         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78842         and thousands string is zero terminated.
78844 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78846         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78847         sysdeps/unix/sysv/linux/bits/socket.h.
78849 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78851         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78852         (__CPU_COUNT): Remove old macros.
78853         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78854         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78855         (__CPU_ALLOC, __CPU_FREE): Add macros.
78856         (__sched_cpualloc, __sched_cpufree): Add declarations.
78858 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78860         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78861         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78862         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78863         (readdhstai): Return value of addhstaiX call.
78864         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78865         (addgrbyX): Return value returned by cache_addgr.
78866         (readdgrbyname): Return value returned by addgrbyX.
78867         (readdgrbygid): Likewise.
78868         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78869         (addpwbyX): Return value returned by cache_addpw.
78870         (readdpwbyname): Return value returned by addhstbyX.
78871         (readdpwbyuid): Likewise.
78872         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78873         (addservbyX): Return value returned by cache_addserv.
78874         (readdservbyname): Return value returned by addservbyX:
78875         (readdservbyport): Likewise.
78876         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78877         (addhstbyX): Return value returned by cache_addhst.
78878         (readdhstbyname): Return value returned by addhstbyX.
78879         (readdhstbyaddr): Likewise.
78880         (readdhstbynamev6): Likewise.
78881         (readdhstbyaddrv6): Likewise.
78882         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78883         (readdinitgroups): Return value returned by addinitgroupsX.
78884         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78885         (prune_cache): Keep track of timeout value of re-added entries.
78886         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78887         * nscd/nscd.h: Adjust prototypes of readd* functions.
78889 2011-02-04  Roland McGrath  <roland@redhat.com>
78891         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78892         (nis_stats): Likewise.
78893         * nis/nis_modify.c (nis_modify): Likewise.
78894         * nis/nis_remove.c (nis_remove): Likewise.
78895         * nis/nis_add.c (nis_add): Likewise.
78897         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78899         * posix/fnmatch_loop.c: Add some consts.
78901         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78903 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78905         [BZ #12460]
78906         * config.make.in (config-cflags-novzeroupper): Define.
78907         * configure.in: Substitute libc_cv_cc_novzeroupper.
78908         * elf/Makefile (AVX-CFLAGS): Define.
78909         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78910         (CFLAGS-tst-auditmod4a.c): Likewise.
78911         (CFLAGS-tst-auditmod4b.c): Likewise.
78912         (CFLAGS-tst-auditmod6b.c): Likewise.
78913         (CFLAGS-tst-auditmod6c.c): Likewise.
78914         (CFLAGS-tst-auditmod7b.c): Likewise.
78915         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78917 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78919         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78920         function to the callback.
78921         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78923 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78925         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78926         of errno.
78928 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78930         [BZ #11724]
78931         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78932         of constructors.
78933         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78934         of destructors.
78935         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78937         [BZ #11724]
78938         * elf/Makefile: Add rules to build and run new test.
78939         * elf/tst-initorder.c: New file.
78940         * elf/tst-initorder.exp: New file.
78941         * elf/tst-initordera1.c: New file.
78942         * elf/tst-initordera2.c: New file.
78943         * elf/tst-initordera3.c: New file.
78944         * elf/tst-initordera4.c: New file.
78945         * elf/tst-initorderb1.c: New file.
78946         * elf/tst-initorderb2.c: New file.
78947         * elf/tst-order-a1.c: New file.
78948         * elf/tst-order-a2.c: New file.
78949         * elf/tst-order-a3.c: New file.
78950         * elf/tst-order-a4.c: New file.
78951         * elf/tst-order-b1.c: New file.
78952         * elf/tst-order-b2.c: New file.
78953         * elf/tst-order-main.c: New file.
78954         New test case by George Gensure <werkt0@gmail.com>.
78956 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78959         decoding ACE if AI_CANONIDN.
78961 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78963         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78965 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78967         * version.h (RELEASE): Bump for 2.13 release.
78968         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78970         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78972         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78973         MADV_NOHUGEPAGE.
78974         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78975         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78976         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78977         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78978         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78979         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78981         * posix/getconf.c: Update copyright year.
78982         * catgets/gencat.c: Likewise.
78983         * csu/version.c: Likewise.
78984         * debug/catchsegv.sh: Likewise.
78985         * debug/xtrace.sh: Likewise.
78986         * elf/ldconfig.c: Likewise.
78987         * elf/ldd.bash.in: Likewise.
78988         * elf/sprof.c (print_version): Likewise.
78989         * iconv/iconv_prog.c: Likewise.
78990         * iconv/iconvconfig.c: Likewise.
78991         * locale/programs/locale.c: Likewise.
78992         * locale/programs/localedef.c: Likewise.
78993         * malloc/memusage.sh: Likewise.
78994         * malloc/mtrace.pl: Likewise.
78995         * nscd/nscd.c (print_version): Likewise.
78996         * nss/getent.c: Likewise.
78998         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78999         PF_CAIF, and PF_ALG.
79000         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79002 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79004         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79005         (modules-names): Use them.
79006         (ifunc-test-modules, ifunc-pie-tests): Define.
79007         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79008         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79009         (test-extras): Likewise.
79010         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79011         $(compile-command.c).
79012         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79013         (all-built-dso): Define.
79014         (check-textrel.out, check-execstack.out): Depend on it.
79016         * configure.in: Don't override --enable-multi-arch.
79018 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79020         [BZ #6812]
79021         * nscd/hstcache.c (tryagain): Define.
79022         (cache_addhst): Return tryagain not notfound for temporary errors.
79023         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79024         failed.
79026 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79028         [BZ #10563]
79029         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79030         to make the syscall.
79031         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79033         [BZ #12378]
79034         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79035         and fall back to matching as normal character if the string ends before
79036         the matching ']' is found.  This is what POSIX requires.
79037         * posix/testfnm.c: Adjust test result.
79038         * posix/globtest.sh: Adjust test result.  Add new test.
79039         * posix/tst-fnmatch.input: Likewise.
79040         * posix/tst-fnmatch2.c: Add new test.
79042 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79044         * elf/Makefile (check-execstack): Revert last change.  Depend on
79045         check-execstack.h.
79046         (check-execstack.h): New target.
79047         (generated): Add check-execstack.h.
79048         * elf/check-execstack.c: Include "check-execstack.h".
79049         (main): Revert last change.
79050         (handle_file): Return zero if GNU_STACK is absent and
79051         DEFAULT_STACK_PERMS doesn't include PF_X.
79053 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79055         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79056         in child fails because the descriptor is already closed.
79057         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79058         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79059         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79061         [BZ #12397]
79062         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79063         syscall.
79065         [BZ #10484]
79066         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79067         temporary buffer used to handle multi lookups locally.
79068         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79070 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79072         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79073         loader is ld.so.
79075 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79077         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79078         alignment for SSE2.
79080 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79082         [BZ #12394]
79083         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79084         characters.  When rounding increased number of integer digits recompute
79085         number of groups.
79086         * stdio-common/tst-grouping.c: New file.
79087         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79089 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79091         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79092         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79094         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79095         void.
79096         * bits/select.h: Likewise.
79098 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79100         * po/ja.po: Update from translation team.
79102 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79104         [BZ #11155]
79105         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79106         implementation just like for lxstat, fxstatat, et al.
79108 2010-12-27  Jim Meyering  <meyering@redhat.com>
79110         [BZ #12348]
79111         * posix/regexec.c (build_trtable): Return failure indication upon
79112         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79114 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79116         [BZ #12201]
79117         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79118         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79119         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79120         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79122         [BZ #12207]
79123         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79125         [BZ #12204]
79126         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79127         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79129 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79131         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79132         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79133         script has SORT_BY_INIT_PRIORITY.
79134         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79135         NO_CTORS_DTORS_SECTIONS is defined.
79136         * elf/soinit.c: Likewise.
79137         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79138         NO_CTORS_DTORS_SECTIONS is defined.
79139         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79140         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79141         * sysdeps/sh/init-first.c: Likewise.
79142         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79144 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79146         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79147         always use the slow path.
79149 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79151         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79152         similar rule which adds the sysdep directories to the header search in
79153         order to pick up the correct platform stackinfo.h.
79154         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79155         perform test if it is, otherwise return successfully without testing.
79156         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79157         DEFAULT_STACK_PERMS define in stackinfo.h.
79158         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79159         defined in stackinfo.h.
79160         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79161         DEFAULT_STACK_PERMS defined in stackinfo.h.
79162         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79163         * sysdeps/ia64/stackinfo.h: Likewise.
79164         * sysdeps/s390/stackinfo.h: Likewise.
79165         * sysdeps/sh/stackinfo.h: Likewise.
79166         * sysdeps/sparc/stackinfo.h: Likewise.
79167         * sysdeps/x86_64/stackinfo.h: Likewise.
79168         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79169         PF_X for powerpc64.  Retain PF_X for powerpc32.
79171 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79173         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79174         accurately.
79175         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79176         GETDENTS_64BIT_ALIGNED.
79178 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79180         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79182 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79184         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79185         _GNU_SOURCE.
79187         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79188         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79189         Remove __restrict.
79190         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79191         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79193 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79195         [BZ #11655]
79196         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79197         are initialized.
79199 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79201         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79203 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79205         * po/it.po: Update from translation team.
79207 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79210         unused codes.
79212 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79214         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79216 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79218         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79219         specially.
79220         (gaih_getanswer_slice): Likewise.
79222 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79224         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79226 2010-05-31  Petr Baudis  <pasky@suse.cz>
79228         [BZ #11149]
79229         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79230         silently even in the chroot mode.
79232 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79234         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79235         last patch a bit.  Pretty printing
79237 2010-05-31  Petr Baudis <pasky@suse.cz>
79239         [BZ #10085]
79240         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79241         initialization of skip_initgroups_dyn.
79243 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79245         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79246         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79248 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79250         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79252 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79254         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79255         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79256         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79257         ($(objpfx)tst-fnmatch-mem): New rule.
79258         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79259         * posix/tst-fnmatch.c (main): Call mtrace.
79261 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79264         Support Intel processor model 6 and model 0x2c.
79266 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79268         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79269           signed comparison.
79271 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79273         [BZ #12205]
79274         * string/test-strncasecmp.c (check_result): New function.
79275         (do_one_test): Use it.
79276         (check1): New function.
79277         (test_main): Use it.
79278         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79279         Support strcasecmp and strncasecmp.
79281 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79283         [BZ #12194]
79284         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79285         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79287 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79289         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79290         IFUNC support.
79291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79292         memset-x86-64.
79293         * sysdeps/x86_64/multiarch/bzero.S: New file.
79294         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79295         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79296         * sysdeps/x86_64/multiarch/memset.S: New file.
79297         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79299         Set bit_Prefer_SSE_for_memop for Intel processors.
79300         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79301         Define.
79302         (index_Prefer_SSE_for_memop): Define.
79303         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79305 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79307         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79308         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79310 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79312         [BZ #12191]
79313         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79314         (__x86_64_raw_data_cache_size_half): Likewise.
79315         (__x86_64_raw_shared_cache_size): Likewise.
79316         (__x86_64_raw_shared_cache_size_half): Likewise.
79318         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79319         (__x86_64_raw_data_cache_size_half): Likewise.
79320         (__x86_64_raw_shared_cache_size): Likewise.
79321         (__x86_64_raw_shared_cache_size_half): Likewise.
79322         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79323         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79324         and __x86_64_raw_shared_cache_size_half.  Round
79325         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79326         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79327         to multiple of 256 bytes.
79329 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79331         [BZ #12167]
79332         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79333         of inacessible symlinks.  Verify result of symlink before returning it.
79334         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79335         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79337 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79339         * math/math.h (isinf): Fix typo in comment.
79341 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79343         * po/da.po: Update from translation team.
79345 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79347         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79348         is added to the list.
79350 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79351             Ulrich Drepper  <drepper@gmail.com>
79353         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79354         the global list here.  Move code to...
79355         (_dl_add_to_namespace_list): ...here.  New function.
79356         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79357         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79358         * elf/dl-load.c (lose): Don't remove the element from the list.
79359         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79360         (_dl_map_object): Likewise.
79362 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79364         [BZ #12159]
79365         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79366         into all bytes of SSE register.
79367         Patch by Richard Li <richardpku@gmail.com>.
79369 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79371         [BZ #12140]
79372         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79373         perturbing.
79375 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79377         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79378         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79379         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79380         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79382         submachine.
79383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79385 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79387         * include/dlfcn.h (__RTLD_SECURE): Define.
79388         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79389         mode & __RTLD_SECURE instead.
79390         (open_path): Rename preloaded parameter to secure.
79391         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79392         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79393         * elf/dl-deps.c (openaux): Likewise.
79394         * elf/rtld.c (struct map_args): Remove is_preloaded.
79395         (map_doit): Don't use it.
79396         (dl_main): Likewise.
79397         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79398         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79400 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79402         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79403         (sysd-rules-targets): Remove duplicates.
79404         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79405         rtld-%.$o dependency.
79407 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79409         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79410         _dl_map_object do it.
79412 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79414         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79415         fast fma builtins, define the macros in the C99 standard.
79416         (FP_FAST_FMAF): Likewise.
79417         (FP_FAST_FMAL): Likewise.
79418         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79420         * bits/mathdef.h: Update copyright year.
79421         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79423 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79425         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79426         builtins, define the macros in the C99 standard.
79427         (FP_FAST_FMAF): Likewise.
79428         (FP_FAST_FMAL): Likewise.
79429         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79430         multiply/add.
79431         (FP_FAST_FMAF): Likewise.
79433 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79435         [BZ #3268]
79436         * math/libm-test.inc (fma_test): Some new testcases.
79437         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79438         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79439         y and infinite z.  Do multiplication by C already in long double.
79440         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79442         y and infinite z.  Do bitwise or of inexact bit into u.d.
79443         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79444         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79445         * sysdeps/i386/fpu/s_fma.S: Removed.
79446         * sysdeps/i386/fpu/s_fmal.S: Removed.
79448 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79450         [BZ #3268]
79451         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79452         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79453         computation is not scheduled after fetestexcept.  Fix value
79454         of minimum denormal long double.
79456 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79458         [BZ #3268]
79459         * math/libm-test.inc (fma_test): Add some more tests.
79460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79461         correctly.
79463 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79465         * scripts/data/localplt-s390-linux-gnu.data: New file.
79466         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79468 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79470         [BZ #3268]
79471         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79472         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79473         instead of dbl-64.
79474         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79475         inlines.
79476         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79478         if one of x and y is very large and the other is subnormal.
79479         * sysdeps/s390/fpu/s_fmaf.c: New file.
79480         * sysdeps/s390/fpu/s_fma.c: New file.
79481         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79482         * sysdeps/powerpc/fpu/s_fma.S: New file.
79483         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79484         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79485         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79487 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79489         [BZ #3268]
79490         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79491         fma tests.
79492         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79493         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79494         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79495         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79496         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79497         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79498         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79500 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79502         [BZ #12078]
79503         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79504         * posix/bug-regex31.input: Add test case.
79506 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79508         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79509         * posix/bug-regex31.input: New file.
79511         [BZ #12078]
79512         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79513         (parse_sub_exp): Fix last change, use postorder.
79515         * posix/bug-regex31.c: New file.
79516         * posix/Makefile: Add rules to build and run bug-regex31.
79518         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79520         [BZ #12078]
79521         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79523         [BZ #12108]
79524         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79525         to have entries in sys_siglist.
79527         [BZ #12093]
79528         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79529         be NULL.
79531 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79533         [BZ #3268]
79534         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79535         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79536         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79537         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79538         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79539         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79540         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79541         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79542         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79543         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79544         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79545         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79546         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79547         * math/ftestexcept.c (fetestexcept): Likewise.
79548         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79549         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79550         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79551         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79552         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79553         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79554         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79556 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79558         [BZ #12107]
79559         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79560         newline.
79562 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79564         * string/bug-strstr1.c: New file.
79565         * string/Makefile: Add rules to build and run bug-strstr1.
79567 2010-10-05  Eric Blake  <eblake@redhat.com>
79569         [BZ #12092]
79570         * string/str-two-way.h (two_way_long_needle): Always clear memory
79571         when skipping input due to the shift table.
79573 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79575         [BZ #12005]
79576         * malloc/mcheck.c: Handle large requests.
79578         [BZ #12077]
79579         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79580         for strncmp and strncasecmp.
79581         * string/stratcliff.c: Add tests for strcmp and strncmp.
79582         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79584 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79586         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79587         __set_fpscr.
79589 2010-09-30  Andreas Jaeger  <aj@suse.de>
79591         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79592         (CGROUP_SUPER_MAGIC): Define.
79593         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79594         Handle btrfs and cgroup file systems.
79595         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79596         Likewise.
79598 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79600         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79601         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79603 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79605         [BZ #12067]
79606         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79607         trying to locate the ELF header.
79609 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79611         [BZ #11611]
79612         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79613         Mask out sign-bit copies when constructing f_fsid.
79615 2010-09-24  Petr Baudis <pasky@suse.cz>
79617         * debug/stack_chk_fail_local.c: Add missing licence exception.
79618         * debug/warning-nop.c: Likewise.
79620 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79622         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79623         implementing getdents64 using getdents syscall, set d_type if
79624         __ASSUME_GETDENTS32_D_TYPE.
79626 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79628         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79629         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79631 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79633         [BZ #12037]
79634         * posix/unistd.h: Undo change of feature selection for ftruncate from
79635         2010-01-11.
79637 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79639         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79640         detection.
79642 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79644         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79645         fanotify_mark.
79646         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79648 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79650         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79651         variables after CHECK_SP call.
79652         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79654 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79655             Ulrich Drepper  <drepper@redhat.com>
79657         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79658         re-relocationg ld.so.
79659         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79660         _dl_init_paths call.
79661         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79662         here anymore.
79664 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79666         * resolv/res_init.c (__res_vinit): Count the default server we added.
79668 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79669             Ulrich Drepper  <drepper@redhat.com>
79671         [BZ #11968]
79672         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79673         (____longjmp_chk): Use %ebx for saving value across system call.
79674         Add unwind info.
79676 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79678         * manual/Makefile: Don't mix pattern rules with normal rules.
79680 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79682         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79683         operation.
79684         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79685         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79686         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79687         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79689         Likewise.
79691 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79693         [BZ #11979]
79694         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79695         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79697 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79699         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79700         * sysdeps/x86_64/addmul_1.S: Likewise.
79701         * sysdeps/x86_64/lshift.S: Likewise.
79702         * sysdeps/x86_64/mul_1.S: Likewise.
79703         * sysdeps/x86_64/rshift.S: Likewise.
79704         * sysdeps/x86_64/sub_n.S: Likewise.
79705         * sysdeps/x86_64/submul_1.S: Likewise.
79707 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79709         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79710         Define __sched_param instead of SCHED_* and sched_param when
79711         <bits/sched.h> is included with __need_schedparam defined.
79712         * bits/sched.h [__need_schedparam]
79713         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79714         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79715         (__defined_schedparam): Define to 1.
79716         (__sched_param): New structure, identical to sched_param.
79717         (__need_schedparam): Undefine.
79719 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79721         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79722         (epoll_create1): Declare.
79724         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79726 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79728         [BZ #7066]
79729         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79730         shifting retval into place.
79732 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79734         * nis/rpcsvc/nis.h: Update copyright notice.
79735         * nis/rpcsvc/nis.x: Likewise.
79736         * nis/rpcsvc/nis_callback.h: Likewise.
79737         * nis/rpcsvc/nis_callback.x: Likewise.
79738         * nis/rpcsvc/nis_object.x: Likewise.
79739         * nis/rpcsvc/nis_tags.h: Likewise.
79740         * nis/rpcsvc/yp.h: Likewise.
79741         * nis/rpcsvc/yp.x: Likewise.
79742         * nis/rpcsvc/ypupd.h: Likewise.
79743         * nis/yp_xdr.c: Likewise.
79744         * nis/ypupdate_xdr.c: Likewise.
79746         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79747         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79748         (pmap_getport): Use __libc_rpc_getport.
79749         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79750         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79751         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79753 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79756         fanotify_mark.
79758 2010-08-27  Roland McGrath  <roland@redhat.com>
79760         * sysdeps/i386/i686/multiarch/Makefile
79761         (CFLAGS-varshift.c): New variable.
79763 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79765         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79766         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79768         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79770         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79772 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79774         * sysdeps/x86_64/strlen.S: Unroll the loop.
79775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79776         strlen-sse2 strlen-sse2-bsf.
79777         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79778         __strlen_no_bsf if bit_Slow_BSF is set.
79779         (__strlen_sse42): Removed.
79780         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79781         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79783 2010-08-25  Roland McGrath  <roland@redhat.com>
79785         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79786         * sysdeps/x86_64/multiarch/varshift.c: New file.
79787         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79788         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79789         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79790         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79792 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79794         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79795         strlen-sse2 strlen-sse2-bsf.
79796         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79797         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79798         (__strlen_sse2): Removed.
79799         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79800         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79801         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79802         bit_Slow_BSF for Atom.
79803         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79804         (index_Slow_BSF): Define.
79805         (HAS_SLOW_BSF): Define.
79807 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79809         [BZ #10851]
79810         * resolv/res_init.c (__res_vinit): When no server address at all
79811         is given default to loopback.
79813 2010-08-24  Roland McGrath  <roland@redhat.com>
79815         * configure.in: Remove config-name.h generation.
79816         * configure: Regenerated.
79817         * config-name.in: File removed.
79818         * scripts/config-uname.sh: New file.
79819         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79820         ($(objdir)config-name.h): New target.
79822         * sunrpc/rpc_parse.h: Avoid nested comment.
79824 2010-08-24  Richard Henderson  <rth@redhat.com>
79825             Ulrich Drepper  <drepper@redhat.com>
79826             H.J. Lu  <hongjiu.lu@intel.com>
79828         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79830         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79831         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79832         _mm_alignr_epi8 with _mm_loadu_si128.
79833         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79834         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79835         (__m128i_shift_right): Removed.
79836         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79837         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79838         * sysdeps/x86_64/multiarch/varshift.h: New file.
79839         * sysdeps/x86_64/multiarch/varshift.S: New file.
79841 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79843         * configure.in: Move assembler checks to before sysdep dir checking.
79845 2010-08-20  Petr Baudis  <pasky@suse.cz>
79847         * LICENSES: Sync the sunrpc license.
79849 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79851         * sunrpc/auth_des.c: Update copyright notice once again.
79852         * sunrpc/auth_none.c: Likewise.
79853         * sunrpc/auth_unix.c: Likewise.
79854         * sunrpc/authdes_prot.c: Likewise.
79855         * sunrpc/authuxprot.c: Likewise.
79856         * sunrpc/bindrsvprt.c: Likewise.
79857         * sunrpc/clnt_gen.c: Likewise.
79858         * sunrpc/clnt_perr.c: Likewise.
79859         * sunrpc/clnt_raw.c: Likewise.
79860         * sunrpc/clnt_simp.c: Likewise.
79861         * sunrpc/clnt_tcp.c: Likewise.
79862         * sunrpc/clnt_udp.c: Likewise.
79863         * sunrpc/clnt_unix.c: Likewise.
79864         * sunrpc/des_crypt.c: Likewise.
79865         * sunrpc/des_soft.c: Likewise.
79866         * sunrpc/get_myaddr.c: Likewise.
79867         * sunrpc/getrpcport.c: Likewise.
79868         * sunrpc/key_call.c: Likewise.
79869         * sunrpc/key_prot.c: Likewise.
79870         * sunrpc/openchild.c: Likewise.
79871         * sunrpc/pm_getmaps.c: Likewise.
79872         * sunrpc/pm_getport.c: Likewise.
79873         * sunrpc/pmap_clnt.c: Likewise.
79874         * sunrpc/pmap_prot.c: Likewise.
79875         * sunrpc/pmap_prot2.c: Likewise.
79876         * sunrpc/pmap_rmt.c: Likewise.
79877         * sunrpc/rpc/auth.h: Likewise.
79878         * sunrpc/rpc/auth_unix.h: Likewise.
79879         * sunrpc/rpc/clnt.h: Likewise.
79880         * sunrpc/rpc/des_crypt.h: Likewise.
79881         * sunrpc/rpc/key_prot.h: Likewise.
79882         * sunrpc/rpc/netdb.h: Likewise.
79883         * sunrpc/rpc/pmap_clnt.h: Likewise.
79884         * sunrpc/rpc/pmap_prot.h: Likewise.
79885         * sunrpc/rpc/pmap_rmt.h: Likewise.
79886         * sunrpc/rpc/rpc.h: Likewise.
79887         * sunrpc/rpc/rpc_des.h: Likewise.
79888         * sunrpc/rpc/rpc_msg.h: Likewise.
79889         * sunrpc/rpc/svc.h: Likewise.
79890         * sunrpc/rpc/svc_auth.h: Likewise.
79891         * sunrpc/rpc/types.h: Likewise.
79892         * sunrpc/rpc/xdr.h: Likewise.
79893         * sunrpc/rpc_clntout.c: Likewise.
79894         * sunrpc/rpc_cmsg.c: Likewise.
79895         * sunrpc/rpc_common.c: Likewise.
79896         * sunrpc/rpc_cout.c: Likewise.
79897         * sunrpc/rpc_dtable.c: Likewise.
79898         * sunrpc/rpc_hout.c: Likewise.
79899         * sunrpc/rpc_main.c: Likewise.
79900         * sunrpc/rpc_parse.c: Likewise.
79901         * sunrpc/rpc_parse.h: Likewise.
79902         * sunrpc/rpc_prot.c: Likewise.
79903         * sunrpc/rpc_sample.c: Likewise.
79904         * sunrpc/rpc_scan.c: Likewise.
79905         * sunrpc/rpc_scan.h: Likewise.
79906         * sunrpc/rpc_svcout.c: Likewise.
79907         * sunrpc/rpc_tblout.c: Likewise.
79908         * sunrpc/rpc_util.c: Likewise.
79909         * sunrpc/rpc_util.h: Likewise.
79910         * sunrpc/rpcinfo.c: Likewise.
79911         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79912         * sunrpc/rpcsvc/key_prot.x: Likewise.
79913         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79914         * sunrpc/rpcsvc/mount.x: Likewise.
79915         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79916         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79917         * sunrpc/rpcsvc/rex.x: Likewise.
79918         * sunrpc/rpcsvc/rstat.x: Likewise.
79919         * sunrpc/rpcsvc/rusers.x: Likewise.
79920         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79921         * sunrpc/rpcsvc/spray.x: Likewise.
79922         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79923         * sunrpc/rtime.c: Likewise.
79924         * sunrpc/svc.c: Likewise.
79925         * sunrpc/svc_auth.c: Likewise.
79926         * sunrpc/svc_authux.c: Likewise.
79927         * sunrpc/svc_raw.c: Likewise.
79928         * sunrpc/svc_run.c: Likewise.
79929         * sunrpc/svc_simple.c: Likewise.
79930         * sunrpc/svc_tcp.c: Likewise.
79931         * sunrpc/svc_udp.c: Likewise.
79932         * sunrpc/svc_unix.c: Likewise.
79933         * sunrpc/svcauth_des.c: Likewise.
79934         * sunrpc/xcrypt.c: Likewise.
79935         * sunrpc/xdr.c: Likewise.
79936         * sunrpc/xdr_array.c: Likewise.
79937         * sunrpc/xdr_float.c: Likewise.
79938         * sunrpc/xdr_mem.c: Likewise.
79939         * sunrpc/xdr_rec.c: Likewise.
79940         * sunrpc/xdr_ref.c: Likewise.
79941         * sunrpc/xdr_sizeof.c: Likewise.
79942         * sunrpc/xdr_stdio.c: Likewise.
79944         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79945         handling.
79947 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79949         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79951 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79953         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79954         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79955         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79956         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79957         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79958         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79959         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79960         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79961         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79962         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79963         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79964         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79965         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79966         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79968 2010-07-26  Anton Blanchard  <anton@samba.org>
79970         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79971         * malloc/arena.c (heap_trim): Likewise.
79973 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79975         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79976         here.  Not...
79977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79978         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79980 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79982         * sysdeps/i386/elf/Makefile: New file.
79984 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79986         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79987         from fanotify_init.
79988         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79989         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79991 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79993         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79994         of strncasecmp_l.
79995         * sysdeps/multiarch/strcmp.S: Likewise.
79997 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79999         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80000         strncase_l-nonascii.
80001         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80002         Add strncase_l-ssse3.
80003         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80004         * sysdeps/x86_64/strcmp.S: Likewise.
80005         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80006         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80007         * sysdeps/x86_64/strncase.S: New file.
80008         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80009         * sysdeps/x86_64/strncase_l.S: New file.
80010         * string/Makefile (strop-tests): Add strncasecmp.
80011         * string/test-strncasecmp.c: New file.
80013         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80014         warning.
80016         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80017         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80019 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80021         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80023 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80025         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80026         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80027         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80029 2010-05-01  Alan Modra  <amodra@gmail.com>
80031         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80032         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80033         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80034         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80035         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80036         tidying.  Don't tail-call __sigjmp_save for static lib.
80037         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80038         save location.
80039         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80040         (CALL_MCOUNT): Add eh info, and nop after bl.
80041         (TAIL_CALL_SYSCALL_ERROR): New macro.
80042         (PSEUDO_RET): Use it.
80043         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80044         Correct save location of integer regs and cr.
80045         (_dl_profile_resolve): Correct cr save location.  Delete nops
80046         after bl when SHARED.  Reduce cfi size a little by better
80047         placement of cfi directives.
80048         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80049         make a stack frame.  Instead use parm save area as a temp.
80050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80051         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80053         Don't make a stack frame for parent, use parm save area.
80054         Increase child stack frame to 112 bytes.  Don't save unused reg,
80055         and adjust reg usage.  Set up cfi on error recovery and
80056         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80058         (__makecontext): Add dummy nop after jump to exit.
80059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80060         Use correct parm save area and cr save, reduce stack frame.
80061         Correct cfi for possible PSEUDO_RET frame setup.
80062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80063         Branch to local label emitted by PSEUDO_RET rather than
80064         __syscall_error.
80066 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80068         [BZ #11904]
80069         * locale/programs/locale.c (print_assignment): New function.
80070         (show_locale_vars): Use it.
80072 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80074         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80075         field.
80076         (struct statfs64): Likewise.
80077         (_STATFS_F_FLAGS): Define.
80078         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80079         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80080         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80081         (ST_VALID): Define locally.
80082         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80083         __statvfs_getflags, use the provided value.
80084         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80085         __ASSUME_STATFS_F_FLAGS.
80087         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80089         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80090         Add sys/fanotify.h.
80091         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80092         fanotify_mask for GLIBC_2.13.
80093         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80094         fanotify_init and fanotify_mark.
80095         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80096         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80098         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80099         Add prlimit.
80100         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80101         prlimit64 for GLIBC_2.13.
80102         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80103         prlimit64.
80104         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80105         syscall.
80106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80107         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80108         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80109         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80110         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80111         add prlimit alias.
80112         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80114         [BZ #11903]
80115         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80116         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80118         * nss/Makefile: Add rules to build and run tst-nss-test1.
80119         * shlib-versions: Add entry for libnss_test1.
80120         * nss/nss_test1.c: New file.
80121         * nss/tst-nss-test1.c: New file.
80123         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80124         (__nss_configure_lookup): Set appropriate entry in
80125         __nss_configure_lookup to true.
80126         * nss/nsswitch.h: Define enum with indeces of databases in
80127         databases and __nss_database_custom arrays.  Declare
80128         __nss_database_custom.
80129         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80130         to avoid using nscd when custom rules are installed.
80131         * nss/getXXbyYY_r.c: Likewise.
80132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80134         * nss/nss_files/files-parse.c: Whitespace fixes.
80136 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80138         [BZ #11883]
80139         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80140         * posix/fnmatch_loop.c: Likewise.
80142 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80144         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80145         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80146         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80147         * Versions.def [GLIBC_2.13]: Add.
80149 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80151         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80152         Also fail if tpwd after pwuid call is NULL.
80154 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80156         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80157         when converting to ms.
80159 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80161         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80162         EOPNOTSUPP errors with ENOTTY.
80163         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80164         EOPNOTSUPP errors with ENOTTY.
80166 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80168         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80169         Add strcasecmp_l-ssse3.
80170         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80171         strcasecmp.
80172         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80173         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80174         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80176 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80178         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80180         * string/Makefile (strop-tests): Add strcasecmp.
80181         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80182         strcasecmp_l-nonascii.
80183         (gen-as-const-headers): Add locale-defines.sym.
80184         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80185         * sysdeps/x86_64/strcasecmp.S: New file.
80186         * sysdeps/x86_64/strcasecmp_l.S: New file.
80187         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80188         * sysdeps/x86_64/locale-defines.sym: New file.
80189         * string/test-strcasecmp.c: New file.
80191         * string/test-strcasestr.c: Test both ends of the range of characters.
80192         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80194 2010-07-29  Roland McGrath  <roland@redhat.com>
80196         [BZ #11856]
80197         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80199 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80201         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80202         for ld.so.
80204 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80206         * manual/memory.texi (Malloc Tunable Parameters): Document
80207         M_PERTURB.
80209 2010-07-26  Roland McGrath  <roland@redhat.com>
80211         [BZ #11840]
80212         * configure.in (-fgnu89-inline check): Set and substitute
80213         gnu89_inline, not libc_cv_gnu89_inline.
80214         * configure: Regenerated.
80215         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80217 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80219         * string/test-strnlen.c: New file.
80220         * string/Makefile (strop-tests): Add strnlen.
80221         * string/tester.c (test_strnlen): Add a few more test cases.
80222         * string/tst-strlen.c: Better error reporting.
80224         * sysdeps/x86_64/strnlen.S: New file.
80226 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80228         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80229         lower-latency instructions.
80231 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80233         * string/test-strcasestr.c: New file.
80234         * string/test-strstr.c: New file.
80235         * string/Makefile (strop-tests): Add strstr and strcasestr.
80236         * string/str-two-way.h: Don't undefine MAX.
80237         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80239 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80241         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80242         strcasestr-nonascii.
80243         (CFLAGS-strcasestr-nonascii.c): Define.
80244         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80245         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80246         Remove unused attribute.
80248 2010-07-20  Roland McGrath  <roland@redhat.com>
80250         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80251         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80252         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80253         like LD_HWCAP_MASK can disable hwcaps.
80255 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80257         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80259 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80261         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80262         call in strcasestr.
80263         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80264         __strcasestr_sse42_nonascii.
80265         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80266         strcasestr-nonascii.c.
80267         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80269 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80271         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80272         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80273         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80274         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80276 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80278         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80279         fcntl.
80281 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80283         [BZ #11577]
80284         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80285         dl_signal_cerror.
80287 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80289         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80290         _PC_PIPE_BUF using F_GETPIPE_SZ.
80292 2010-07-05  Roland McGrath  <roland@redhat.com>
80294         * manual/arith.texi (Rounding Functions): Fix rint description
80295         implicit in round description.
80297 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80299         * elf/Makefile: Fix linking for a few tests to make recent linker
80300         happy.
80302 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80304         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80305         $(common-objpfx)libc_nonshared.a.
80307 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80309         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80310         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80311         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80312         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80313         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80314         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80315         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80316         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80331         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80332         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80333         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80334         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80335         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80336         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80337         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80338         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80339         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80340         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80341         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80342         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80358 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80360         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80361         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80362         * string/memmove.c (memmove): Renamed to ...
80363         (MEMMOVE): ...this.  Default to memmove.
80364         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80365         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80366         (END_CHK): Define.
80367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80368         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80369         mempcpy-ssse3-back memmove-ssse3-back.
80370         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80371         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80372         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80373         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80374         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80375         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80376         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80377         * sysdeps/x86_64/multiarch/memmove.c: New file.
80378         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80379         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80380         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80381         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80382         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80383         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80384         Define.
80385         (index_Fast_Copy_Backward): Define.
80386         (HAS_ARCH_FEATURE): Define.
80387         (HAS_FAST_REP_STRING): Define.
80388         (HAS_FAST_COPY_BACKWARD): Define.
80390 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80392         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80393         Restore proper fallback handling.
80395 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80397         [BZ #11701]
80398         * posix/group_member.c (__group_member): Correct checking loop.
80400         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80401         OOM in getpwuid_r correctly.  Return error number when the caller
80402         should return, otherwise -1.
80403         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80404         call returning > 0 value.
80405         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80407 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80409         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80410         libc_nonshared.a from targets in modules-names.
80412 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80414         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80415         requires it.
80417 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80419         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80420         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80421         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80422         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80424 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80426         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80428 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80430         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80431         and F_GETPIPE_SZ.
80432         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80433         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80434         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80435         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80437         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80439 2010-06-14  Roland McGrath  <roland@redhat.com>
80441         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80443 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80445         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80446         __REDIRECT followed by __THROW.
80447         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80448         * posix/getopt.h (getopt): Likewise.
80450 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80452         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80453         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80454         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80455         in AT_FLAGS.
80456         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80457         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80459 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80461         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80463 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80465         [BZ #11640]
80466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80467         Properly check family and model.
80469 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80471         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80473 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80475         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80477 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80479         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80480         symbol reference.
80482 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80484         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80485         symbol reference.
80487 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80489         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80490         and internal_recvmmsg.
80491         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80492         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80493         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80494         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80496         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80497         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80498         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80500 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80502         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80504 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80506         POWER7 optimizations.
80507         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80508         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80510 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80512         * version.h: Update for 2.13 development version.
80514 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80516         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80517         exceptions.  Return 0.
80519 2010-05-07  Roland McGrath  <roland@redhat.com>
80521         * elf/ldconfig.c (main): Add a const.
80523 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80525         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80526         (args_options): Add no-idn option.
80527         (ahosts_keys_int): Add idn_flags to ai_flags.
80528         (parse_option): Handle 'i' option to clear idn_flags.
80530         * malloc/malloc.c (_int_free): Possible race in the most recently
80531         added check.  Only act on the data if no current modification
80532         happened.
80534 See ChangeLog.17 for earlier changes.